.dr-add-cart-btn {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 30;
  border: none;
  background: #9c030e;
  color: #fff;
  font: 600 12px/1.2 system-ui, -apple-system, sans-serif;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(156, 3, 14, 0.25);
}

.lt-md .dr-add-cart-btn,
@media (max-width: 750px) {
  .dr-add-cart-btn {
    font-size: 11px;
    padding: 8px 12px;
    bottom: 8px;
  }
}

.dr-infinite-scroll > a .group {
  position: relative;
}

.dr-cart-badge,
.el-badge .dr-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #9c030e;
  color: #fff;
  font: 600 11px/18px system-ui, sans-serif;
  text-align: center;
}

.shop-page {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #faf9f7;
}

.shop-header {
  background: #fff;
  border-bottom: 1px solid #e8e4de;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-header a {
  color: #9c030e;
  text-decoration: none;
  font-weight: 600;
}

.shop-logo {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #1a1a1a;
}

.shop-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.shop-title {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 600;
}

.shop-sub {
  color: #666;
  margin: 0 0 24px;
}

.shop-card {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 4px;
  padding: 20px;
}

.shop-empty {
  text-align: center;
  padding: 48px 16px;
  color: #666;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: #f3f3f3;
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.cart-item .price {
  color: #9c030e;
  font-weight: 700;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.cart-summary {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}

.shop-btn {
  display: inline-block;
  border: none;
  background: #9c030e;
  color: #fff;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.shop-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.shop-btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.checkout-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  margin-bottom: 16px;
}

.checkout-form .error {
  color: #9c030e;
  font-size: 12px;
  margin: -10px 0 12px;
}

.shop-success {
  text-align: center;
  padding: 32px 16px;
}

.shop-success h2 {
  color: #0d6b3a;
}

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item .qty-controls {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
