/* ── Free Shipping Notice ─────────────────────────────── */

.fsn-notice {
    margin: 0 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

.fsn-notice__inner {
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.fsn-notice--success .fsn-notice__inner {
    border-color: #86efac;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* ── Header ──────────────────────────────────────────── */

.fsn-notice__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #0c4a6e;
}
.fsn-notice--success .fsn-notice__header { color: #166534; }

.fsn-notice__icon { font-size: 26px; line-height: 1; }

.fsn-notice__text strong {
    font-weight: 700;
}
.fsn-notice__saving {
    display: inline-block;
    margin-top: 2px;
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
}

/* ── Progress bar ────────────────────────────────────── */

.fsn-notice__progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fsn-notice__bar {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.fsn-notice__fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
    transition: width .5s ease;
    min-width: 0;
}
.fsn-notice--success .fsn-notice__fill {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.fsn-notice__pct {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    min-width: 40px;
    text-align: right;
}

/* ── Suggestions section ─────────────────────────────── */

.fsn-notice__suggestions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, .35);
}

.fsn-notice__sug-title {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 14px;
}

.fsn-notice__loading {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.fsn-notice__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* ── Product card ────────────────────────────────────── */

.fsn-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.fsn-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.fsn-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fsn-card__img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 8px;
}

.fsn-card__name {
    font-size: 13px;
    line-height: 1.35;
    color: #1e293b;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.fsn-card__price {
    font-size: 14px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 10px;
    margin-top: auto;
}
.fsn-card__price del {
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
}
.fsn-card__price ins {
    text-decoration: none;
    color: #dc2626;
}

.fsn-card__btn {
    display: block;
    width: 100%;
    padding: 9px 10px;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.fsn-card__btn:hover { background: #0284c7; }
.fsn-card__btn:disabled { opacity: .65; cursor: wait; }
.fsn-card__btn--ok { background: #22c55e; }
.fsn-card__btn--ok:hover { background: #16a34a; }

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
    .fsn-notice__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .fsn-notice__grid { grid-template-columns: 1fr; }
    .fsn-notice__inner { padding: 16px; }
    .fsn-notice__header { font-size: 15px; }
    .fsn-card__img { height: 90px; }
}
