/* Solas — Account Dashboard Redesign */

/* Hide the default WooCommerce greeting paragraphs on the Dashboard tab (replaced by the hero card below). */
body.woocommerce-dashboard .woocommerce-MyAccount-content > p {
  display: none !important;
}

/* ===== Hero card ===== */
.solas-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--solas-wash, #F4F8FF) 0%, var(--solas-wash, #F4F8FF) 100%);
  border: 1px solid var(--solas-hairline, #DCEAFB);
  border-radius: var(--solas-radius-rect, 4px);
  padding: 32px 36px;
  margin: 0 0 28px 0;
}
.solas-hero__greeting {
  min-width: 200px;
}
.solas-hero__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6B87AC;
  margin-bottom: 8px;
}
.solas-hero__title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--solas-text, #0B2349);
  margin: 0;
}
.solas-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.solas-hero__stat {
  display: flex;
  flex-direction: column;
  padding-left: 32px;
  border-left: 1px solid var(--solas-hairline, #D3E1F5);
}
.solas-hero__stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.solas-hero__stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--solas-link, #385E9B);
  line-height: 1.2;
}
.solas-hero__stat-label {
  font-size: 13px;
  color: #6B87AC;
  margin-top: 4px;
}

/* ===== Quick-link cards ===== */
.solas-ql {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.solas-ql a {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  border-radius: var(--solas-radius-rect, 4px) !important;
  padding: 22px 20px !important;
  border: 1px solid var(--solas-hairline, #E4E7EC) !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
  text-decoration: none !important;
  color: var(--solas-text, #0B2349) !important;
}
.solas-ql a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16,24,40,.10) !important;
}
.solas-ql a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: 14px;
}
.solas-ql a:nth-child(1) { background: #F3F8FF !important; }
.solas-ql a:nth-child(1)::before { content: "\1F9EA"; background: #DCEBFF; }
.solas-ql a:nth-child(2) { background: #F2FBF6 !important; }
.solas-ql a:nth-child(2)::before { content: "\1F4C4"; background: #D8F3E4; }
.solas-ql a:nth-child(3) { background: #FAF4FF !important; }
.solas-ql a:nth-child(3)::before { content: "\1F4E6"; background: #EBDDFB; }
/* gold tile tint replaced with sheet tints 15 Sep 2026 (owner: remove gold) */ .solas-ql a:nth-child(4) { background: var(--solas-wash, #F4F8FF) !important; } .solas-ql a:nth-child(4)::before { background: var(--solas-primary-100, #D3E4FF); }
.solas-ql a:nth-child(4)::before { content: "\2B50"; }

/* Soft shadow on the main content card for consistency with the hero */
.woocommerce-account .woocommerce-MyAccount-content {
  box-shadow: 0 1px 2px rgba(16,24,40,.03), 0 4px 16px rgba(16,24,40,.03) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .solas-hero { flex-direction: column; align-items: flex-start; }
  .solas-ql { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .solas-ql { grid-template-columns: 1fr !important; }
}
