.ios-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 100%;
  margin: 20px auto;
  font-family: "SF Pro Display", sans-serif;
  transition: transform 0.3s ease;
}
.ios-card:hover { transform: translateY(-4px); }

.ios-card-image img { width: 100%; display: block; }

.ios-card-body { padding: 20px; }
.ios-title { font-size: 22px; font-weight: 700; color: #111; }
.ios-subtitle { font-size: 15px; color: #666; margin-bottom: 8px; }
.ios-price { font-size: 18px; font-weight: 700; color: #E60012; margin-bottom: 12px; }
.ios-desc { font-size: 14px; color: #444; line-height: 1.5; }

/* Accordion */
.ios-accordion { border-top: 1px solid #eee; }
.ios-accordion-btn {
  background: #f9f9f9;
  border: none;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #007AFF;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ios-accordion-btn:hover { background: #efefef; }

.chevron {
  font-size: 18px;
  color: #007AFF;
  transition: transform 0.3s ease;
}

.ios-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ios-accordion.active .ios-accordion-panel {
  max-height: 300px;
}

.ios-accordion.active .chevron {
  transform: rotate(90deg);
}

/* Spec table */
.ios-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.ios-spec-table th {
  text-align: left;
  padding: 8px;
  color: #007AFF;
  font-weight: 600;
  width: 40%;
  background: #fff;          /* putih untuk header */
  border-bottom: 1px solid #ddd;
}

.ios-spec-table td {
  padding: 8px;
  color: #333;
  background: #f5f5f5;       /* abu terang untuk isi */
  border-bottom: 1px solid #ddd;
}
/* Footer */
.ios-card-footer {
  padding: 16px;
  border-top: 1px solid #eee;
  text-align: center;
}
.ios-btn {
  background: #007AFF;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.ios-btn:hover { background: #005FCC; }

/* Responsive */
@media (max-width: 576px) {
  .ios-card { max-width: 95%; }
  .ios-title { font-size: 20px; }
  .ios-subtitle { font-size: 14px; }
  .ios-price { font-size: 16px; }
  .ios-desc { font-size: 13px; }
  .ios-accordion-btn { font-size: 14px; padding: 12px 14px; }
}