:root {
    --color-primary: #9d0d16;

    --color-page-background: #f4f2ed;

    --color-surface: #ffffff;
    --color-surface-muted: #f6f2ea;
    --color-context-muted-surface: #eee6d8;

    --color-border: #ebe4d9;
    --color-border-strong: #e7e1d6;

    --color-text-strong: #171512;
    --color-text-primary: #29251f;
    --color-text-secondary: #514b42;
    --color-text-muted: #746c60;
    --color-text-subtle: #7d756a;

    --color-gray-50:  #fbfaf7;
    --color-gray-100: #f6f2ea;
    --color-gray-200: #ebe4d9;
    --color-gray-300: #d7cbb9;
    --color-gray-400: #aa9d89;
    --color-gray-500: #7f7464;
    --color-gray-600: #62594d;
    --color-gray-700: #484139;
    --color-gray-800: #29231f;
    --color-gray-900: #211d18;
    --color-gray-950: #12100e;
}

.home-header .header-gradient {
  background: linear-gradient(to top, #000000bd, color-mix(in srgb, var(--color-gray-900) 40%, transparent), rgba(0, 0, 0, 0.4));
  opacity: 0.85;
}

.purchase-flow-wrapper .flow-inner {
  background: #1a1816;
}

.purchase-flow-wrapper .content-col .label {
  color: #cdc4b6;
}

.bottom-nav-wrapper .nav-container .nav-item.active .item-icon-box, .bottom-nav-wrapper .nav-container .nav-item[data-kf-state="active"] .item-icon-box, .bottom-nav-wrapper .nav-container .nav-item[aria-current="page"] .item-icon-box {
  background-color: #1a1816;
}

.button-dark, .btn-dark-lg, .btn-secondary-full, .btn-add-address, .orders-load-more {
  --button-background: #1a1816;
}

#view-orders .orders-content .orders-list .order-accordion-card .order-body .body-inner .order-info-grid .info-box {
  background: var(--color-page-background);
}

#view-about .about-content .social-wrapper .social-item .item-left .item-icon {
  background-color: var(--color-surface-muted) !important;
  color: var(--color-text-muted) !important;
}

/* Dynamic Island Customization - Maroon (زرشک) */
.status-island-wrapper {
  --island-bg: rgba(18, 14, 15, 0.98);
  --island-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(157, 13, 22, 0.1) inset;
  --island-surface: rgba(255, 255, 255, 0.045);
  --island-surface-border: rgba(255, 255, 255, 0.06);
  --island-surface-hover: rgba(157, 13, 22, 0.14);
  --island-surface-hover-border: rgba(157, 13, 22, 0.3);
  --island-close-hover-bg: rgba(157, 13, 22, 0.25);
  --island-close-hover-border: rgba(157, 13, 22, 0.4);
  --island-today-bg: rgba(157, 13, 22, 0.22);
  --island-today-border: rgba(157, 13, 22, 0.5);
  --island-today-badge-bg: #9d0d16;
  --island-today-badge-color: #ffffff;
  --island-timeline-waiting-fill: linear-gradient(90deg, #9d0d16, #d32f2f);
  --island-timeline-waiting-glow: 0 0 10px rgba(157, 13, 22, 0.5);
  --island-timeline-waiting-text: #ef5350;
  --island-arrow-active: #ef5350;
}
