.shop-hero { padding: 36px 0 12px; }
.shop-hero h1 { margin: 0 0 8px; font-size: 36px; }
.shop-block { padding: 8px 0 28px; border-top: 1px solid var(--line); }
.shop-block:first-of-type { border-top: 0; }
.shop-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
}
.shop-block-head h2 { margin: 0 0 4px; font-size: 24px; }
.shop-block-head p { margin: 0; color: var(--muted); font-size: 14px; }
.shop-block-head .block-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
}
.shop-card h3 { display: flex; align-items: center; gap: 8px; }
.shop-card .plug-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 12px 0 48px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}
.shop-card:hover { box-shadow: 0 10px 28px rgba(11,28,27,.08); }
.shop-card .pic-rail {
  position: relative;
  width: 100%;
  height: 180px;
  background: #f6f8f8;
}
.shop-card .rail {
  width: 100%;
  height: 100%;
}
.shop-card .slide {
  display: none;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 16px 36px 26px;
  position: relative;
}
.shop-card .slide.on { display: flex; }
.shop-card .slide img {
  display: block;
  width: 200px;
  height: 132px;
  max-width: none;
  object-fit: contain;
}
.shop-card .slide.empty {
  border: 0;
}
.shop-card .slot-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  height: 110px;
  border: 1px dashed #b7c7c5;
  border-radius: 10px;
  color: #7a8886;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  background: #fff;
}
.shop-card .slot-lab {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #5d5a55;
  background: rgba(255,255,255,.88);
  padding: 2px 6px;
  border-radius: 6px;
}
.shop-card .rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 22px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 16px;
  line-height: 28px;
  padding: 0;
}
.shop-card .rail-btn.prev { left: 4px; }
.shop-card .rail-btn.next { right: 4px; }
.shop-card .rail-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.shop-card .rail-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5d2d0;
}
.shop-card .rail-dots i.on { background: #0f9d96; }
.shop-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shop-card .cat { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.shop-card h3 { margin: 0; font-size: 15px; }
.shop-card h3 a:hover { color: var(--accent-ink); }
.shop-card .sum { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.shop-card .shop-row {
  display: grid;
  grid-template-columns: 88px 64px auto;
  align-items: center;
  column-gap: 8px;
  margin-top: auto;
  min-height: 36px;
}
.shop-card .shop-detail-btn {
  padding: 7px 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1d;
}
.shop-card .shop-detail-btn:hover { background: #f3f8f7; }
.shop-card .shop-buy-btn {
  padding: 7px 0;
  text-align: center;
  border-radius: 8px;
  background: #ffd814;
  font-size: 13px;
  font-weight: 800;
  color: #111;
}
.shop-card .shop-buy-btn:hover { background: #f7ca00; }
.shop-card .shop-row.official { grid-template-columns: 1fr; }
.shop-card .shop-ask {
  font-size: 20px;
  font-weight: 800;
  color: #b12704;
  line-height: 1;
  white-space: nowrap;
}
.shop-card .unit { font-size: 12px; color: var(--muted); font-weight: 600; }
.shop-detail {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
  padding: 28px 0 56px;
}
.shop-info {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
}
.shop-info h2 { margin: 0 0 10px; font-size: 20px; }
.shop-info ul { margin: 0; padding-left: 18px; }
.shop-info li { margin: 0 0 8px; color: var(--muted); }
.shop-gallery.pic-rail { height: auto; background: transparent; }
.shop-gallery .d-rail {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6f8f8;
  position: relative;
}
.shop-gallery .d-slide {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 16px 40px 28px;
  position: relative;
}
.shop-gallery .d-slide.on { display: flex; }
.shop-gallery .d-slide img {
  display: block;
  margin: 0 auto;
  width: min(420px, 86%);
  height: 260px;
  object-fit: contain;
}
.shop-gallery .d-slide .slot-ph {
  width: min(420px, 100%);
  height: 200px;
}
.shop-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.shop-thumbs .thumb {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.shop-thumbs .thumb.on { border-color: var(--accent); background: #e4f1ef; }
.shop-buy-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--cream);
}
.shop-buy-box h1 { margin: 0 0 8px; font-size: 28px; }
.shop-buy-box .price { font-size: 32px; font-weight: 800; }
.shop-buy-box label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 4px; }
.shop-buy-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.shop-hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.shop-modal {
  position: fixed; inset: 0; background: rgba(11,28,27,.45);
  display: none; align-items: center; justify-content: center; z-index: 80; padding: 16px;
}
.shop-modal.open { display: flex; }
.shop-modal .box { width: min(400px, 100%); background: #fff; border-radius: 18px; padding: 22px; }
.shop-modal img.qr { width: 240px; height: 240px; margin: 12px auto; }
.shop-ok { display: none; padding: 12px; border-radius: 12px; background: #e7f3ec; color: #0a6f6a; font-weight: 700; }
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-detail { max-width: 100%; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; }
}
