:root {
  --primary: #1d4ed8;
  --primary-soft: #3b82f6;
  --background: #f3f6fb;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: var(--background);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-body.is-loading {
  visibility: hidden;
}

.app-body {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  background: var(--background);
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-header {
  padding: 1.25rem 1.25rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.app-main {
  padding: 1rem 1.25rem 5rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto 1.75rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gradient-header {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #e5edff;
  box-shadow: var(--shadow-subtle);
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-header-bottom {
  margin-top: 1.1rem;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(219, 234, 254, 0.9);
  margin: 0 0 0.15rem;
}

.location-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.22);
  color: #e5edff;
  font-size: 0.8rem;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.location-selector .chevron {
  font-size: 0.8rem;
}

.avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.5rem 0.15rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.6);
  background: rgba(15, 23, 42, 0.18);
  color: #e5edff;
  cursor: pointer;
}

.avatar-initial {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(191, 219, 254, 0.22);
  color: #0f172a;
}

.avatar-name {
  font-size: 0.75rem;
  font-weight: 500;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(191, 219, 254, 0.25);
}

.search-wrapper input {
  border: 0;
  outline: 0;
  flex: 1;
  background: transparent;
  color: #e5edff;
  font-size: 0.85rem;
}

.search-wrapper input::placeholder {
  color: rgba(219, 234, 254, 0.75);
}

.search-icon {
  font-size: 0.85rem;
}

.chip-row {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease,
    box-shadow 0.12s ease, transform 0.06s ease;
}

.chip:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.chip-active {
  background: #1d4ed8;
  color: #eff6ff;
  border-color: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}

.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.shop-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.18);
  cursor: pointer;
  display: flex;
  gap: 0.9rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(37, 99, 235, 0.4);
}

.shop-image {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.shop-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.shop-name {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.shop-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.shop-meta-pill {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.36);
}

.shop-status {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.shop-status-open {
  background: #ecfdf3;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.shop-status-closed {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.shop-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.shop-header-main h1 {
  font-size: 1.1rem;
  margin: 0 0 0.15rem;
}

.shop-meta {
  font-size: 0.8rem;
  color: rgba(219, 234, 254, 0.9);
}

.back-button {
  border-radius: 999px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(191, 219, 254, 0.6);
  background: rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e5edff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.product-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.product-footer {
  margin-top: 0.2rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.14s ease, box-shadow 0.14s ease,
    transform 0.06s ease, border-color 0.14s ease, color 0.14s ease;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #eff6ff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: #1f2937;
  color: #f9fafb;
  border-color: #111827;
}

.btn-secondary:hover {
  background: #111827;
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(191, 219, 254, 0.5);
  border-top-color: #eff6ff;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transform: scale(0.75);
}

.btn.is-loading .btn-spinner {
  opacity: 1;
}

.btn.is-loading span:first-child {
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.message-container {
  margin-bottom: 0.8rem;
}

.message {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.message-icon {
  font-size: 0.9rem;
}

.message-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.message-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.bottom-nav {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0.4rem 0.9rem env(safe-area-inset-bottom);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  z-index: 20;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  position: relative;
}

.bottom-nav-item span:first-child {
  font-size: 1rem;
}

.bottom-nav-item-active {
  color: var(--primary);
  font-weight: 600;
}

.nav-badge {
  position: absolute;
  top: 0.1rem;
  right: 30%;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
}

.nav-badge-inline {
  position: static;
  margin-left: auto;
  transform: translateY(-1px);
}

.sidebar {
  display: none;
  width: 260px;
  padding: 1.4rem 1.4rem 1.4rem 1.3rem;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  background: #f9fafb;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}

.sidebar-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #eff6ff;
  font-size: 0.95rem;
}

.sidebar-brand-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.sidebar-link:hover {
  background: #eff6ff;
  color: var(--text-main);
}

.sidebar-link-active {
  background: #1d4ed8;
  color: #eff6ff;
}

.sidebar-link-icon {
  font-size: 1rem;
}

.auth-body {
  background: radial-gradient(circle at top left, #dbeafe 0, #f3f6fb 42%, #eef2ff 100%);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.auth-hero {
  max-width: 460px;
  margin: 0 auto 1.4rem;
  text-align: left;
}

.auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(129, 140, 248, 0.4);
  margin-bottom: 0.5rem;
}

.auth-hero-title {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.2rem;
}

.auth-hero-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.auth-main {
  max-width: 460px;
  margin: 0 auto;
}

.auth-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.auth-card-header h2 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.auth-card-header p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #111827;
}

.form-field input {
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.14s ease, box-shadow 0.14s ease,
    background 0.14s ease;
}

.form-field input:focus {
  border-color: #1d4ed8;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.auth-switch {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}

.auth-switch a {
  color: #1d4ed8;
  font-weight: 500;
}

.auth-meta {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.cart-header h1,
.profile-header h1 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.cart-main,
.profile-main,
.shop-main {
  padding-bottom: 5.5rem;
}

.cart-empty {
  text-align: center;
  padding: 2.3rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff, #fefce8);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.cart-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.cart-empty h2 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.cart-empty p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cart-content {
  display: none;
  gap: 1rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cart-item {
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cart-item.is-updated {
  animation: cartPulse 180ms ease-in-out;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.cart-summary .btn + .btn {
  margin-top: 0.55rem;
}

.toast-container {
  position: fixed;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast-in {
  opacity: 1;
  transform: translateY(0);
}

.toast-out {
  opacity: 0;
  transform: translateY(-10px);
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.9rem;
}

.toast-text {
  font-size: 0.86rem;
  color: #0f172a;
  line-height: 1.35;
}

.toast-success .toast-icon {
  background: #ecfdf3;
  color: #15803d;
}

.toast-error .toast-icon {
  background: #fef2f2;
  color: #b91c1c;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.order-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-subtle);
  padding: 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-total {
  font-weight: 600;
  color: var(--primary);
}

.order-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-badge {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-pending {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.status-success {
  background: #ecfdf3;
  color: #15803d;
  border-color: #bbf7d0;
}

.status-danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.status-neutral {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}

.routine-card {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.15rem 1.05rem;
}

.routine-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.routine-title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.routine-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.routine-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.7);
  padding-top: 0.7rem;
}

.routine-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0.55rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.routine-item-name {
  font-size: 0.88rem;
  font-weight: 500;
}

.routine-item-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cart-item-main {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
}

.quantity-btn {
  border-radius: 999px;
  width: 24px;
  height: 24px;
  border: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.quantity-value {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-item-remove {
  border: 0;
  background: transparent;
  color: #b91c1c;
  font-size: 0.8rem;
  cursor: pointer;
}

.cart-summary {
  margin-top: 1rem;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-subtle);
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.cart-summary-total {
  font-weight: 600;
  border-top: 1px dashed rgba(148, 163, 184, 0.8);
  padding-top: 0.4rem;
  margin-top: 0.4rem;
}

.profile-card {
  max-width: 480px;
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: var(--shadow-soft);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eff6ff;
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-email {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-details {
  border-top: 1px dashed rgba(148, 163, 184, 0.7);
  padding-top: 0.75rem;
  margin-bottom: 0.85rem;
}

.profile-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.profile-detail-label {
  color: var(--text-muted);
}

.profile-detail-value {
  font-weight: 500;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }

  .bottom-nav {
    display: none;
  }

  .app-main {
    padding: 1.4rem 2rem 2rem;
  }

  .app-header {
    padding: 1.3rem 2rem 1.1rem;
  }

  .section {
    margin-bottom: 2rem;
  }

  .cart-content {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    align-items: flex-start;
  }

  .cart-summary {
    position: sticky;
    top: 1.4rem;
  }
}

