/*
 * Design System for "متجر الأثر | جمعية وفاء"
 * Premium Islamic & Modern Arabian Charity Identity
 */

:root {
    /* Color Palette */
    --primary: #112e51;       /* Premium Navy Blue */
    --primary-light: #1d4677; /* Lighter Navy Blue */
    --primary-dark: #0a1c32;  /* Rich Dark Navy Blue */
    --primary-bg: #e7edf5;    /* Soft Navy Background tint */
    --gold: #D4AF37;          /* Classic Arabian Gold */
    --gold-light: #E7C962;    /* Soft Bright Gold */
    --gold-dark: #AA8720;     /* Rich Accent Bronze */
    --cream: #FAF9F6;         /* Soft warm background */
    --white: #ffffff;
    
    /* Neutrals */
    --dark: #1E293B;
    --dark-light: #475569;
    --light-grey: #F1F5F9;
    --border-color: #E2E8F0;
    --border-gold: rgba(212, 175, 55, 0.2);
    
    /* Typography */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(17, 46, 81, 0.08), 0 10px 10px -5px rgba(17, 46, 81, 0.04);
    --shadow-gold: 0 10px 20px -5px rgba(212, 175, 55, 0.2);
    
    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset & Setup --- */
.wafa-impact-store * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.wafa-impact-store {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

.wafa-impact-store h1, .wafa-impact-store h2, .wafa-impact-store h3, .wafa-impact-store h4, .wafa-impact-store h5, .wafa-impact-store h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

.wafa-impact-store a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.wafa-impact-store button, .wafa-impact-store input, .wafa-impact-store select, .wafa-impact-store textarea {
    font-family: inherit;
}

.wafa-impact-store button {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

.wafa-impact-store .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wafa-impact-store .text-center { text-align: center; }
.wafa-impact-store .gold-text { color: var(--gold-dark); font-weight: 700; }
.wafa-impact-store .font-tajawal { font-family: var(--font-body); }

/* --- Buttons --- */
.wafa-impact-store .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    gap: 8px;
}

.wafa-impact-store .btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.wafa-impact-store .btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wafa-impact-store .btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.wafa-impact-store .btn-secondary:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

.wafa-impact-store .btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.wafa-impact-store .btn-gold {
    background-color: var(--gold-light);
    color: var(--primary-dark);
    font-weight: 800;
}

.wafa-impact-store .btn-gold:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.wafa-impact-store .btn-block {
    display: flex;
    width: 100%;
}

.wafa-impact-store .btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* --- Glassmorphic Card Style --- */
.wafa-impact-store .glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.wafa-impact-store .glass-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

/* --- Header & Navigation --- */
/* .main-header and .header-container removed: Astra theme supplies the page header now.
   .logo-area/.logo-icon/.svg-logo/.logo-text/.brand-name/.brand-sub are KEPT below —
   reused by .footer-brand in the footer (see .footer-brand .logo-area.light .brand-name). */
.wafa-impact-store .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wafa-impact-store .logo-icon {
    width: 48px;
    height: 48px;
}

.wafa-impact-store .svg-logo {
    width: 100%;
    height: 100%;
}

.wafa-impact-store .logo-text {
    display: flex;
    flex-direction: column;
}

.wafa-impact-store .brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.2;
}

.wafa-impact-store .brand-sub {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wafa-impact-store .sub-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 46, 81, 0.08);
    transition: var(--transition);
}

.wafa-impact-store .sub-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.wafa-impact-store .sub-nav-menu ul {
    display: flex;
    list-style: none;
    gap: 48px;
}

.wafa-impact-store .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-light);
    position: relative;
    padding: 8px 0;
}

.wafa-impact-store .nav-link:hover, .wafa-impact-store .nav-link.active {
    color: var(--primary);
}

.wafa-impact-store .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.wafa-impact-store .nav-link:hover::after {
    width: 100%;
}

/* .header-actions, .cart-btn(:hover), .cart-icon-wrapper, .cart-badge, @keyframes popBadge
   removed: header cart button/badge is dead once the fixed header + cart drawer are gone. */

/* --- Hero Section --- */
.wafa-impact-store .hero-section {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.wafa-impact-store .hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--border-gold) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    z-index: 1;
}

.wafa-impact-store .hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.wafa-impact-store .hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid rgba(17, 46, 81, 0.1);
}

.wafa-impact-store .hero-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 24px;
}

.wafa-impact-store .hero-title .highlight {
    color: var(--gold-dark);
    position: relative;
}

.wafa-impact-store .hero-description {
    font-size: 1.1rem;
    color: var(--dark-light);
    margin-bottom: 40px;
    max-width: 580px;
    text-align: justify;
}

.wafa-impact-store .hero-buttons {
    display: flex;
    gap: 16px;
}

.wafa-impact-store .hero-spotlight {
    display: flex;
    justify-content: flex-end;
}

.wafa-impact-store .spotlight-card {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    position: relative;
    border: 1.5px solid var(--border-gold);
    animation: floatSpotlight 4s ease-in-out infinite;
}

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

.wafa-impact-store .spotlight-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.wafa-impact-store .spotlight-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.wafa-impact-store .spotlight-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wafa-impact-store .spotlight-title {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.wafa-impact-store .spotlight-subtitle {
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 700;
}

.wafa-impact-store .spotlight-text {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: justify;
}

.wafa-impact-store .spotlight-metrics {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: rgba(17, 46, 81, 0.04);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(17, 46, 81, 0.05);
}

.wafa-impact-store .metric {
    display: flex;
    flex-direction: column;
}

.wafa-impact-store .metric-label {
    font-size: 0.75rem;
    color: var(--dark-light);
}

.wafa-impact-store .metric-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

/* --- Section Design --- */
.wafa-impact-store section {
    padding: 80px 0;
    scroll-margin-top: 66px;
}

.wafa-impact-store .section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wafa-impact-store .section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.wafa-impact-store .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

.wafa-impact-store .section-subtitle {
    font-size: 1.05rem;
    color: var(--dark-light);
    margin-top: 16px;
}

/* --- Chain Section (سلسلة الأثر) --- */
.wafa-impact-store .chain-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.wafa-impact-store .interactive-chain-wrapper {
    position: relative;
    margin-top: 48px;
    padding: 20px 0;
}

.wafa-impact-store .chain-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(to right, var(--light-grey), var(--primary-bg), var(--light-grey));
    z-index: 1;
    transform: translateY(-50%);
}

.wafa-impact-store .chain-nodes {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.wafa-impact-store .chain-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    min-width: 160px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.wafa-impact-store .node-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--light-grey);
    color: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition);
}

.wafa-impact-store .node-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.wafa-impact-store .node-count {
    font-size: 0.75rem;
    color: var(--dark-light);
}

/* Chain Node Hover & Active states */
.wafa-impact-store .chain-node:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.wafa-impact-store .chain-node:hover .node-icon-circle {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.wafa-impact-store .chain-node.active {
    border-color: var(--primary);
    background-color: var(--primary-bg);
    box-shadow: var(--shadow-md);
}

.wafa-impact-store .chain-node.active .node-icon-circle {
    background-color: var(--primary);
    color: var(--white);
}

.wafa-impact-store .chain-node.active .node-title {
    color: var(--primary-dark);
}

/* --- Store Section (متجر الأثر) --- */
.wafa-impact-store .store-category-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.wafa-impact-store .store-chip {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-light);
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 999px;
    padding: 8px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.wafa-impact-store .store-chip:hover {
    border-color: var(--gold);
    color: var(--dark);
}

.wafa-impact-store .store-chip.active {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.wafa-impact-store .search-filter-bar {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.wafa-impact-store .search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.wafa-impact-store .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-light);
}

.wafa-impact-store .search-box input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--border-color);
    background-color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.wafa-impact-store .search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 46, 81, 0.1);
}

.wafa-impact-store .store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* Initiative Card */
.wafa-impact-store .store-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.wafa-impact-store .store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary);
    opacity: 0.1;
    transition: var(--transition);
}

.wafa-impact-store .store-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.wafa-impact-store .store-card:hover::before {
    background-color: var(--gold);
    opacity: 1;
}

.wafa-impact-store .card-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.wafa-impact-store .cat-enablers { background-color: #E2F0FD; color: #1E3A8A; }
.wafa-impact-store .cat-community { background-color: #F3E8FF; color: #6B21A8; }
.wafa-impact-store .cat-services { background-color: #D1FAE5; color: #065F46; }
.wafa-impact-store .cat-research { background-color: #FEE2E2; color: #991B1B; }

.wafa-impact-store .card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wafa-impact-store .card-header-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    margin-top: 16px;
}

.wafa-impact-store .card-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--light-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.wafa-impact-store .store-card:hover .card-icon-box {
    background-color: var(--primary-bg);
}

.wafa-impact-store .card-title {
    font-size: 1.15rem;
    line-height: 1.3;
}

.wafa-impact-store .card-slogan {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

.wafa-impact-store .card-description-title {
    font-size: 0.85rem;
    color: var(--dark-light);
    font-weight: 700;
    margin-bottom: 4px;
}

.wafa-impact-store .card-description {
    color: var(--dark-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.5;
    flex-grow: 1;
}

.wafa-impact-store .card-unit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--light-grey);
    padding-top: 16px;
    margin-bottom: 16px;
}

.wafa-impact-store .unit-label {
    font-size: 0.8rem;
    color: var(--dark-light);
}

.wafa-impact-store .unit-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Custom Donation Value Controls in Card */
.wafa-impact-store .donation-input-area {
    margin-bottom: 18px;
}

.wafa-impact-store .quick-amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.wafa-impact-store .preset-btn {
    padding: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    background-color: var(--light-grey);
    border: 1.5px solid transparent;
    border-radius: 8px;
    color: var(--dark-light);
}

.wafa-impact-store .preset-btn:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.wafa-impact-store .preset-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.wafa-impact-store .custom-value-inputs {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
}

.wafa-impact-store .unit-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    height: 42px;
}

.wafa-impact-store .counter-btn {
    width: 32px;
    height: 100%;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--dark-light);
}

.wafa-impact-store .counter-btn:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.wafa-impact-store .counter-display {
    flex-grow: 1;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.wafa-impact-store .custom-amount-input {
    position: relative;
    height: 42px;
}

.wafa-impact-store .custom-amount-input input {
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0 32px 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    outline: none;
    color: var(--primary);
}

.wafa-impact-store .custom-amount-input input:focus {
    border-color: var(--primary);
}

.wafa-impact-store .input-suffix {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--dark-light);
    font-weight: 700;
}

.wafa-impact-store .card-footer-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.wafa-impact-store .btn-add-cart {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wafa-impact-store .btn-add-cart:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Partnership Paths --- */
.wafa-impact-store .paths-section {
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(17, 46, 81, 0.05);
    border-bottom: 1px solid rgba(17, 46, 81, 0.05);
}

.wafa-impact-store .paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.wafa-impact-store .path-card {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wafa-impact-store .path-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.wafa-impact-store .path-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(17, 46, 81, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wafa-impact-store .path-icon-circle.bg-gold {
    background-color: var(--gold);
}

.wafa-impact-store .path-title {
    font-size: 1.3rem;
}

.wafa-impact-store .path-description {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
    text-align: justify;
}

/* Featured corporate card styling */
.wafa-impact-store .featured-path {
    border: 2px solid var(--gold);
    transform: scale(1.03);
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
}

/* --- Additional Showcase Features --- */
.wafa-impact-store .features-section {
    background-color: var(--white);
}

.wafa-impact-store .features-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.wafa-impact-store .feature-showcase-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    border: 1px solid var(--border-color);
}

.wafa-impact-store .feature-showcase-box.row-reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* v1: recurring/monthly donations out of scope — re-enable when a monthly GiveWP form exists */
.wafa-impact-store .feature-showcase-box.row-reverse {
    display: none;
}

.wafa-impact-store .feature-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--gold-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 16px;
}

.wafa-impact-store .feature-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.wafa-impact-store .feature-text {
    font-size: 1rem;
    color: var(--dark-light);
    margin-bottom: 32px;
    text-align: justify;
}

/* Simulated Gift Card Preview */
.wafa-impact-store .gift-card-mockup {
    background: radial-gradient(circle at top left, #173e6b, #0a1d33);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(214, 175, 55, 0.3);
}

.wafa-impact-store .gift-card-border {
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    padding: 24px;
}

.wafa-impact-store .gift-card-inner {
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wafa-impact-store .gift-card-logo {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold);
    text-align: left;
}

.wafa-impact-store .gift-card-heading {
    font-size: 1.3rem;
    text-align: center;
    color: var(--gold);
    margin-bottom: 8px;
}

.wafa-impact-store .gift-card-p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.5;
}

.wafa-impact-store .gift-card-p span {
    font-weight: bold;
    color: var(--gold);
    font-size: 0.95rem;
}

.wafa-impact-store .gift-card-footer {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 10px;
}

/* Monthly Donation Box Widget */
.wafa-impact-store .monthly-donation-box {
    background-color: var(--cream);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.wafa-impact-store .monthly-box-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
}

.wafa-impact-store .monthly-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.wafa-impact-store .monthly-opt {
    padding: 12px 6px;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    color: var(--dark-light);
}

.wafa-impact-store .monthly-opt:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.wafa-impact-store .monthly-opt.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.wafa-impact-store .monthly-desc {
    font-size: 0.85rem;
    color: var(--dark-light);
    text-align: center;
    margin-bottom: 0;
}

/* v1: monthly membership out of scope — re-enable when a monthly GiveWP form exists */
.wafa-impact-store #sub-monthly-direct {
    display: none;
}

/* --- Transparency Section (شفافيتنا) --- */
.wafa-impact-store .trust-section {
    background-color: var(--cream);
}

.wafa-impact-store .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wafa-impact-store .trust-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    border: 1.5px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.wafa-impact-store .trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.wafa-impact-store .trust-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
}

.wafa-impact-store .trust-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.wafa-impact-store .trust-card-text {
    font-size: 0.85rem;
    color: var(--dark-light);
    line-height: 1.6;
    text-align: justify;
}

/* --- Footer --- */
.wafa-impact-store .main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 20px;
    font-family: var(--font-body);
}

.wafa-impact-store .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.wafa-impact-store .footer-brand .logo-area.light .brand-name {
    color: var(--white);
}

.wafa-impact-store .footer-desc {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.85;
    text-align: justify;
    line-height: 1.7;
}

.wafa-impact-store .license-info {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.wafa-impact-store .lic-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--gold-light);
}

.wafa-impact-store .footer-title {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.wafa-impact-store .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.wafa-impact-store .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wafa-impact-store .footer-links a {
    font-size: 0.9rem;
    opacity: 0.85;
}

.wafa-impact-store .footer-links a:hover {
    color: var(--gold);
    opacity: 1;
    padding-right: 4px;
}

.wafa-impact-store .contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wafa-impact-store .inline-icon {
    flex-shrink: 0;
    color: var(--gold);
}

.wafa-impact-store .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- Shopping Drawer (سلة التبرعات الجانبية) ---
   .drawer-overlay, .donation-drawer(.active), .drawer-header, .drawer-title,
   .drawer-close-btn(:hover), .drawer-content removed: the sliding cart/donation
   drawer and its overlay are dead once the drawer markup is removed (no multi-item
   cart in the WordPress version — see docs/superpowers/plans/2026-07-19-wafa-impact-store-design.md).
   The rules below this point (empty-cart-state, cart-item, gifting/donor/payment
   sections, drawer-footer, total-summary, processing/success overlays) are the
   FORMER DRAWER CONTENTS. They are NOT referenced by any kept markup today, but
   were intentionally left in place (out of this task's literal scope) in case a
   later task reuses the generic form-field / gifting styles. See task-5-report.md
   for the full list and rationale. */
/* Empty State */
.wafa-impact-store .empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 40px 0;
}

.wafa-impact-store .empty-cart-icon {
    margin-bottom: 20px;
    animation: pulseCart 2s infinite;
}

@keyframes pulseCart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wafa-impact-store .empty-cart-state h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.wafa-impact-store .empty-cart-state p {
    font-size: 0.85rem;
    color: var(--dark-light);
    margin-bottom: 24px;
    max-width: 280px;
}

/* Cart Item card */
.wafa-impact-store .cart-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-grey);
    margin-bottom: 16px;
}

.wafa-impact-store .cart-item-details {
    display: flex;
    flex-direction: column;
}

.wafa-impact-store .cart-item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.wafa-impact-store .cart-item-impact {
    font-size: 0.75rem;
    color: var(--dark-light);
    margin-bottom: 8px;
}

.wafa-impact-store .cart-item-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.wafa-impact-store .cart-item-price {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 0.9rem;
}

.wafa-impact-store .btn-remove-item {
    color: #EF4444;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wafa-impact-store .btn-remove-item:hover {
    opacity: 0.8;
}

/* Gifting Section */
.wafa-impact-store .gifting-section {
    border-top: 1.5px dashed var(--border-color);
    padding-top: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.wafa-impact-store .checkbox-container {
    display: flex;
    position: relative;
    padding-right: 32px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    user-select: none;
}

.wafa-impact-store .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.wafa-impact-store .checkmark {
    position: absolute;
    top: 2px;
    right: 0;
    height: 20px;
    width: 20px;
    background-color: var(--light-grey);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.wafa-impact-store .checkbox-container:hover input ~ .checkmark {
    background-color: #E2E8F0;
}

.wafa-impact-store .checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.wafa-impact-store .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.wafa-impact-store .checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.wafa-impact-store .checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wafa-impact-store .gifting-fields {
    margin-top: 16px;
    background-color: var(--cream);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wafa-impact-store .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wafa-impact-store .form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.wafa-impact-store .form-group input, .wafa-impact-store .form-group select, .wafa-impact-store .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-size: 0.85rem;
    outline: none;
}

.wafa-impact-store .form-group input:focus, .wafa-impact-store .form-group select:focus, .wafa-impact-store .form-group textarea:focus {
    border-color: var(--primary);
}

/* Donor Profile & Payment info */
.wafa-impact-store .donor-section, .wafa-impact-store .payment-section {
    border-top: 1.5px dashed var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.wafa-impact-store .section-sub-title {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.wafa-impact-store .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.wafa-impact-store .payment-method-label {
    cursor: pointer;
}

.wafa-impact-store .payment-method-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wafa-impact-store .payment-method-card {
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 4px;
    text-align: center;
    transition: var(--transition);
}

.wafa-impact-store .payment-method-label input:checked + .payment-method-card {
    border-color: var(--primary);
    background-color: var(--primary-bg);
}

.wafa-impact-store .pay-logo {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Drawer Footer */
.wafa-impact-store .drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--light-grey);
    background-color: var(--cream);
}

.wafa-impact-store .total-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.wafa-impact-store .total-price {
    font-size: 1.3rem;
    color: var(--primary-dark);
}

/* --- Processing & Success Overlays --- */
.wafa-impact-store .payment-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 46, 81, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.wafa-impact-store .payment-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wafa-impact-store .spinner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    padding: 20px;
}

.wafa-impact-store .premium-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

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

.wafa-impact-store .spinner-wrapper h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.wafa-impact-store .spinner-wrapper p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Confetti canvas */
.wafa-impact-store #confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    pointer-events: none;
    display: none;
}

/* Success Modal */
.wafa-impact-store .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.wafa-impact-store .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wafa-impact-store .success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 100%;
    max-width: 500px;
    background-color: var(--white);
    z-index: 1003;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wafa-impact-store .success-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.wafa-impact-store .success-checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.wafa-impact-store .checkmark-svg {
    width: 100%;
    height: 100%;
}

.wafa-impact-store .checkmark-circle {
    stroke: var(--primary);
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawCircle 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wafa-impact-store .checkmark-check {
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.4s 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.wafa-impact-store .modal-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.wafa-impact-store .modal-text {
    font-size: 0.95rem;
    color: var(--dark-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.wafa-impact-store .success-receipt-details {
    background-color: var(--cream);
    border-radius: 16px;
    padding: 20px;
    border: 1px dashed var(--border-color);
    margin-bottom: 32px;
}

.wafa-impact-store .receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.wafa-impact-store .receipt-row:last-child {
    border-bottom: none;
    font-size: 1rem;
    padding-top: 12px;
}

.wafa-impact-store .modal-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Responsive Media Queries --- */

@media (max-width: 992px) {
    .wafa-impact-store .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .wafa-impact-store .hero-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .wafa-impact-store .hero-buttons {
        justify-content: center;
    }
    .wafa-impact-store .hero-spotlight {
        justify-content: center;
    }
    .wafa-impact-store .spotlight-card {
        max-width: 480px;
    }
    .wafa-impact-store .paths-grid {
        grid-template-columns: 1fr;
    }
    .wafa-impact-store .featured-path {
        transform: scale(1);
    }
    .wafa-impact-store .feature-showcase-box, .wafa-impact-store .feature-showcase-box.row-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    .wafa-impact-store .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wafa-impact-store .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .wafa-impact-store .interactive-chain-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
    }
    .wafa-impact-store .chain-nodes {
        width: max-content;
        padding: 0 10px;
    }
    .wafa-impact-store .chain-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .wafa-impact-store .hide-mobile {
        display: none !important;
    }
    .wafa-impact-store .hero-title {
        font-size: 2.2rem;
    }
    .wafa-impact-store .trust-grid {
        grid-template-columns: 1fr;
    }
    .wafa-impact-store .sub-nav-menu ul {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .wafa-impact-store .container {
        padding: 0 16px;
    }
    .wafa-impact-store .hero-title {
        font-size: 1.8rem;
    }
    .wafa-impact-store .store-grid {
        grid-template-columns: 1fr;
    }
    .wafa-impact-store .custom-value-inputs {
        grid-template-columns: 1fr;
    }
    .wafa-impact-store .card-footer-actions {
        grid-template-columns: 1fr;
    }
    .wafa-impact-store .btn-add-cart {
        width: 100%;
        height: 48px;
    }
    .wafa-impact-store .sub-nav-menu ul {
        gap: 12px;
    }
    .wafa-impact-store .sub-header-container {
        height: 44px;
    }
}

/* --- Store Card Goal Bar (live GiveWP raised/goal) --- */
.wafa-impact-store .card-goal{margin:14px 0}
.wafa-impact-store .card-goal-bar{height:8px;border-radius:6px;background:#ece6db;overflow:hidden}
.wafa-impact-store .card-goal-bar>span{display:block;height:100%;background:var(--gold,#c9a24b);transition:width .4s}
.wafa-impact-store .card-goal-meta{display:flex;justify-content:space-between;font-size:.8rem;color:#6b6154;margin-top:6px}

/* --- Donate Modal (FALLBACK: iframes the real GiveWP form, shows suggested amount) --- */
.wafa-impact-store .give-donate-modal[hidden]{display:none}
.wafa-impact-store .give-donate-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}
.wafa-impact-store .give-modal-backdrop{position:absolute;inset:0;background:rgba(13,40,70,.55)}
.wafa-impact-store .give-modal-body{position:relative;background:#fff;border-radius:16px;width:min(560px,94vw);height:min(88vh,760px);overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.wafa-impact-store .give-modal-body iframe{width:100%;height:100%;border:0}
.wafa-impact-store .give-modal-close{position:absolute;top:8px;left:12px;z-index:2;font-size:26px;line-height:1;border:0;background:transparent;cursor:pointer;color:#0d2846}
.wafa-impact-store .give-modal-suggest{text-align:center;padding:14px 48px 10px;font-size:.9rem;color:var(--dark-light);background:var(--cream);border-bottom:1px solid var(--border-color)}
.wafa-impact-store .give-modal-suggest strong{color:var(--primary-dark);font-weight:800}

/* --- Impact Store: preset amount chips (10/50/100/150 + أخرى) --- */
.wafa-impact-store .amount-select-label{display:block;font-size:.82rem;color:#6b6154;margin:16px 0 8px;font-weight:600}
.wafa-impact-store .amount-chips{display:flex;flex-wrap:wrap;gap:8px}
.wafa-impact-store .amt-chip{flex:1 1 0;min-width:48px;padding:9px 6px;border:1.5px solid #e0d6c4;border-radius:10px;background:#faf8f4;color:var(--primary-dark);font-family:inherit;font-weight:700;font-size:1rem;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.wafa-impact-store .amt-chip:hover{border-color:var(--gold)}
.wafa-impact-store .amt-chip.active{background:var(--gold);border-color:var(--gold);color:var(--primary-dark)}
.wafa-impact-store .amt-chip.amt-other{flex-basis:100%}
.wafa-impact-store .amt-custom-wrap{display:flex;align-items:center;gap:8px;margin-top:10px}
.wafa-impact-store .amt-custom-wrap[hidden]{display:none}
.wafa-impact-store .amt-custom{flex:1;padding:10px 12px;border:1.5px solid #e0d6c4;border-radius:10px;font-family:inherit;font-size:1rem;background:#fff;color:var(--primary-dark)}
.wafa-impact-store .amt-custom-wrap .input-suffix{color:#6b6154;font-weight:600}

/* --- Impact Store: enriched goal text --- */
.wafa-impact-store .card-goal-top{font-size:.85rem;color:#4a4235;margin-bottom:8px;line-height:1.5}
.wafa-impact-store .card-goal-top strong{color:var(--gold-dark);font-weight:800}
.wafa-impact-store .card-goal-pct{font-weight:800;color:var(--gold-dark)}

/* Store page only: keep the site header + its dropdown menus above the sticky
   tab bar (.sub-header z-index:99). This CSS is enqueued only on this page. */
body > .elementor:not(.elementor-location-footer){position:relative;z-index:1000}
