
.ea-pack-card {
    --ea-pack-navy-700: #0D1144;
    --ea-pack-navy-600: #1A2266;
    --ea-pack-navy-200: #C9CDDE;
    --ea-pack-navy-100: #E6E8F2;
    --ea-pack-navy-50:  #F4F5FA;
    --ea-pack-green:    #16A34A;
    --ea-pack-green-50: #ECFDF5;
    --ea-pack-green-700: #15803D;

    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ea-pack-navy-700);
    background: linear-gradient(180deg, #FCFCFE 0%, #FFFFFF 60%);
    border: 1.5px solid var(--ea-pack-navy-200);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(13, 17, 68, 0.04), 0 8px 24px rgba(13, 17, 68, 0.06);
    overflow: hidden;
    margin: 0 0 24px;
    -webkit-font-smoothing: antialiased;
}

.ea-pack-section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 24px 0 12px;
    font-family: 'Manrope', system-ui, sans-serif;
}
.ea-pack-section-title {
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; color: #0D1144;
    margin: 0;
}
.ea-pack-section-title::before { content: '★ '; color: #1A2266; }
.ea-pack-section-sub {
    font-size: 12px; color: #9CA3C3;
}

.ea-pack-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px 0;
}
.ea-pack-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #0D1144; color: #FFFFFF;
    padding: 5px 10px; border-radius: 4px;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
.ea-pack-ref { font-size: 11px; color: #9CA3C3; font-weight: 600; }

.ea-pack-body {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px;
    padding: 18px 20px 28px; /* v1.0.13 : 28px bottom pour décoller trust pills */
}
@media (max-width: 768px) {
    .ea-pack-body { grid-template-columns: 1fr; gap: 16px; padding-bottom: 24px; }
}

/* v1.0.13 : marge supplémentaire sur trust pills si injectées dans pack card */
.ea-pack-card .ea-trust-pills {
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.ea-pack-photo {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: linear-gradient(135deg, #F4F5FA 0%, #E6E8F2 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.ea-pack-photo-stack {
    position: relative; width: 80%; height: 80%;
}
.ea-pack-photo-stack img {
    position: absolute; border-radius: 8px;
    background: #FFFFFF; padding: 4px;
    box-shadow: 0 4px 12px rgba(13, 17, 68, 0.10);
    object-fit: cover;
}
.ea-pack-photo-main {
    width: 70%; height: 70%; top: 0; left: 0; z-index: 2;
}
.ea-pack-photo-secondary {
    width: 45%; height: 45%; bottom: 0; right: 0; z-index: 1;
}
.ea-pack-photo-plus {
    position: absolute; bottom: 35%; right: 38%; z-index: 3;
    width: 28px; height: 28px; border-radius: 50%;
    background: #0D1144; color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
    box-shadow: 0 4px 8px rgba(13, 17, 68, 0.15);
}

.ea-pack-title {
    font-size: 20px; font-weight: 800;
    line-height: 1.2; letter-spacing: -0.01em;
    color: #0D1144; margin: 0 0 6px;
}
.ea-pack-sub {
    font-size: 13px; color: #6B7280; margin: 0 0 14px;
}

.ea-pack-items {
    border-top: 1px dashed #C9CDDE;
    padding-top: 12px; margin-top: 4px;
}
.ea-pack-item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0;
}
.ea-pack-item-photo {
    width: 44px; height: 44px; border-radius: 8px;
    flex-shrink: 0; overflow: hidden;
    background: #F4F5FA;
}
.ea-pack-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.ea-pack-item-text { flex: 1; min-width: 0; }
.ea-pack-item-name {
    font-size: 13px; font-weight: 700; color: #0D1144;
    line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.ea-pack-item-meta { font-size: 11px; color: #9CA3C3; margin-top: 2px; }
.ea-pack-item-price {
    font-size: 13px; font-weight: 700; color: #6B7280;
    text-decoration: line-through; white-space: nowrap;
}

.ea-pack-pricing {
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid #E6E8F2;
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.ea-pack-price-sum {
    font-size: 14px; color: #9CA3C3; text-decoration: line-through;
    font-weight: 600;
}
.ea-pack-price-total {
    font-size: 28px; font-weight: 800;
    color: #0D1144; letter-spacing: -0.02em; line-height: 1;
}
.ea-pack-price-suffix { font-size: 13px; color: #6B7280; font-weight: 500; }
.ea-pack-savings {
    background: #ECFDF5; color: #15803D;
    border-radius: 9999px; padding: 4px 10px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.01em;
}
.ea-pack-ht {
    width: 100%; font-size: 12px; color: #9CA3C3;
    font-weight: 500; margin-top: 2px;
}

.ea-pack-ctas {
    margin-top: 16px;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
}
@media (max-width: 480px) {
    .ea-pack-ctas { grid-template-columns: 1fr; }
}
.ea-pack-btn {
    padding: 13px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
    cursor: pointer; border: 0; text-decoration: none;
    text-align: center;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit;
    transition: all 180ms ease;
}
.ea-pack-btn-secondary {
    background: #FFFFFF; color: #0D1144;
    border: 1.5px solid #C9CDDE;
}
.ea-pack-btn-secondary:hover {
    border-color: #0D1144; background: #F4F5FA;
}
.ea-pack-btn-primary {
    background: #0D1144; color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(13, 17, 68, 0.12);
}
.ea-pack-btn-primary:hover {
    background: #1A2266; transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 17, 68, 0.20);
}
.ea-pack-btn.is-loading {
    pointer-events: none; opacity: 0.7; position: relative;
}
.ea-pack-btn.is-loading::after {
    content: ''; width: 14px; height: 14px;
    border: 2px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: ea-pack-spin 700ms linear infinite;
    margin-left: 8px;
}
@keyframes ea-pack-spin { to { transform: rotate(360deg); } }

.ea-pack-debug {
    background: #FEF3C7; border: 1px solid #FCD34D;
    border-radius: 8px; padding: 12px 16px; margin: 16px 0;
    font-family: monospace; font-size: 11px; color: #92400E;
    white-space: pre-wrap;
}
