:root { 
  --brand: #c62828;
  --bg: #f9fafb;
  --card: #fff;
  --text: #111827;
  --muted: #6b7280;

  /* FIX: vh ổn định cho Android WebView (JS sẽ set --lk-vh theo innerHeight) */
  --lk-vh: 1vh;

  --header-height: 60px;
  --bottom-nav-height: 60px; /* sẽ được JS đồng bộ đúng chiều cao thật */

  /* FAB (nút nổi) */
  --fab-size: 56px;
  --fab-gap: 24px;          /* khoảng đệm thêm cho dễ bấm */
  --fab-min-bottom: 110px;  /* tối thiểu cách mép dưới để không bị che bởi bottom nav */

  /* Vùng an toàn cuối trang (để card/spinner không bị che) */
  --page-safe-bottom: calc(
    var(--bottom-nav-height)
    + env(safe-area-inset-bottom, 0px)
    + var(--fab-size)
    + var(--fab-gap)
    + 16px
  );

  /* FAB stack (Cart / Filter / AI) */
  --fab-right: 16px;
  --fab-stack-gap: 8px;
  --fab-stack-step: calc(var(--fab-size) + var(--fab-stack-gap));

  /* Base: nút giỏ cách bottom nav thêm 72px (giữ đúng hành vi cũ) */
  --fab-base-extra: 72px;
  --fab-base-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + var(--fab-base-extra));
  --fab-cart-bottom: var(--fab-base-bottom);
  --fab-filter-bottom: calc(var(--fab-base-bottom) + var(--fab-stack-step));
  --fab-ai-bottom: calc(var(--fab-base-bottom) + var(--fab-stack-step) + var(--fab-stack-step));

  /* Toast mặc định nằm giữa Filter và AI để không che 2 nút dưới */
  --toast-bottom: calc(var(--fab-filter-bottom) + 24px);
}

/* ========== Base ========== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  /* vẫn chừa chỗ cho nav; phần “đệm đẹp” sẽ đặt ở .store-wrap để không ảnh hưởng trang khác */
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  transition: background .3s, color .3s;
}

/* Tôn trọng thuộc tính hidden trên toàn site (đặc biệt cho card đánh giá) */
[hidden]{
  display:none !important;
}

/* ========== Layout Wrapper ========== */
.store-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px;
  /* ĐẨY NỘI DUNG LÊN: tránh card/btn cuối bị nav che, ngang vị trí nút giỏ hàng */
  padding-bottom: var(--page-safe-bottom);
}

/* ========== HERO: Banner + Avatar + Info + Actions ========== */
.store-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Banner sáng, không phủ mờ */
.hero-banner {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;            /* đảm bảo ảnh sáng */
}

/* Hàng dưới banner: avatar nổi + text + actions */
.hero-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: -36px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;         /* rơi xuống hàng trên mobile */
}

.hero-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  background: #fff;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;            /* đảm bảo ảnh sáng */
}

.hero-text { flex: 1; min-width: 220px; }

/* === TÊN CỬA HÀNG: Be Vietnam Pro, chữ TRẮNG, viền ĐỎ (text-shadow), 3D nhẹ + tia sáng === */
.hero-text h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .2px;
  position: relative;
  z-index: 2;

  /* Be Vietnam Pro + fallback có Vietnamese */
  font-family: "Be Vietnam Pro",
               ui-sans-serif, -apple-system, "Segoe UI", Roboto,
               "Noto Sans", "Liberation Sans", "DejaVu Sans",
               Arial, Helvetica, sans-serif;

  /* Màu chữ TRẮNG */
  color: #ffffff;

  /* Viền đỏ + 3D bằng text-shadow (tránh text-stroke gây răng cưa) */
  text-shadow:
    -1px  0   var(--brand),
     1px  0   var(--brand),
     0   -1px var(--brand),
     0    1px var(--brand),
    -1px -1px var(--brand),
     1px -1px var(--brand),
    -1px  1px var(--brand),
     1px  1px var(--brand),
     0    2px 0 #a31a1a,
     0    3px 0 #8e1717,
     0    4px 2px rgba(0,0,0,.22);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  display: inline-block;
  overflow: hidden;
  padding: 0 1px;
}

/* Tia sáng chạy */
.hero-text h1::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 42%,
    rgba(255,255,255,0.95) 50%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-140%) skewX(-12deg);
  animation: storeNameShine 2.8s linear infinite;
  mix-blend-mode: screen;
  will-change: transform;
  pointer-events: none;
}

@keyframes storeNameShine {
  0%   { transform: translateX(-140%) skewX(-12deg); }
  100% { transform: translateX(140%) skewX(-12deg); }
}

/* Tôn trọng người dùng hạn chế chuyển động */
@media (prefers-reduced-motion: reduce) {
  .hero-text h1::after { animation: none; opacity: 0; }
}

.hero-desc { color: #4b5563; font-size: 13px; margin-top: 4px; }
.hero-meta {
  color:#4b5563;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.hero-meta .sep { opacity: .4; }
.hero-meta .open { color:#065f46; }
.hero-meta .closed { color:#9a3412; }

/* Banner trạng thái hoạt động/khoá/hết hạn */
.sub-banner {
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.sub-banner.ok   { background:#ecfdf5; color:#065f46; border:1px solid #bbf7d0; }
.sub-banner.warn { background:#fff7ed; color:#9a3412; border:1px solid #fed7aa; }
.sub-banner.err  { background:#fef2f2; color:#7f1d1d; border:1px solid #fecaca; }
.sub-banner .b-badges { margin-left:auto; display:flex; gap:8px; }
.sub-banner .b-btn {
  padding:6px 10px;
  border-radius:8px;
  border:1px solid #d4d4d8;
  background:#fff;
  cursor:pointer;
}
.sub-banner .b-btn.primary { background:#c62828; color:#fff; border:none; }

/* NEW: nhấn mạnh thời gian đếm ngược trong cảnh báo sắp hết hạn */
.expiry-banner__time{
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Nút hành động dưới banner */
.hero-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .hero-actions {
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    justify-content: end;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; border: 1px solid #cfd4dc; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.tiny { font-size: 12px; padding: 6px 8px; }
.btn.link {
  background: none;
  border: none;
  color: var(--brand);
  padding: 0;
  text-decoration: underline;
}

/* Voucher “đã nhận” */
.btn.claimed { background: #22c55e; color: #fff; border: none; }
.btn.claimed:disabled { opacity: 1; cursor: default; }

/* ========== Product Grid & Card ========== */
.product-list { /* đệm thêm để thẻ cuối không bị che */
  padding-bottom: calc(var(--fab-size) + var(--fab-gap) + 24px);
}
.product-list .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 12px;
}
.card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card img.thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}
.card .name { font-weight: 700; font-size: 14px; color: #111827; }

/* NEW: mô tả (2 dòng, auto “…”) */
.card .desc{
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.card .price {
  color: var(--brand);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.card .price .price-sale {
  color: var(--brand);
  font-weight: 800;
}
.card .price .price-origin {
  color: var(--muted);
  font-weight: 700;
  text-decoration: line-through;
  font-size: 13px;
}
.card .sold {
  margin-top: -2px;
  font-size: 12px;
  color: var(--muted);
}

/* căn giữa khu vực nút trong card */
.card .actions { margin-top: auto; display:flex; justify-content:center; }
.card .extras .extra-row { margin-top: 10px; display:flex; justify-content:center; }

/* ====== NÚT MAIN & ADDON – cùng kích thước & cỡ chữ, chỉ khác màu ====== */
.card .actions .btn.add-btn,
.card .extras .btn.addon-toggle {
  min-width: 140px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}

/* MAIN: nền đỏ (brand), chữ trắng */
.card .actions .btn.add-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(198, 40, 40, .18);
}
.card .actions .btn.add-btn i { font-size: 14px; }

/* ADDON: pill nhạt hơn */
.card .extras .btn.addon-toggle {
  border: 1px solid rgba(198, 40, 40, .25);
  background: rgba(198, 40, 40, .08);
  color: var(--brand);
  text-decoration: none; /* ghi đè .btn.link */
}
.card .extras .btn.addon-toggle:hover {
  background: rgba(198, 40, 40, .12);
  box-shadow: 0 4px 12px rgba(198, 40, 40, .12);
}
/* ========== Product Definition Badge (badge_type) ========== */
.product-badge {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 2px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.product-badge__label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* Generic fallback */
.product-badge--generic {
  background: linear-gradient(120deg, #e5e7eb, #f3f4f6);
  color: #111827;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.6);
}

/* Bán chạy nhất – tông vàng cam sang trọng */
.product-badge--bestseller {
  background: linear-gradient(120deg, #f97316, #facc15);
  color: #111827;
  box-shadow: 0 6px 14px rgba(251, 191, 36, 0.35);
}

/* Mới ra mắt – tông xanh dương hiện đại */
.product-badge--new {
  background: linear-gradient(120deg, #3b82f6, #a855f7);
  color: #f9fafb;
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.35);
}

/* Đang ưu đãi – tông đỏ/đỏ hồng gần màu thương hiệu */
.product-badge--promo {
  background: linear-gradient(120deg, #ef4444, #ec4899);
  color: #fef2f2;
  box-shadow: 0 6px 14px rgba(248, 113, 113, 0.4);
}

/* Điều kiện mua – nhãn thông tin (nhẹ, rõ, không quá chói) */
.product-badge--condition {
  background: linear-gradient(120deg, rgba(17, 24, 39, 0.10), rgba(17, 24, 39, 0.03));
  color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.18);
  text-transform: none;     /* ghi đè uppercase của .product-badge */
  letter-spacing: 0;        /* ghi đè letter-spacing */
}
.product-badge--condition i {
  margin-right: 6px;
  font-size: 12px;
  opacity: 0.9;
}


/* Hiệu ứng ánh sáng nhẹ chạy qua badge */
.product-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.0) 40%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
  opacity: 0.95;
  animation: productBadgeShine 2.8s linear infinite;
}

@keyframes productBadgeShine {
  0%   { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(130%)  skewX(-18deg); }
}

/* Tôn trọng prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .product-badge::after {
    animation: none;
    opacity: 0;
  }
}


/* Stepper sau khi đã thêm – nút ± to, rõ, dễ chạm (giữ nguyên) */
.qty-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.qty-inline .minus-btn,
.qty-inline .plus-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(198, 40, 40, .35);
  color: var(--brand);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.qty-inline .qty-input,
.c-input {
  width: 56px;
  height: 38px;
  text-align: center;
  border: 1px solid #cfd4dc;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
}

/* Phần extra link “+ Thêm sản phẩm phụ” (đã dùng ở trên) */
/* .card .extras .extra-row { margin-top: 10px; } */

/* ========== Cart ========== */
.cart {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.cart-items {
  flex: 1;
  min-height: 100px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-item { border-bottom: 1px solid #eee; padding-bottom: 6px; }
.cart-item .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.cart-item .name { font-weight: 700; }
.cart-item .qty {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}
.c-note-input {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  resize: vertical;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
}
.addons { margin-top: 6px; color: #374151; font-size: 13px; }
.addon-line { margin-top: 2px; }

.cart-foot { margin-top: auto; border-top: 1px solid #eee; padding-top: 10px; }
.cart-foot .line { display: flex; justify-content: space-between; margin-bottom: 6px; }
.cart-foot .total { font-size: 16px; font-weight: 800; }

/* ========== Popups (filter/cart/addons/voucher/activate) ========== */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  z-index: 100000; /* FIX: luôn nằm trên bottom nav & FAB */
  padding: 10px;
}
.popup[aria-hidden="true"] { display: none; }
.popup-card.popup-wide {
  background: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 92%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  /* FIX: đảm bảo popup không bị “cắt” trên tablet/app (WebView) */
  max-height: calc(var(--lk-vh, 1vh) * 100 - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.popup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.popup-head h3 { margin: 0; font-size: 18px; }
.popup-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 14px;
}
.popup-foot { border-top: 1px solid #eee; padding-top: 12px; }

/* FIX: Popup Cart đang có .cart-foot đã có border-top => tránh double line */
#popup-cart .popup-foot{ border-top: 0; padding-top: 0; }

/* FIX: khi giỏ hàng trống, popup không bị “mỏng” trên tablet */
#popup-cart .popup-card.popup-wide{ min-height: 320px; }
@media (max-width: 1100px){
  #popup-cart .popup-card.popup-wide{ min-height: 260px; }
}

/* Filter body */
.filter-group { margin-bottom: 12px; }
.filter-group label { display: block; font-weight: 700; margin-bottom: 6px; }
.radio-row { display: flex; gap: 14px; align-items: center; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

/* NEW: hàng 2 cột cho “Giá từ / Đến” khi JS build filter-row */
.filter-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.filter-row .filter-group{
  margin-bottom: 0;
}

/* Addons */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

/* ===== Fix: Popup Add-ons hiển thị 3 sản phẩm / hàng trên mobile + tablet (WebView) ===== */
@media (max-width: 1100px){
  #popup-addons .addons-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  #popup-addons .addon-card{
    padding: 10px;
  }
  #popup-addons .addon-card img{
    height: 90px;
  }
}
.addon-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.addon-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.addon-card.selected { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(198,40,40,0.16); }
.addon-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}
.addon-card .a-name { font-weight: 700; font-size: 14px; }

/* NEW: mô tả addon (2 dòng, auto “…”) */
.addon-card .a-desc{
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.addon-card .a-price { color: var(--brand); font-weight: 800; }
.a-qty {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}
.a-qty input {
  width: 56px;
  text-align: center;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  height: 34px;
}
.addons-total {
  margin-bottom: 8px;
  text-align: right;
  font-weight: 800;
  font-size: 15px;
  color: var(--brand);
}

/* Voucher list/cards */
.voucher-list { display: flex; flex-direction: column; gap: 12px; }
.voucher-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
}
.voucher-card .voucher-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff1f2;
  color: var(--brand);
  font-size: 22px;
}
.voucher-card .voucher-title { font-weight: 800; font-size: 15px; }
.voucher-card .voucher-desc { color: #555; font-size: 14px; margin-top: 2px; }
.voucher-card .voucher-code { color: #888; font-size: 12px; margin-top: 4px; }
.voucher-card .voucher-actions { white-space: nowrap; }
.voucher-card.claimed { background: #ecfdf5; border-color: #bbf7d0; }
.voucher-card.claimed .voucher-icon { background: #22c55e; color: #fff; }
.voucher-card:before, .voucher-card:after {
  content:""; position:absolute; top:50%; transform:translateY(-50%);
  width:16px; height:16px; background: var(--bg); border-radius: 50%;
}
.voucher-card:before { left:-8px; }
.voucher-card:after  { right:-8px; }

/* Empty/Loading */
#grid-loading { text-align:center; padding: 16px; color:#6b7280; }
#grid-empty { text-align:center; padding: 20px; color:#6b7280; }

/* ========== Floating Action Buttons (Filter + Cart) — luôn hiện trên mobile ========== */
.fab {
  position: fixed;
  right: var(--fab-right, 16px);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9000; /* cao hơn bottom nav */
}

/* Đẩy các FAB “cao hơn” nhiều so với bottom nav để tránh che */
.fab.cart {
  bottom: var(--fab-cart-bottom);
}
.fab.filter {
  bottom: var(--fab-filter-bottom);
  background: #374151;
}

.fab.cart .badge {
  position: absolute;
  top: 6px; right: 6px;
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 800;
}

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  right: 20px;
  bottom: var(--toast-bottom);
  z-index: 8500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #111827;
  color:#fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.24);
  font-size: 14px;
  animation: slideIn .35s ease, fadeOut .5s ease 4.5s forwards;
}
@keyframes slideIn { from {opacity:0; transform:translateX(100%);} to {opacity:1; transform:translateX(0);} }
@keyframes fadeOut { to {opacity:0; transform:translateX(100%);} }

/* ========== Store blocker (khoá/hết hạn) ========== */
.store-blocker { position: relative; }
.store-blocker .overlay {
  position:absolute;
  inset:0;
  z-index: 2000;
  background: rgba(255,255,255,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
}
.store-blocker .overlay .box {
  background:#fff;
  border-radius:12px;
  border:1px dashed #e5e7eb;
  padding:16px;
  max-width:560px;
  color:#111827;
}
.store-blocker .overlay h3 { margin:0 0 6px 0; font-size:18px; }
.store-blocker .overlay p  { margin:0 0 10px 0; color:#374151; }
.store-blocker .overlay .act { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }

/* ========== Mobile tweaks ========== */
@media (max-width: 640px) {
  .store-wrap { gap: 14px; padding: 8px; }
  .hero-text { min-width: 180px; }

  /* Nút chính giữ cùng size với addon nhưng thêm chút padding trên mobile để dễ bấm */
  .card .actions .btn.add-btn,
  .card .extras .btn.addon-toggle { padding: 11px 16px; }
  .qty-inline .minus-btn, .qty-inline .plus-btn { width: 40px; height: 40px; }
  .qty-inline .qty-input { width: 60px; height: 40px; }
}

/* ========== Safe-area overrides (NGĂN CHE bởi bottom nav & đẩy lưới sản phẩm lên cao) ========== */
.product-list {
  /* đệm lớn để phần cuối trang (cards, nút “Tải thêm”) không bị che */
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 180px) !important;
}
#product-grid {
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 180px) !important;
}
.store-wrap {
  /* phòng khi có layout khác, vẫn chừa chỗ đủ rộng */
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 180px) !important;
}

/* Desktop có thể hạ thấp một chút cho gọn hơn */
@media (min-width: 1024px) {
  :root{
    --fab-base-extra: 40px;
    --toast-bottom: calc(var(--fab-filter-bottom) + 16px);
  }
  .product-list, #product-grid, .store-wrap {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 140px) !important;
  }
}

/* =========================================================
   === VIEW TOGGLES: GRID (mặc định) vs LIST (không ảnh) ===
   - Kích hoạt bằng cách thêm class `view-list` lên <body>
   - Không đổi HTML; JS chỉ cần toggle class là xong
   ========================================================= */

/* Grid mặc định đã có ở trên. Khi LIST: 1 cột, card gọn, ẩn ảnh. */
body.view-list .product-list .grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.view-list .card {
  padding: 10px 12px;
  border-radius: 8px;
  gap: 6px;
}

body.view-list .card img.thumb {
  display: none !important;
}

body.view-list .card .name {
  font-size: 15px;
  font-weight: 800;
}

body.view-list .card .desc {
  -webkit-line-clamp: 1;
  font-size: 12.5px;
}

body.view-list .card .price {
  font-size: 15px;
  font-weight: 800;
}

/* Nút thêm chiếm đủ rộng, stepper canh phải */
body.view-list .card .actions {
  margin-top: 6px;
  justify-content: space-between;
}
body.view-list .card .actions .btn.add-btn {
  min-width: 0;
  width: 100%;
}
body.view-list .qty-inline {
  justify-content: flex-end;
}

/* Tuỳ chọn: nếu muốn danh sách cực gọn, ẩn luôn link addon */
body.view-list .card .extras .extra-row {
  margin-top: 6px;
}

/* (Optional) Toolbar chuyển chế độ – nếu bạn thêm HTML tương ứng */
.view-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
}
.view-toolbar .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.view-toolbar .chip.active {
  background: rgba(198,40,40,.08);
  border-color: rgba(198,40,40,.25);
  color: var(--brand);
}

/* ========== Store Reviews (Đánh giá cửa hàng) ========== */
.store-reviews-widget{
  background:#fff;
  border-radius:12px;
  border:1px solid #e5e7eb;
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.store-reviews-widget h2{
  margin:0 0 4px 0;
  font-size:16px;
  font-weight:700;
  color:#111827;
}

/* Tổng quan điểm + sao + số lượng – vùng click để mở/thu gọn */
.store-reviews-widget .sr-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 0;
  cursor:pointer;
}

.sr-summary-main{
  display:flex;
  align-items:center;
  gap:10px;
}

.sr-summary-score{
  font-size:28px;
  font-weight:800;
  color:#111827;
}

.sr-summary-stars{
  font-size:16px;
  letter-spacing:2px;
  color:#f59e0b;
}

.sr-summary-extra{
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:13px;
  color:#6b7280;
}

/* Gợi ý click: dùng ::after để khỏi sửa HTML */
.store-reviews-widget .sr-summary::after{
  content:'Nhấn để xem chi tiết đánh giá';
  display:block;
  font-size:12px;
  color:#6b7280;
  margin-top:2px;
}

.store-reviews-widget:not(.is-collapsed) .sr-summary::after{
  content:'Nhấn để thu gọn đánh giá';
}

/* Thanh phân bố sao (1★..5★) */
.sr-bars{
  margin-top:4px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.sr-bars-row{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#4b5563;
  cursor:pointer; /* có thể bấm để lọc theo sao */
}

.sr-bars-row__label{
  width:40px;
  flex-shrink:0;
}

.sr-bars-row__bar{
  flex:1;
  height:6px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}

.sr-bars-row__bar-inner{
  height:100%;
  border-radius:999px;
  background:#facc15;
  transition:width .2s ease;
}

.sr-bars-row__qty{
  width:32px;
  text-align:right;
  flex-shrink:0;
}

.sr-bars-row.is-filter-active .sr-bars-row__label{
  font-weight:600;
  color:#111827;
}

.sr-bars-row.is-filter-active .sr-bars-row__bar-inner{
  filter:brightness(1.1);
}

/* Thu gọn: ẩn form + danh sách khi ở trạng thái is-collapsed */
.store-reviews-widget.is-collapsed .sr-form-area,
.store-reviews-widget.is-collapsed .sr-list-wrap{
  display:none;
}

/* Form đánh giá của user */
.sr-form-area{
  border-top:1px solid #e5e7eb;
  padding-top:10px;
  margin-top:6px;
}

.sr-form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:8px;
}

.sr-rating-stars{
  display:flex;
  gap:4px;
  font-size:20px;
}

.sr-form-area textarea{
  width:100%;
  min-height:70px;
  resize:vertical;
  font-family:inherit;
  font-size:13px;
  border-radius:8px;
  border:1px solid #cfd4dc;
  padding:8px 10px;
  color:#111827;
}

.sr-msg{
  font-size:12px;
  margin-top:4px;
}
.sr-msg--error{ color:#b91c1c; }
.sr-msg--ok{ color:#047857; }

/* Badge “Đánh giá của bạn” */
.sr-my-badge{
  margin-top:4px;
  font-size:12px;
  color:#374151;
  display:flex;
  align-items:center;
  gap:4px;
}
.sr-my-badge__stars{
  color:#f59e0b;
  font-size:13px;
}

/* Danh sách đánh giá */
.sr-list-wrap{
  border-top:1px solid #e5e7eb;
  padding-top:10px;
  margin-top:6px;
}

.sr-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sr-item{
  padding-bottom:8px;
  border-bottom:1px solid #f3f4f6;
}

.sr-item__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-bottom:2px;
}

.sr-item__name{
  font-weight:600;
  font-size:13px;
  color:#111827;
}

.sr-item__stars{
  font-size:13px;
  color:#f59e0b;
}

.sr-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  font-size:11px;
  color:#6b7280;
  margin-bottom:4px;
}

.sr-item__badge{
  padding:2px 6px;
  border-radius:999px;
  border:1px solid #d1fae5;
  background:#ecfdf5;
  color:#065f46;
}
.sr-item__badge--owner{
  border-color:#fee2e2;
  background:#fef2f2;
  color:#b91c1c;
}

.sr-item__comment{
  margin:0;
  font-size:13px;
  color:#111827;
}

/* Phản hồi của cửa hàng */
.sr-item__reply{
  margin-top:6px;
  padding:8px 10px;
  border-radius:8px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
}

.sr-item__reply-title{
  font-size:12px;
  font-weight:600;
  margin-bottom:2px;
  color:#111827;
}
.sr-item__reply-body{
  margin:0;
  font-size:12px;
  color:#374151;
}
.sr-item__reply-time{
  margin-top:4px;
  font-size:11px;
  color:#6b7280;
}

/* Action cho owner/admin */
.sr-item__actions{
  margin-top:6px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.sr-item__action-btn{
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  padding:4px 10px;
  font-size:11px;
  cursor:pointer;
}
.sr-item__action-btn--delete{
  border-color:#fecaca;
  color:#b91c1c;
  background:#fef2f2;
}

/* Editor phản hồi */
.sr-item__reply-editor{
  margin-top:6px;
  border-radius:8px;
  border:1px solid #e5e7eb;
  padding:8px;
  background:#f9fafb;
}
.sr-item__reply-editor textarea{
  width:100%;
  min-height:54px;
  font-size:12px;
  border-radius:6px;
  border:1px solid #cfd4dc;
  padding:6px 8px;
  resize:vertical;
}
.sr-item__reply-editor-actions{
  margin-top:6px;
  display:flex;
  gap:6px;
  justify-content:flex-end;
}

/* Empty + Loading + More */
[data-sr-empty]{
  font-size:13px;
  color:#6b7280;
  padding:8px 0;
}
[data-sr-loading-list]{
  font-size:13px;
  color:#6b7280;
  padding:8px 0;
}
[data-sr-more]{
  margin-top:6px;
  align-self:flex-start;
}

/* Mobile: thu gọn một chút */
@media (max-width: 640px){
  .store-reviews-widget{
    padding:10px 10px;
  }
  .sr-summary-score{
    font-size:24px;
  }
}

/* (cuối file) */


/* ========== Category Bar (Product Categories) ========== */
.catbar{
  display:flex;
  gap:10px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding: 4px 2px 10px;
  margin: 6px 0 12px;
}
.catbar::-webkit-scrollbar{ height:6px; }
.catbar::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius: 999px; }
.catbar .cat-chip{
  flex:0 0 auto;
  border:1px solid rgba(17,24,39,.18);
  background:#fff;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition: transform .08s ease, border-color .12s ease, color .12s ease;
}
.catbar .cat-chip:active{ transform: scale(.98); }
.catbar .cat-chip.active{
  border-color: var(--brand);
  color: var(--brand);
  font-weight:700;
}
.catbar .cat-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(198,40,40,.10);
  color: var(--brand);
  font-weight:700;
}

/* =========================================================
   STORE WOW V5 — effect + button layout only
   Mục tiêu: wow hơn cho toàn trang, nút đồng bộ/gọn, KHÔNG đụng logic
   ========================================================= */

body{
  background:
    radial-gradient(1200px 460px at 8% -4%, rgba(255,232,235,.88), transparent 58%),
    radial-gradient(980px 420px at 100% 8%, rgba(255,243,214,.78), transparent 55%),
    linear-gradient(180deg, #fffdfb 0%, #fff8f6 24%, #fff9f8 48%, #f9fafb 100%);
}

.store-wrap{
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  gap: 18px;
}
.store-wrap::before,
.store-wrap::after{
  content:"";
  position:absolute;
  inset:auto;
  pointer-events:none;
  z-index:0;
  border-radius:999px;
  filter: blur(24px);
}
.store-wrap::before{
  width:220px; height:220px;
  top:130px; left:-48px;
  background: radial-gradient(circle, rgba(255,213,219,.30) 0%, rgba(255,213,219,0) 70%);
}
.store-wrap::after{
  width:240px; height:240px;
  top:320px; right:-64px;
  background: radial-gradient(circle, rgba(255,227,181,.28) 0%, rgba(255,227,181,0) 72%);
}
.store-wrap > *{ position:relative; z-index:1; }

.store-hero{
  position:relative;
  border:1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,247,242,.82));
  box-shadow:
    0 20px 60px rgba(185, 76, 76, .08),
    0 10px 24px rgba(17, 24, 39, .04),
    inset 0 1px 0 rgba(255,255,255,.72);
  overflow: hidden;
}
.store-hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.52) 16%, rgba(255,255,255,0) 34%);
  transform: translateX(-130%) skewX(-18deg);
  animation: storeHeroSweep 6.6s linear infinite;
  pointer-events:none;
}
@keyframes storeHeroSweep{
  from{ transform: translateX(-130%) skewX(-18deg); }
  to  { transform: translateX(135%) skewX(-18deg); }
}

.hero-banner{
  position:relative;
  height: 210px;
  border-radius: 22px;
  box-shadow: inset 0 -40px 80px rgba(17,24,39,.08);
}
.hero-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.00), rgba(255,255,255,.06) 28%, rgba(17,24,39,.10) 100%),
    radial-gradient(220px 90px at 16% 18%, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  pointer-events:none;
}

.hero-row{
  margin-top:-50px;
  align-items:flex-end;
  gap:16px;
}
.hero-text{
  position:relative;
  flex:1;
  min-width:240px;
  padding: 16px 18px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  border:1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(17,24,39,.08);
}
.hero-avatar{
  width:92px;
  height:92px;
  border-width:4px;
  box-shadow: 0 18px 28px rgba(17,24,39,.16), 0 0 0 6px rgba(255,255,255,.32);
}
.hero-desc{
  margin-top:6px;
  font-size:13px;
  color:#52525b;
}
.hero-meta{
  gap:10px;
  margin-top:8px;
}
.hero-meta .sep{ opacity:.26; }
.hero-rating{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:none;
  background:rgba(255,246,212,.95);
  color:#8a5706;
  padding:7px 10px;
  border-radius:999px;
  font-weight:700;
  box-shadow: inset 0 0 0 1px rgba(234,179,8,.18), 0 6px 14px rgba(234,179,8,.09);
}

.sub-banner{
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(17,24,39,.04);
}
.sub-banner.ok{
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5 52%, #ffffff);
}
.sub-banner.warn{
  background: linear-gradient(135deg, #fff7ed, #fffbeb 58%, #ffffff);
}
.sub-banner.err{
  background: linear-gradient(135deg, #fff1f2, #fef2f2 58%, #ffffff);
}

.hero-actions{
  width:100%;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top: 6px;
  align-items: stretch;
}
@media (min-width: 860px){
  .hero-actions{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

.hero-actions > .btn,
.hero-actions > label.btn{
  position:relative;
  min-height: 54px;
  justify-content:flex-start;
  padding: 11px 14px;
  border-radius: 18px;
  border:1px solid rgba(226,232,240,.92);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,251,249,.94));
  box-shadow:
    0 12px 22px rgba(17,24,39,.05),
    inset 0 1px 0 rgba(255,255,255,.82);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  overflow:hidden;
}
.hero-actions > .btn::before,
.hero-actions > label.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.56) 42%, rgba(255,255,255,0) 68%);
  transform: translateX(-140%) skewX(-16deg);
  transition: transform .9s ease;
  pointer-events:none;
}
.hero-actions > .btn:hover,
.hero-actions > label.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(17,24,39,.08), inset 0 1px 0 rgba(255,255,255,.88);
}
.hero-actions > .btn:hover::before,
.hero-actions > label.btn:hover::before{
  transform: translateX(125%) skewX(-16deg);
}
.hero-actions > .btn i,
.hero-actions > label.btn i{
  width: 34px;
  height: 34px;
  min-width:34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(198,40,40,.16), rgba(255,231,231,.98));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.hero-actions > label.btn{ display:flex !important; }
.hero-actions #sale-point-select{
  appearance:none;
  -webkit-appearance:none;
  border:none !important;
  background:transparent !important;
  min-width:0;
  flex:1;
  font:inherit;
  color:#0f172a;
  font-weight:700;
}
.hero-actions #sale-point-select:focus{ outline:none; }

/* Order & visual hierarchy */
.hero-actions > a[href*="map"],
.hero-actions > button[onclick*="address_missing"]{ order:1; }
.hero-actions > a[href^="tel:"],
.hero-actions > button[onclick*="phone_missing"]{ order:2; }
.hero-actions > a[href*="zalo.me"],
.hero-actions > button[onclick*="zalo_missing"]{ order:3; }
.hero-actions > a[href*="/mess.php?to=store:"]{ order:4; }
#btn-call-app{ order:5; }
#btn-voucher{ order:6; }
.hero-actions > a[href*="/live.php"]{ order:7; }
.hero-actions > .btn-pos{ order:8; }
.hero-actions > a[href*="/store_manage.php"]{ order:9; }
.hero-actions > a[href*="/store_setting.php"]{ order:10; }
#btn-activate-open{ order:11; }
.hero-actions > label.btn{ order:12; }
#btn-start-work, #btn-stop-work{ order:13; }
.hero-actions > a[href*="/store_shift_planning.php"]{ order:14; }
.hero-actions > a[href*="/store_shift_handover.php"]{ order:15; }

/* stronger CTA tones */
.hero-actions > a[href^="tel:"],
#btn-call-app{
  background: linear-gradient(135deg, #fff2f2, #ffffff 58%);
  border-color: rgba(248,113,113,.34);
}
.hero-actions > a[href*="zalo.me"],
.hero-actions > button[onclick*="zalo_missing"]{
  background: linear-gradient(135deg, #eef7ff, #ffffff 58%);
  border-color: rgba(59,130,246,.24);
}
.hero-actions > a[href*="zalo.me"] i,
.hero-actions > button[onclick*="zalo_missing"] i{
  background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(239,246,255,.96));
  color:#2563eb;
}
#btn-voucher,
.hero-actions > a[href*="/mess.php?to=store:"]{
  background: linear-gradient(135deg, #fff8ea, #ffffff 60%);
  border-color: rgba(251,191,36,.28);
}
#btn-voucher i,
.hero-actions > a[href*="/mess.php?to=store:"] i{
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(255,247,237,.96));
  color:#b45309;
}
.hero-actions > .btn-pos,
#btn-start-work{
  background: linear-gradient(135deg, #effcf5, #ffffff 62%);
  border-color: rgba(34,197,94,.24);
}
.hero-actions > .btn-pos i,
#btn-start-work i{
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(240,253,244,.96));
  color:#15803d;
}
.hero-actions > a[href*="/store_manage.php"],
.hero-actions > a[href*="/store_setting.php"],
.hero-actions > a[href*="/store_shift_planning.php"],
.hero-actions > a[href*="/store_shift_handover.php"],
#btn-activate-open,
#btn-stop-work,
.hero-actions > a[href*="/live.php"],
.hero-actions > label.btn{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
}

.view-toolbar,
.store-reviews-widget,
.popup-card,
.voucher-card,
#store-remote-review,
#store-condition,
.product-list{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.86);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,252,251,.94));
  box-shadow: 0 18px 38px rgba(17,24,39,.05), inset 0 1px 0 rgba(255,255,255,.82);
}
.product-list{
  padding: 16px;
}
.view-toolbar,
.store-reviews-widget,
#store-remote-review,
#store-condition{
  padding: 14px 16px;
}

.product-list .grid{
  gap:16px;
}
.card{
  position:relative;
  overflow:hidden;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.78);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,250,249,.96));
  box-shadow:
    0 14px 24px rgba(17,24,39,.05),
    0 6px 10px rgba(17,24,39,.03),
    inset 0 1px 0 rgba(255,255,255,.82);
  transform: translateY(12px);
  opacity: 0;
  animation: storeCardIn .55s cubic-bezier(.2,.75,.22,1) forwards;
}
.card:nth-child(2n){ animation-delay: .04s; }
.card:nth-child(3n){ animation-delay: .08s; }
.card:nth-child(4n){ animation-delay: .12s; }
@keyframes storeCardIn{
  to{ opacity:1; transform: translateY(0); }
}
.card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(240px 120px at 12% 0%, rgba(255,236,214,.42), rgba(255,255,255,0) 65%);
  pointer-events:none;
}
.card::after{
  content:"";
  position:absolute;
  inset:-1px;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.54) 45%, rgba(255,255,255,0) 70%);
  transform: translateX(-135%) skewX(-18deg);
  transition: transform .95s ease;
  pointer-events:none;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 34px rgba(17,24,39,.10), 0 10px 14px rgba(17,24,39,.05), inset 0 1px 0 rgba(255,255,255,.84);
}
.card:hover::after{ transform: translateX(125%) skewX(-18deg); }
.card img.thumb{
  height: 142px;
  border-radius: 18px;
  transition: transform .45s ease, filter .28s ease;
  box-shadow: inset 0 -14px 28px rgba(17,24,39,.12);
}
.card:hover img.thumb{
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.card .name{
  font-size: 15px;
  line-height: 1.35;
  min-height: 40px;
}
.card .desc{
  color:#52525b;
  min-height: 34px;
}
.card .price{
  margin-top: 2px;
  font-size: 16px;
}
.card .sold{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:4px 9px;
  border-radius:999px;
  background: rgba(15,23,42,.05);
  font-weight:600;
}
.card .actions,
.card .extras .extra-row{
  justify-content:stretch;
}
.card .actions .btn.add-btn,
.card .extras .btn.addon-toggle{
  width:100%;
  min-width:0;
  min-height:44px;
  border-radius: 15px;
  font-size: 14px;
  letter-spacing: .1px;
}
.card .actions .btn.add-btn{
  background: linear-gradient(135deg, #d33434, #b91c1c 55%, #991b1b);
  box-shadow: 0 12px 20px rgba(198,40,40,.20), inset 0 1px 0 rgba(255,255,255,.25);
}
.card .actions .btn.add-btn:hover{
  box-shadow: 0 16px 24px rgba(198,40,40,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
.card .extras .btn.addon-toggle{
  background: linear-gradient(135deg, rgba(255,247,237,.98), rgba(255,255,255,.98));
  border-color: rgba(234,88,12,.18);
  color:#b45309;
  box-shadow: 0 10px 18px rgba(234,88,12,.08), inset 0 1px 0 rgba(255,255,255,.84);
}
.qty-inline{
  width:100%;
  justify-content:space-between;
  gap:8px;
  background: rgba(248,250,252,.92);
  border:1px solid rgba(226,232,240,.96);
  border-radius: 16px;
  padding:6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.qty-inline .minus-btn,
.qty-inline .plus-btn{
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.qty-inline .qty-input{
  border-radius: 12px;
  background: #fff;
}

.voucher-card,
.popup-card,
.store-reviews-widget,
#store-remote-review,
#store-condition{
  overflow:hidden;
  position:relative;
}
.voucher-card::before,
.popup-card::before,
.store-reviews-widget::before,
#store-remote-review::before,
#store-condition::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(280px 120px at 0% 0%, rgba(255,240,214,.28), rgba(255,255,255,0) 70%);
  pointer-events:none;
}

.fab.cart,
.fab.filter{
  box-shadow: 0 18px 30px rgba(17,24,39,.18), 0 0 0 7px rgba(255,255,255,.14);
  transition: transform .18s ease, box-shadow .22s ease;
}
.fab.cart{
  background: linear-gradient(135deg, #d73838, #b91c1c 58%, #8f1717);
  animation: cartFloatLux 2.7s ease-in-out infinite;
}
.fab.cart::before,
.fab.filter::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.48) 46%, rgba(255,255,255,0) 72%);
  transform: translateX(-120%) skewX(-18deg);
  animation: fabSweep 3.2s linear infinite;
}
.fab.filter{
  background: linear-gradient(135deg, #4b5563, #1f2937);
}
.fab.cart:hover,
.fab.filter:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 34px rgba(17,24,39,.22), 0 0 0 8px rgba(255,255,255,.16);
}
.fab.cart .badge{
  min-width: 22px;
  min-height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(255,255,255,.25);
  animation: cartBadgePulse 1.9s ease-in-out infinite;
}
@keyframes fabSweep{
  from{ transform: translateX(-120%) skewX(-18deg); }
  to{ transform: translateX(120%) skewX(-18deg); }
}
@keyframes cartFloatLux{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}
@keyframes cartBadgePulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}

/* Mobile tune */
@media (max-width: 640px){
  .store-hero{ border-radius:24px; padding:10px; }
  .hero-banner{ height: 180px; border-radius:18px; }
  .hero-row{ margin-top:-42px; gap:12px; }
  .hero-avatar{ width:82px; height:82px; }
  .hero-text{ min-width: 0; width:100%; padding:14px; border-radius:18px; }
  .hero-actions{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:9px;
  }
  .hero-actions > .btn,
  .hero-actions > label.btn{
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 15px;
    font-size: 13px;
    gap:7px;
  }
  .hero-actions > .btn i,
  .hero-actions > label.btn i{
    width:30px; height:30px; min-width:30px; border-radius:10px;
  }
  .product-list{ padding: 12px; border-radius: 20px; }
  .product-list .grid{ gap:12px; }
  .card{ border-radius:18px; }
  .card img.thumb{ height:124px; border-radius:14px; }
  .card .name{ min-height: 38px; }
}

@media (prefers-reduced-motion: reduce){
  .store-hero::before,
  .hero-actions > .btn::before,
  .hero-actions > label.btn::before,
  .card,
  .card::after,
  .fab.cart,
  .fab.cart::before,
  .fab.filter::before,
  .fab.cart .badge{
    animation: none !important;
    transition: none !important;
  }
}


/* =====================================================================
   V6 WOW UPGRADE — chỉ nâng hiệu ứng + bố cục, không đụng logic
   ===================================================================== */

body{
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(255, 214, 170, .28), transparent 60%),
    radial-gradient(900px 420px at 88% 0%, rgba(255, 92, 92, .12), transparent 58%),
    linear-gradient(180deg, #fffaf6 0%, #fffefe 28%, #fff8f5 64%, #fff 100%);
}

.store-wrap{
  position: relative;
  isolation: isolate;
  gap: 18px;
}
.store-wrap::before,
.store-wrap::after{
  content:"";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
  opacity: .55;
}
.store-wrap::before{
  width: 220px; height: 220px;
  top: 92px; left: -72px;
  background: radial-gradient(circle at 30% 30%, rgba(255,183,77,.34), rgba(255,183,77,0) 70%);
}
.store-wrap::after{
  width: 260px; height: 260px;
  top: 240px; right: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(198,40,40,.10), rgba(198,40,40,0) 72%);
}

.store-wrap > .store-hero,
.store-wrap > .store-reviews-widget,
.store-wrap > .view-toolbar,
.store-wrap > .catbar,
.store-wrap > .product-list{
  position: relative;
  animation: lkStoreSectionRise .72s cubic-bezier(.2,.8,.2,1) both;
}
.store-wrap > .store-reviews-widget{ animation-delay: .05s; }
.store-wrap > .view-toolbar{ animation-delay: .09s; }
.store-wrap > .catbar{ animation-delay: .13s; }
.store-wrap > .product-list{ animation-delay: .18s; }

@keyframes lkStoreSectionRise{
  from{ opacity:0; transform: translateY(18px) scale(.985); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.store-hero,
.store-reviews-widget,
.view-toolbar,
.catbar,
.product-list{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border: 1px solid rgba(255,255,255,.92);
  box-shadow:
    0 18px 40px rgba(22, 22, 22, .06),
    0 2px 0 rgba(255,255,255,.85) inset,
    0 0 0 1px rgba(255,255,255,.6) inset;
  backdrop-filter: blur(8px);
}

.store-hero{
  overflow: hidden;
  border-radius: 22px;
  padding: 10px;
}
.store-hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(240px 120px at 16% 0%, rgba(255, 202, 135, .18), transparent 70%),
    radial-gradient(280px 140px at 100% 12%, rgba(255, 79, 79, .10), transparent 72%);
  pointer-events:none;
}
.store-hero::after{
  content:"";
  position:absolute;
  top:0; left:-30%;
  width:42%; height:100%;
  background: linear-gradient(115deg, rgba(255,255,255,0), rgba(255,255,255,.18), rgba(255,255,255,0));
  transform: skewX(-18deg);
  animation: lkHeroSweep 7.5s linear infinite;
  pointer-events:none;
}
@keyframes lkHeroSweep{
  0%, 76%{ left:-34%; opacity:0; }
  80%{ opacity:.7; }
  100%{ left:124%; opacity:0; }
}

.hero-banner{
  height: 196px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(39, 24, 12, .14);
}
.hero-banner img{
  transform: scale(1.015);
  transition: transform .8s ease, filter .5s ease;
}
.store-hero:hover .hero-banner img{ transform: scale(1.045); }

.hero-row{
  margin-top: -42px;
  gap: 16px;
  align-items: flex-end;
}
.hero-avatar{
  width: 92px; height: 92px;
  border-width: 4px;
  box-shadow:
    0 18px 34px rgba(0,0,0,.16),
    0 0 0 6px rgba(255,255,255,.38);
}
.hero-text h1{
  font-size: clamp(22px, 2.1vw, 28px);
}
.hero-desc{
  color:#5f6672;
}
.hero-meta{
  margin-top: 8px;
  gap: 10px;
}
.hero-meta > span,
.hero-meta > button{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
  border-radius: 999px;
  padding: 7px 12px;
}
.hero-meta .sep{
  background: transparent;
  border:none;
  box-shadow:none;
  padding:0;
}
.hero-rating{
  border: 1px solid rgba(255,255,255,.82);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,248,242,.94));
  color:#111827;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .25s ease;
}
.hero-rating:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.open-mode-badge,
.store-id-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding: 6px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,243,.9));
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 10px 18px rgba(0,0,0,.05);
}
.sub-banner{
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 12px 22px rgba(0,0,0,.05);
}

.hero-actions{
  margin-top: 10px;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 10px;
}
.hero-actions > .btn,
.hero-actions > a.btn,
.hero-actions > button.btn,
.hero-actions > label.btn{
  position: relative;
  min-height: 50px;
  border-radius: 16px;
  padding: 12px 14px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.86);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,244,.92));
  box-shadow:
    0 16px 28px rgba(0,0,0,.06),
    0 1px 0 rgba(255,255,255,.95) inset;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.hero-actions > .btn::before,
.hero-actions > a.btn::before,
.hero-actions > button.btn::before,
.hero-actions > label.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,.34), rgba(255,255,255,0));
  transform: translateX(-120%);
  transition: transform .65s ease;
}
.hero-actions > .btn:hover,
.hero-actions > a.btn:hover,
.hero-actions > button.btn:hover,
.hero-actions > label.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(0,0,0,.10);
  border-color: rgba(255,226,218,.95);
}
.hero-actions > .btn:hover::before,
.hero-actions > a.btn:hover::before,
.hero-actions > button.btn:hover::before,
.hero-actions > label.btn:hover::before{
  transform: translateX(130%);
}
.hero-actions > .btn i,
.hero-actions > a.btn i,
.hero-actions > button.btn i,
.hero-actions > label.btn i{
  width: 28px; height: 28px;
  border-radius: 50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(198,40,40,.10);
  color: var(--brand);
  box-shadow: 0 6px 14px rgba(198,40,40,.12);
}
.hero-actions > .btn.primary,
.hero-actions > a.btn.btn-pos,
.hero-actions > button.btn.primary,
.hero-actions > #btn-start-work{
  color:#fff;
  border-color: transparent;
  background: linear-gradient(135deg, #d63434 0%, #ef5350 50%, #ff7a59 100%);
  box-shadow: 0 18px 30px rgba(214,52,52,.28);
}
.hero-actions > .btn.primary i,
.hero-actions > a.btn.btn-pos i,
.hero-actions > button.btn.primary i,
.hero-actions > #btn-start-work i{
  background: rgba(255,255,255,.18);
  color:#fff;
  box-shadow:none;
}
.hero-actions > .btn.ghost,
.hero-actions > a.btn.ghost,
.hero-actions > label.btn.ghost{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,247,248,.94));
}
.hero-actions > label.btn.ghost{
  justify-content:flex-start;
}
.hero-actions > label.btn.ghost select{
  color:#111827;
  font-weight:700;
}
.next-plan-chip{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,243,.92));
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.view-toolbar,
.catbar,
.store-reviews-widget,
.product-list{
  border-radius: 20px;
  padding: 12px;
}
.view-toolbar{
  gap: 10px;
  align-items:center;
}
.view-toolbar .btnseg{
  overflow:hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,248,249,.96));
  box-shadow: inset 0 0 0 1px rgba(227,232,239,.9);
}
.view-toolbar .btnseg label{
  min-height: 42px;
  padding-inline: 14px;
}
.view-toolbar .chk{
  min-height: 42px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,244,239,.94));
  border:1px solid rgba(255,255,255,.86);
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}

.catbar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 8px;
}
.cat-chip{
  position: relative;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,248,249,.95));
  box-shadow: 0 10px 18px rgba(0,0,0,.04);
  transition: transform .16s ease, box-shadow .24s ease, background .24s ease;
}
.cat-chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.07);
}
.cat-chip.active{
  color:#fff;
  border-color: transparent;
  background: linear-gradient(135deg, #d63434, #ef5350 60%, #ff8a65);
  box-shadow: 0 16px 28px rgba(214,52,52,.26);
}

.product-list{
  overflow:hidden;
}
.product-list .grid{
  gap: 16px;
}
.card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 10px;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.88);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,247,.94));
  box-shadow:
    0 18px 34px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.98) inset;
  transition: transform .24s ease, box-shadow .28s ease, border-color .28s ease;
  animation: lkCardFloatIn .56s cubic-bezier(.2,.8,.2,1) both;
}
.card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(130deg, rgba(255,255,255,0), rgba(255,255,255,.26), rgba(255,255,255,0));
  transform: translateX(-135%);
  transition: transform .8s ease;
  pointer-events:none;
}
.card:hover{
  transform: translateY(-5px);
  border-color: rgba(255,236,228,.98);
  box-shadow:
    0 24px 40px rgba(0,0,0,.11),
    0 1px 0 rgba(255,255,255,.98) inset;
}
.card:hover::before{ transform: translateX(135%); }
.card:nth-child(2n){ animation-delay:.03s; }
.card:nth-child(3n){ animation-delay:.06s; }
.card:nth-child(4n){ animation-delay:.09s; }
@keyframes lkCardFloatIn{
  from{ opacity:0; transform: translateY(18px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
.card img.thumb{
  height: 138px;
  border-radius: 16px;
  transition: transform .7s ease, filter .4s ease;
}
.card:hover img.thumb{
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.02);
}
.card .name{
  font-size: 15px;
  line-height: 1.35;
}
.card .price{
  font-size: 15px;
}
.card .sold{
  color:#7b8290;
}
.card .actions,
.card .extras .extra-row{
  justify-content: stretch;
}
.card .actions .btn.add-btn,
.card .extras .btn.addon-toggle{
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
}
.card .actions .btn.add-btn{
  position: relative;
  background: linear-gradient(135deg, #d63434 0%, #ef5350 52%, #ff8a65 100%);
  box-shadow: 0 18px 24px rgba(214,52,52,.22);
}
.card .actions .btn.add-btn::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0));
  transform: translateX(-130%);
}
.card:hover .actions .btn.add-btn::after{
  animation: lkBtnSweep .9s ease .05s 1;
}
@keyframes lkBtnSweep{
  from{ transform: translateX(-130%); }
  to{ transform: translateX(130%); }
}
.card .extras .btn.addon-toggle{
  background: linear-gradient(180deg, rgba(255,244,240,.96), rgba(255,236,231,.92));
  border-color: rgba(214,52,52,.18);
}

.store-reviews-widget{
  padding: 14px 16px;
}
.sr-summary,
.sr-form-area,
.sr-list-wrap{
  border-radius: 16px;
}
.sr-item{
  padding: 12px 0 14px;
}

.popup{
  backdrop-filter: blur(6px);
  background: rgba(34, 24, 18, .42);
}
.popup-card.popup-wide{
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.9);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}

.fab{
  overflow:hidden;
  transition: transform .18s ease, box-shadow .25s ease, filter .25s ease;
}
.fab::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0));
  transform: translateX(-130%);
}
.fab:hover{
  transform: translateY(-2px) scale(1.03);
}
.fab:hover::before{
  animation: lkBtnSweep .9s ease 1;
}
.fab.cart{
  background: linear-gradient(135deg, #d63434 0%, #ef5350 55%, #ff8a65 100%);
  box-shadow: 0 20px 34px rgba(214,52,52,.34);
  animation: lkFabBreath 2.8s ease-in-out infinite;
}
.fab.filter{
  background: linear-gradient(135deg, #2d3748, #4b5563);
  box-shadow: 0 18px 30px rgba(31,41,55,.28);
}
.fab.cart .badge{
  box-shadow: 0 8px 16px rgba(198,40,40,.18);
  animation: lkBadgePop 2.1s ease-in-out infinite;
}
@keyframes lkFabBreath{
  0%,100%{ box-shadow: 0 20px 34px rgba(214,52,52,.30); }
  50%{ box-shadow: 0 24px 42px rgba(214,52,52,.42); }
}
@keyframes lkBadgePop{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}

#btn-more.btn.block{
  min-height: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,244,239,.94));
  box-shadow: 0 16px 28px rgba(0,0,0,.05);
}

@media (max-width: 768px){
  .store-wrap{ gap:16px; }
  .store-hero,
  .store-reviews-widget,
  .view-toolbar,
  .catbar,
  .product-list{ border-radius: 18px; }
  .hero-banner{ height: 178px; }
  .hero-row{ margin-top:-36px; gap:14px; }
  .hero-avatar{ width:84px; height:84px; }
  .hero-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions > .btn,
  .hero-actions > a.btn,
  .hero-actions > button.btn,
  .hero-actions > label.btn{ min-height: 48px; border-radius: 14px; }
  .card{ border-radius: 18px; }
  .card img.thumb{ height: 128px; }
}

@media (prefers-reduced-motion: reduce){
  .store-wrap > .store-hero,
  .store-wrap > .store-reviews-widget,
  .store-wrap > .view-toolbar,
  .store-wrap > .catbar,
  .store-wrap > .product-list,
  .card,
  .fab.cart,
  .fab.cart .badge,
  .store-hero::after{
    animation:none !important;
  }
  .card::before,
  .hero-actions > .btn::before,
  .hero-actions > a.btn::before,
  .hero-actions > button.btn::before,
  .hero-actions > label.btn::before,
  .fab::before{
    display:none;
  }
}
