/**
 * Evie & Fenn Baby Hamper Wishlist - Frontend Stylesheet
 * Brand Palettes: Amber/Hazelnut #7d4900, Warm Linen #f3e8e0, Soft Cream #fcfaf7, Charcoal #2d2d2d
 */

:root {
    --ef-color-primary: #7d4900;
    --ef-color-primary-dark: #5c3500;
    --ef-color-primary-light: #9c5c02;
    --ef-color-linen: #f3e8e0;
    --ef-color-cream: #fcfaf7;
    --ef-color-cream-subtle: #f9f6f0;
    --ef-color-charcoal: #2d2d2d;
    --ef-color-muted: #6b635b;
    --ef-color-border: #e5dec9;
    --ef-color-border-light: #ece6d8;
    --ef-color-green: #2e7d32;
    --ef-color-green-bg: #e8f5e9;
    --ef-font-heading: 'Jost', Georgia, serif;
    --ef-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ef-shadow-sm: 0 2px 8px rgba(125, 73, 0, 0.06);
    --ef-shadow-md: 0 6px 20px rgba(125, 73, 0, 0.10);
    --ef-shadow-lg: 0 12px 36px rgba(125, 73, 0, 0.15);
    --ef-radius: 4px;
}

.ef-wishlist-container {
    font-family: var(--ef-font-body);
    color: var(--ef-color-charcoal);
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ef-wishlist-container * {
    box-sizing: border-box;
}

/* ==========================================================================
   HERO HEADER
   ========================================================================== */

.ef-hero-header {
    text-align: center;
    margin-bottom: 45px;
    padding: 30px 20px;
    background: var(--ef-color-cream);
    border: 1px solid var(--ef-color-border);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-sm);
}

.ef-subtitle {
    display: inline-block;
    font-family: var(--ef-font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ef-color-primary);
    margin-bottom: 8px;
}

.ef-title {
    font-family: var(--ef-font-heading);
    font-size: 38px;
    font-weight: 500;
    color: var(--ef-color-charcoal);
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

.ef-baby-subtitle {
    font-size: 18px;
    color: var(--ef-color-primary);
    margin: 5px 0 15px 0;
}

.ef-baby-subtitle .ef-due-date {
    color: var(--ef-color-muted);
    font-size: 14px;
    margin-left: 8px;
}

.ef-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    color: var(--ef-color-primary);
    opacity: 0.5;
    font-size: 18px;
}

.ef-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ef-color-muted);
    max-width: 720px;
    margin: 0 auto;
}

.ef-welcome-note {
    background: #ffffff;
    border-left: 3px solid var(--ef-color-primary);
    padding: 16px 22px;
    max-width: 720px;
    margin: 15px auto;
    font-style: italic;
    color: #4a433d;
    box-shadow: var(--ef-shadow-sm);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--ef-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-decoration: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.ef-btn-primary {
    background-color: var(--ef-color-primary);
    color: #ffffff !important;
    border-color: var(--ef-color-primary);
}

.ef-btn-primary:hover,
.ef-btn-primary:focus {
    background-color: var(--ef-color-primary-dark);
    border-color: var(--ef-color-primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 73, 0, 0.2);
}

.ef-btn-outline {
    background-color: transparent;
    color: var(--ef-color-primary) !important;
    border-color: var(--ef-color-primary);
}

.ef-btn-outline:hover {
    background-color: var(--ef-color-primary);
    color: #ffffff !important;
}

.ef-btn-whatsapp {
    background-color: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}

.ef-btn-whatsapp:hover {
    background-color: #1ebc59;
}

.ef-btn-email {
    background-color: #555;
    color: #fff !important;
}

.ef-btn-block {
    width: 100%;
}

.ef-btn-lg {
    padding: 16px 36px;
    font-size: 14px;
}

.ef-btn-sm {
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.ef-btn-disabled {
    background-color: #e0e0e0;
    color: #888 !important;
    border-color: #ccc;
    cursor: not-allowed;
}

.ef-pill-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ef-color-linen);
    color: var(--ef-color-primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 20px;
}

.ef-badge-rain {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ef-color-green-bg);
    color: var(--ef-color-green);
    border: 1px solid #c8e6c9;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 20px;
}

/* ==========================================================================
   WIZARD STEPS
   ========================================================================== */

.ef-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 8px;
}

.ef-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.ef-step-item.active {
    color: var(--ef-color-primary);
}

.ef-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9e4dc;
    color: #777;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.ef-step-item.active .ef-step-num {
    background: var(--ef-color-primary);
    color: #ffffff;
}

.ef-step-line {
    width: 35px;
    height: 1px;
    background: #e0d8cc;
}

.ef-wizard-section {
    display: none;
    animation: efFadeIn 0.3s ease-in-out;
}

.ef-wizard-section.active {
    display: block;
}

@keyframes efFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ef-section-intro {
    text-align: center;
    margin-bottom: 30px;
}

.ef-section-intro h2 {
    font-family: var(--ef-font-heading);
    font-size: 26px;
    color: var(--ef-color-charcoal);
    margin: 0 0 6px 0;
}

.ef-section-intro p {
    color: var(--ef-color-muted);
    font-size: 15px;
    margin: 0;
}

/* ==========================================================================
   STEP 1: HAMPER OPTION CARDS
   ========================================================================== */

.ef-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.ef-option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.ef-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ef-card-inner {
    background: #ffffff;
    border: 2px solid var(--ef-color-border);
    padding: 30px 22px;
    text-align: center;
    border-radius: var(--ef-radius);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--ef-shadow-sm);
}

.ef-option-card:hover .ef-card-inner {
    border-color: var(--ef-color-primary);
    transform: translateY(-2px);
    box-shadow: var(--ef-shadow-md);
}

.ef-option-card input[type="radio"]:checked + .ef-card-inner {
    border-color: var(--ef-color-primary);
    background: var(--ef-color-cream);
    box-shadow: var(--ef-shadow-md);
}

.ef-card-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.ef-card-number {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ef-color-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.ef-card-title {
    font-family: var(--ef-font-heading);
    font-size: 19px;
    margin: 0 0 10px 0;
    color: var(--ef-color-charcoal);
    line-height: 1.3;
}

.ef-card-desc {
    font-size: 13px;
    color: var(--ef-color-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ef-card-action {
    font-size: 12px;
    font-weight: 600;
    color: var(--ef-color-primary);
    letter-spacing: 1px;
}

/* Rain & Roame Special Card */
.ef-special-option-box {
    margin: 25px 0 35px 0;
}

.ef-special-option-card {
    background: #f9fbf8;
    border: 2px dashed #a5d6a7;
    padding: 22px 25px;
    border-radius: var(--ef-radius);
    transition: all 0.2s ease;
}

.ef-special-option-card:hover {
    border-color: var(--ef-color-green);
    background: #f4faf3;
}

.ef-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.ef-checkbox-container input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    accent-color: var(--ef-color-primary);
    cursor: pointer;
}

.ef-special-title {
    margin: 5px 0 4px 0;
    font-size: 17px;
    font-family: var(--ef-font-heading);
    color: #1b5e20;
}

.ef-special-desc {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* ==========================================================================
   STEP 2: FORM STYLES
   ========================================================================== */

.ef-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--ef-color-cream);
    padding: 30px;
    border: 1px solid var(--ef-color-border);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-sm);
}

.ef-form-group {
    display: flex;
    flex-direction: column;
}

.ef-form-group.ef-full-width {
    grid-column: 1 / -1;
}

.ef-form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ef-color-charcoal);
}

.ef-req {
    color: #c62828;
}

.ef-form-group input,
.ef-form-group textarea,
.ef-form-group select {
    padding: 12px 14px;
    border: 1px solid var(--ef-color-border);
    background: #ffffff;
    font-family: var(--ef-font-body);
    font-size: 14px;
    border-radius: 0px;
    transition: border-color 0.2s;
}

.ef-form-group input:focus,
.ef-form-group textarea:focus,
.ef-form-group select:focus {
    border-color: var(--ef-color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(125, 73, 0, 0.1);
}

.ef-field-hint {
    font-size: 11px;
    color: var(--ef-color-muted);
    margin-top: 4px;
}

.ef-step-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

/* ==========================================================================
   STEP 3: CATALOG TOOLBAR & PRODUCTS GRID
   ========================================================================== */

.ef-catalog-toolbar {
    margin-bottom: 25px;
}

.ef-search-box {
    display: flex;
    max-width: 480px;
    margin: 0 auto 15px auto;
}

.ef-search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--ef-color-border);
    border-right: none;
    border-radius: 0px;
    font-size: 14px;
}

.ef-search-box .ef-icon-btn {
    padding: 0 20px;
    background: var(--ef-color-primary);
    color: #fff;
    border: 1px solid var(--ef-color-primary);
    cursor: pointer;
}

.ef-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.ef-cat-pill {
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--ef-color-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.ef-cat-pill:hover,
.ef-cat-pill.active {
    background: var(--ef-color-primary);
    border-color: var(--ef-color-primary);
    color: #ffffff;
}

.ef-rain-pill {
    border-color: #a5d6a7;
    color: var(--ef-color-green);
    background: #f1f8e9;
    font-weight: 500;
}

.ef-rain-pill.active,
.ef-rain-pill:hover {
    background: var(--ef-color-green);
    border-color: var(--ef-color-green);
    color: #fff;
}

/* Product Cards Grid */
.ef-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    min-height: 250px;
}

.ef-product-card {
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    border-radius: var(--ef-radius);
    padding: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: var(--ef-shadow-sm);
}

.ef-product-card:hover {
    border-color: var(--ef-color-primary);
    box-shadow: var(--ef-shadow-md);
    transform: translateY(-2px);
}

.ef-card-badge-rain {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ef-color-green);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

.ef-product-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 12px;
}

.ef-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ef-product-card:hover .ef-product-thumb img {
    transform: scale(1.04);
}

.ef-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ef-color-charcoal);
    margin: 0 0 8px 0;
    line-height: 1.35;
    flex-grow: 1;
}

.ef-card-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--ef-color-primary);
    margin-bottom: 12px;
}

.ef-card-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ef-qty-btn {
    width: 26px;
    height: 26px;
    background: #f0ebe4;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: var(--ef-color-primary);
}

.ef-qty-val {
    width: 32px;
    text-align: center;
    border: 1px solid var(--ef-color-border);
    font-size: 13px;
    padding: 3px 0;
}

/* Sticky / Floating Hamper Tray */
.ef-hamper-tray {
    position: sticky;
    bottom: 20px;
    background: #ffffff;
    border: 2px solid var(--ef-color-primary);
    padding: 15px 22px;
    margin-top: 30px;
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-lg);
    z-index: 99;
}

.ef-tray-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ef-tray-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ef-tray-icon {
    font-size: 32px;
}

.ef-tray-total {
    display: block;
    font-size: 13px;
    color: var(--ef-color-muted);
}

.ef-tray-total span {
    font-weight: bold;
    color: var(--ef-color-primary);
}

.ef-tray-items-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ef-tray-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background: #faf8f5;
    padding: 6px 12px;
    border-radius: 3px;
}

.ef-tray-del-btn {
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

/* ==========================================================================
   STEP 4: REVIEW CARD
   ========================================================================== */

.ef-review-summary-card {
    background: var(--ef-color-cream);
    border: 1px solid var(--ef-color-border);
    padding: 30px;
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-sm);
    max-width: 800px;
    margin: 0 auto;
}

.ef-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--ef-color-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ef-review-header h3 {
    margin: 5px 0 0 0;
    font-family: var(--ef-font-heading);
    font-size: 24px;
}

.ef-review-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 14px;
}

.ef-review-items-box {
    border-top: 1px solid var(--ef-color-border);
    padding-top: 15px;
}

.ef-review-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

/* ==========================================================================
   VIEWER PAGE & PROMINENT ACTIONS
   ========================================================================== */

.ef-viewer-actions-block {
    margin: 45px 0;
    text-align: center;
}

.ef-actions-heading {
    font-family: var(--ef-font-heading);
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--ef-color-charcoal);
}

.ef-actions-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.ef-action-card {
    background: #ffffff;
    border: 2px solid var(--ef-color-border);
    padding: 35px 30px;
    border-radius: var(--ef-radius);
    text-align: center;
    box-shadow: var(--ef-shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ef-action-card:hover {
    border-color: var(--ef-color-primary);
    box-shadow: var(--ef-shadow-md);
    transform: translateY(-3px);
}

.ef-action-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.ef-action-card h3 {
    font-family: var(--ef-font-heading);
    font-size: 22px;
    margin: 0 0 10px 0;
    color: var(--ef-color-charcoal);
}

.ef-action-card p {
    font-size: 14px;
    color: var(--ef-color-muted);
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Progress Overview Card */
.ef-progress-card {
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    padding: 22px 30px;
    border-radius: var(--ef-radius);
    margin-top: 25px;
    box-shadow: var(--ef-shadow-sm);
}

.ef-progress-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
}

.ef-stat-box {
    text-align: center;
}

.ef-stat-val {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--ef-color-primary);
    font-family: var(--ef-font-heading);
}

.ef-stat-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ef-color-muted);
}

.ef-stat-divider {
    width: 1px;
    height: 35px;
    background: var(--ef-color-border);
}

.ef-progress-bar-container {
    width: 100%;
    height: 8px;
    background: #f0ebe3;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ef-progress-fill {
    height: 100%;
    background: var(--ef-color-primary);
    transition: width 0.4s ease;
}

.ef-progress-text {
    font-size: 12px;
    color: var(--ef-color-muted);
}

/* Viewer Product Cards */
.ef-viewer-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.ef-viewer-product-card {
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    border-radius: var(--ef-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ef-shadow-sm);
    transition: all 0.25s ease;
}

.ef-viewer-product-card:hover {
    border-color: var(--ef-color-primary);
    box-shadow: var(--ef-shadow-md);
    transform: translateY(-2px);
}

.ef-viewer-product-card.ef-card-gifted {
    opacity: 0.75;
    background: #fdfdfd;
}

.ef-product-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fbfbfb;
    overflow: hidden;
}

.ef-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ef-gifted-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-gifted-overlay span {
    background: #2e7d32;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ef-product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ef-brand-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ef-color-primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.ef-product-title {
    font-family: var(--ef-font-heading);
    font-size: 17px;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.ef-product-title a {
    color: var(--ef-color-charcoal);
    text-decoration: none;
}

.ef-product-title a:hover {
    color: var(--ef-color-primary);
}

.ef-product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--ef-color-primary);
    margin-bottom: 12px;
}

.ef-gift-tally {
    font-size: 12px;
    margin-bottom: 18px;
}

.ef-tally-needed {
    color: #e65100;
    font-weight: 500;
}

.ef-tally-full {
    color: #2e7d32;
    font-weight: 600;
}

.ef-card-buy-action {
    margin-top: auto;
}

/* ==========================================================================
   SHARE CONTAINER
   ========================================================================== */

.ef-share-container {
    background: var(--ef-color-cream);
    border: 1px solid var(--ef-color-border);
    padding: 30px;
    text-align: center;
    margin-top: 45px;
    border-radius: var(--ef-radius);
}

.ef-share-container h3 {
    font-family: var(--ef-font-heading);
    font-size: 22px;
    margin: 0 0 6px 0;
}

.ef-share-container p {
    color: var(--ef-color-muted);
    font-size: 14px;
    margin: 0 0 20px 0;
}

.ef-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   MODAL: MAKE A MONETARY DONATION
   ========================================================================== */

.ef-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.ef-modal-dialog {
    position: relative;
    background: #ffffff;
    max-width: 520px;
    width: 90%;
    padding: 35px 30px;
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-lg);
    z-index: 1;
    animation: efScaleUp 0.25s ease-out;
}

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

.ef-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #888;
}

.ef-modal-close:hover {
    color: #222;
}

.ef-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.ef-modal-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ef-color-primary);
    font-weight: 600;
}

.ef-modal-header h3 {
    font-family: var(--ef-font-heading);
    font-size: 24px;
    margin: 5px 0 8px 0;
}

.ef-modal-header p {
    font-size: 13px;
    color: var(--ef-color-muted);
    margin: 0;
}

.ef-donation-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ef-preset-btn {
    cursor: pointer;
    display: block;
}

.ef-preset-btn input {
    position: absolute;
    opacity: 0;
}

.ef-preset-btn span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--ef-color-border);
    font-size: 15px;
    font-weight: 600;
    color: var(--ef-color-charcoal);
    border-radius: 0px;
    transition: all 0.2s;
}

.ef-preset-btn input:checked + span {
    background: var(--ef-color-primary);
    border-color: var(--ef-color-primary);
    color: #ffffff;
}

.ef-input-currency-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ef-currency-prefix {
    position: absolute;
    left: 14px;
    font-weight: bold;
    color: #777;
    font-size: 16px;
}

.ef-input-currency-wrap input {
    padding-left: 30px !important;
    font-size: 16px !important;
    font-weight: bold;
}

.ef-modal-footer {
    margin-top: 25px;
}

/* ==========================================================================
   SUCCESS SCREEN
   ========================================================================== */

.ef-success-card {
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    padding: 45px 35px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow-md);
}

.ef-success-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ef-email-confirmation-box {
    background: #fdfbf7;
    border: 1px dashed var(--ef-color-border);
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.ef-link-box {
    background: #faf8f5;
    border: 1px solid var(--ef-color-border);
    padding: 22px;
    margin: 20px 0;
    text-align: left;
    border-radius: var(--ef-radius);
}

.ef-link-box h3,
.ef-link-box h4 {
    margin: 0 0 6px 0;
    font-family: var(--ef-font-heading);
}

.ef-copy-input-group {
    display: flex;
    margin: 12px 0;
}

.ef-copy-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--ef-color-border);
    border-right: none;
    font-size: 13px;
    background: #fff;
}

.ef-share-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ef-success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ==========================================================================
   PARENT MANAGEMENT VIEW
   ========================================================================== */

.ef-share-banner {
    background: #ffffff;
    border: 1px solid var(--ef-color-primary);
    padding: 15px 22px;
    margin-top: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
}

.ef-url-text {
    display: block;
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

.ef-banner-btns {
    display: flex;
    gap: 8px;
}

.ef-manage-section {
    background: #ffffff;
    border: 1px solid var(--ef-color-border);
    padding: 25px 30px;
    border-radius: var(--ef-radius);
    margin-top: 30px;
    box-shadow: var(--ef-shadow-sm);
}

.ef-manage-section h2 {
    font-family: var(--ef-font-heading);
    font-size: 22px;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #f0ebe3;
    padding-bottom: 10px;
}

.ef-manage-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.ef-manage-img img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 3px;
}

.ef-manage-info {
    flex: 1;
}

.ef-manage-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
}

.ef-manage-price {
    font-size: 13px;
    color: var(--ef-color-primary);
    font-weight: 600;
}

.ef-btn-danger {
    background: #ffebee;
    color: #c62828 !important;
    border: 1px solid #ffcdd2;
}

.ef-btn-danger:hover {
    background: #c62828;
    color: #fff !important;
}

.ef-donations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ef-donation-box {
    background: #faf8f5;
    border: 1px solid var(--ef-color-border);
    padding: 15px;
    border-radius: 3px;
}

.ef-don-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ef-don-amount {
    color: var(--ef-color-primary);
    font-weight: bold;
}

.ef-don-msg {
    font-style: italic;
    font-size: 13px;
    color: #555;
    margin: 6px 0;
}

.ef-don-date {
    font-size: 11px;
    color: #888;
}

/* Toast Notifications */
.ef-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--ef-color-charcoal);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 4px;
    box-shadow: var(--ef-shadow-lg);
    font-size: 14px;
    z-index: 999999;
    display: none;
    animation: efToastIn 0.3s ease-out;
}

@keyframes efToastIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 992px) {
    .ef-options-grid {
        grid-template-columns: 1fr;
    }
    .ef-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ef-viewer-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ef-actions-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ef-title {
        font-size: 28px;
    }
    .ef-form-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .ef-products-grid {
        grid-template-columns: 1fr;
    }
    .ef-viewer-products-grid {
        grid-template-columns: 1fr;
    }
    .ef-progress-stats {
        flex-direction: column;
        gap: 15px;
    }
    .ef-stat-divider {
        display: none;
    }
    .ef-donation-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    .ef-donations-grid {
        grid-template-columns: 1fr;
    }
    .ef-share-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .ef-banner-btns {
        flex-direction: column;
    }
}
