/**
 * EBA Card Deck — Product Detail Widget.
 * Brand-forward sales page styling. Hero + Includes + Samples + FAQ.
 */

.eba-wrapper.eba-cdd {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
    background: #fafaf7;
}
.eba-wrapper.eba-cdd > section { padding: 64px 24px; max-width: 1180px; margin: 0 auto; }

/* ============================================================
 * HERO
 * ============================================================ */
.eba-wrapper.eba-cdd .eba-cdd__hero {
    padding: 80px 24px 56px;
    background:
        radial-gradient(900px 600px at 80% -10%, rgba(212, 162, 76, 0.12), transparent 60%),
        linear-gradient(180deg, #fff, #fafaf7);
}
.eba-wrapper.eba-cdd .eba-cdd__hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 480px) 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}
.eba-wrapper.eba-cdd .eba-cdd__hero-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(15, 23, 42, 0.25),
        0 12px 24px -8px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #f1ede4, #e8e0d4);
}
.eba-wrapper.eba-cdd .eba-cdd__hero-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.eba-wrapper.eba-cdd .eba-cdd__cover-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(15, 23, 42, 0.2);
}
.eba-wrapper.eba-cdd .eba-cdd__card-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #d4a24c;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.eba-wrapper.eba-cdd .eba-cdd__hero-info { max-width: 540px; }
.eba-wrapper.eba-cdd .eba-cdd__eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(212, 162, 76, 0.12);
    color: #b58834;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.eba-wrapper.eba-cdd .eba-cdd__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem) !important;
    line-height: 1.05 !important;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    letter-spacing: -0.01em;
}
.eba-wrapper.eba-cdd .eba-cdd__tagline {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic;
    font-size: 1.25rem;
    color: #b58834;
    margin: 0 0 18px;
}
.eba-wrapper.eba-cdd .eba-cdd__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 24px;
}

.eba-wrapper.eba-cdd .eba-cdd__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}
.eba-wrapper.eba-cdd .eba-cdd__price {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4a24c;
    line-height: 1;
}
.eba-wrapper.eba-cdd .eba-cdd__price-meta {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.eba-wrapper.eba-cdd .eba-cdd__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.eba-wrapper.eba-cdd .eba-cdd__btn,
.eba-wrapper.eba-cdd a.eba-cdd__btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 13px 26px !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.18s;
    background-image: none !important;
    text-shadow: none !important;
    cursor: pointer;
    border: 0 !important;
    line-height: 1.2 !important;
}
.eba-wrapper.eba-cdd .eba-cdd__btn--primary {
    background: linear-gradient(135deg, #d4a24c, #e0b96b) !important;
    background-image: linear-gradient(135deg, #d4a24c, #e0b96b) !important;
    color: #0f172a !important;
    box-shadow: 0 6px 18px rgba(212, 162, 76, 0.32);
}
.eba-wrapper.eba-cdd .eba-cdd__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(212, 162, 76, 0.45);
    color: #0f172a !important;
}
.eba-wrapper.eba-cdd .eba-cdd__btn--ghost {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #ddd4c6 !important;
}
.eba-wrapper.eba-cdd .eba-cdd__btn--ghost:hover {
    border-color: #d4a24c !important;
    color: #b58834 !important;
}
.eba-wrapper.eba-cdd .eba-cdd__btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.eba-wrapper.eba-cdd .eba-cdd__trust {
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.eba-wrapper.eba-cdd .eba-cdd__trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #64748b;
}
.eba-wrapper.eba-cdd .eba-cdd__trust li svg { color: #d4a24c; flex-shrink: 0; }

/* ============================================================
 * SECTION TITLES (shared)
 * ============================================================ */
.eba-wrapper.eba-cdd .eba-cdd__section-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    color: #0f172a !important;
    margin: 0 0 12px !important;
    text-align: center;
    line-height: 1.2;
}
.eba-wrapper.eba-cdd .eba-cdd__section-sub {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* ============================================================
 * INCLUDES
 * ============================================================ */
.eba-wrapper.eba-cdd .eba-cdd__includes {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eee9df;
    margin-top: 32px;
    padding: 56px 40px !important;
}
.eba-wrapper.eba-cdd .eba-cdd__includes .eba-cdd__section-title {
    margin-bottom: 40px !important;
}
.eba-wrapper.eba-cdd .eba-cdd__includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.eba-wrapper.eba-cdd .eba-cdd__include { text-align: center; padding: 8px; }
.eba-wrapper.eba-cdd .eba-cdd__include-icon {
    width: 56px; height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.1), rgba(212, 162, 76, 0.2));
    color: #d4a24c;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.eba-wrapper.eba-cdd .eba-cdd__include h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}
.eba-wrapper.eba-cdd .eba-cdd__include p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ============================================================
 * SAMPLES PREVIEW
 * ============================================================ */
.eba-wrapper.eba-cdd .eba-cdd__samples { margin-top: 16px; }
.eba-wrapper.eba-cdd .eba-cdd__samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.eba-wrapper.eba-cdd .eba-cdd__sample {
    /* Tall portrait card aspect to better match real card proportions —
       3:4 was clipping the top header + bottom "Ask each other" section. */
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #fafaf7;
    border: 1px solid #eee9df;
    box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.eba-wrapper.eba-cdd .eba-cdd__sample:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.2);
}
.eba-wrapper.eba-cdd .eba-cdd__sample-image,
.eba-wrapper.eba-cdd .eba-cdd__sample-paper {
    width: 100%; height: 100%;
    position: relative;
}
.eba-wrapper.eba-cdd .eba-cdd__sample-image {
    /* Soft cream backdrop so contain-letterboxing looks intentional */
    background: #fef7e8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eba-wrapper.eba-cdd .eba-cdd__sample-image img {
    width: 100%; height: 100%;
    /* contain so the FULL card image is visible — no top/bottom clipping */
    object-fit: contain;
    display: block;
}
.eba-wrapper.eba-cdd .eba-cdd__sample-paper {
    background: linear-gradient(165deg, #fff, #fafaf7);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.eba-wrapper.eba-cdd .eba-cdd__sample-paper h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    color: #0f172a !important;
    margin: 0 0 12px !important;
}
.eba-wrapper.eba-cdd .eba-cdd__sample-paper p {
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ============================================================
 * FAQ
 * ============================================================ */
.eba-wrapper.eba-cdd .eba-cdd__faq { padding-bottom: 96px !important; }
.eba-wrapper.eba-cdd .eba-cdd__faq-list {
    max-width: 720px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eba-wrapper.eba-cdd .eba-cdd__faq-item {
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s;
}
.eba-wrapper.eba-cdd .eba-cdd__faq-item:hover { border-color: #d4a24c; }
.eba-wrapper.eba-cdd .eba-cdd__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
}
.eba-wrapper.eba-cdd .eba-cdd__faq-item summary::-webkit-details-marker { display: none; }
.eba-wrapper.eba-cdd .eba-cdd__faq-item summary svg { color: #d4a24c; transition: transform 0.2s; flex-shrink: 0; }
.eba-wrapper.eba-cdd .eba-cdd__faq-item[open] summary svg { transform: rotate(180deg); }
.eba-wrapper.eba-cdd .eba-cdd__faq-item p {
    padding: 0 22px 18px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 900px) {
    .eba-wrapper.eba-cdd .eba-cdd__hero { padding: 56px 20px 40px; }
    .eba-wrapper.eba-cdd .eba-cdd__hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .eba-wrapper.eba-cdd .eba-cdd__hero-cover {
        max-width: 360px;
        margin: 0 auto;
    }
    .eba-wrapper.eba-cdd .eba-cdd__hero-info { max-width: 100%; margin: 0 auto; }
    .eba-wrapper.eba-cdd .eba-cdd__cta-row { justify-content: center; }
    .eba-wrapper.eba-cdd .eba-cdd__price-row { justify-content: center; }
    .eba-wrapper.eba-cdd .eba-cdd__trust { justify-content: center; }
    .eba-wrapper.eba-cdd > section { padding: 48px 20px; }
    .eba-wrapper.eba-cdd .eba-cdd__includes { padding: 40px 24px !important; }
}
@media (max-width: 480px) {
    .eba-wrapper.eba-cdd .eba-cdd__btn { width: 100%; justify-content: center; }
}
