.item-hero {
  position: relative;
  padding: 40px 0 60px;
}

.item-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero) center/cover no-repeat;
  filter: blur(18px);
  opacity: 0.35;
  z-index: 0;
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.96) 100%);
  z-index: 1;
}

.item-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  padding: 16px;
}

.item-shell[data-model="template2"] .item-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.item-preview,
.item-purchase {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 16px;
}

.preview-cover img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.preview-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-title {
  font-size: 22px;
  font-weight: 900;
}

.item-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.item-bio {
  display: flex;
  gap: 16px;
  color: var(--mypro-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, rgba(255, 111, 169, 0.12), rgba(125, 160, 255, 0.12));
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 111, 169, 0.16);
}

.price-label {
  font-weight: 800;
  color: var(--mypro-muted);
}

.abacus .price {
  font-size: 28px;
  font-weight: 900;
  color: var(--mypro-primary);
}

.stock-line {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stock-pill {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(125, 160, 255, 0.12);
  color: #4356d9;
  font-weight: 700;
}

.item-purchase .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-purchase label {
  font-weight: 800;
}

.item-purchase .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
}

.sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sku {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f7fb;
  color: var(--mypro-text);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.sku.is-primary {
  background: linear-gradient(120deg, var(--mypro-primary), var(--mypro-primary-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 111, 169, 0.25);
}

.badge-money {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 2px 6px;
}

.optional-card {
  border: 1px dashed rgba(255, 111, 169, 0.4);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--mypro-primary);
  font-weight: 700;
}

.qty-group {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.qty-group button {
  background: #f7f7fb;
  border: none;
  height: 42px;
  font-weight: 900;
  font-size: 18px;
}

.qty-group input {
  height: 42px;
  border: none;
  text-align: center;
  font-weight: 800;
}

.captcha-group {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
  align-items: center;
}

.captcha-img {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-list .pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7ff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.pay-list .pay img {
  width: 20px;
  height: 20px;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill-btn {
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(255, 111, 169, 0.16), rgba(125, 160, 255, 0.14));
  color: var(--mypro-text);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 111, 169, 0.2);
}

.pill-btn.outline {
  background: #fff;
}

.shop-notice {
  padding: 14px;
}

.notice-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.notice-body {
  color: var(--mypro-text);
  line-height: 1.6;
}

.item-detail {
  padding: 16px;
}

.detail-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.detail-body {
  line-height: 1.6;
  color: var(--mypro-text);
}

.item-grid .badge {
  font-weight: 800;
}

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

  .preview-cover img {
    height: 200px;
  }
}
