/* ===================== Reset & Base ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #2874f0;
  --blue-dark: #1a4fb4;
  --orange: #ff9f00;
  --orange-dark: #fb641b;
  --green: #388e3c;
  --red: #ff6161;
  --text: #212121;
  --text-muted: #878787;
  --border: #e0e0e0;
  --bg: #f1f3f6;
  --card: #ffffff;
  --radius: 8px;
  --frame-width: 480px;
}
html, body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #dfe3ea;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Phone-frame layout: the app content is capped to a mobile width and centered */
.app {
  max-width: var(--frame-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 24px rgba(0,0,0,0.15);
  overflow-x: hidden;
  padding-bottom: 8px;
}

/* ===================== Header ===================== */
.header {
  background: var(--blue);
  color: #fff;
  padding: 10px 12px 14px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__left { display: flex; align-items: center; gap: 8px; }
.icon-btn { color: #fff; display: flex; align-items: center; }
.icon-btn svg { width: 22px; height: 22px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__text { font-size: 20px; font-weight: 700; font-style: italic; letter-spacing: 0.5px; }
.logo__tag { font-size: 10px; font-style: italic; color: #ffe500; display:flex; align-items:center; gap:3px; }
.header__right { display: flex; align-items: center; gap: 18px; }
.header__login { font-size: 14px; font-weight: 600; }
.cart-wrap { position: relative; }
.cart-badge {
  position: absolute; top: -8px; right: -9px;
  background: var(--red); color: #fff; border-radius: 8px;
  font-size: 10px; font-weight: 700; padding: 1px 5px; min-width: 15px; text-align:center;
}
.searchbar {
  margin-top: 10px; background: #fff; border-radius: 4px;
  display: flex; align-items: center; padding: 9px 10px; gap: 8px;
}
.searchbar input {
  border: none; outline: none; flex: 1; font-size: 13px; color: var(--text);
}
.searchbar svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink:0; }

/* Generic top bar used on inner pages (checkout, product) */
.topbar {
  background: var(--blue); color: #fff; padding: 14px 14px;
  display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 40;
}
.topbar__back svg { width: 20px; height: 20px; }
.topbar__title { font-size: 17px; font-weight: 700; }

/* ===================== Drawer ===================== */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 100; display: none;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: absolute; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
  background: #fff; transform: translateX(-100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.drawer-overlay.open .drawer { transform: translateX(0); }
.drawer__login {
  background: var(--blue); color: #fff; padding: 18px 16px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px;
}
.drawer__login svg { width: 22px; height: 22px; }
.drawer__item {
  display: flex; align-items: center; gap: 14px; padding: 16px 16px;
  border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; color: #333;
}
.drawer__item svg { width: 20px; height: 20px; color: #555; }

/* ===================== Banner / Sale bar ===================== */
.ad-banner {
  display: block; position: relative; margin: 10px 10px 0; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg,#1a1a1a,#3a2a00 60%, #ffb703);
  color: #fff; min-height: 118px;
}
.ad-banner img { width: 100%; height: 100%; object-fit: cover; position:absolute; inset:0; opacity:.55; }
.ad-banner__content { position: relative; padding: 14px 16px; z-index: 2; }
.ad-banner__brands { display:flex; align-items:center; gap:6px; font-size:11px; font-weight:700; margin-bottom:6px;}
.ad-banner__brands .fk { color:#2874f0; background:#fff; padding:1px 5px; border-radius:3px; }
.ad-banner__title { font-size: 17px; font-weight: 800; line-height:1.2; }
.ad-banner__sub { font-size: 12px; margin-top: 4px; opacity:.9; }
.ad-banner__tag { position:absolute; bottom:8px; right:10px; font-size:9px; background:rgba(0,0,0,.4); padding:2px 6px; border-radius:3px; }

.sale-bar {
  margin: 10px 10px 0; background: #fff0f0; border: 1px solid #ffd6d6; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; padding: 8px 12px;
}
.sale-bar__live { color: #e53935; font-weight: 700; font-size: 13px; display:flex; align-items:center; gap:6px; }
.sale-bar__live::before { content:""; width:8px; height:8px; border-radius:50%; background:#e53935; display:inline-block; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.sale-bar__timer { font-size: 13px; color:#333; }
.sale-bar__timer span { display:inline-block; min-width:26px; text-align:center; background:#212121; color:#fff; border-radius:3px; padding:2px 4px; font-weight:700; margin-left:2px;}

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px 8px; font-size: 15px; font-weight: 700;
}
.section-head svg { width: 16px; height: 16px; }

/* ===================== Product grid ===================== */
.grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px 16px;
}
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column;
}
.card__img-wrap { aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; padding:10px; background:#fff; }
.card__img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 8px 10px 10px; }
.card__name {
  font-size: 12.5px; color: #333; line-height: 1.3; height: 32px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.card__price-row { display:flex; align-items:baseline; gap:6px; margin-top:6px; flex-wrap:wrap; }
.card__price { font-size: 15px; font-weight: 700; }
.card__mrp { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.card__discount { font-size: 12px; color: var(--green); font-weight: 600; }
.badge-assured {
  display: inline-flex; align-items:center; gap:3px; background:#2874f0; color:#fff;
  font-size: 10px; font-weight:700; padding: 2px 6px; border-radius: 3px; margin-top: 6px;
}
.badge-assured .fdot { background:#fff; color:#2874f0; border-radius:50%; width:12px; height:12px; display:flex; align-items:center; justify-content:center; font-size:8px; font-weight:900;}

/* ===================== Product Detail Page ===================== */
.gallery { background: #fff; padding: 12px 0 8px; }
.gallery__main { width: 100%; aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; padding: 0 24px; }
.gallery__main img { max-height: 100%; object-fit: contain; }
.gallery__dots { display:flex; justify-content:center; gap:5px; margin-top:8px; }
.gallery__dots span { width:6px; height:6px; border-radius:50%; background:#d9d9d9; }
.gallery__dots span.active { background: var(--blue); width:16px; border-radius:4px; }
.thumbs { display:flex; gap:8px; padding: 10px 14px 4px; overflow-x:auto; }
.thumb { width:52px; height:52px; flex-shrink:0; border:2px solid var(--border); border-radius:6px; padding:4px; background:#fff; }
.thumb.active { border-color: var(--blue); }
.thumb img { width:100%; height:100%; object-fit:contain; }

.product-title-block { background:#fff; padding: 12px 14px 4px; }
.buy-row { display:flex; gap:10px; padding: 10px 14px; background:#fff; }
.buy-row__cart { width:44px; height:44px; border:1px solid var(--border); border-radius:6px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.btn { flex:1; text-align:center; padding: 12px 10px; border-radius: 6px; font-weight:700; font-size:14px; }
.btn-outline { background:#eee; color:#999; }
.btn-outline small { display:block; font-size:10px; font-weight:400; }
.btn-primary { background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color:#fff; }
.btn-primary small { display:block; font-size:11px; font-weight:600; }

.size-block { background:#fff; padding: 14px; position:relative; }
.size-block__head { display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:700; margin-bottom:10px; }
.size-block__head a { color: var(--blue); font-weight:600; font-size:12px; }
.sizes { display:flex; gap:10px; flex-wrap:wrap; }
.size-chip { width:36px; height:36px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; position:relative; background:#fff; }
.size-chip.selected { background:#111; color:#fff; border-color:#111; }
.size-chip .low-stock { position:absolute; bottom:-16px; left:50%; transform:translateX(-50%); font-size:9px; color:#e53935; white-space:nowrap; }

.offer-timer { display:flex; align-items:center; justify-content:center; gap:8px; background:#fff; padding: 12px; font-size:13px; font-weight:600; border-top:1px solid var(--border); }
.offer-timer svg { width:16px; height:16px; }
.offer-timer b { color:#e53935; }

.icon-row { display:flex; background:#fff; padding: 14px 6px; border-top:1px solid var(--border); }
.icon-row__item { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:10.5px; text-align:center; color:#444; }
.icon-row__item svg { width:22px; height:22px; color: var(--blue); }

.section-card { background:#fff; padding: 14px; margin-top:8px; }
.section-card h3 { font-size:15px; font-weight:700; margin-bottom:10px; }
.highlights li { font-size:13px; color:#333; padding: 4px 0 4px 14px; position:relative; }
.highlights li::before { content:"•"; position:absolute; left:0; color:#888; }
.detail-img { width:100%; border-radius:6px; margin-bottom:10px; background:#fafafa; }

.similar-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.similar-card { border:1px solid var(--border); border-radius:6px; padding:8px; text-align:center; }
.similar-card img { width:100%; aspect-ratio:1/1; object-fit:contain; margin-bottom:6px; }
.similar-card__name { font-size:11.5px; color:#333; height:28px; overflow:hidden; }
.similar-card__price { font-size:13px; font-weight:700; margin-top:4px; }

.review { padding: 12px 0; border-bottom:1px solid var(--border); }
.review:last-child { border-bottom:none; }
.review__rating { display:inline-flex; align-items:center; gap:3px; background: var(--green); color:#fff; font-size:11px; font-weight:700; padding:1px 6px; border-radius:3px; }
.review__name { font-size:13px; font-weight:700; margin-top:6px; }
.review__text { font-size:13px; color:#333; margin-top:2px; }
.review__meta { font-size:11px; color:var(--text-muted); margin-top:4px; display:flex; align-items:center; gap:4px; }
.review__meta svg { width:11px; height:11px; }
.review__days { float:right; }

/* ===================== Stepper ===================== */
.stepper-card { background:#fff; margin:10px; border-radius: var(--radius); padding: 16px 10px; display:flex; align-items:center; }
.step { display:flex; flex-direction:column; align-items:center; gap:6px; flex:0 0 auto; width:60px; }
.step__circle { width:30px; height:30px; border-radius:50%; border:2px solid #cfd8ef; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#9aa5c3; background:#fff; }
.step.active .step__circle { background: var(--blue); border-color: var(--blue); color:#fff; }
.step.done .step__circle { border-color: var(--blue); color: var(--blue); }
.step__label { font-size:10.5px; color:#666; text-align:center; white-space:nowrap; }
.step.active .step__label, .step.done .step__label { color:#111; font-weight:600; }
.step-line { flex:1; height:2px; background:#cfd8ef; margin: 0 2px; margin-bottom: 18px; }
.step-line.done { background: var(--blue); }

/* ===================== Forms (Address / Add item) ===================== */
.form-card { background:#fff; margin:10px; border-radius: var(--radius); padding: 16px; }
.form-card h2 { font-size:15px; font-weight:700; margin-bottom:14px; }
.field { margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 12px; border:1px solid var(--border); border-radius:6px;
  font-size: 14px; color:var(--text); outline:none; background:#fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field label { display:block; font-size:11px; color:var(--text-muted); margin-bottom:4px; font-weight:600; }
.field-row { display:flex; gap:10px; }
.field-row .field { flex:1; }
.field-error { font-size:11px; color:#e53935; margin-top:4px; display:none; }
.field.has-error input, .field.has-error select { border-color:#e53935; }
.field.has-error .field-error { display:block; }

.sticky-bottom {
  position: sticky; bottom:0; left:0; right:0; background:#fff; border-top:1px solid var(--border);
  padding: 12px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; z-index:30;
}
.sticky-bottom .price-block { display:flex; flex-direction:column; }
.sticky-bottom .price-block .strike { font-size:12px; color:var(--text-muted); text-decoration:line-through; }
.sticky-bottom .price-block .now { font-size:18px; font-weight:800; }
.btn-cta {
  background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color:#fff; font-weight:700;
  padding: 13px 30px; border-radius:6px; font-size:14px; flex-shrink:0;
}
.btn-cta:disabled { opacity:.5; }

/* ===================== Order summary ===================== */
.card-block { background:#fff; margin:10px; border-radius: var(--radius); padding:16px; }
.card-block h3 { font-size:14px; font-weight:700; margin-bottom:10px; }
.deliver-box { border:1px dashed var(--border); border-radius:6px; padding:12px; background:#fafbff; }
.deliver-box .name { font-weight:700; font-size:14px; }
.deliver-box .addr { font-size:12.5px; color:var(--text-muted); margin-top:4px; line-height:1.4; }

.item-card { background:#fff; margin:10px; border-radius:var(--radius); padding:14px; display:flex; gap:12px; flex-wrap:wrap; }
.item-card__img { width:80px; height:80px; border:1px solid var(--border); border-radius:6px; padding:6px; flex-shrink:0; }
.item-card__img img { width:100%; height:100%; object-fit:contain; }
.item-card__info { flex:1; min-width:150px; }
.item-card__name { font-size:14px; font-weight:600; line-height:1.3; }
.item-card__row { display:flex; align-items:center; justify-content:space-between; margin-top:10px; flex-wrap:wrap; gap:8px; }
.qty-chip { border:1px solid var(--border); border-radius:14px; padding:4px 12px; font-size:12px; font-weight:600; }
.discount-chip { background:#e7f6ea; color:var(--green); font-weight:700; font-size:12px; padding:2px 8px; border-radius:4px; }
.price-line { display:flex; align-items:center; gap:8px; font-size:14px; }
.price-line .strike { color:var(--text-muted); text-decoration:line-through; font-size:12px; }
.price-line .now { font-weight:800; font-size:16px; }

.price-details .row { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--border); font-size:13.5px; }
.price-details .row:last-of-type { border-bottom:none; }
.price-details .green { color: var(--green); font-weight:700; }
.price-details .total { font-weight:800; font-size:15px; }
.savings-banner { background:#e7f6ea; color:var(--green); font-weight:700; font-size:13px; padding:12px; border-radius:6px; margin-top:12px; text-align:center; }
.secure-note { display:flex; align-items:center; gap:10px; font-size:12.5px; font-weight:700; color:#333; }
.secure-note svg { width:26px; height:26px; color:#555; flex-shrink:0; }

/* ===================== Payments ===================== */
.promo-banner {
  background: linear-gradient(90deg,#fff7d6,#fdeeb0); border:1px dashed #e8c766; border-radius:8px;
  padding:14px; text-align:center; font-weight:800; font-size:14px; color:#7a5b00; margin-bottom:14px;
}
.pay-row { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); }
.pay-row:last-child { border-bottom:none; }
.pay-row__icon { width:38px; height:38px; border-radius:8px; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; flex-shrink:0; background:#fafafa; overflow:hidden; }
.pay-row__icon img { width:100%; height:100%; object-fit:contain; }
.pay-row__text { flex:1; }
.pay-row__title { font-size:14px; font-weight:700; }
.pay-row__sub { font-size:12px; color:var(--text-muted); margin-top:2px; }
.pay-row__chevron { width:34px; height:34px; border-radius:50%; background:#eef3ff; display:flex; align-items:center; justify-content:center; }
.pay-row__chevron svg { width:16px; height:16px; color: var(--blue); }

.card-logos { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:10px; padding:14px; background:#fff; border-radius:var(--radius); flex-wrap:wrap; }
.card-logos img { height:20px; object-fit:contain; }

/* QR Modal */
.modal-overlay {
  position: fixed; inset:0; background:rgba(0,0,0,0.55); display:none; align-items:center; justify-content:center; z-index:200; padding: 16px;
}
.modal-overlay.open { display:flex; }
.modal {
  background:#fff; border-radius:14px; width:100%; max-width:340px; padding:22px 20px; text-align:center; position:relative;
}
.modal__close { position:absolute; top:10px; right:10px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; color:#888; }
.modal__close svg { width:18px; height:18px; }
.modal h3 { font-size:16px; font-weight:800; margin-bottom:4px; }
.modal p.sub { font-size:12.5px; color:var(--text-muted); margin-bottom:14px; }
.qr-box { display:flex; align-items:center; justify-content:center; padding:12px; border:1px solid var(--border); border-radius:10px; margin:0 auto 14px; width:216px; }
.qr-amount { font-size:22px; font-weight:800; margin-bottom:4px; }
.upi-id { font-size:12px; color:var(--text-muted); margin-bottom:16px; word-break:break-all; }
.modal .btn-cta { width:100%; }
.modal .btn-secondary { width:100%; margin-top:10px; background:#eef3ff; color:var(--blue); font-weight:700; padding:12px; border-radius:6px; font-size:13px; }
.modal .timer-note { font-size:11.5px; color:var(--text-muted); margin-top:12px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background:#212121; color:#fff; padding:12px 20px; border-radius:8px; font-size:13px; z-index:300; opacity:0; transition: opacity .25s, transform .25s; pointer-events:none;
}
.toast.show { opacity:1; transform: translateX(-50%) translateY(-6px); }

/* ===================== Order success ===================== */
.success-wrap { text-align:center; padding: 60px 24px 30px; }
.success-wrap .tick { width:76px; height:76px; border-radius:50%; background:#e7f6ea; color:var(--green); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.success-wrap .tick svg { width:40px; height:40px; }
.success-wrap h1 { font-size:19px; font-weight:800; margin-bottom:8px; }
.success-wrap p { font-size:13.5px; color:var(--text-muted); margin-bottom:4px; }
.order-id-box { background:#fff; border-radius:var(--radius); padding:14px; margin:20px 10px; text-align:left; }
.order-id-box .row { display:flex; justify-content:space-between; font-size:13px; padding:6px 0; }

/* ===================== Add Item admin page ===================== */
.admin-header { display:flex; align-items:center; justify-content:space-between; }
.admin-header a.pill { background:rgba(255,255,255,0.18); color:#fff; font-size:11.5px; font-weight:700; padding:6px 10px; border-radius:20px; }
.img-preview { width:100%; aspect-ratio:1/1; border:1px dashed var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; overflow:hidden; margin-top:6px; background:#fafafa; }
.img-preview img { width:100%; height:100%; object-fit:contain; }
.img-preview .placeholder-text { font-size:12px; color:var(--text-muted); text-align:center; padding:12px; }

.image-row { display:flex; align-items:center; gap:8px; margin-bottom:10px; position:relative; }
.image-thumb { width:46px; height:46px; border:1px dashed var(--border); border-radius:6px; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#fafafa; flex-shrink:0; }
.image-thumb img { width:100%; height:100%; object-fit:contain; }
.image-thumb .ph { font-size:8px; color:var(--text-muted); text-align:center; line-height:1.2; }
.image-row__input { flex:1; padding:10px 12px; border:1px solid var(--border); border-radius:6px; font-size:13px; color:var(--text); outline:none; background:#fff; }
.image-row__input:focus { border-color: var(--blue); }
.image-row__remove { width:34px; height:34px; border-radius:6px; border:1px solid var(--border); background:#fff; color:#e53935; font-weight:800; flex-shrink:0; font-size:14px; }
.image-row__remove:disabled { opacity:.3; cursor:not-allowed; }
.image-row__main-tag { position:absolute; top:-9px; left:52px; font-size:8.5px; font-weight:700; background:#2874f0; color:#fff; padding:1px 6px; border-radius:3px; }
.helper-text { font-size:11px; color:var(--text-muted); margin-top:4px; }
.admin-list-item { display:flex; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.admin-list-item img { width:44px; height:44px; object-fit:contain; border:1px solid var(--border); border-radius:6px; padding:4px; flex-shrink:0; }
.admin-list-item .info { flex:1; min-width:0; }
.admin-list-item .info .n { font-size:12.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-list-item .info .p { font-size:12px; color:var(--text-muted); }
.admin-list-item .actions { display:flex; gap:6px; flex-shrink:0; }
.admin-list-item .edit { color:var(--blue); font-size:11px; font-weight:700; padding:6px 10px; border:1px solid var(--blue); border-radius:4px; }
.admin-list-item .del { color:#e53935; font-size:11px; font-weight:700; padding:6px 10px; border:1px solid #e53935; border-radius:4px; }
.admin-list-item .reset { color:#7a5b00; font-size:11px; font-weight:700; padding:6px 10px; border:1px solid #e8c766; border-radius:4px; }
.tag-pill { font-size:9.5px; font-weight:700; padding:1px 6px; border-radius:3px; margin-left:6px; }
.tag-pill.custom { background:#e7f6ea; color:var(--green); }
.tag-pill.edited { background:#fff7d6; color:#7a5b00; }

.mode-banner { display:flex; align-items:center; gap:10px; font-size:12.5px; font-weight:600; }
.mode-banner .dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.mode-banner.shared { color:#0f766e; }
.mode-banner.shared .dot { background:#0f766e; }
.mode-banner.local { color:#7a5b00; }
.mode-banner.local .dot { background:#7a5b00; }
.btn-row { display:flex; gap:10px; margin: 14px 10px 20px; }
.btn-row .btn-cta { flex:1; text-align:center; }
.btn-outline-cta { flex:1; text-align:center; border:1.5px solid var(--blue); color:var(--blue); font-weight:700; padding:12px; border-radius:6px; font-size:14px; background:#fff; }
.empty-note { text-align:center; color:var(--text-muted); font-size:13px; padding: 20px 0; }

/* ===================== Generic image fallback (shown via JS when a real photo is missing) ===================== */
.img-fallback {
  display:flex !important; align-items:center; justify-content:center; flex-direction:column;
  background: #f5f6f8; color:#aab2c0; font-size:11px; text-align:center; gap:6px; width:100%; height:100%;
}
.img-fallback svg { width:34%; height:34%; opacity:.6; }

@media (min-width: 481px) {
  body { background: #dfe3ea; }
}
