/* ZARTTEX Fast Shipping (App\Support\FastShipping): the badge, the card near customers see, and the countdown.
   Used on the product page, cart, checkout, order pages and the seller's settings preview. */
.zxf-card, .zxf-pill, .zxf-line { --zxf: #f59e0b; --zxf-deep: #b45309; --zxf-ink: #0f172a; font-family: inherit; }
.zxf-card :where(span, small, b, em, p) { font-size: inherit; color: inherit; line-height: inherit; }
.zxf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 11.5px !important; font-weight: 800; letter-spacing: .02em; color: #fff !important; white-space: nowrap;
  background: linear-gradient(135deg, #0f172a 0%, #312e81 100%); box-shadow: 0 4px 12px -6px rgba(49, 46, 129, .8); }
.zxf-badge i { color: #fbbf24; font-size: 10px; }
.zxf-badge b { color: #fbbf24; font-weight: 900; }

.zxf-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; color: var(--zxf-ink); font-size: 14px; line-height: 1.5;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 55%, #fef3c7 100%); border: 1px solid #fde68a; }
.zxf-card::after { content: ''; position: absolute; inset-inline-end: -26px; top: -26px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .35), transparent 70%); pointer-events: none; }
.zxf-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.zxf-save { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #16a34a; color: #fff !important; font-size: 12px !important; font-weight: 800; white-space: nowrap; }
.zxf-save:empty { display: none; }
.zxf-title { display: block; font-size: 15.5px !important; font-weight: 800; color: var(--zxf-ink) !important; }
.zxf-title span { color: var(--zxf-deep) !important; }
.zxf-sub { display: flex; align-items: center; gap: 6px; font-size: 12.5px !important; color: #78716c !important; }
.zxf-sub i { color: var(--zxf); }
.zxf-timer { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 6px; padding: 5px 11px; border-radius: 10px; background: #fff; border: 1px dashed #fbbf24; font-size: 12.5px !important; font-weight: 600; color: #92400e !important; }
.zxf-timer b { font-variant-numeric: tabular-nums; color: #b45309 !important; font-weight: 800; }
.zxf-timer:empty, .zxf-timer[hidden] { display: none; }
.zxf-near { font-size: 12.5px !important; color: #64748b !important; display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.zxf-near i { color: #f59e0b; }

/* a small "Fast" pill next to a shop in the cart / checkout / orders */
.zxf-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px !important; font-weight: 700; color: #92400e !important; background: #fef3c7; border: 1px solid #fde68a; white-space: nowrap; vertical-align: middle; }
.zxf-pill i { color: #f59e0b; font-size: 10px; }
.zxf-pill.green { color: #166534 !important; background: #dcfce7; border-color: #bbf7d0; }
.zxf-pill.green i { color: #16a34a; }

/* the discount line in order summaries */
.zxf-line { color: #15803d !important; font-weight: 700; }
.zxf-line i { color: #f59e0b; margin-inline-end: 4px; }

/* "you're not in the fast area" hint for shoppers */
.zxf-hint { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px dashed #cbd5e1; font-size: 12.5px; color: #64748b; line-height: 1.5; }
.zxf-hint i { color: #f59e0b; margin-top: 3px; }
.zxf-hint b { color: #0f172a; }

/* "Your price" in the product page box */
.zxf-price { margin: 6px 0 2px; }
.zxf-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #bbf7d0; }
.zxf-price-row[hidden], .zxf-price-min[hidden] { display: none; }
.zxf-price-row small { font-size: 12.5px !important; font-weight: 700; color: #15803d !important; }
.zxf-price-row b { font-size: 22px !important; font-weight: 900; color: #15803d !important; letter-spacing: -.01em; }
.zxf-price-row del { font-size: 13.5px; color: #94a3b8 !important; }
.zxf-price-row em { font-style: normal; font-size: 12.5px !important; color: #64748b !important; }
.zxf-price-save { margin-inline-start: auto; padding: 2px 9px; border-radius: 999px; background: #dcfce7; color: #166534 !important; font-size: 12px !important; font-weight: 800; }
.zxf-price-min { display: block; font-size: 12.5px !important; color: #92400e !important; font-weight: 600; }

/* ---------- v2: the Fast box — the ZARTTEX Fast logo (navy pill, gold bolt) and the promise on one line,
   the buyer's price on a soft green line with one saving, then where and until when; a light warm card ---------- */
.zxf-card { gap: 10px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(180deg, #fffdf6 0%, #fff 70%) !important; border: 1px solid #f3e6c4 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.zxf-card::after { display: none; }
.zxf-card .zxf-top { flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 6px 12px; margin: 0; }
.zxf-card .zxf-badge { padding: 5px 12px 5px 10px; font-size: 12px !important; letter-spacing: .03em; background: linear-gradient(135deg, #0f172a 0%, #312e81 100%) !important; box-shadow: 0 6px 14px -8px rgba(49, 46, 129, .9) !important; }
.zxf-card .zxf-badge i { color: #fbbf24; font-size: 11px; }
.zxf-card .zxf-badge b { color: #fbbf24; }
.zxf-card .zxf-title { font-size: 15px !important; font-weight: 700; color: #0f172a !important; }
.zxf-card .zxf-title span { color: #b45309 !important; font-weight: 800; }
.zxf-card .zxf-save { margin-inline-start: auto; padding: 3px 10px; background: #dcfce7 !important; color: #166534 !important; box-shadow: none; font-size: 12px !important; }
.zxf-card .zxf-price { margin: 0; }
.zxf-card .zxf-price-row { align-items: center; padding: 10px 12px; border: 1px solid #d1fae5; border-radius: 12px; background: #f0fdf4; gap: 4px 10px; }
.zxf-card .zxf-price-row small { flex-basis: 100%; margin-bottom: -2px; font-size: 12px !important; font-weight: 600; color: #166534 !important; }
.zxf-card .zxf-price-row b { font-size: 21px !important; font-weight: 800; color: #15803d !important; }
.zxf-card .zxf-price-row del { color: #94a3b8 !important; }
.zxf-card .zxf-price-save { margin-inline-start: auto; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: #16a34a; color: #fff !important; font-size: 12px !important; font-weight: 800; }
.zxf-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.zxf-card .zxf-sub { font-size: 12.5px !important; color: #78716c !important; }
.zxf-card .zxf-sub i { color: #f59e0b; }
.zxf-card .zxf-timer { margin: 0; padding: 0; border: 0; background: none; font-size: 12.5px; color: #92400e; }
@media (max-width: 575.98px) { .zxf-card .zxf-save { margin-inline-start: 0; } .zxf-card .zxf-price-row b { font-size: 19px !important; } }
