/**
 * ============================================================================
 * ASSIST STORE - Customer Account & Authentication Stylesheet (account-page.css)
 * Ultra-Luxury Obsidian & Champagne Gold Design System
 * 100% Mobile-First Responsive Architecture - Zero Horizontal Overflow Guarantee
 * ============================================================================
 */

/* ==========================================================================
   1. MAIN PAGE WRAPPER & CONTAINER
   ========================================================================== */
.account-page-main {
  padding: 1.25rem 0 3.5rem;
  min-height: 80vh;
  background: radial-gradient(circle at 50% 10%, rgba(223, 186, 104, 0.05) 0%, transparent 60%);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .account-page-main {
    padding: 2.5rem 0 4.5rem;
  }
}

/* Base reset for all dashboard children to prevent grid expansion bug */
.dashboard-wrapper,
.dashboard-grid,
.dashboard-main-panel,
.dashboard-tab-panel,
.orders-list-container,
.order-card,
.profile-banner-card,
.auth-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   2. AUTHENTICATION SECTION (LOGIN / REGISTRATION)
   ========================================================================== */
.auth-wrapper {
  max-width: 460px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(16, 28, 58, 0.92) 0%, rgba(6, 11, 24, 0.98) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: 20px;
  padding: 1.5rem 1.15rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(223, 186, 104, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

@media (min-width: 480px) {
  .auth-wrapper {
    padding: 2.25rem 2rem;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 1.35rem;
}

.auth-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(223, 186, 104, 0.2) 0%, rgba(223, 186, 104, 0.05) 100%);
  border: 1.5px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 0 25px var(--gold-glow);
}

.auth-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.auth-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Segmented Tabs Switcher */
.auth-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.35rem;
  gap: 4px;
}

.auth-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Cairo', 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 0.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  touch-action: manipulation;
}

.auth-tab-btn.active {
  background: var(--gold-gradient);
  color: #060a14;
  font-weight: 900;
  box-shadow: 0 4px 15px var(--gold-glow);
}

/* Forms & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  width: 100%;
}

.auth-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-platinum);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-input-wrap {
  position: relative;
  width: 100%;
}

.auth-input-wrap i.input-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--gold-primary);
  opacity: 0.8;
  font-size: 0.95rem;
  pointer-events: none;
}

[dir="ltr"] .auth-input-wrap i.input-icon {
  right: auto;
  left: 1rem;
}

.auth-input {
  width: 100%;
  height: 48px;
  background: rgba(5, 10, 22, 0.9);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0 2.6rem 0 1rem;
  color: var(--text-white);
  font-family: 'Cairo', 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

[dir="ltr"] .auth-input {
  padding: 0 1rem 0 2.6rem;
}

.auth-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(9, 17, 36, 0.98);
  box-shadow: 0 0 16px var(--gold-glow);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

.toggle-password-btn {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="ltr"] .toggle-password-btn {
  left: auto;
  right: 0.75rem;
}

.toggle-password-btn:hover {
  color: var(--gold-light);
}

.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-top: -0.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.remember-me-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  cursor: pointer;
}

.forgot-pass-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
}

.forgot-pass-link:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  height: 48px;
  background: var(--gold-gradient);
  color: #060a14;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px var(--gold-glow);
  touch-action: manipulation;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(223, 186, 104, 0.45);
}

.auth-submit-btn:active {
  transform: scale(0.98);
}

/* Guest Order Tracker Card */
.guest-tracker-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(223, 186, 104, 0.25);
  text-align: center;
}

.guest-tracker-box h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.guest-tracker-box p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.btn-guest-track {
  background: rgba(223, 186, 104, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0 1.25rem;
  height: 44px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-guest-track:hover {
  background: var(--gold-gradient);
  color: #060a14;
}

/* ==========================================================================
   3. AUTHENTICATED DASHBOARD - MOBILE VIP PROFILE CARD
   ========================================================================== */
.dashboard-wrapper {
  display: none;
}

.profile-banner-card {
  background: linear-gradient(150deg, rgba(16, 28, 58, 0.92) 0%, rgba(6, 11, 24, 0.98) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  padding: 1.15rem 0.95rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.profile-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

@media (min-width: 768px) {
  .profile-banner-card {
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.profile-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 768px) {
  .profile-info-group {
    width: auto;
  }
}

.profile-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #060a14;
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .profile-avatar-wrap {
    width: 68px;
    height: 68px;
    font-size: 1.75rem;
  }
}

.profile-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.profile-details h2 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .profile-details h2 {
    font-size: 1.4rem;
  }
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 100%;
}

.profile-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-badge-vip {
  background: rgba(223, 186, 104, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .profile-actions {
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

.btn-logout {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  width: 100%;
}

@media (min-width: 768px) {
  .btn-logout {
    width: auto;
  }
}

.btn-logout:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   4. DASHBOARD GRID & APP-STYLE SEGMENTED NAVIGATION
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 1.15rem;
  align-items: start;
  width: 100%;
}

@media (min-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 260px 1fr;
    gap: 1.75rem;
  }
}

/* Dashboard Segmented Nav (Sticky & Touch Scroll on Mobile) */
.dashboard-sidebar-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.4rem;
  gap: 0.4rem;
  background: linear-gradient(150deg, rgba(14, 24, 52, 0.96) 0%, rgba(6, 11, 24, 0.99) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 62px;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
}

.dashboard-sidebar-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .dashboard-sidebar-nav {
    flex-direction: column;
    position: static;
    padding: 0.75rem;
    gap: 0.4rem;
  }
}

.dash-nav-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: var(--text-platinum);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
}

@media (min-width: 992px) {
  .dash-nav-item {
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
  }
}

.dash-nav-item i {
  font-size: 0.95rem;
  color: var(--gold-light);
  width: 18px;
  text-align: center;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.dash-nav-item.active {
  background: var(--gold-gradient);
  color: #060a14;
  font-weight: 900;
  box-shadow: 0 3px 12px var(--gold-glow);
}

.dash-nav-item.active i {
  color: #060a14;
}

.dash-nav-badge {
  margin-inline-start: auto;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  background: #060a14;
  color: var(--gold-light);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.dash-nav-item.active .dash-nav-badge {
  background: #060a14;
  color: var(--gold-light);
}

/* Dashboard Main Panel Container */
.dashboard-main-panel {
  background: linear-gradient(150deg, rgba(14, 24, 52, 0.75) 0%, rgba(6, 11, 24, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dashboard-main-panel {
    padding: 1.5rem;
    border-radius: 18px;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .panel-title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   5. ORDERS LIST & ZERO-OVERFLOW MOBILE TRACKING CARDS
   ========================================================================== */
.orders-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.order-card {
  background: rgba(5, 10, 22, 0.9);
  border: 1.5px solid var(--gold-border);
  border-radius: 14px;
  padding: 0.95rem 0.85rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 768px) {
  .order-card {
    padding: 1.25rem;
  }
}

.order-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 186, 104, 0.1);
}

/* Header with Responsive Stack */
.order-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(223, 186, 104, 0.25);
  width: 100%;
}

@media (min-width: 520px) {
  .order-card-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.order-id-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 520px) {
  .order-id-meta {
    width: auto;
  }
}

.order-id-highlight {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.order-date-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(223, 186, 104, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  max-width: 100%;
  box-sizing: border-box;
}

.order-status-badge.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Continuous Linear Stepper Progress Bar - 100% Contained */
.order-tracking-stepper-wrap {
  position: relative;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.track-progress-line {
  position: absolute;
  top: 13px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  z-index: 1;
}

.track-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.4s ease;
}

.order-tracking-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
  width: 100%;
  gap: 2px;
}

.track-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  min-width: 0;
  padding: 0 2px;
}

.track-step-dot {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #080e1c;
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  transition: all 0.3s ease;
}

.track-step-item.active .track-step-dot {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #060a14;
  box-shadow: 0 0 15px var(--gold-glow);
  animation: pulseStep 2s infinite;
}

@keyframes pulseStep {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 186, 104, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(223, 186, 104, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 186, 104, 0); }
}

.track-step-item.completed .track-step-dot {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #ffffff;
}

.track-step-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  max-width: 100%;
}

@media (min-width: 480px) {
  .track-step-label {
    font-size: 0.72rem;
  }
}

.track-step-item.active .track-step-label {
  color: var(--gold-light);
  font-weight: 800;
}

.track-step-item.completed .track-step-label {
  color: #ffffff;
}

/* Order Items Mini List */
.order-items-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
  width: 100%;
}

.order-item-mini-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.order-item-mini-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-card);
  object-fit: cover;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.order-item-mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}

.order-item-mini-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.order-item-mini-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.order-item-mini-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Order Card Footer with Mobile Stack */
.order-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

@media (min-width: 520px) {
  .order-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.order-total-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.82rem;
  color: var(--text-platinum);
}

@media (min-width: 520px) {
  .order-total-highlight {
    width: auto;
    justify-content: flex-start;
  }
}

.order-total-highlight strong {
  font-family: 'Outfit', 'Cairo', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-inline-start: 0.35rem;
}

.order-actions-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 520px) {
  .order-actions-group {
    display: flex;
    width: auto;
  }
}

.btn-order-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-order-wa:hover {
  background: #25d366;
  color: #ffffff;
}

.btn-reorder {
  background: var(--gold-gradient);
  color: #060a14;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--gold-glow);
  width: 100%;
  box-sizing: border-box;
}

.btn-reorder:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 186, 104, 0.4);
}

/* ==========================================================================
   6. ADDRESSES & SETTINGS PANELS
   ========================================================================== */
.address-card-box {
  background: rgba(5, 10, 22, 0.85);
  border: 1.5px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.15rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 520px) {
  .address-card-box {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.address-content h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.address-content p {
  font-size: 0.82rem;
  color: var(--text-platinum);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.address-phone {
  font-size: 0.78rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   7. LUXURY MODALS (OTP & PASSWORD RECOVERY)
   ========================================================================== */
.assist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 0.85rem;
  animation: fadeInModal 0.25s ease-out forwards;
}

.assist-modal-overlay.active,
.assist-modal-overlay[style*="display: flex"],
.assist-modal-overlay[style*="display:flex"],
.assist-modal-overlay[style*="display: block"] {
  display: flex !important;
}

.assist-modal-overlay[style*="display: none"],
.assist-modal-overlay[style*="display:none"] {
  display: none !important;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.assist-modal-box {
  background: linear-gradient(160deg, rgba(16, 28, 58, 0.98) 0%, rgba(6, 11, 24, 0.99) 100%) !important;
  border: 1.5px solid var(--gold-border) !important;
  border-radius: 20px !important;
  padding: 1.5rem 1.15rem !important;
  max-width: 440px !important;
  width: 100% !important;
  text-align: center !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(223, 186, 104, 0.15) !important;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .assist-modal-box {
    padding: 2.25rem 2rem !important;
  }
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.otp-icon-wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(223, 186, 104, 0.2) 0%, rgba(223, 186, 104, 0.05) 100%) !important;
  border: 1.5px solid var(--gold-border) !important;
  color: var(--gold-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  margin: 0 auto 0.85rem !important;
  box-shadow: 0 0 20px var(--gold-glow) !important;
}

.assist-modal-box h3 {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: var(--text-white) !important;
  margin-bottom: 0.45rem !important;
}

.otp-code-input {
  width: 100% !important;
  height: 50px !important;
  background: rgba(3, 7, 18, 0.95) !important;
  border: 2px solid var(--gold-border) !important;
  border-radius: 12px !important;
  padding: 0 0.5rem !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.25rem !important;
  text-align: center !important;
  color: var(--gold-light) !important;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.2s ease !important;
  font-family: monospace, sans-serif !important;
  box-sizing: border-box;
}

.otp-code-input:focus {
  outline: none !important;
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 20px var(--gold-glow), inset 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

.modal-close-icon {
  position: absolute !important;
  top: 0.85rem !important;
  left: 0.85rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.modal-close-icon:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}
