/* Milan AI add-on promo (see milan-ai-promo.js) */
.mai-card {
    position: relative;
    margin: 14px 0;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2e1065 0%, #5b21b6 55%, #7c3aed 100%);
    color: #f5f3ff;
    border: 1.5px solid rgba(250, 204, 21, 0.55);
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.25);
    font-family: inherit;
    text-align: left;
}
.mai-card.is-added { border-color: #22c55e; }
.mai-home { margin: -8px 16px 24px; border-radius: 20px; padding: 16px; }
@media (min-width: 768px) { .mai-home { margin: -16px 0 32px; } }
.mai-head { display: flex; gap: 10px; align-items: flex-start; }
.mai-logo {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1;
}
.mai-logo.sm { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
.mai-title { font-weight: 800; font-size: 16px; color: #fff; line-height: 1.25; }
.mai-sub { font-size: 12.5px; color: #ddd6fe; margin-top: 2px; line-height: 1.4; }
.mai-badge {
    display: inline-block; margin-left: 6px; padding: 2px 8px;
    border-radius: 999px; background: #facc15; color: #1e1b4b;
    font-size: 11px; font-weight: 800; vertical-align: middle;
}
.mai-list { list-style: none; margin: 10px 0 4px; padding: 0; }
.mai-list li {
    display: flex; gap: 8px; font-size: 12.5px; line-height: 1.45;
    color: #ede9fe; padding: 3px 0;
}
.mai-list li span { flex: 0 0 18px; text-align: center; }
.mai-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.mai-price { font-weight: 900; font-size: 17px; color: #fff; white-space: nowrap; }
.mai-price s { font-weight: 500; font-size: 13px; color: #c4b5fd; margin-right: 2px; }
.mai-btn {
    border: 0; cursor: pointer;
    background: #facc15; color: #1e1b4b;
    font-weight: 800; font-size: 13px; font-family: inherit;
    padding: 9px 14px; border-radius: 10px;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.mai-btn:active { transform: scale(0.97); }
.mai-btn.mai-added { background: #dcfce7; color: #166534; }
.mai-note { font-size: 11px; color: #c4b5fd; margin-top: 8px; }

/* Cart sheet strip */
.mai-strip {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px; padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2e1065, #6d28d9);
    border: 1.5px solid rgba(250, 204, 21, 0.55);
    color: #f5f3ff;
}
.mai-strip-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mai-strip-txt b { font-size: 14px; color: #fff; }
.mai-strip-txt span { font-size: 11.5px; color: #ddd6fe; line-height: 1.35; }
.mai-strip-txt .mai-price { font-size: 14px; margin-top: 2px; }
.mai-strip .mai-btn { padding: 8px 12px; }

@media (max-width: 360px) {
    .mai-foot { flex-direction: column; align-items: stretch; }
    .mai-btn { justify-content: center; }
}

/* Logo image + homepage free-access banner */
img.mai-logo { object-fit: cover; padding: 0; background: #fff; display: block; }
.mai-offer {
    margin: 10px 0 12px; padding: 9px 12px; border-radius: 12px;
    background: rgba(250, 204, 21, 0.14); border: 1px dashed rgba(250, 204, 21, 0.6);
    font-size: 13px; color: #fef9c3; line-height: 1.4;
}
.mai-offer b { color: #fde047; }
a.mai-btn { text-decoration: none; }
.mai-btn-wide { display: flex; width: 100%; justify-content: center; padding: 12px 14px; font-size: 15px; }
.mai-link { display: block; text-align: center; margin-top: 10px; font-size: 12.5px; color: #e9d5ff; text-decoration: underline; }
