@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Malaysian Islamic Charity Palette */
    --primary: #064e3b;          /* Forest Emerald */
    --primary-light: #059669;    /* Islamic Green */
    --primary-hover: #047857;    /* Deep Mint Green */
    --primary-dark: #022c22;     /* Midnight Emerald */
    --primary-surface: #ecfdf5;  /* Mint Tint */
    --primary-border: #a7f3d0;

    --accent-gold: #d97706;      /* Royal Amber */
    --accent-gold-light: #f59e0b;
    --accent-gold-hover: #b45309;
    --accent-gold-surface: #fef3c7;
    --accent-gold-border: #fde68a;

    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface-elevated: #ffffff;
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px rgba(6, 78, 59, 0.06);
    --shadow-md: 0 8px 24px rgba(6, 78, 59, 0.09);
    --shadow-lg: 0 16px 40px rgba(6, 78, 59, 0.14);
    --shadow-glow: 0 0 25px rgba(5, 150, 105, 0.25);
    --shadow-gold-glow: 0 0 25px rgba(217, 119, 6, 0.25);

    --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13.5px;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.02em;
    font-weight: 800;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Site Layout Wrapper */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

main {
    flex: 1;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Announcement Top Bar */
.announcement-bar {
    background: linear-gradient(90deg, #022c22 0%, #064e3b 50%, #022c22 100%);
    color: #e2e8f0;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.announcement-badge {
    background: var(--accent-gold);
    color: white;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Sticky Header Navigation */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fef3c7;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
    border: 1.5px solid rgba(254, 243, 199, 0.2);
    transition: var(--transition);
}

.brand-logo:hover .brand-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 6px 18px rgba(6, 78, 59, 0.35);
}

.brand-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    font-size: 0.7rem;
    font-weight: 800;
    background: var(--accent-gold-surface);
    color: var(--accent-gold-hover);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--accent-gold-border);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
    padding: 0.35rem 0;
}

.nav-link-item:hover {
    color: var(--primary-light);
}

.nav-link-item.active {
    color: var(--primary);
}

.nav-link-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Universal Navigation Menu Toggle Button */
.nav-menu-toggle,
.mobile-nav-toggle {
    display: inline-flex;
    background: var(--primary-surface);
    border: 1px solid var(--primary-border);
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-menu-toggle:hover,
.mobile-nav-toggle:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.4);
}

.btn-outline {
    background: white;
    border-color: var(--border-color);
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-surface);
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.4);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 85% 15%, #d1fae5 0%, #f0fdf4 35%, #f8fafc 100%);
    padding: 4.5rem 1.5rem 5.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.45rem);
    line-height: 1.15;
    margin-bottom: 1.35rem;
    color: var(--primary-dark);
}

.hero-title span {
    background: linear-gradient(135deg, #047857 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding-top: 2rem;
    border-top: 1.5px solid var(--border-color);
}

.stat-item h3 {
    font-size: 1.85rem;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Quick Infaq (Infaq Pantas) Box on Hero */
.quick-infaq-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.quick-infaq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.quick-infaq-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-infaq-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
}

.quick-infaq-badge .dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

/* Preset Amount Selector */
.amount-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 0.5rem;
    background: var(--bg-page);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
    color: var(--primary);
}

.amount-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

/* Quick Infaq (Infaq Pantas) Subcomponents */
.hero-content-col,
.hero-widget-col {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.quick-infaq-campaign-box {
    display: flex;
    gap: 0.95rem;
    margin-bottom: 1.25rem;
    align-items: center;
    background: var(--primary-surface);
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary-border);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.quick-infaq-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

.quick-infaq-meta {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.quick-infaq-ngo {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-infaq-campaign-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.2rem 0;
}

.quick-infaq-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-infaq-rem {
    color: var(--accent-gold);
    font-weight: 700;
}

.quick-infaq-pct {
    font-weight: 800;
    color: var(--primary);
}

.quick-infaq-amount-area {
    margin-bottom: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.quick-infaq-label {
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.quick-infaq-impact-note {
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-body);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-sizing: border-box;
    line-height: 1.45;
    width: 100%;
}

.quick-infaq-custom-wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.quick-infaq-custom-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.quick-infaq-custom-input {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 2.8rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.quick-infaq-custom-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.quick-infaq-submit-btn {
    width: 100%;
    padding: 0.95rem;
    font-size: 1.05rem;
    font-weight: 800;
    box-sizing: border-box;
}

.quick-infaq-trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.quick-infaq-loading {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
}

/* Home General Sections */
.home-campaigns-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    width: 100%;
    box-sizing: border-box;
}

.home-how-it-works-section {
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.home-partners-section {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 1.25rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Topbar Quick Search Bar */
.nav-search-bar {
    flex: 1;
    max-width: 480px;
    margin: 0 1rem;
}

.nav-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-search-icon {
    position: absolute;
    left: 1rem;
    font-size: 0.95rem;
    pointer-events: none;
    color: var(--text-muted);
}

.nav-search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.6rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    background: #f8fafc;
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nav-search-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.nav-desktop-only {
    display: inline-flex;
}

.nav-mobile-only {
    display: none;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-page);
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.nav-icon-btn:hover {
    background: var(--primary-surface);
    border-color: var(--primary-border);
    color: var(--primary);
}

.mobile-search-expand {
    padding: 0.65rem 1rem 0.85rem;
    background: white;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.2s ease;
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-input {
    padding-right: 2.5rem !important;
}

.mobile-search-close {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.drawer-close-btn {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* Zero-Overflow Responsive Utilities */
.text-break-all {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.responsive-page-container {
    max-width: 1280px;
    margin: clamp(1.25rem, 3vw, 2.5rem) auto clamp(3.5rem, 6vw, 6rem);
    padding: 0 clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    box-sizing: border-box;
}

.responsive-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.responsive-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

.responsive-hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.15rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 150px;
    flex: 1 1 150px;
    max-width: 260px;
}

@media (max-width: 900px) {
    .responsive-2col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .responsive-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Quick Services Action Hub (Circular App Icons like Grab / MAE / TnG)
   Cleanly anchored directly below the Hero Section
   ========================================================================== */

.quick-services-hub {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 1.25rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.quick-services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.quick-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    gap: 0.6rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.quick-service-item:hover {
    transform: translateY(-4px);
}

.quick-service-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-service-item:hover .quick-service-circle {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.quick-service-emoji {
    font-size: 1.85rem;
    line-height: 1;
}

.quick-service-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    transition: color 0.2s ease;
}

.quick-service-item:hover .quick-service-name {
    color: var(--primary);
}

/* ==========================================================================
   High-Visibility Category Showcase & Filter Section
   ========================================================================== */

.category-showcase-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2.75rem 0 2.25rem;
    margin: 1.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.category-showcase-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
    box-sizing: border-box;
}

.category-showcase-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 1.75rem;
}

.category-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-surface);
    border: 1px solid var(--primary-border);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}

.category-showcase-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.category-showcase-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Category Filter Track */
.category-filter-track,
.category-filter-bar {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1rem;
    scrollbar-width: none;
    justify-content: flex-start;
    align-items: center;
    scroll-snap-type: x proximity;
    max-width: 1280px;
    margin: 0 auto;
}

.category-filter-track::-webkit-scrollbar,
.category-filter-bar::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .category-filter-track,
    .category-filter-bar {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Category Pills (Tactile, High-Visibility, Modern Chips) */
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.35rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.925rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
}

.cat-pill-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: transform 0.25s ease;
}

.cat-pill-text {
    line-height: 1;
}

.cat-pill-active-dot {
    font-size: 0.65rem;
    color: #fde68a;
    margin-left: 0.15rem;
    animation: pulse 1.5s infinite;
}

.cat-pill:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.12);
}

.cat-pill:hover .cat-pill-icon {
    transform: scale(1.18);
    background: var(--primary-surface);
}

.cat-pill.active {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.35);
    transform: translateY(-2px);
}

.cat-pill.active .cat-pill-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

@media (max-width: 768px) {
    .category-showcase-section {
        padding: 1.75rem 0 1.5rem;
        margin: 1rem 0 2rem;
    }
    .category-showcase-header {
        text-align: left;
        margin-bottom: 1.15rem;
    }
    .category-showcase-title {
        font-size: 1.35rem;
    }
    .category-showcase-subtitle {
        font-size: 0.85rem;
    }
    .category-filter-track,
    .category-filter-bar {
        gap: 0.6rem !important;
        padding: 0.35rem 0.25rem 0.6rem !important;
        margin: 0 !important;
    }
    .cat-pill {
        padding: 0.6rem 1.05rem !important;
        font-size: 0.85rem !important;
    }
    .cat-pill-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 1.05rem !important;
    }
}

/* Campaign Grid & Modern Cards */
.campaign-grid {
    max-width: 1280px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2.25rem;
    width: 100%;
    box-sizing: border-box;
}

.campaign-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.campaign-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.campaign-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.campaign-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.campaign-card-urgency {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.92);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.725rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.campaign-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.campaign-beneficiary {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.campaign-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.campaign-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* Progress Bar */
.progress-container {
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 700;
}

.progress-raised {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
}

.progress-goal {
    color: var(--text-muted);
}

/* Trust Pillars Section */
.trust-section {
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 1.5rem;
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
    background: white;
}

.trust-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    border: 1px solid var(--primary-border);
}

.trust-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Malaysian FPX Banks Grid */
.fpx-bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
}

.fpx-bank-item {
    padding: 0.85rem 0.5rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
    user-select: none;
}

.fpx-bank-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
}

.fpx-bank-item.active {
    border-color: var(--primary);
    background: var(--primary-surface);
    color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.15);
}

/* Toast Container */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: #0f172a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    animation: toastSlideUp 0.3s ease;
}

@keyframes toastSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.site-footer {
    background: #022c22;
    color: #e2e8f0;
    padding: 5rem 1.5rem 2.5rem;
    margin-top: auto;
    border-top: 3px solid var(--accent-gold);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #34d399;
    padding-left: 4px;
}

.footer-trust-seals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.seal-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 700;
    color: #a7f3d0;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mobile Slide-in Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 300;
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 0.2s ease;
}

.mobile-drawer {
    width: min(320px, 85vw);
    height: 100%;
    background: white;
    padding: 1.75rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
    animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.mobile-nav-list a {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: var(--primary-surface);
    color: var(--primary);
    transform: translateX(4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .nav-desktop-only {
        display: none !important;
    }

    .nav-mobile-only {
        display: inline-flex !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .nav-menu-toggle {
        display: none !important;
    }

    .mobile-drawer-overlay,
    .mobile-drawer {
        display: none !important;
    }

    /* Fluid & Modern Mobile Typography */
    .hero-title, .fluid-title, .fluid-page-title, h1 {
        font-size: clamp(1.65rem, 5vw, 2.1rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.85rem !important;
    }

    h2 {
        font-size: clamp(1.4rem, 4.2vw, 1.8rem) !important;
        margin-bottom: 0.65rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.45rem !important;
        line-height: 1.35 !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    p, .hero-subtitle {
        font-size: 0.925rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }

    /* Hero Section on Mobile */
    .hero-section {
        padding: 2rem 0 2.5rem !important;
        background: radial-gradient(circle at 50% 0%, #ecfdf5 0%, #f0fdf4 40%, #f8fafc 100%) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 clamp(0.75rem, 3.5vw, 1.25rem) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-content-col,
    .hero-widget-col,
    .hero-container > div {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .hero-badge {
        display: inline-flex !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        font-size: clamp(0.68rem, 2.4vw, 0.775rem) !important;
        padding: 0.35rem 0.75rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
    }

    .hero-badge span:last-child {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5.5vw, 2.1rem) !important;
        line-height: 1.22 !important;
        margin-bottom: 0.85rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        margin-bottom: 1.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.35rem !important;
        padding: 0.85rem 0.5rem !important;
        background: white !important;
        border-radius: var(--radius-md) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: var(--shadow-xs) !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .stat-item {
        min-width: 0 !important;
        overflow: hidden !important;
        padding: 0 0.15rem !important;
    }

    .stat-item h3 {
        font-size: clamp(0.92rem, 3.2vw, 1.2rem) !important;
        color: var(--primary) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .stat-item p {
        font-size: clamp(0.62rem, 2vw, 0.72rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }

    /* Quick Infaq Card (Infaq Pantas) on Mobile */
    .quick-infaq-card {
        padding: clamp(1rem, 3.5vw, 1.35rem) !important;
        border-radius: var(--radius-md) !important;
        box-shadow: 0 8px 24px rgba(6, 78, 59, 0.12) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .quick-infaq-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.75rem !important;
        width: 100% !important;
    }

    .quick-infaq-title {
        font-size: clamp(1.1rem, 3.5vw, 1.25rem) !important;
    }

    .quick-infaq-badge {
        font-size: 0.68rem !important;
        padding: 0.2rem 0.5rem !important;
        flex-shrink: 0 !important;
    }

    .quick-infaq-campaign-box {
        gap: 0.65rem !important;
        padding: 0.65rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .quick-infaq-thumb {
        width: 52px !important;
        height: 52px !important;
        border-radius: var(--radius-xs) !important;
        flex-shrink: 0 !important;
    }

    .quick-infaq-meta {
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }

    .quick-infaq-ngo {
        font-size: 0.68rem !important;
    }

    .quick-infaq-campaign-title {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }

    .quick-infaq-stats-row {
        font-size: 0.74rem !important;
        gap: 0.35rem !important;
    }

    .amount-presets-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.4rem !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .amount-btn {
        padding: 0.6rem 0.15rem !important;
        font-size: clamp(0.82rem, 2.7vw, 0.95rem) !important;
        min-height: 38px !important;
        border-radius: var(--radius-sm) !important;
        width: 100% !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .quick-infaq-impact-note {
        padding: 0.55rem 0.65rem !important;
        font-size: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .quick-infaq-custom-wrap {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .quick-infaq-custom-input {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.9rem !important;
        padding: 0.65rem 0.75rem 0.65rem 2.6rem !important;
        box-sizing: border-box !important;
    }

    .quick-infaq-submit-btn {
        padding: 0.85rem 1rem !important;
        font-size: clamp(0.92rem, 3vw, 1.02rem) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .home-campaigns-section {
        padding: 0 clamp(0.75rem, 3.5vw, 1.25rem) 2.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .home-how-it-works-section {
        padding: 2.75rem clamp(0.75rem, 3.5vw, 1.25rem) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .home-partners-section {
        margin: 2.5rem auto !important;
        padding: 0 clamp(0.75rem, 3.5vw, 1.25rem) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Category Showcase on Mobile handled in main component block */

    /* Campaign Cards on Mobile */
    .campaign-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .campaign-card {
        border-radius: var(--radius-md) !important;
        overflow: hidden !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    }

    .campaign-card-img-wrapper {
        height: 200px !important;
    }

    .campaign-card-body {
        padding: 1.35rem !important;
    }

    .campaign-card-title {
        font-size: 1.15rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.5rem !important;
    }

    /* Trust Pillars on Mobile */
    .trust-section {
        padding: 3.5rem 1.25rem !important;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }

    .trust-card {
        padding: 1.25rem 1rem !important;
        border-radius: var(--radius-sm) !important;
    }

    .trust-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.45rem !important;
        margin-bottom: 0.85rem !important;
    }

    .trust-card h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.35rem !important;
    }

    .trust-card p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* Buttons: Touch-friendly & Modern */
    .btn, .btn-primary, .btn-outline, .btn-gold {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.9rem !important;
        border-radius: var(--radius-sm) !important;
        min-height: 44px !important;
    }

    .btn-lg {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.98rem !important;
        min-height: 48px !important;
    }

    /* Header & Announcement */
    /* Header on Mobile: Logo (no text) + Search Bar + Carts + Language Switcher */
    .header-nav {
        padding: 0.45rem 0.65rem !important;
    }

    .nav-container {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        width: 100% !important;
    }

    .brand-logo {
        gap: 0 !important;
        flex-shrink: 0 !important;
    }

    .brand-title-wrap {
        display: none !important;
    }

    .brand-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.2rem !important;
        flex-shrink: 0 !important;
    }

    .nav-search-bar {
        display: flex !important;
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 0.25rem !important;
    }

    .nav-search-form {
        width: 100% !important;
    }

    .nav-search-icon {
        left: 0.75rem !important;
        font-size: 0.8rem !important;
    }

    .nav-search-input {
        width: 100% !important;
        height: 36px !important;
        padding: 0.35rem 0.65rem 0.35rem 2.1rem !important;
        font-size: 0.8rem !important;
        border-radius: var(--radius-sm) !important;
        background: #f8fafc !important;
        box-sizing: border-box !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
    }

    .nav-cart-btn,
    .nav-cart-icon-btn {
        width: 36px !important;
        height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: var(--radius-sm) !important;
        flex-shrink: 0 !important;
    }

    .lang-toggle-btn {
        height: 36px !important;
        padding: 0 0.55rem !important;
        font-size: 0.75rem !important;
        border-radius: var(--radius-sm) !important;
    }

    .lang-switcher {
        height: 32px !important;
        padding: 2px !important;
        border-radius: var(--radius-sm) !important;
        display: inline-flex !important;
        flex-shrink: 0 !important;
    }

    .lang-btn {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.72rem !important;
        border-radius: calc(var(--radius-sm) - 2px) !important;
        min-width: 26px !important;
    }

    .announcement-bar {
        font-size: 0.725rem !important;
        padding: 0.45rem 1rem !important;
        line-height: 1.35 !important;
    }

    .announcement-badge {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.5rem !important;
    }

    /* Footer on Mobile */
    .site-footer {
        padding: 3rem 1.25rem calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2.25rem !important;
        padding: 0 !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
    }

    /* Compact Hero Media Viewer in Campaign Details */
    .media-gallery-hero {
        height: 220px !important;
        max-height: 220px !important;
        border-radius: var(--radius-sm) !important;
        margin-bottom: 0.5rem !important;
    }

    .media-badge-left, .media-badge-right {
        font-size: 0.725rem !important;
        padding: 0.25rem 0.6rem !important;
        top: 0.75rem !important;
    }

    .media-badge-left {
        left: 0.75rem !important;
    }

    .media-badge-right {
        right: 0.75rem !important;
    }

    .media-hero-counter, .media-hero-expand {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.55rem !important;
        bottom: 0.75rem !important;
    }

    .media-hero-counter {
        left: 0.75rem !important;
    }

    .media-hero-expand {
        right: 0.75rem !important;
    }

    .media-thumbnail-strip {
        gap: 0.4rem !important;
        padding-bottom: 0.4rem !important;
        margin-bottom: 0.75rem !important;
    }

    .media-thumb-item {
        width: 54px !important;
        height: 38px !important;
        border-radius: var(--radius-xs) !important;
    }

    /* Campaign Heading & Mobile Quick Summary */
    .campaign-main-heading {
        margin-bottom: 1rem !important;
    }

    .campaign-mobile-summary-card {
        display: block !important;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 1.15rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-xs);
    }

    /* Beneficiary Profile Card */
    .beneficiary-profile-card {
        padding: 1rem 1.15rem !important;
        margin-bottom: 1.25rem !important;
    }

    /* Compact Tabs */
    .tab-scroll-container {
        gap: 0.35rem !important;
        margin-bottom: 1.25rem !important;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 2px;
    }

    .tab-nav-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.825rem !important;
        white-space: nowrap !important;
    }

    /* Campaign Content Card on Mobile */
    .campaign-content-card {
        padding: 1.15rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: var(--radius-sm) !important;
    }

    .campaign-share-bar {
        padding: 1rem 1.15rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Compact Sticky Donation Card on Mobile */
    .campaign-sticky-col > div {
        padding: 1.25rem 1.15rem !important;
    }

    .campaign-sticky-col [style*="font-size: 2.45rem"] {
        font-size: 1.75rem !important;
    }

    .amount-presets-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
    }

    .amount-btn {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.85rem !important;
        min-height: 42px !important;
    }

    .preset-impact-card {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.775rem !important;
    }

    /* Floating Bottom Bar: Single flush action dock at bottom of viewport */
    .mobile-floating-bar {
        bottom: 0 !important;
        padding: 0.65rem 1rem !important;
        padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1) !important;
    }

    .mobile-floating-bar .btn {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.875rem !important;
        min-height: 42px !important;
    }

    /* FPX Bank Grid on Mobile */
    .fpx-bank-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.45rem !important;
    }

    .fpx-bank-item {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    /* Compact Dinding Kebaikan Feed */
    .dinding-feed {
        gap: 0.45rem !important;
    }

    .dinding-item {
        padding: 0.55rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
}

/* Interactive Campaign Media Gallery */
.media-gallery-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 460px;
    background: #0f172a;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.media-gallery-hero img:hover {
    transform: scale(1.02);
}

.media-gallery-hero iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.media-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.media-nav-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.media-nav-arrow.prev {
    left: 1rem;
}

.media-nav-arrow.next {
    right: 1rem;
}

.media-hero-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 5;
}

.media-hero-expand {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
    z-index: 5;
}

.media-hero-expand:hover {
    background: var(--primary);
}

/* Thumbnails Strip */
.media-thumbnail-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0 1.25rem;
    margin-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-border) transparent;
}

.media-thumb-item {
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: var(--transition);
    position: relative;
    background: #0f172a;
}

.media-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumb-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.media-thumb-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.35);
    transform: translateY(-2px);
}

.media-thumb-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fef3c7;
    font-size: 1.1rem;
}

/* Media Gallery Tab Grid */
.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.media-gallery-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.media-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
}

.media-gallery-card-img {
    height: 175px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.media-gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.media-gallery-card:hover .media-gallery-card-img img {
    transform: scale(1.06);
}

.media-gallery-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Lightbox Modal */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
}

.lightbox-content {
    max-width: 1080px;
    max-height: 88vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-media-wrapper {
    width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.lightbox-media-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-media-wrapper iframe {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: var(--radius-md);
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    background: #ef4444;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: white;
    font-size: 1.75rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
    left: -70px;
}

.lightbox-arrow.next {
    right: -70px;
}

.lightbox-caption {
    margin-top: 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 900px) {
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
    .lightbox-media-wrapper iframe { height: 320px; }
}

/* Official Supporting Documents */
.campaign-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.campaign-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    gap: 0.75rem;
}

.campaign-doc-item:hover {
    border-color: var(--primary-border);
    background: white;
    box-shadow: var(--shadow-xs);
}

/* Global Persistent Bottom Navigation Bar (Desktop Dock & Mobile Bar) */
.global-bottom-bar,
.mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(540px, calc(100% - 2rem));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-full);
    z-index: 999;
    padding: 0.45rem 1.25rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    align-items: center;
    justify-content: space-around;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
    .global-bottom-bar,
    .mobile-bottom-bar {
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 0.35rem 0.5rem max(0.55rem, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
    }

    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0.35rem 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.725rem;
    font-weight: 700;
    gap: 0.2rem;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    position: relative;
}

.bottom-bar-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.bottom-bar-item.active {
    color: var(--primary);
    font-weight: 800;
}

.bottom-bar-item.active .bottom-bar-icon {
    transform: scale(1.16);
}

.bottom-bar-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.bottom-bar-label {
    font-size: 0.725rem;
}

/* Center Elevated Action Button */
.bottom-bar-center-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    text-decoration: none;
    flex: 1;
    position: relative;
    z-index: 1000;
}

.bottom-bar-center-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-gold) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.42);
    border: 3.5px solid white;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-bar-center-btn:hover .bottom-bar-center-circle,
.bottom-bar-center-btn:active .bottom-bar-center-circle {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 26px rgba(5, 150, 105, 0.55);
}

.bottom-bar-center-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 0.2rem;
}

/* Bottom Bar User Profile Button & Avatar */
.bottom-bar-user-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.bottom-bar-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #10b981;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

/* Mobile User Profile Sheet (Anchored above Bottom Navigation) */
.mobile-user-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    animation: fadeIn 0.18s ease;
}

.mobile-user-sheet {
    position: fixed;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    right: 1rem;
    max-width: 380px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 18px);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1101;
    padding: 1rem 1.15rem;
    animation: sheetSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-user-sheet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.65rem;
}

.mobile-user-sheet-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #10b981;
    flex-shrink: 0;
}

.mobile-user-sheet-info {
    flex: 1;
    min-width: 0;
}

.mobile-user-sheet-name {
    font-weight: 900;
    font-size: 0.92rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-sheet-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

@keyframes sheetSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Floating Donation Bar */
.mobile-floating-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1.5px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 998;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 768px) {
    .mobile-floating-bar {
        display: flex;
    }
}

/* Campaign Mobile Summary Card (Hidden on Desktop, shown on Mobile) */
.campaign-mobile-summary-card {
    display: none;
}

/* Campaign Content Card Baseline */
.campaign-content-card {
    background: white;
    padding: 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    margin-bottom: 2rem;
}

/* Beneficiary Profile Card Baseline */
.beneficiary-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.beneficiary-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-surface);
    border: 1.5px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Campaign Share Bar Baseline */
.campaign-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.75rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Tab Navigation Buttons */
.tab-nav-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-nav-btn:hover {
    color: var(--primary);
}

.tab-nav-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Media Hero Badges */
.media-badge-left {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(6, 78, 59, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 5;
}

.media-badge-right {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(217, 119, 6, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 5;
}

/* Campaign Meta Ribbon */
.campaign-meta-ribbon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.meta-ribbon-badge {
    font-size: 0.825rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Dynamic Preset Impact Text */
.preset-impact-card {
    background: var(--primary-surface);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    margin-top: 0.6rem;
    font-size: 0.825rem;
    color: var(--primary-dark);
    line-height: 1.45;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    animation: fadeIn 0.2s ease;
}

/* Donor Avatar Stack */
.donor-avatar-stack {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.donor-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
}

.donor-avatar-circle:first-child {
    margin-left: 0;
}

/* Dinding Kebaikan Feed */
.dinding-feed {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.dinding-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dinding-item:hover {
    background: white;
    border-color: var(--primary-border);
    transform: translateX(4px);
}

/* Timeline Activity */
.timeline-list {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 2px;
    background: var(--primary-border);
}

.timeline-node {
    position: relative;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
}

/* Responsive Grid Layouts for Mobile Friendliness */
.campaign-details-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.5rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.campaign-details-grid > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.campaign-sticky-col {
    position: sticky;
    top: 90px;
}

@media (max-width: 992px) {
    .campaign-details-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        width: 100%;
        max-width: 100%;
    }

    .campaign-sticky-col {
        position: static !important;
    }
    
    .media-gallery-hero {
        height: auto !important;
        aspect-ratio: 16/9;
        min-height: 220px;
    }
}

.donate-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.tax-calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .tax-calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive FPX Bank Grid */
@media (max-width: 768px) {
    .fpx-bank-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem;
    }
}

/* Fluid Typography Utilities */
.fluid-title {
    font-size: clamp(1.65rem, 5vw, 2.5rem);
    line-height: 1.25;
}

.fluid-page-title {
    font-size: clamp(1.85rem, 5.5vw, 2.75rem);
    line-height: 1.2;
}

/* Mobile Friendly Table Alternative / Stacked Transaction Cards */
.mobile-tx-card {
    display: none;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
}

.desktop-table-container {
    display: block;
}

@media (max-width: 768px) {
    .desktop-table-container {
        display: none;
    }

    .mobile-tx-card {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-floating-bar {
        padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
    }
}

/* Horizontal Scrolling Tabs with Touch Momentum */
.tab-scroll-container {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tab-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Print Stylesheet for Official LHDN Receipts */
@media print {
    .header-nav, .announcement-bar, .site-footer, .btn, .nav-actions, .mobile-nav-toggle, .lightbox-backdrop {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    #official-receipt {
        border: 2px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Toast Notification Portal Styles
   ========================================================================== */
.toast-portal-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: calc(100vw - 2.5rem);
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: var(--transition);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-item.toast-success {
    border-left-color: #10b981;
    background: #ffffff;
}

.toast-item.toast-warning {
    border-left-color: #f59e0b;
    background: #ffffff;
}

.toast-item.toast-error {
    border-left-color: #ef4444;
    background: #ffffff;
}

.toast-item.toast-info {
    border-left-color: var(--primary);
    background: #ffffff;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #ecfdf5;
    color: #059669;
}

.toast-warning .toast-icon {
    background: #fef3c7;
    color: #d97706;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.toast-info .toast-icon {
    background: var(--primary-surface);
    color: var(--primary);
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.toast-message {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-main);
}

/* ==========================================================================
   Share Modal Styles
   ========================================================================== */
.modal-backdrop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: fadeIn 0.2s ease;
}

.share-modal-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    max-width: 520px;
    width: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
    animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.modal-title-custom {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 0.25rem 0;
}

.modal-subtitle-custom {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

.modal-close-btn {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.share-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.share-whatsapp {
    background: #25D366;
}
.share-whatsapp:hover {
    background: #1eb956;
}

.share-telegram {
    background: #229ED9;
}
.share-telegram:hover {
    background: #1b89be;
}

.share-facebook {
    background: #1877F2;
}
.share-facebook:hover {
    background: #0f66d6;
}

.share-twitter {
    background: #000000;
}
.share-twitter:hover {
    background: #1a1a1a;
}

.share-link-box {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    margin-bottom: 1.25rem;
}

.share-link-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.share-link-input-group {
    display: flex;
    gap: 0.5rem;
}

.share-link-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: var(--text-main);
    font-family: inherit;
}

.share-hadith-note {
    background: var(--primary-surface);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--primary-dark);
    line-height: 1.45;
}

/* ==========================================================================
   Capacity Countdown Timer Styles
   ========================================================================== */
.capacity-timer-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.capacity-timer-box.capacity-timer-urgent {
    background: #fef2f2;
    border-color: #fca5a5;
    animation: pulse 1.5s infinite ease-in-out;
}

.capacity-timer-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.capacity-timer-info {
    flex: 1;
    min-width: 0;
}

.capacity-timer-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
}

.capacity-timer-urgent .capacity-timer-title {
    color: #991b1b;
}

.capacity-timer-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.capacity-timer-clock {
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.85rem;
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}

.capacity-timer-urgent .capacity-timer-clock {
    color: #dc2626;
    border-color: #fca5a5;
}

/* ==========================================================================
   Campaign Details Mobile & Desktop Polished Design System
   ========================================================================== */

.responsive-page-container {
    max-width: 1280px;
    margin: clamp(0.75rem, 2.5vw, 1.5rem) auto;
    padding: 0 clamp(0.75rem, 3vw, 1.5rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.campaign-details-page-wrapper {
    margin-top: 1rem;
    padding-bottom: 2rem;
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .campaign-details-page-wrapper {
        margin-top: 0.5rem;
        padding-bottom: 100px !important;
    }
}

/* Islamic Verse Banner */
.campaign-ayat-banner {
    background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.campaign-ayat-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
}

.campaign-ayat-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary-border);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .campaign-ayat-banner {
        padding: 0.6rem 0.85rem;
        margin-bottom: 1rem;
    }
    .campaign-ayat-text {
        font-size: 0.78rem;
    }
}

/* Header Meta & Breadcrumbs */
.campaign-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.campaign-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.campaign-meta-ribbon {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.meta-ribbon-badge {
    font-size: 0.775rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .campaign-header-bar {
        margin-bottom: 0.85rem;
    }
    .campaign-meta-ribbon {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
    }
    .campaign-meta-ribbon::-webkit-scrollbar {
        display: none;
    }
}

/* Media Hero Display */
.media-gallery-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.media-gallery-hero iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.media-badge-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.media-badge-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(217, 119, 6, 0.95);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.media-hero-counter {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 5;
}

.media-hero-expand {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.media-hero-expand:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .media-gallery-hero {
        border-radius: var(--radius-md) !important;
        margin-bottom: 0.5rem !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: none !important;
    }
    .media-badge-left, .media-badge-right {
        top: 0.65rem !important;
        font-size: 0.7rem !important;
        padding: 0.25rem 0.6rem !important;
    }
    .media-badge-left { left: 0.65rem !important; }
    .media-badge-right { right: 0.65rem !important; }
    .media-hero-counter, .media-hero-expand {
        bottom: 0.65rem !important;
        font-size: 0.68rem !important;
        padding: 0.2rem 0.55rem !important;
    }
    .media-hero-counter { left: 0.65rem !important; }
    .media-hero-expand { right: 0.65rem !important; }
}

/* Thumbnail Strip */
.media-thumbnail-strip {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0 1rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
}

.media-thumbnail-strip::-webkit-scrollbar {
    display: none;
}

.media-thumb-item {
    flex-shrink: 0;
    width: 74px;
    height: 52px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    background: #0f172a;
}

.media-thumb-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.4);
    transform: translateY(-2px);
}

.media-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .media-thumb-item {
        width: 58px !important;
        height: 42px !important;
    }
}

/* Mobile Summary Card (Zero-Overflow, Perfectly Contained) */
.campaign-mobile-summary-card {
    display: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background: white;
    border: 1.5px solid var(--primary-border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.08);
    overflow: hidden;
}

@media (max-width: 992px) {
    .campaign-mobile-summary-card {
        display: block !important;
    }
}

.campaign-mobile-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    width: 100%;
}

.campaign-mobile-summary-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.campaign-mobile-summary-pct {
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-surface);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary-border);
}

.campaign-mobile-summary-amount {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 0.25rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.campaign-mobile-summary-target {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    width: 100%;
}

.campaign-mobile-summary-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.campaign-mobile-summary-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.campaign-mobile-summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.campaign-mobile-summary-stats {
    font-size: 0.775rem;
    color: var(--text-main);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.campaign-mobile-summary-btn {
    font-weight: 800;
    font-size: 0.825rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Beneficiary Profile Card */
.beneficiary-profile-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    box-shadow: var(--shadow-xs);
}

.beneficiary-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border: 1px solid var(--primary-border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .beneficiary-profile-card {
        padding: 0.9rem 1rem !important;
        margin-bottom: 1.15rem !important;
    }
}

/* Tabs Navigation */
.tab-scroll-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-scroll-container::-webkit-scrollbar {
    display: none;
}

.tab-nav-btn {
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tab-nav-btn:hover {
    color: var(--primary);
    background: var(--primary-surface);
}

.tab-nav-btn.active {
    background: var(--primary-surface);
    color: var(--primary);
    border-color: var(--primary-border);
    font-weight: 800;
}

@media (max-width: 768px) {
    .tab-scroll-container {
        gap: 0.35rem !important;
        margin-bottom: 1.15rem !important;
    }
    .tab-nav-btn {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8rem !important;
    }
}

/* Content Card */
.campaign-content-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .campaign-content-card {
        padding: 1.25rem 1.1rem !important;
        margin-bottom: 1.25rem !important;
        border-radius: var(--radius-sm) !important;
    }
}

/* Right Sticky Column & Donation Card */
.campaign-donation-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3.5vw, 2.25rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .campaign-donation-card {
        border-radius: var(--radius-md) !important;
        padding: 1.25rem 1rem !important;
        box-shadow: var(--shadow-sm) !important;
    }
}

/* Amount Presets Grid */
.amount-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 0.5rem;
    background: var(--bg-page);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
    color: var(--primary);
}

.amount-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

@media (max-width: 768px) {
    .amount-presets-grid {
        gap: 0.45rem !important;
    }
    .amount-btn {
        padding: 0.55rem 0.25rem !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
    }
}

/* Preset Impact Card */
.preset-impact-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    margin-top: 0.75rem;
    font-size: 0.825rem;
    color: #14532d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

/* Social Share Bar */
.campaign-share-bar {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
}

.share-buttons-group {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .campaign-share-bar {
        padding: 1rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    .share-buttons-group {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem !important;
    }
    .share-buttons-group .btn {
        font-size: 0.75rem !important;
        padding: 0.45rem 0.25rem !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Mobile Floating Bottom Bar */
.mobile-floating-bar {
    display: none;
}

@media (max-width: 992px) {
    .mobile-floating-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid var(--border-color) !important;
        padding: 0.75rem 1.25rem !important;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
        z-index: 150 !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
    }
    .mobile-floating-bar .btn {
        flex: 1.2 !important;
        max-width: 240px !important;
        padding: 0.75rem 1.25rem !important;
        font-weight: 800 !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   Gamification, Milestones, Donor Tiers & Community Prayer Wall
   ========================================================================== */

/* Live Activity & Urgency Pulse */
.live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #065f46;
    background: #ecfdf5;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid #a7f3d0;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Gamified Milestone Roadmap */
.gamified-milestone-box {
    background: white;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--primary-border);
    padding: clamp(1.25rem, 3.5vw, 2rem);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.milestone-track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.milestone-step-card {
    background: var(--bg-page);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.milestone-step-card.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.milestone-step-card.active {
    background: #f0fdf9;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.08);
}

.milestone-step-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
}

.milestone-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.milestone-step-num {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.milestone-step-card.completed .milestone-step-num {
    color: #047857;
}

.milestone-step-card.active .milestone-step-num {
    color: var(--primary);
}

.milestone-step-badge {
    font-size: 0.725rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.milestone-step-badge.completed {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.milestone-step-badge.active {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.milestone-step-badge.locked {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.milestone-step-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.milestone-step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.milestone-step-amount {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Donor Tier & Impact Booster */
.donor-tier-display {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: white;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.15);
    animation: fadeIn 0.25s ease;
}

.donor-tier-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.donor-tier-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.donor-tier-name {
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1.2;
}

.donor-tier-sub {
    font-size: 0.725rem;
    opacity: 0.85;
}

.donor-booster-pill {
    background: var(--accent-gold);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Impact Calculation Preview */
.interactive-impact-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    margin-top: 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-body);
}

.interactive-impact-box.highlight {
    background: #f0fdf4;
    border-color: #a7f3d0;
    color: #065f46;
}

/* Community Doa & Prayer Wall */
.community-doa-section {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: clamp(1.25rem, 3.5vw, 2.5rem);
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.doa-presets-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.doa-preset-chip {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.doa-preset-chip:hover {
    background: var(--primary-surface);
    border-color: var(--primary-border);
    color: var(--primary);
}

.doa-feed-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.doa-feed-card {
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 1rem 1.15rem;
    transition: all 0.2s ease;
}

.doa-feed-card:hover {
    border-color: var(--primary-border);
    background: white;
}

.doa-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.doa-feed-author {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.doa-feed-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.doa-feed-text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.55;
    font-style: italic;
}

/* Share Booster Card */
.share-booster-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1.5px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.share-booster-card .share-buttons-group {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
    padding: 0;
    position: relative;
    user-select: none;
}

.share-icon-btn:hover {
    transform: translateY(-2.5px) scale(1.06);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

.share-icon-btn:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.share-icon-whatsapp {
    background: #25D366;
    color: #ffffff;
}
.share-icon-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.4);
}

.share-icon-facebook {
    background: #1877F2;
    color: #ffffff;
}
.share-icon-facebook:hover {
    background: #1466d2;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4);
}

.share-icon-telegram {
    background: #229ED9;
    color: #ffffff;
}
.share-icon-telegram:hover {
    background: #1b8ec3;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(34, 158, 217, 0.4);
}

.share-icon-x {
    background: #0f1419;
    color: #ffffff;
}
.share-icon-x:hover {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.share-icon-copy {
    background: #ffffff;
    color: var(--text-main);
    border-color: #e2e8f0;
}
.share-icon-copy:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.share-icon-qr {
    background: #ffffff;
    color: var(--text-main);
    border-color: #e2e8f0;
}
.share-icon-qr:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.share-icon-more {
    background: var(--primary-surface);
    color: var(--primary-dark);
    border-color: var(--primary-border);
}
.share-icon-more:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.32);
}

@media (max-width: 768px) {
    .share-booster-card .share-buttons-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.6rem !important;
        justify-content: flex-start !important;
    }
    .share-booster-card .share-icon-btn {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
    }
}

/* ==============================================================================
   ELEVATED DONATION & PAYMENT PROCESS DESIGN SYSTEM
   ============================================================================== */

/* Checkout Step Navigation */
.checkout-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.checkout-step-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    user-select: none;
}

.checkout-step-item:hover {
    background: var(--bg-page);
}

.checkout-step-item.active {
    background: var(--primary-surface);
}

.checkout-step-item.active .step-num {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(6, 78, 59, 0.3);
}

.checkout-step-item.active .step-title {
    color: var(--primary-dark);
    font-weight: 800;
}

.checkout-step-item.completed .step-num {
    background: var(--primary-light);
    color: white;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.825rem;
    font-weight: 900;
    transition: var(--transition);
}

.step-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-divider {
    color: var(--border-color);
    font-size: 1.1rem;
    font-weight: 900;
}

/* Infaq Booster (Platform Support Tip) Chips */
.booster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.booster-chip {
    padding: 0.6rem 0.5rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    transition: var(--transition);
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

.booster-chip:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-surface);
}

.booster-chip.active {
    border-color: var(--accent-gold);
    background: var(--accent-gold-surface);
    color: var(--accent-gold-hover);
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

/* Malaysian FPX Bank Badge Grid v2 */
.fpx-bank-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.fpx-bank-card {
    padding: 0.75rem 0.65rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: var(--transition);
    user-select: none;
}

.fpx-bank-card:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.fpx-bank-card.active {
    border-color: var(--primary);
    background: var(--primary-surface);
    color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.2);
    font-weight: 800;
}

.fpx-bank-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Authentic Bank Brand Badges */
.badge-maybank { background: #ffcc00; color: #000000; }
.badge-cimb { background: #ed1c24; color: #ffffff; }
.badge-bankislam { background: #005a36; color: #ffffff; }
.badge-rhb { background: #0067b1; color: #ffffff; }
.badge-public { background: #e31837; color: #ffffff; }
.badge-hongleong { background: #002d62; color: #ffffff; }
.badge-ambank { background: #ed1b24; color: #ffffff; }
.badge-bsn { background: #00a0dd; color: #ffffff; }
.badge-muamalat { background: #1e3d59; color: #ffffff; }
.badge-affin { background: #0b2545; color: #ffffff; }
.badge-alliance { background: #003366; color: #ffffff; }
.badge-generic { background: #64748b; color: #ffffff; }

/* DuitNow QR Interactive Simulation */
.duitnow-box {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1.5px solid #fecdd3;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
}

.duitnow-qr-frame {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 2px solid #e11d48;
    margin: 1rem auto;
}

.duitnow-pulse {
    animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

/* Islamic Calligraphy & Blessing Banner */
.blessing-banner {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: white;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.blessing-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.blessing-arabic {
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-weight: 700;
    color: #fef08a;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

/* Print-to-PDF (@media print) Optimization */
@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 11pt !important;
    }

    header, footer, nav, .site-header, .site-footer,
    .btn, .share-actions, .no-print, button, .checkout-step-nav {
        display: none !important;
    }

    .responsive-page-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #official-receipt {
        border: 2px solid #064e3b !important;
        background: white !important;
        padding: 2.5cm 2cm !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   🌐 Language Switcher Component
   ========================================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px 4px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #cbd5e1;
    gap: 2px;
    user-select: none;
    transition: all 0.2s ease;
}

.lang-switcher:hover {
    border-color: var(--primary-light, #10b981);
}

.lang-btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.6rem;
    border-radius: calc(var(--radius-sm) - 2px);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover:not(.active) {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

.lang-btn.active {
    background: var(--primary, #047857);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.35);
}

.lang-switcher-footer {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher-footer .lang-btn {
    color: #cbd5e1;
}

.lang-switcher-footer .lang-btn.active {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   🛒 Topbar Cart & 🌐 Modern Language Toggle Pill
   ========================================================================== */
.nav-cart-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-cart-icon-btn:hover {
    background: var(--primary-surface);
    color: var(--primary);
}

.nav-cart-dot-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

/* Modern Language Selector Pill */
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 36px;
    padding: 0 0.65rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    user-select: none;
    box-shadow: var(--shadow-xs);
}

.lang-toggle-btn:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

.lang-toggle-btn svg {
    color: var(--primary);
    flex-shrink: 0;
}

.lang-toggle-code {
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--text-main);
}


/* ==========================================================================
   ✨ ELEVATED CAMPAIGNS CATALOG PAGE STYLES
   ========================================================================== */

.campaigns-hero-banner {
    position: relative;
    background: radial-gradient(135% 100% at 50% 0%, rgba(16, 185, 129, 0.08) 0%, rgba(6, 78, 59, 0.03) 60%, rgba(245, 158, 11, 0.04) 100%), #ffffff;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3.5vw, 2.75rem);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.campaigns-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(6, 78, 59, 0.08);
    color: var(--primary-dark, #064e3b);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.campaigns-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.campaigns-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.campaigns-trust-pill svg {
    color: #059669;
    flex-shrink: 0;
}

/* Category Pills Carousel */
.category-pills-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.category-pills-track {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.35rem 0.2rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-overflow-scrolling: touch;
}

.category-pills-track::-webkit-scrollbar {
    height: 5px;
}

.category-pills-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.cat-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.cat-pill-btn svg {
    color: currentColor;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.cat-pill-btn:hover {
    border-color: var(--primary-light, #10b981);
    color: var(--primary-dark, #064e3b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cat-pill-btn:hover svg {
    transform: scale(1.1);
}

.cat-pill-btn.active {
    background: var(--primary, #047857);
    color: #ffffff;
    border-color: var(--primary, #047857);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.28);
    transform: translateY(-1px);
}

.cat-pill-count {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.cat-pill-btn.active .cat-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Unified Catalog Toolbar */
.catalog-toolbar-card {
    background: #ffffff;
    border-radius: var(--radius-md, 12px);
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    padding: clamp(1rem, 2.5vw, 1.35rem);
    margin-bottom: 1.25rem;
}

.catalog-toolbar-row1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: space-between;
}

.catalog-search-wrapper {
    flex: 1 1 320px;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-search-icon {
    position: absolute;
    left: 1.1rem;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.catalog-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 2.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.925rem;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.catalog-search-input:focus {
    outline: none;
    border-color: var(--primary, #047857);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.catalog-search-clear {
    position: absolute;
    right: 0.85rem;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.catalog-search-clear:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.catalog-controls-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.catalog-sort-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.catalog-sort-icon {
    position: absolute;
    left: 0.9rem;
    color: #64748b;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.catalog-select-styled {
    padding: 0.7rem 2.2rem 0.7rem 2.35rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
}

.catalog-select-styled:focus {
    outline: none;
    border-color: var(--primary, #047857);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.view-mode-pill-group {
    display: inline-flex;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.view-mode-pill-btn {
    padding: 0.45rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: 9999px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.view-mode-pill-btn svg {
    color: currentColor;
}

.view-mode-pill-btn.active {
    background: #ffffff;
    color: var(--primary-dark, #064e3b);
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Quick Filter Chips Row */
.catalog-quick-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px dashed #e2e8f0;
}

.quick-filter-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-right: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.quick-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.quick-filter-chip svg {
    color: currentColor;
    flex-shrink: 0;
}

.quick-filter-chip:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    background: #ffffff;
}

.quick-filter-chip.active {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.quick-filter-chip.active-urgent {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.quick-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: #dc2626;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter-reset-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* Active Filters Strip */
.active-filters-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.active-filters-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-right: 0.25rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.active-filter-tag button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.15rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s ease;
}

.active-filter-tag button:hover {
    color: #dc2626;
}

.active-filter-tag svg {
    color: #059669;
    flex-shrink: 0;
}

.active-filter-clear-all {
    margin-left: auto;
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.785rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.active-filter-clear-all:hover {
    background: #fef2f2;
    text-decoration: underline;
}

/* Spinner Animation */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin-slow {
    animation: spinSlow 1.1s linear infinite;
}

/* Dynamic Percentage Overlay */
.card-pct-overlay {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.card-pct-overlay.near-goal {
    background: rgba(245, 158, 11, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.card-pct-overlay.fully-funded {
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
}

/* NGO verified badge in card */
.ngo-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--primary, #047857);
    background: var(--primary-surface, #ecfdf5);
    border: 1px solid var(--primary-border, #a7f3d0);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
    max-width: fit-content;
}

/* Horizontal List View Styles */
.campaign-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.campaign-list-item {
    background: #ffffff;
    border-radius: var(--radius-md, 12px);
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    display: flex;
    overflow: hidden;
    transition: var(--transition);
}

.campaign-list-item:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.campaign-list-img-box {
    position: relative;
    width: clamp(200px, 28vw, 300px);
    min-height: 100%;
    flex-shrink: 0;
    background: #e2e8f0;
}

.campaign-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-list-content {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.campaign-list-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .campaign-list-item {
        flex-direction: column;
    }
    .campaign-list-img-box {
        width: 100%;
        height: 200px;
    }
}

/* ==============================================================================
   🌟 INFAQ CART & SAVED CAMPAIGNS STYLING
   ============================================================================== */

/* Navbar Cart Button & Badge */
.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-cart-btn:hover {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
    border: 2px solid #ffffff;
    line-height: 1;
}

.dock-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #059669;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    min-width: 16px;
    height: 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
}

/* Quick Action Buttons on Campaign Cards */
.btn-card-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #475569;
    flex-shrink: 0;
}

.btn-card-icon-action svg {
    color: currentColor;
    flex-shrink: 0;
}

.btn-card-icon-action:hover {
    border-color: #059669;
    background: #ecfdf5;
    color: #059669;
    transform: scale(1.08);
}

.btn-card-icon-action.active {
    border-color: #059669;
    background: #ecfdf5;
    color: #059669;
}

/* Floating Glass Buttons on Grid Card Image */
.card-float-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.card-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    color: #475569;
}

.card-float-btn svg {
    color: currentColor;
    flex-shrink: 0;
}

.card-float-btn:hover {
    transform: scale(1.12);
    background: #ffffff;
    color: #059669;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.card-float-btn.active {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #059669;
}

/* ==========================================================================
   🌟 ELEVATED INFAQ CART & SAVED CAUSES STYLES (/cart)
   ========================================================================== */

/* Breadcrumb Navigation */
.cart-breadcrumb-nav {
    margin-bottom: 1.25rem;
}

.cart-breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    align-items: center;
    flex-wrap: wrap;
}

.cart-breadcrumb-link {
    color: var(--text-muted, #64748b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}

.cart-breadcrumb-link:hover {
    color: var(--primary, #059669);
}

.cart-breadcrumb-separator {
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

.cart-breadcrumb-current {
    color: var(--primary-dark, #064e3b);
    font-weight: 800;
}

/* Page Header */
.cart-page-header {
    margin-bottom: 1.75rem;
    padding: 2.25rem clamp(1.25rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.75) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.04);
}

.cart-header-content {
    max-width: 800px;
}

.cart-header-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.775rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.cart-header-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--primary-dark, #064e3b);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cart-header-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Segmented Tabs */
.cart-tabs-bar {
    display: inline-flex;
    gap: 0.4rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.cart-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 0.925rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-tab-btn:hover {
    color: #0f172a;
}

.cart-tab-btn.active {
    background: #ffffff;
    color: #059669;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 900;
}

.cart-tab-count {
    font-size: 0.75rem;
    font-weight: 900;
    background: #e2e8f0;
    color: #475569;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    transition: all 0.2s;
}

.cart-tab-btn.active .cart-tab-count {
    background: #ecfdf5;
    color: #059669;
}

/* Empty State */
.cart-empty-box {
    text-align: center;
    padding: 4.5rem 1.5rem;
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 1.5rem;
    margin-bottom: 3rem;
}

.cart-empty-icon-wrap {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.08);
}

.cart-empty-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary-dark, #064e3b);
    margin-bottom: 0.5rem;
}

.cart-empty-desc {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.cart-explore-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    font-weight: 800;
    font-size: 0.95rem;
}

/* Cart Layout Grid */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .cart-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Cart Items Header */
.cart-items-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
}

.cart-items-count-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.cart-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid #fee2e2;
    color: #ef4444;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cart-clear-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Cart Item Card */
.cart-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.35rem;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1.4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
    transition: all 0.2s ease;
}

.cart-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .cart-item-card {
        grid-template-columns: 1fr;
    }
}

.cart-item-img-box {
    position: relative;
    height: 160px;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f1f5f9;
}

.cart-item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-card:hover .cart-item-img-box img {
    transform: scale(1.03);
}

.cart-item-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cart-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cart-item-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-ngo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #475569;
    background: #f8fafc;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid #f1f5f9;
}

.cart-item-ngo-name {
    color: #475569;
}

.cart-ngo-verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-item-del-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.cart-item-del-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

.cart-item-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.cart-item-title:hover {
    color: #059669;
}

.cart-item-progress-wrap {
    margin: 0.25rem 0;
}

.cart-item-progress-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.cart-item-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669, #10b981);
    border-radius: 9999px;
}

.cart-item-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    margin-top: 0.3rem;
}

/* ==========================================================================
   🌟 Ultra-Modern "Select Infaq Amount" Module
   ========================================================================== */

.cart-infaq-amount-module {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: all 0.2s ease;
}

.cart-infaq-amount-module:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.cart-amount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.cart-amount-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    font-weight: 800;
    color: #334155;
}

.cart-amount-current-badge {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #047857;
    border-radius: 9999px;
    padding: 0.22rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.08);
}

.cart-amount-current-badge .currency {
    font-size: 0.75rem;
    color: #059669;
}

.cart-amount-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cart-amount-preset-list {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.cart-amount-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cart-amount-pill:hover {
    border-color: #059669;
    color: #059669;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.cart-amount-pill.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #047857;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    transform: translateY(-1px);
}

/* Stepper Component */
.cart-amount-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 3px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-amount-stepper:focus-within {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.cart-stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.cart-stepper-btn:hover:not(:disabled) {
    background: #059669;
    color: #ffffff;
}

.cart-stepper-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-stepper-val-wrap {
    display: inline-flex;
    align-items: center;
    padding: 0 0.4rem;
}

.cart-stepper-prefix {
    font-size: 0.75rem;
    font-weight: 900;
    color: #64748b;
    margin-right: 0.2rem;
}

.cart-stepper-input {
    border: none;
    outline: none;
    background: transparent;
    width: 58px;
    font-weight: 900;
    font-size: 0.875rem;
    color: #0f172a;
    text-align: center;
    font-family: inherit;
    -moz-appearance: textfield;
}

.cart-stepper-input::-webkit-outer-spin-button,
.cart-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Card Actions */
.cart-item-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cart-item-sub-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cart-action-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    font-size: 0.825rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.cart-action-link-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.cart-donate-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    font-weight: 800;
    padding: 0.55rem 1.35rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-donate-cta:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Notice Card */
.cart-notice-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.35rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    margin-top: 1.5rem;
}

.cart-notice-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-notice-text {
    flex: 1;
}

.cart-notice-title {
    font-size: 0.925rem;
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 0.2rem;
}

.cart-notice-desc {
    font-size: 0.825rem;
    color: #334155;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Sticky Summary Card */
.cart-summary-column {
    position: sticky;
    top: 90px;
}

.cart-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-dark, #064e3b);
    margin-bottom: 1.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.925rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.cart-summary-val {
    font-weight: 800;
    color: #0f172a;
}

.cart-summary-val.fee-free {
    color: #059669;
}

.cart-summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1.15rem 0;
}

.cart-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.35rem;
    font-weight: 900;
    font-size: 1.05rem;
    color: #0f172a;
}

.cart-summary-total-val {
    font-size: 1.85rem;
    font-weight: 900;
    color: #059669;
}

.cart-checkout-all-btn {
    width: 100%;
    border-radius: 9999px;
    padding: 1.05rem 1.5rem;
    font-weight: 900;
    font-size: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-checkout-all-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.cart-summary-trust-strip {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-summary-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 700;
}

.trust-icon-pill {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-pill.green {
    background: #ecfdf5;
    color: #059669;
}

.trust-icon-pill.gold {
    background: #fef3c7;
    color: #d97706;
}

.trust-icon-pill.blue {
    background: #eff6ff;
    color: #2563eb;
}

/* ==========================================================================
   🌟 Elevated "Saved for Later" Tab Design System
   ========================================================================== */

.cart-saved-header-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.4rem 1.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.cart-saved-header-text {
    flex: 1;
    min-width: 260px;
}

.cart-saved-header-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.cart-saved-header-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-dark, #064e3b);
    margin: 0;
}

.cart-saved-header-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.775rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
}

.cart-saved-header-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.cart-saved-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.btn-saved-move-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
}

.btn-saved-move-all:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.btn-saved-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1.5px solid #fee2e2;
    color: #ef4444;
    border-radius: 9999px;
    padding: 0.55rem 1.15rem;
    font-size: 0.825rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-saved-clear-all:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Saved Grid */
.cart-saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 640px) {
    .cart-saved-grid {
        grid-template-columns: 1fr;
    }
}

/* Saved Card */
.cart-saved-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    position: relative;
}

.cart-saved-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Card Media */
.cart-saved-media {
    position: relative;
    height: 195px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}

.cart-saved-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-saved-card:hover .cart-saved-img {
    transform: scale(1.05);
}

.cart-saved-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cart-saved-pct-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(6, 78, 59, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.22rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-saved-pct-overlay.near-goal {
    background: rgba(217, 119, 6, 0.9);
}

.cart-saved-pct-overlay.fully-funded {
    background: rgba(5, 150, 105, 0.95);
}

.cart-saved-quick-del {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 2;
}

.cart-saved-quick-del:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: scale(1.08);
}

/* Card Body */
.cart-saved-body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.cart-saved-ngo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-saved-ngo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 800;
    color: #475569;
    background: #f8fafc;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid #f1f5f9;
}

.cart-saved-in-cart-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.725rem;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.cart-saved-title {
    font-size: 1.075rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
    margin: 0;
}

.cart-saved-title:hover {
    color: #059669;
}

/* Progress */
.cart-saved-progress-wrap {
    margin: 0.2rem 0;
}

.cart-saved-prog-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.cart-saved-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669, #10b981);
    border-radius: 9999px;
    transition: width 0.6s ease;
}

.cart-saved-prog-stats {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    margin-top: 0.35rem;
}

.cart-saved-prog-raised {
    font-weight: 900;
    color: #059669;
}

.cart-saved-prog-goal {
    color: #64748b;
}

/* Direct Amount Selection on Saved Card */
.cart-saved-amount-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.7rem 0.85rem;
    margin-top: auto;
}

.cart-saved-amount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 0.45rem;
}

.cart-saved-amount-val-badge {
    color: #059669;
    font-weight: 900;
}

.cart-saved-tier-group {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.cart-saved-tier-btn {
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cart-saved-tier-btn:hover {
    border-color: #059669;
    color: #059669;
}

.cart-saved-tier-btn.active {
    background: #ecfdf5;
    border-color: #059669;
    color: #059669;
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.15);
}

.cart-saved-custom-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.18rem 0.55rem;
    transition: border-color 0.15s ease;
}

.cart-saved-custom-wrap:focus-within {
    border-color: #059669;
}

.cart-saved-custom-wrap span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
}

.cart-saved-custom-wrap input {
    border: none;
    outline: none;
    width: 60px;
    font-weight: 800;
    font-size: 0.75rem;
    color: #0f172a;
    font-family: inherit;
}

/* Card Actions */
.cart-saved-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.btn-saved-move-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
    transition: all 0.2s ease;
}

.btn-saved-move-cart:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.btn-saved-direct-infaq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #f0fdf4;
    border: 1.5px solid #a7f3d0;
    color: #059669;
    border-radius: 9999px;
    padding: 0.6rem 0.95rem;
    font-weight: 800;
    font-size: 0.825rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-saved-direct-infaq:hover {
    background: #dcfce7;
    border-color: #6ee7b7;
    color: #047857;
}

/* Empty State for Saved Tab */
.cart-saved-empty-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 1.5rem auto 3rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.cart-saved-empty-icon-box {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 2px dashed #86efac;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.cart-saved-empty-container:hover .cart-saved-empty-icon-box {
    transform: scale(1.06) rotate(3deg);
}

.cart-saved-empty-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary-dark, #064e3b);
    margin-bottom: 0.6rem;
}

.cart-saved-empty-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

.cart-saved-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 0.8rem 1.85rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
}

.cart-saved-empty-cta:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.cart-saved-guide-strip {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: left;
}

@media (max-width: 640px) {
    .cart-saved-guide-strip {
        grid-template-columns: 1fr;
    }
}

.cart-saved-guide-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.cart-saved-guide-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-weight: 900;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-saved-guide-text h5 {
    font-size: 0.825rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.2rem 0;
}

.cart-saved-guide-text p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Donor Authentication & Profile Management System (Isolated Auth Layout)
   ========================================================================== */

.auth-isolated-layout {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 15%, #ecfdf5 0%, #f8fafc 45%, #f1f5f9 100%);
    position: relative;
    overflow-x: hidden;
}

.auth-isolated-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.auth-card-container {
    width: 100%;
    max-width: 490px;
    margin: 0 auto;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.auth-back-link span {
    font-size: 1.25rem;
    line-height: 1;
}

.auth-back-link:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.auth-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 24px);
    padding: clamp(1.75rem, 5vw, 2.75rem);
    box-shadow: 0 16px 40px rgba(6, 78, 59, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-brand-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: #fef3c7;
    font-size: 1.75rem;
    border-radius: var(--radius-md, 16px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(6, 78, 59, 0.25);
    border: 1.5px solid rgba(254, 243, 199, 0.25);
}

.auth-title {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.auth-guest-banner {
    display: flex;
    gap: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm, 10px);
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.auth-guest-icon {
    color: #059669;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-guest-text {
    font-size: 0.8rem;
    color: #166534;
    line-height: 1.45;
}

.auth-guest-text strong {
    display: block;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.auth-guest-text p {
    margin: 0;
}

.auth-error-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: var(--radius-sm, 10px);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.2s ease;
}

.auth-demo-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-sm, 10px);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.auth-demo-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.auth-demo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-xs, 6px);
    font-size: 0.825rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: var(--transition);
}

.auth-demo-btn:hover {
    border-color: #059669;
    background: #ecfdf5;
    color: #047857;
}

.auth-demo-tag {
    font-size: 0.72rem;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 800;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.req-star {
    color: #dc2626;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input {
    width: 100%;
    padding: 0.78rem 1rem 0.78rem 2.8rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm, 10px);
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
    color: var(--text-main);
    transition: var(--transition);
    box-sizing: border-box;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.15);
}

.auth-pw-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.auth-pw-toggle:hover {
    color: var(--primary);
}

.auth-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 480px) {
    .auth-grid-2col {
        grid-template-columns: 1fr;
    }
}

.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.auth-remember-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-body);
    font-weight: 600;
    cursor: pointer;
}

.auth-checkbox {
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
    cursor: pointer;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.95rem;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    margin-top: 0.5rem;
}

.auth-footer-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-footer-divider::before,
.auth-footer-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-footer-divider span {
    padding: 0 0.85rem;
}

.auth-switch-prompt {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.auth-link-bold {
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.auth-link-bold:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-benefits-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 10px);
    padding: 0.85rem 1rem;
}

.auth-benefits-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.auth-benefits-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.spin-animation {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Header User Profile Pill & Dropdown Menu
   ========================================================================== */

.nav-user-wrapper {
    position: relative;
}

.nav-user-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0.85rem 0.32rem 0.4rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.nav-user-pill-btn:hover {
    border-color: var(--primary-light);
    background: var(--primary-surface);
}

.nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    flex-shrink: 0;
}

.nav-user-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-caret {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.nav-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 16px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    padding: 0.65rem 0;
    z-index: 500;
    animation: fadeIn 0.15s ease-out;
}

.nav-user-menu-header {
    padding: 0.65rem 1rem 0.75rem;
}

.nav-user-menu-name {
    font-weight: 900;
    font-size: 0.92rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-menu-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.35rem;
}

.nav-user-role-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.4rem 0;
}

.nav-user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.nav-user-menu-item:hover {
    background: var(--primary-surface);
    color: var(--primary);
}

.nav-user-logout-btn {
    color: #dc2626 !important;
}

.nav-user-logout-btn:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

/* Mobile Drawer User Card & Buttons */
.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 10px);
    margin-bottom: 1.25rem;
}

.drawer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-user-info {
    flex: 1;
    min-width: 0;
}

.drawer-user-name {
    font-weight: 900;
    font-size: 0.88rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-email {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-logout-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-logout-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.drawer-auth-row {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   🌟 Campaign Details Subsections (NGO Campaigns & Recommendations)
   ========================================================================== */
.campaign-detail-subsection {
    margin-top: 3.5rem;
    padding-top: 2.75rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.subsection-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.subsection-titles {
    max-width: 780px;
}

.subsection-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--primary-surface);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    margin-bottom: 0.5rem;
}

.subsection-title {
    font-size: clamp(1.4rem, 3.2vw, 1.95rem);
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.subsection-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.subsection-action-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-loading-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.loading-spinner-simple {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ngo-sole-campaign-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.ngo-sole-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary);
    border: 1.5px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ngo-sole-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.ngo-sole-content p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.ngo-sole-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ngo-sole-badges .trust-pill {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
    .ngo-sole-campaign-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .ngo-sole-badges {
        justify-content: center;
    }
}

/* ==========================================================================
   Campaign Card Action Area & Button Group
   ========================================================================== */
.campaign-card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.campaign-card-remaining-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-card-btn-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}

.campaign-card-btn-group .btn-card-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-sizing: border-box;
    line-height: 1;
}

.campaign-card-btn-group .btn-card-icon-action:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-surface);
    transform: translateY(-1px);
}

.campaign-card-btn-group .btn-card-icon-action.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.campaign-card-btn-group .btn {
    flex: 1 1 0;
    min-width: 0;
    height: 38px;
    min-height: 38px;
    padding: 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    margin: 0;
    line-height: 1;
}


