/* ============================================================
   MINGSAI TRADING CO. — 铭赛贸易商行
   Shared styles (customer site + admin panel)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #0f1b2d;
  --bg-dark-2: #16233a;
  --text: #101828;
  --text-2: #475467;
  --text-3: #98a2b3;
  --line: #e4e7ec;
  --brand: #ff4d2e;          /* price / accent */
  --brand-dark: #e63a1c;
  --brand-soft: #fff1ed;
  --green: #12b76a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 4px 8px rgba(16, 24, 40, .06), 0 12px 28px rgba(16, 24, 40, .10);
  --shadow-lg: 0 8px 16px rgba(16, 24, 40, .08), 0 24px 48px rgba(16, 24, 40, .16);
  --font: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; line-height: 1.2;
  transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: var(--bg-dark-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); background: var(--bg-soft); }
.btn-danger { background: #fee4e2; color: #b42318; border-color: transparent; }
.btn-danger:hover { background: #fecdca; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.brand .logo-badge {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--bg-dark), #26375a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--text-3); letter-spacing: .4px; }
.topbar nav { display: flex; gap: 4px; margin-left: 12px; }
.topbar nav a {
  padding: 7px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all .15s;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--text); background: var(--bg-soft); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switch {
  position: relative; display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; height: 38px;
  background: #fff; font-size: 13.5px; font-weight: 600; gap: 6px;
}
.lang-switch .lang-opt { padding: 4px 8px; border-radius: 6px; color: var(--text-3); transition: all .15s; }
.lang-switch .lang-opt.active { color: var(--text); background: var(--bg-soft); }
.lang-switch .lang-opt:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 77, 46, .16), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(38, 55, 90, .22), transparent 60%),
    var(--bg-dark);
  color: #fff; padding: 84px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px;
  border: 1.5px solid rgba(255, 255, 255, .07); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .035), 0 0 0 140px rgba(255, 255, 255, .02);
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: #ffd9cf; letter-spacing: .3px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; max-width: 720px; }
.hero h1 .accent { color: var(--brand); }
.hero p { margin-top: 18px; font-size: 17px; color: #c9d2e0; max-width: 620px; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; }
.hero-stats .stat span { font-size: 13px; color: #8fa0ba; }

/* ---------- Toolbar (search + categories) ---------- */
.toolbar { position: sticky; top: 66px; z-index: 40; background: var(--bg); padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.toolbar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.search-box {
  flex: 1 1 240px; display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; transition: border-color .15s;
}
.search-box:focus-within { border-color: var(--brand); background: #fff; }
.search-box input { border: none; outline: none; background: transparent; width: 100%; font-size: 14px; color: var(--text); }
.search-box svg { flex: none; color: var(--text-3); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap;
  transition: all .15s;
}
.cat-chip:hover { border-color: var(--text-3); color: var(--text); }
.cat-chip.active { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.result-count { font-size: 13px; color: var(--text-3); margin-left: auto; white-space: nowrap; }

/* ---------- Product grid ---------- */
.section { padding: 44px 0 72px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.section-head p { color: var(--text-3); font-size: 14px; margin-top: 4px; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .22s ease; cursor: pointer; position: relative;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-img { position: relative; aspect-ratio: 1/1; background: var(--bg-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; letter-spacing: .3px; }
.badge-hot { background: var(--brand); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-sale { background: #fdb022; color: #4a2c00; }
.badge-moq {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(15, 27, 45, .78); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(4px);
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .6px; }
.card-name { font-size: 15px; font-weight: 650; line-height: 1.35; }
.card-name-en { color: var(--text); }
.card-name-zh { font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 6px; }
.price {
  font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: -.2px;
  font-variant-numeric: tabular-nums;
}
.price small { font-size: 12px; font-weight: 600; color: var(--text-3); margin-left: 3px; }
.fob-tag { font-size: 11px; font-weight: 700; color: var(--text-3); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px; }

.empty {
  text-align: center; padding: 70px 20px; color: var(--text-3);
}
.empty svg { margin: 0 auto 14px; color: var(--line); }
.empty b { display: block; color: var(--text-2); font-size: 16px; margin-bottom: 4px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(9, 16, 29, .62); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 18px; max-width: 980px; width: 100%;
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(12px); transition: transform .22s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(15, 27, 45, .6);
  color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: var(--brand); }
.modal-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.modal-gallery { position: relative; background: var(--bg-soft); min-height: 300px; }
.modal-gallery img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm); font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.gal-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-arrow.prev { left: 12px; }
.gal-arrow.next { right: 12px; }
.gal-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.gal-dots i.on { background: #fff; transform: scale(1.3); }
.modal-info { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.modal-info .m-cat { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .8px; }
.modal-info h3 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; line-height: 1.25; }
.modal-info .m-zh { color: var(--text-3); font-size: 14px; }
.modal-info .m-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.modal-info .m-price { font-size: 32px; font-weight: 800; color: var(--brand); letter-spacing: -.5px; }
.modal-info .m-price small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.modal-info .m-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2);
}
.meta-chip b { color: var(--text); }
.modal-info .m-desc { color: var(--text-2); font-size: 14.5px; white-space: pre-line; }
.m-inquiry { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.m-inquiry .btn { flex: 1 1 150px; }

/* ---------- Why us / contact ---------- */
.why { background: var(--bg-soft); padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why-item .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.why-item b { font-size: 15.5px; display: block; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--text-2); }

.contact { background: var(--bg-dark); color: #fff; padding: 56px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact h2 { font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.contact p { color: #a9b6ca; margin-top: 8px; max-width: 520px; }
.contact .contact-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); padding: 10px 16px; border-radius: 10px; font-size: 14px;
  transition: all .15s;
}
.contact-chip:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.contact-chip .ci-ico { font-size: 17px; }
.contact-chip small { display: block; font-size: 11px; color: #7e90ac; font-weight: 500; }

footer { background: var(--bg-dark-2); color: #8fa0ba; padding: 26px 0; font-size: 13px; }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer b { color: #c9d2e0; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-soft); }
.admin-top {
  position: sticky; top: 0; z-index: 50; background: var(--bg-dark); color: #fff;
}
.admin-top-inner { display: flex; align-items: center; gap: 14px; height: 60px; }
.admin-top .brand small { color: #7e90ac; }
.admin-top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.admin-top .btn-ghost { border-color: rgba(255, 255, 255, .22); color: #fff; }
.admin-top .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding: 26px 0 60px; align-items: start; }
.admin-side { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.admin-side a {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 550; color: var(--text-2); transition: all .15s; cursor: pointer;
}
.admin-side a:hover { background: var(--bg-soft); color: var(--text); }
.admin-side a.active { background: var(--bg-dark); color: #fff; }
.admin-side a .as-ico { width: 18px; text-align: center; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.panel-head p { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* admin product table */
.prow { display: grid; grid-template-columns: 52px 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: none; }
.prow-thumb { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.prow-name b { font-size: 14px; display: block; }
.prow-name span { font-size: 12px; color: var(--text-3); }
.prow-price { font-weight: 750; color: var(--brand); font-size: 14px; }
.prow-actions { display: flex; gap: 6px; }
.prow .btn { padding: 6px 11px; font-size: 12.5px; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 650; color: var(--text-2); margin-bottom: 6px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px;
  background: #fff; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 77, 46, .12);
}
.field textarea { resize: vertical; min-height: 72px; }
.field .hint { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* image uploader */
.uploader {
  border: 1.6px dashed var(--line); border-radius: var(--radius-sm); padding: 18px;
  text-align: center; color: var(--text-3); font-size: 13px; transition: all .15s; cursor: pointer; background: var(--bg-soft);
}
.uploader:hover, .uploader.drag { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.uploader .up-ico { font-size: 26px; display: block; margin-bottom: 6px; }
.uploader b { color: var(--text-2); }
.upload-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; margin-top: 12px; }
.up-thumb { position: relative; aspect-ratio: 1/1; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.up-thumb .up-del {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(15, 27, 45, .7); color: #fff; border: none; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.up-thumb .up-del:hover { background: var(--brand); }
.up-thumb .up-main {
  position: absolute; left: 4px; bottom: 4px; font-size: 9.5px; font-weight: 700; background: var(--brand);
  color: #fff; padding: 2px 6px; border-radius: 4px;
}
.up-thumb .up-main.set { background: var(--green); }

/* settings */
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: none; }
.setting-row b { font-size: 14px; }
.setting-row p { font-size: 12.5px; color: var(--text-3); }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s;
}
.switch .slider::before {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; left: 3px; top: 3px;
  background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* backup area */
.backup-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.backup-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: var(--bg-soft); }
.backup-card b { font-size: 14px; display: block; margin-bottom: 3px; }
.backup-card p { font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.storage-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.storage-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #ff8a4d); border-radius: 999px; transition: width .3s; }

/* password gate */
.gate-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); padding: 20px; }
.gate-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; width: min(400px, 100%); box-shadow: var(--shadow-md); text-align: center; }
.gate-card .lock-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
.gate-card h2 { font-size: 20px; margin-bottom: 6px; }
.gate-card p { color: var(--text-3); font-size: 13.5px; margin-bottom: 18px; }

/* toast */
#toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--bg-dark); color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
  animation: toastIn .25s ease; max-width: 90vw;
}
.toast.ok { background: var(--green); }
.toast.err { background: #d92d20; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-gallery { min-height: 260px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; display: flex; overflow-x: auto; }
  .admin-side a { white-space: nowrap; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .hero { padding: 60px 0 70px; }
}
@media (max-width: 520px) {
  .prow { grid-template-columns: 44px 1fr auto; }
  .prow-thumb { width: 44px; height: 44px; }
  .prow-price { grid-column: 2 / -1; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .card-name { font-size: 13.5px; }
  .price { font-size: 18px; }
  .modal-info { padding: 20px; }
}
