.ardmd,
.ardmd * { box-sizing: border-box; }

.ardmd {
  --ardmd-text: #111111;
  --ardmd-muted: #6b7280;
  --ardmd-border: #e7ebf1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 28px;
  color: var(--ardmd-text);
}

.ardmd__section { margin-bottom: 28px; }
.ardmd__section--featured { margin-bottom: 30px; }

.ardmd-kicker {
  margin-bottom: 6px;
  color: var(--ardmd-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ardmd-title,
.ardmd-section-title {
  margin: 0;
  color: var(--ardmd-text);
  letter-spacing: -.02em;
}

.ardmd-title { font-size: 28px; line-height: 1.04; font-weight: 800; }
.ardmd-section-title { font-size: 22px; line-height: 1.08; font-weight: 800; }

.ardmd-copy,
.ardmd-section-copy,
.ardmd-card__copy,
.ardmd-order__meta,
.ardmd-empty {
  color: var(--ardmd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ardmd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ardmd-header__utilities { display: flex; flex-wrap: wrap; gap: 10px; }

.ardmd-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--ardmd-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ardmd-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.ardmd-section-head { margin-bottom: 14px; }

.ardmd-grid { display: grid; gap: 14px; }
.ardmd-grid--quick-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ardmd-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ardmd-card {
  padding: 18px;
  border: 1px solid var(--ardmd-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  box-shadow: 0 8px 18px rgba(17,17,17,.03);
}

.ardmd-card__title {
  margin: 0 0 8px;
  color: var(--ardmd-text);
  font-size: 18px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ardmd-card__copy { margin-bottom: 12px; }

.ardmd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ardmd-button--primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 10px 20px rgba(17,17,17,.10);
}

.ardmd-button--secondary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #dde4eb;
}

.ardmd-orders { display: grid; gap: 12px; }

.ardmd-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--ardmd-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(17,17,17,.03);
}

.ardmd-order__number {
  margin-bottom: 4px;
  color: var(--ardmd-text);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
}

.ardmd-link-list { display: grid; gap: 8px; }

.ardmd-inline-link {
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.ardmd-section-foot { margin-top: 12px; }

.ardmd-empty {
  padding: 18px;
  border: 1px solid var(--ardmd-border);
  border-radius: 18px;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .ardmd-grid--quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ardmd { padding: 0 14px 24px; }
  .ardmd__section { margin-bottom: 24px; }
  .ardmd-header { flex-direction: column; gap: 14px; }
  .ardmd-grid--quick-actions,
  .ardmd-grid--two { grid-template-columns: 1fr; }
  .ardmd-order { flex-direction: column; align-items: flex-start; }
}


/* v1.0.1 streamlined dashboard */
.ardmd-header__utilities {
  margin-left: auto;
}

.ardmd-cart-pill {
  text-decoration: none !important;
}

.ardmd-cart-pill .ardcui-cart-pill__count {
  display: inline-flex;
}

@media (max-width: 767px) {
  .ardmd-header__utilities {
    margin-left: 0;
  }
}


/* v1.0.2 remove redundant dashboard catalog intro */
.ardmd__section--catalog {
  margin-top: 2px;
}
