import SwiftUI struct ServiceTimeRow: View { let day: String let time: String let service: String @Environment(\.horizontalSizeClass) private var horizontalSizeClass var body: some View { HStack { VStack(alignment: .leading, spacing: 2) { Text(day) .font(.caption) .foregroundStyle(.secondary) .textCase(.uppercase) Text(time) .font(.system(size: horizontalSizeClass == .regular ? 18 : 16, weight: .semibold)) .foregroundStyle(Color(hex: "fb8b23")) } Spacer() Text(service) .font(.system(size: horizontalSizeClass == .regular ? 16 : 14, weight: .medium)) .foregroundStyle(.primary) } .padding(.vertical, 4) } }