.mala-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.mala-product-card {
  background: #ffffff;
  border: 1px solid var(--th-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--th-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.mala-product-media { background: #f8fafc; border-bottom: 1px solid var(--th-border); display: block; }
.mala-product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; display: block; }
.mala-product-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mala-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--th-text-muted); font-size: 13px; font-weight: 700; }
.mala-product-meta span:first-child { color: var(--th-blue); }
.mala-product-body h3 { color: var(--th-text-dark); font-size: 20px; line-height: 1.28; margin: 0; }
.mala-product-body p { color: var(--th-text-body); font-size: 14px; line-height: 1.65; margin: 0; }
.mala-product-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--th-border); }
.mala-product-price strong { color: var(--th-text-dark); font-size: 18px; white-space: nowrap; }
.mala-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mala-product-actions a, .mala-inline-actions a {
  text-align: center;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
  border: 1px solid var(--th-border);
  color: var(--th-text-dark);
  background: #ffffff;
}
.mala-product-actions a:last-child, .mala-inline-actions a:first-child { background: var(--th-blue); border-color: var(--th-blue); color: #ffffff; }
.mala-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
  gap: 38px;
  align-items: center;
}
.mala-detail-media { background: #ffffff; border: 1px solid var(--th-border); border-radius: 18px; box-shadow: var(--th-shadow-hover); overflow: hidden; }
.mala-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 24px; display: block; background: #f8fafc; }
.mala-buybox { background: #ffffff; border: 1px solid var(--th-border); border-radius: 16px; padding: 26px; box-shadow: var(--th-shadow); }
.mala-buybox h2 { color: var(--th-text-dark); font-size: 24px; margin-bottom: 12px; }
.mala-spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.mala-spec-list div { background: #f8fafc; border: 1px solid var(--th-border); border-radius: 10px; padding: 14px; }
.mala-spec-list span { display: block; color: var(--th-text-muted); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.mala-spec-list strong { color: var(--th-text-dark); font-size: 15px; }
.mala-inline-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 20px; }
.mala-feature-list { margin: 14px 0 0; padding-left: 20px; color: var(--th-text-body); }
.mala-feature-list li { margin: 8px 0; }
@media (max-width: 820px) {
  .mala-detail-hero { grid-template-columns: 1fr; gap: 24px; }
  .mala-product-price { align-items: flex-start; flex-direction: column; }
  .mala-product-actions { grid-template-columns: 1fr; width: 100%; }
}
