/* Page shell */
.customer-dash{
  --customer-nav-height: 86px;
  --customer-sidebar-width: 300px;
  padding: 0;
  background: #f3f6fb;
  height: calc(100dvh - var(--customer-nav-height));
  overflow: hidden;
}

.customer-dash-container{
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.customer-dash-row{
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  height: calc(100dvh - var(--customer-nav-height));
  min-height: 0;
}

.customer-dash .dash-card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.customer-dash .dash-card--side{
  min-height: calc(100dvh - var(--customer-nav-height));
  position: sticky;
  top: 0;
  height: calc(100dvh - var(--customer-nav-height));
  max-height: calc(100dvh - var(--customer-nav-height));
  overflow: hidden;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  padding: 18px;
}

.customer-dash .dash-card--main{
  height: calc(100dvh - var(--customer-nav-height));
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 22px;
}

@media (min-width: 992px){
  body.customer-dashboard-lock{
    overflow: hidden;
  }

  .customer-dash-row > .col-lg-3{
    width: var(--customer-sidebar-width);
    flex: 0 0 var(--customer-sidebar-width);
  }

  .customer-dash-row > .col-lg-9{
    width: calc(100% - var(--customer-sidebar-width));
    flex: 0 0 calc(100% - var(--customer-sidebar-width));
    margin-left: var(--customer-sidebar-width);
  }

  .customer-dash .dash-card--side{
    position: fixed;
    left: 0;
    top: var(--customer-nav-height);
    bottom: 0;
    width: var(--customer-sidebar-width);
    height: calc(100dvh - var(--customer-nav-height));
    max-height: calc(100dvh - var(--customer-nav-height));
    z-index: 20;
  }
}

@media (max-width: 991px){
  .customer-dash{
    height: auto;
    min-height: calc(100vh - var(--customer-nav-height));
    overflow: visible;
  }

  .customer-dash-row{
    height: auto;
    min-height: auto;
  }

  .customer-dash .dash-card--side,
  .customer-dash .dash-card--main{
    min-height: auto;
    position: static;
    max-height: none;
    height: auto;
    overflow: visible;
    border-right: 0;
    border-left: 0;
    padding: 16px;
  }

  .dash-side{
    height:auto;
    max-height:none;
    overflow:visible;
  }
}

/* Sidebar */
.dash-side{
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
  max-height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.dash-side::-webkit-scrollbar{
  display:none;
}

@media (max-width: 991px){
  .dash-side{
    height:auto;
    max-height:none;
    overflow:visible;
  }
}

.dash-user{
  display:flex;
  gap:12px;
  align-items:center;
  padding-bottom:14px;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.dash-avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#eef2ff;
  color:#1e40af;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.dash-user-name{ font-weight:800; line-height:1.1; }
.dash-user-email{ font-size:12px; color:#6b7280; }

.dash-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-bottom:18px;
}

.dash-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:#111827;
  background:transparent;
}

.dash-link i{
  width:18px;
  text-align:center;
  opacity:.75;
}

.dash-link:hover{ background:#f3f4f6; }

.dash-link.active{
  background:#2563eb;
  color:#fff;
}

.dash-link.active i{ opacity:1; }

.dash-badge{
  margin-left:auto;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding:3px 8px;
  border-radius:999px;
}

.dash-logout{
  margin-top:6px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.06);
}

.dash-logout-btn{
  width:100%;
  border:1px solid rgba(239,68,68,.35);
  background:transparent;
  color:#b91c1c;
  padding:10px 12px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:800;
}


.dash-logout-btn:hover{
  background:rgba(239,68,68,.06);
}

/* =========================================================
   CUSTOMER DASHBOARD – ORDERS PAGE
   Used by: customerdashboard/orders.blade.php
========================================================= */

/* Order card wrapper */
.order-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

/* Top section */
.order-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.order-id {
  font-size: 14px;
  font-weight: 600;
}

/* Meta row */
.order-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.order-meta i {
  opacity: .7;
  margin-right: 4px;
}

.dot {
  opacity: .5;
}

/* Right column */
.order-right {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Status pill */
.pill {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.pill-delivered {
  background: #fef3c7;
  color: #92400e;
}

.pill-paid {
  background: #dcfce7;
  color: #166534;
}

.pill-pending {
  background: #e5e7eb;
  color: #374151;
}

.pill-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* Total amount */
.order-total {
  text-align: right;
}

.order-total .label {
  font-size: 11px;
  color: #6b7280;
}

.order-total .value {
  font-size: 18px;
  font-weight: 900;
}

/* Items list */
.order-items {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.06);
}

.order-item-title {
  font-size: 13px;
  font-weight: 800;
}

.order-item-sub {
  font-size: 12px;
  color: #6b7280;
}

/* View button */
.order-card .btn {
  border-radius: 10px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
  .order-top {
    flex-direction: column;
  }

  .order-right {
    justify-content: space-between;
  }

  .order-total {
    text-align: left;
  }
}
/* Scroll area inside dashboard content */
.orders-scroll{
  max-height: 68vh;   /* scroll in content area */
  overflow: auto;
  padding-right: 6px; /* avoids scrollbar overlay */
}

/* nicer scrollbar (optional) */
.orders-scroll::-webkit-scrollbar{ width: 10px; }
.orders-scroll::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}
.orders-scroll::-webkit-scrollbar-track{ background: transparent; }

/* Card shades by status */
.order-card--delivered{
  background: #fffaf0; /* warm */
  border-color: rgba(146, 64, 14, .18);
}
.order-card--paid{
  background: #f6fffb; /* greenish */
  border-color: rgba(22, 101, 52, .18);
}
.order-card--pending{
  background: #f8fafc; /* neutral */
  border-color: rgba(55, 65, 81, .16);
}
.order-card--cancelled{
  background: #fff5f5; /* red tint */
  border-color: rgba(153, 27, 27, .18);
}

/* Pagination arrows too big fix (safe) */
.pagination .page-link{
  font-size: 14px !important;
  line-height: 1.2 !important;
  padding: .35rem .6rem !important;
}

/* Dashboard pagination color fix */
.customer-dash .pagination .page-link{
  color: #2563eb !important;        /* blue */
  border-color: rgba(0,0,0,.12);
}

.customer-dash .pagination .page-item.active .page-link{
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

.customer-dash .pagination .page-item.disabled .page-link{
  color: #9ca3af !important;
}

/* remove weird focus glow if any */
.customer-dash .pagination .page-link:focus{
  box-shadow: none !important;
}

/* =========================================================
   CUSTOMER DASHBOARD - ORDERS TABLE VIEW
========================================================= */

.orders-page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.orders-eyebrow{
  color:#2563eb;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.orders-title{
  margin:2px 0 4px;
  color:#0f172a;
  font-size:28px;
  font-weight:900;
}

.orders-subtitle{
  margin:0;
  color:#64748b;
  font-size:14px;
}

.orders-new-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(37,99,235,.24);
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:800;
  box-shadow:0 12px 24px rgba(37,99,235,.18);
  white-space:nowrap;
}

.orders-new-btn:hover{
  background:#1d4ed8;
  color:#fff;
}

.orders-filter-panel{
  background:linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border:1px solid rgba(37,99,235,.12);
  border-radius:16px;
  box-shadow:0 16px 36px rgba(15,23,42,.07);
  margin-bottom:18px;
  padding:14px;
}

.orders-search-wrap{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  background:#fff;
  border:1px solid rgba(37,99,235,.18);
  border-radius:14px;
  overflow:hidden;
}

.orders-search-wrap > i{
  position:absolute;
  left:15px;
  color:#2563eb;
  font-size:15px;
  pointer-events:none;
}

.orders-search-wrap input{
  width:100%;
  min-height:46px;
  border:0;
  outline:0;
  background:transparent;
  color:#0f172a;
  font-size:14px;
  font-weight:700;
  padding:11px 46px 11px 42px;
}

.orders-search-wrap input::placeholder{
  color:#94a3b8;
  font-weight:600;
}

.orders-search-clear{
  position:absolute;
  right:10px;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#64748b;
  background:#f1f5f9;
  text-decoration:none;
}

.orders-search-clear:hover{
  background:#fee2e2;
  color:#991b1b;
}

.orders-filter-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(130px, 1fr));
  gap:10px;
  margin-top:12px;
}

.orders-filter-field{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin:0;
}

.orders-filter-field span{
  color:#1e3a8a;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.orders-filter-field select{
  width:100%;
  min-height:40px;
  border:1px solid rgba(37,99,235,.16);
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-size:13px;
  font-weight:800;
  outline:0;
  padding:8px 10px;
}

.orders-filter-field select:focus,
.orders-search-wrap:focus-within{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

.orders-filter-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.orders-filter-btn,
.orders-reset-btn{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:12px;
  padding:8px 13px;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.orders-filter-btn{
  border:1px solid #2563eb;
  background:#2563eb;
  color:#fff;
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}

.orders-filter-btn:hover{
  background:#1d4ed8;
}

.orders-reset-btn{
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#475569;
}

.orders-reset-btn:hover{
  color:#0f172a;
  background:#f8fafc;
}

.orders-filter-count{
  margin-left:auto;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.orders-table-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  box-shadow:0 16px 36px rgba(15,23,42,.07);
  overflow:hidden;
}

.orders-table-scroll{
  width:100%;
  overflow:auto;
}

.orders-table{
  width:100%;
  min-width:1080px;
  border-collapse:separate;
  border-spacing:0;
}

.orders-table th{
  background:#eff6ff;
  color:#1e3a8a;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:13px 14px;
  border-bottom:1px solid rgba(37,99,235,.14);
  white-space:nowrap;
}

.orders-table td{
  padding:14px;
  vertical-align:middle;
  border-bottom:1px solid rgba(15,23,42,.08);
  color:#0f172a;
  font-size:14px;
}

.orders-table tbody tr:last-child td{
  border-bottom:0;
}

.orders-row:hover td{
  background:#f8fbff;
}

.orders-ref{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
  white-space:nowrap;
}

.orders-strong{
  font-weight:800;
  color:#0f172a;
}

.orders-muted{
  color:#64748b;
  font-size:12px;
}

.orders-address{
  color:#475569;
  font-size:12px;
  line-height:1.35;
  max-width:230px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.orders-items-cell{
  min-width:280px;
}

.orders-item-summary{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.orders-item-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  max-width:310px;
}

.orders-item-name{
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.orders-item-qty{
  color:#2563eb;
  font-size:12px;
  font-weight:900;
  flex:0 0 auto;
}

.orders-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  border-radius:999px;
  padding:5px 10px;
  font-size:11px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

.orders-pill--success{
  background:#dcfce7;
  color:#166534;
}

.orders-pill--blue{
  background:#dbeafe;
  color:#1d4ed8;
}

.orders-pill--warning{
  background:#fef3c7;
  color:#92400e;
}

.orders-pill--danger{
  background:#fee2e2;
  color:#991b1b;
}

.orders-pill--muted{
  background:#e5e7eb;
  color:#374151;
}

.orders-total{
  color:#0f172a;
  font-size:16px;
  font-weight:900;
  white-space:nowrap;
}

.orders-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.orders-icon-btn{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(37,99,235,.18);
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:10px;
  text-decoration:none;
}

.orders-icon-btn:hover{
  background:#2563eb;
  color:#fff;
}

.orders-empty{
  display:flex;
  align-items:center;
  gap:16px;
  background:#eff6ff;
  border:1px solid rgba(37,99,235,.16);
  border-radius:14px;
  padding:18px;
}

.orders-empty-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#2563eb;
  color:#fff;
  font-size:20px;
  flex:0 0 auto;
}

.orders-empty h5{
  margin:0 0 4px;
  font-weight:900;
}

.orders-empty p{
  margin:0 0 4px;
  color:#64748b;
}

.orders-empty a{
  color:#1d4ed8;
  font-weight:800;
}

.order-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.order-detail-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}

.order-detail-shell{
  width:100%;
}

.order-detail-summary{
  display:grid;
  grid-template-columns:minmax(260px, 1.4fr) repeat(3, minmax(140px, .7fr));
  gap:14px;
  align-items:stretch;
  margin-bottom:18px;
}

.order-detail-summary-main,
.order-detail-stat{
  background:linear-gradient(135deg, #ffffff, #f8fbff);
  border:1px solid rgba(37,99,235,.12);
  border-radius:16px;
  box-shadow:0 14px 30px rgba(15,23,42,.06);
  padding:16px;
}

.order-detail-summary-main{
  display:flex;
  align-items:center;
  gap:14px;
}

.order-detail-summary-icon{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#2563eb;
  color:#fff;
  box-shadow:0 12px 24px rgba(37,99,235,.24);
  font-size:20px;
  flex:0 0 auto;
}

.order-detail-ref{
  color:#0f172a;
  font-size:20px;
  font-weight:900;
  line-height:1.2;
}

.order-detail-stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
}

.order-detail-stat strong{
  color:#0f172a;
  font-size:15px;
}

.order-detail-total{
  color:#1d4ed8 !important;
  font-size:20px !important;
}

.order-detail-card{
  background:#fff;
  border-color:rgba(15,23,42,.08) !important;
  border-radius:14px !important;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
  border:1px solid rgba(15,23,42,.08);
  padding:18px;
  margin-bottom:18px;
}

.order-detail-card-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
}

.order-detail-card-title i{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#eff6ff;
  color:#2563eb;
  flex:0 0 auto;
}

.order-detail-shell .table-responsive{
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  overflow:auto;
}

.order-detail-shell .table{
  margin-bottom:0;
}

.order-detail-shell .table thead th{
  background:#eff6ff;
  color:#1e3a8a;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(37,99,235,.14);
  white-space:nowrap;
}

.order-detail-shell .table tbody td{
  vertical-align:middle;
}

.order-detail-shell .list-group{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.order-detail-shell .list-group-item{
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  background:#f8fbff;
}

@media (max-width: 991px){
  .orders-page-head{
    align-items:stretch;
    flex-direction:column;
  }

  .orders-title{
    font-size:24px;
  }

  .orders-new-btn{
    justify-content:center;
  }

  .orders-filter-panel{
    padding:12px;
  }

  .orders-filter-grid{
    grid-template-columns:1fr 1fr;
  }

  .orders-filter-count{
    width:100%;
    margin-left:0;
  }

  .orders-table-card{
    background:transparent;
    border:0;
    box-shadow:none;
    overflow:visible;
  }

  .orders-table-scroll{
    overflow:visible;
  }

  .orders-table{
    min-width:0;
    border-collapse:collapse;
  }

  .orders-table thead{
    display:none;
  }

  .orders-table,
  .orders-table tbody,
  .orders-table tr,
  .orders-table td{
    display:block;
    width:100%;
  }

  .orders-row{
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:14px;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
    margin-bottom:14px;
    overflow:hidden;
  }

  .orders-table td{
    display:grid;
    grid-template-columns:118px minmax(0, 1fr);
    gap:12px;
    align-items:start;
    padding:11px 14px;
    border-bottom:1px solid rgba(15,23,42,.07);
    text-align:left !important;
  }

  .orders-table td::before{
    content:attr(data-label);
    color:#64748b;
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
  }

  .orders-table td:last-child{
    border-bottom:0;
  }

  .orders-row:hover td{
    background:transparent;
  }

  .orders-address,
  .orders-item-line{
    max-width:none;
  }

  .orders-actions{
    justify-content:flex-start;
  }

  .order-detail-head{
    flex-direction:column;
    align-items:stretch;
  }

  .order-detail-head-actions{
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .order-detail-summary{
    grid-template-columns:1fr;
  }

  .order-detail-shell .d-flex.justify-content-between.align-items-center{
    align-items:stretch !important;
    flex-direction:column;
    gap:10px;
  }
}


/* =========================================================
   NOTIFICATIONS PAGE
========================================================= */

.notif-scroll{
  max-height: 68vh;
  overflow: auto;
  padding-right: 6px;
}

.notif-scroll::-webkit-scrollbar{ width: 10px; }
.notif-scroll::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}
.notif-scroll::-webkit-scrollbar-track{ background: transparent; }

.notif-item{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  margin-bottom: 12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.notif-item.is-unread{
  background: #f8fafc;
  border-color: rgba(37,99,235,.18);
}

.notif-left{ min-width: 0; }
.notif-title{
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}

.notif-message{
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}

.notif-time{
  margin-top: 8px;
  font-size: 11px;
  color: #9ca3af;
}

.notif-right{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.notif-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#2563eb;
  display:inline-block;
  margin-top: 6px;
}

/* Dashboard pagination color fix (keeps it from orange) */
.customer-dash .pagination .page-link{
  color: #2563eb !important;
  border-color: rgba(0,0,0,.12);
  font-size: 14px !important;
  line-height: 1.2 !important;
  padding: .35rem .6rem !important;
}

.customer-dash .pagination .page-item.active .page-link{
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

.customer-dash .pagination .page-item.disabled .page-link{
  color: #9ca3af !important;
}

.customer-dash .pagination .page-link:focus{
  box-shadow: none !important;
}

@media (max-width: 991px){
  .notif-item{
    flex-direction: column;
  }
  .notif-right{
    justify-content:flex-end;
  }
}

@media (max-width: 560px){
  .orders-filter-grid{
    grid-template-columns:1fr;
  }

  .orders-filter-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .orders-filter-btn,
  .orders-reset-btn{
    width:100%;
  }
}

/* =========================================================
   CUSTOMER DASHBOARD - MY VEHICLE
========================================================= */

.vehicles-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.vehicles-eyebrow{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.vehicles-title{margin:2px 0 4px;color:#0f172a;font-size:28px;font-weight:900;}
.vehicles-subtitle{margin:0;color:#64748b;font-size:14px;}
.vehicles-add-btn{border:1px solid rgba(37,99,235,.24);background:#2563eb;color:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(37,99,235,.18);white-space:nowrap;}
.vehicles-add-btn:hover{background:#1d4ed8;color:#fff;}
.vehicles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.vehicles-table-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 16px 36px rgba(15,23,42,.07);overflow:hidden;}
.vehicles-table-scroll{width:100%;overflow:auto;}
.vehicles-table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;}
.vehicles-table th{background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.vehicles-table td{padding:14px;vertical-align:middle;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:14px;}
.vehicles-table tbody tr:last-child td{border-bottom:0;}
.vehicles-row:hover td{background:#f8fbff;}
.vehicles-strong{font-weight:800;color:#0f172a;white-space:nowrap;}
.vehicles-notes-cell{max-width:220px;color:#475569;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.vehicle-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;box-shadow:0 16px 36px rgba(15,23,42,.07);padding:14px;overflow:hidden;}
.vehicle-card-media{min-height:150px;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#dbeafe);overflow:hidden;}
.vehicle-card-media img,.vehicle-placeholder{width:100%;height:100%;min-height:150px;object-fit:cover;}
.vehicle-placeholder{display:flex;align-items:center;justify-content:center;color:#1d4ed8;font-size:34px;}
.vehicle-card-body{min-width:0;}
.vehicle-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px;}
.vehicle-rego{color:#0f172a;font-size:20px;font-weight:900;line-height:1.1;}
.vehicle-muted{color:#64748b;font-size:12px;font-weight:700;}
.vehicles-pill{border-radius:999px;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:5px 10px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap;}
.vehicles-pill--success{background:#dcfce7;color:#166534;}
.vehicles-pill--danger{background:#fee2e2;color:#991b1b;}
.vehicles-pill--muted{background:#e5e7eb;color:#374151;}
.vehicle-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.vehicle-detail-list div,.vehicle-service-row div{background:#f8fbff;border:1px solid rgba(37,99,235,.08);border-radius:12px;padding:9px;min-width:0;}
.vehicle-detail-list span,.vehicle-service-row span{color:#64748b;display:block;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.vehicle-detail-list strong,.vehicle-service-row strong{color:#0f172a;display:block;font-size:13px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.vehicle-service-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;}
.vehicle-notes{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:12px;color:#475569;font-size:12px;line-height:1.4;margin-top:8px;max-height:58px;overflow:auto;padding:9px;}
.vehicles-empty{display:flex;align-items:center;gap:16px;background:#eff6ff;border:1px solid rgba(37,99,235,.16);border-radius:14px;padding:18px;}
.vehicles-empty-icon{width:52px;height:52px;border-radius:16px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;}
.vehicles-empty h5{color:#0f172a;font-weight:900;margin:0 0 4px;}
.vehicles-empty p{color:#64748b;margin:0 0 8px;}
.vehicles-empty button{border:0;background:transparent;color:#1d4ed8;font-weight:900;padding:0;}
.vehicle-modal{display:none;inset:0;position:fixed;z-index:1080;}
.vehicle-modal.is-open{display:block;}
.vehicle-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.vehicle-modal-panel{position:relative;width:min(980px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.35);margin:17px auto;}
.vehicle-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);}
.vehicle-modal-head h4{color:#0f172a;font-size:22px;font-weight:900;margin:2px 0 0;}
.vehicle-modal-close{width:36px;height:36px;border:1px solid rgba(15,23,42,.12);border-radius:999px;background:#fff;color:#475569;}
.vehicle-form{padding:18px 20px 20px;}
.vehicle-form-note{background:#eff6ff;border:1px solid rgba(37,99,235,.12);border-radius:12px;color:#1e3a8a;margin-bottom:14px;padding:10px 12px;}
.vehicle-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.vehicle-field{display:flex;flex-direction:column;gap:5px;margin:0;}
.vehicle-field--wide{grid-column:span 2;}
.vehicle-field span{color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.vehicle-field input,.vehicle-field textarea{width:100%;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;outline:0;padding:9px 10px;}
.vehicle-field input{min-height:40px;}
.vehicle-field textarea{resize:vertical;}
.vehicle-field input:focus,.vehicle-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.vehicle-field small{color:#dc2626;font-size:11px;font-weight:800;}
.vehicle-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.vehicle-cancel-btn{border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;color:#475569;min-height:42px;padding:10px 14px;font-weight:900;}
body.vehicle-modal-open{overflow:hidden;}

@media (max-width: 1280px){
  .vehicles-grid{grid-template-columns:1fr;}
}

@media (max-width: 991px){
  .vehicles-page-head{align-items:stretch;flex-direction:column;}
  .vehicles-title{font-size:24px;}
  .vehicles-add-btn{width:100%;}
  .vehicle-form-grid{grid-template-columns:1fr 1fr;}
  .vehicles-table-card{background:transparent;border:0;box-shadow:none;overflow:visible;}
  .vehicles-table-scroll{overflow:visible;}
  .vehicles-table{min-width:0;border-collapse:collapse;}
  .vehicles-table thead{display:none;}
  .vehicles-table,.vehicles-table tbody,.vehicles-table tr,.vehicles-table td{display:block;width:100%;}
  .vehicles-row{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 12px 28px rgba(15,23,42,.06);margin-bottom:14px;overflow:hidden;}
  .vehicles-table td{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:start;padding:11px 14px;border-bottom:1px solid rgba(15,23,42,.07);}
  .vehicles-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .vehicles-table td:last-child{border-bottom:0;}
  .vehicles-row:hover td{background:transparent;}
  .vehicles-notes-cell{max-width:none;white-space:normal;}
}

@media (max-width: 640px){
  .vehicle-card{grid-template-columns:1fr;}
  .vehicle-card-media,.vehicle-card-media img,.vehicle-placeholder{min-height:190px;}
  .vehicle-detail-list,.vehicle-service-row,.vehicle-form-grid{grid-template-columns:1fr;}
  .vehicle-field--wide{grid-column:auto;}
  .vehicle-modal-actions{align-items:stretch;flex-direction:column;}
  .vehicle-cancel-btn,.vehicle-modal-actions .vehicles-add-btn{width:100%;}
}

/* =========================================================
   CUSTOMER DASHBOARD - MY FAVORITE
========================================================= */

.favorites-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.favorites-eyebrow{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.favorites-title{margin:2px 0 4px;color:#0f172a;font-size:28px;font-weight:900;}
.favorites-subtitle{margin:0;color:#64748b;font-size:14px;}
.favorites-shop-btn{border:1px solid rgba(37,99,235,.24);background:#2563eb;color:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(37,99,235,.18);white-space:nowrap;}
.favorites-shop-btn:hover{background:#1d4ed8;color:#fff;}
.favorites-table-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 16px 36px rgba(15,23,42,.07);overflow:hidden;}
.favorites-table-scroll{width:100%;overflow:auto;}
.favorites-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;}
.favorites-table th{background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.favorites-table td{padding:14px;vertical-align:middle;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:14px;}
.favorites-table tbody tr:last-child td{border-bottom:0;}
.favorites-row:hover td{background:#f8fbff;}
.favorites-product{display:flex;align-items:center;gap:12px;min-width:260px;}
.favorites-product img{width:54px;height:54px;border-radius:12px;object-fit:contain;background:#f8fbff;border:1px solid rgba(37,99,235,.08);}
.favorites-product-name{font-weight:900;color:#0f172a;line-height:1.25;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.favorites-muted{color:#64748b;font-size:12px;}
.favorites-strong{font-weight:800;color:#0f172a;white-space:nowrap;}
.favorites-price{font-size:15px;font-weight:900;color:#0f172a;white-space:nowrap;}
.favorites-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap;}
.favorites-pill--success{background:#dcfce7;color:#166534;}
.favorites-pill--warning{background:#fef3c7;color:#92400e;}
.favorites-pill--blue{background:#dbeafe;color:#1d4ed8;}
.favorites-actions{display:flex;justify-content:flex-end;gap:8px;}
.favorites-actions form{margin:0;}
.favorites-icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;border-radius:10px;text-decoration:none;}
.favorites-icon-btn:hover{background:#2563eb;color:#fff;}
.favorites-icon-btn--danger{border-color:#fecaca;background:#fff5f5;color:#dc2626;}
.favorites-icon-btn--danger:hover{background:#dc2626;color:#fff;}
.favorites-empty{display:flex;align-items:center;gap:16px;background:#eff6ff;border:1px solid rgba(37,99,235,.16);border-radius:14px;padding:18px;}
.favorites-empty-icon{width:52px;height:52px;border-radius:16px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;}
.favorites-empty h5{color:#0f172a;font-weight:900;margin:0 0 4px;}
.favorites-empty p{color:#64748b;margin:0 0 8px;}
.favorites-empty a{color:#1d4ed8;font-weight:900;}

@media (max-width: 991px){
  .favorites-page-head{align-items:stretch;flex-direction:column;}
  .favorites-title{font-size:24px;}
  .favorites-shop-btn{width:100%;}
  .favorites-table-card{background:transparent;border:0;box-shadow:none;overflow:visible;}
  .favorites-table-scroll{overflow:visible;}
  .favorites-table{min-width:0;border-collapse:collapse;}
  .favorites-table thead{display:none;}
  .favorites-table,.favorites-table tbody,.favorites-table tr,.favorites-table td{display:block;width:100%;}
  .favorites-row{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 12px 28px rgba(15,23,42,.06);margin-bottom:14px;overflow:hidden;}
  .favorites-table td{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:start;padding:11px 14px;border-bottom:1px solid rgba(15,23,42,.07);text-align:left !important;}
  .favorites-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .favorites-table td:last-child{border-bottom:0;}
  .favorites-row:hover td{background:transparent;}
  .favorites-product{min-width:0;}
  .favorites-product-name{max-width:none;white-space:normal;}
  .favorites-actions{justify-content:flex-start;}
}

/* =========================================================
   CUSTOMER DASHBOARD - REQUEST LIST
========================================================= */

.part-request-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.part-request-eyebrow{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.part-request-title{margin:2px 0 4px;color:#0f172a;font-size:28px;font-weight:900;}
.part-request-subtitle{margin:0;color:#64748b;font-size:14px;}
.part-request-add-btn{border:1px solid rgba(37,99,235,.24);background:#2563eb;color:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(37,99,235,.18);white-space:nowrap;}
.part-request-add-btn:hover{background:#1d4ed8;color:#fff;}
.part-request-table-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 16px 36px rgba(15,23,42,.07);overflow:hidden;}
.part-request-table-scroll{width:100%;overflow:auto;}
.part-request-table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;}
.part-request-table th{background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.part-request-table td{padding:14px;vertical-align:middle;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:14px;}
.part-request-table tbody tr:last-child td{border-bottom:0;}
.part-request-row:hover td{background:#f8fbff;}
.part-request-strong{font-weight:800;color:#0f172a;white-space:nowrap;}
.part-request-muted{color:#64748b;font-size:12px;}
.part-request-notes{max-width:260px;color:#475569;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.part-request-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap;}
.part-request-pill--success{background:#dcfce7;color:#166534;}
.part-request-pill--danger{background:#fee2e2;color:#991b1b;}
.part-request-pill--blue{background:#dbeafe;color:#1d4ed8;}
.part-request-pill--warning{background:#fef3c7;color:#92400e;}
.part-request-pill--muted{background:#e5e7eb;color:#374151;}
.part-request-thumb{width:46px;height:46px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fbff;border:1px solid rgba(37,99,235,.08);}
.part-request-thumb img{width:100%;height:100%;object-fit:cover;}
.part-request-view-btn{border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#eff6ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 12px;font-size:12px;font-weight:900;white-space:nowrap;}
.part-request-view-btn:hover{background:#2563eb;color:#fff;}
.part-request-empty{display:flex;align-items:center;gap:16px;background:#eff6ff;border:1px solid rgba(37,99,235,.16);border-radius:14px;padding:18px;}
.part-request-empty-icon{width:52px;height:52px;border-radius:16px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;}
.part-request-empty h5{color:#0f172a;font-weight:900;margin:0 0 4px;}
.part-request-empty p{color:#64748b;margin:0 0 8px;}
.part-request-empty button{border:0;background:transparent;color:#1d4ed8;font-weight:900;padding:0;}
.part-request-modal{display:none;inset:0;position:fixed;z-index:1080;}
.part-request-modal.is-open{display:block;}
.part-request-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.part-request-modal-panel{position:relative;width:min(860px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.35);margin:17px auto;}
.part-request-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);}
.part-request-modal-head h4{color:#0f172a;font-size:22px;font-weight:900;margin:2px 0 0;}
.part-request-modal-close{width:36px;height:36px;border:1px solid rgba(15,23,42,.12);border-radius:999px;background:#fff;color:#475569;}
.part-request-form{padding:18px 20px 20px;}
.part-request-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.part-request-field{display:flex;flex-direction:column;gap:5px;margin:0;}
.part-request-field--wide{grid-column:span 4;}
.part-request-field span{color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.part-request-field input,.part-request-field textarea,.part-request-field select{width:100%;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;outline:0;padding:9px 10px;}
.part-request-field input,.part-request-field select{min-height:40px;}
.part-request-field textarea{resize:vertical;}
.part-request-field input:focus,.part-request-field textarea:focus,.part-request-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.part-request-field small{color:#dc2626;font-size:11px;font-weight:800;}
.part-request-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.part-request-cancel-btn{border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;color:#475569;min-height:42px;padding:10px 14px;font-weight:900;}
body.part-request-modal-open{overflow:hidden;}
.part-request-view-modal{display:none;inset:0;position:fixed;z-index:1090;}
.part-request-view-modal.is-open{display:block;}
.part-request-view-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.part-request-view-panel{position:relative;width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.35);margin:17px auto;}
.part-request-view-body{padding:18px 20px 20px;}
.part-request-view-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:12px;}
.part-request-view-summary>div,.part-request-view-item,.part-request-view-notes>div{border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#f8fbff;padding:12px;}
.part-request-view-summary span,.part-request-view-item span,.part-request-view-notes span{display:block;color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;}
.part-request-view-summary strong,.part-request-view-item strong{display:block;color:#0f172a;font-size:14px;font-weight:900;word-break:break-word;}
.part-request-view-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.part-request-view-notes{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.part-request-view-notes p{max-height:150px;overflow:auto;color:#334155;font-size:13px;line-height:1.45;margin:0;white-space:pre-wrap;}
.part-request-view-image{display:none;margin-top:12px;border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#f8fbff;padding:10px;text-decoration:none;}
.part-request-view-image.is-visible{display:block;}
.part-request-view-image img{display:block;width:100%;max-height:300px;border-radius:10px;object-fit:contain;background:#fff;}

@media (max-width: 991px){
  .part-request-page-head{align-items:stretch;flex-direction:column;}
  .part-request-title{font-size:24px;}
  .part-request-add-btn{width:100%;}
  .part-request-table-card{background:transparent;border:0;box-shadow:none;overflow:visible;}
  .part-request-table-scroll{overflow:visible;}
  .part-request-table{min-width:0;border-collapse:collapse;}
  .part-request-table thead{display:none;}
  .part-request-table,.part-request-table tbody,.part-request-table tr,.part-request-table td{display:block;width:100%;}
  .part-request-row{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 12px 28px rgba(15,23,42,.06);margin-bottom:14px;overflow:hidden;}
  .part-request-table td{display:grid;grid-template-columns:122px minmax(0,1fr);gap:12px;align-items:start;padding:11px 14px;border-bottom:1px solid rgba(15,23,42,.07);}
  .part-request-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .part-request-table td:last-child{border-bottom:0;}
  .part-request-row:hover td{background:transparent;}
  .part-request-notes{max-width:none;white-space:normal;}
  .part-request-view-btn{width:100%;}
  .part-request-form-grid{grid-template-columns:1fr 1fr;}
  .part-request-field--wide{grid-column:span 2;}
  .part-request-view-summary,.part-request-view-grid,.part-request-view-notes{grid-template-columns:1fr;}
}

@media (max-width: 640px){
  .part-request-form-grid{grid-template-columns:1fr;}
  .part-request-field--wide{grid-column:auto;}
  .part-request-modal-actions{align-items:stretch;flex-direction:column;}
  .part-request-cancel-btn,.part-request-modal-actions .part-request-add-btn{width:100%;}
}

/* =========================================================
   CUSTOMER DASHBOARD - QUOTES
========================================================= */

.quote-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.quote-table-card{border-color:rgba(37,99,235,.14);box-shadow:0 18px 42px rgba(37,99,235,.09);}
.quote-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);color:#1e3a8a;}
.quote-empty{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
.quote-file-pills{display:flex;flex-wrap:wrap;gap:6px;}
.quote-file-pills a{border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#eff6ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:5px 9px;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap;}
.quote-file-pills a:hover{background:#2563eb;color:#fff;}
.quote-view-files{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;}
.quote-view-files a{border:1px solid rgba(37,99,235,.2);border-radius:12px;background:#eff6ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 12px;font-size:12px;font-weight:900;text-decoration:none;}
.quote-view-files a:hover{background:#2563eb;color:#fff;}
.quote-modal .part-request-modal-panel{width:min(960px,calc(100vw - 28px));}

@media (max-width: 991px){
  .quote-page-head{align-items:stretch;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - ORDER TEMPLATES
========================================================= */

.order-template-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.order-template-eyebrow{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.order-template-title{margin:2px 0 4px;color:#0f172a;font-size:28px;font-weight:900;}
.order-template-subtitle{margin:0;color:#64748b;font-size:14px;}
.order-template-add-btn{border:1px solid rgba(37,99,235,.24);background:#2563eb;color:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(37,99,235,.18);white-space:nowrap;}
.order-template-add-btn:hover{background:#1d4ed8;color:#fff;}
.order-template-table-card{background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:14px;box-shadow:0 18px 42px rgba(37,99,235,.08);overflow:hidden;}
.order-template-table-scroll{width:100%;overflow:auto;}
.order-template-table{width:100%;min-width:1020px;border-collapse:separate;border-spacing:0;}
.order-template-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.order-template-table td{padding:14px;vertical-align:middle;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:14px;}
.order-template-table tbody tr:last-child td{border-bottom:0;}
.order-template-row:hover td{background:#f8fbff;}
.order-template-name{font-weight:900;color:#0f172a;font-size:16px;}
.order-template-muted{color:#64748b;font-size:12px;}
.order-template-strong{font-weight:800;color:#0f172a;white-space:nowrap;}
.order-template-notes{max-width:260px;color:#475569;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.order-template-items{display:flex;flex-wrap:wrap;gap:6px;max-width:420px;}
.order-template-items span{background:#eff6ff;border:1px solid rgba(37,99,235,.12);border-radius:999px;color:#1d4ed8;font-size:11px;font-weight:900;padding:5px 9px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.order-template-actions{display:flex;justify-content:flex-end;gap:8px;}
.order-template-actions form{margin:0;}
.order-template-icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;border-radius:10px;text-decoration:none;}
.order-template-icon-btn:hover{background:#2563eb;color:#fff;}
.order-template-icon-btn--cart{border-color:rgba(22,163,74,.2);background:#dcfce7;color:#166534;}
.order-template-icon-btn--cart:hover{background:#16a34a;color:#fff;}
.order-template-icon-btn--danger{border-color:#fecaca;background:#fff5f5;color:#dc2626;}
.order-template-icon-btn--danger:hover{background:#dc2626;color:#fff;}
.order-template-empty{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#eff6ff,#f8fbff);border:1px solid rgba(37,99,235,.16);border-radius:14px;padding:18px;}
.order-template-empty-icon{width:52px;height:52px;border-radius:16px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;}
.order-template-empty h5{color:#0f172a;font-weight:900;margin:0 0 4px;}
.order-template-empty p{color:#64748b;margin:0 0 8px;}
.order-template-empty button{border:0;background:transparent;color:#1d4ed8;font-weight:900;padding:0;}
.order-template-modal{display:none;inset:0;position:fixed;z-index:1080;}
.order-template-modal.is-open{display:block;}
.order-template-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.order-template-modal-panel{position:relative;width:min(980px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.35);margin:17px auto;}
.order-template-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);}
.order-template-modal-head h4{color:#0f172a;font-size:22px;font-weight:900;margin:2px 0 0;}
.order-template-modal-close{width:36px;height:36px;border:1px solid rgba(15,23,42,.12);border-radius:999px;background:#fff;color:#475569;}
.order-template-form{padding:18px 20px 20px;}
.order-template-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.order-template-field{display:flex;flex-direction:column;gap:5px;margin:0;}
.order-template-field--wide{grid-column:span 2;}
.order-template-field span{color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.order-template-field input,.order-template-field textarea{width:100%;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;outline:0;padding:9px 10px;}
.order-template-field input{min-height:40px;}
.order-template-field textarea{resize:vertical;}
.order-template-field input:focus,.order-template-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.order-template-items-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;}
.order-template-items-head strong{display:block;color:#0f172a;font-weight:900;}
.order-template-items-head span{display:block;color:#64748b;font-size:12px;}
.order-template-add-line-btn{border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;border-radius:12px;display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:8px 11px;font-size:12px;font-weight:900;}
.order-template-lines{display:flex;flex-direction:column;gap:10px;}
.order-template-line{display:grid;grid-template-columns:minmax(0,1fr) 120px 38px;gap:10px;align-items:end;background:#f8fbff;border:1px solid rgba(37,99,235,.1);border-radius:14px;padding:10px;}
.order-template-remove-line-btn{width:38px;height:40px;border:1px solid #fecaca;background:#fff5f5;color:#dc2626;border-radius:12px;}
.order-template-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.order-template-cancel-btn{border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;color:#475569;min-height:42px;padding:10px 14px;font-weight:900;}
body.order-template-modal-open{overflow:hidden;}

@media (max-width: 991px){
  .order-template-page-head{align-items:stretch;flex-direction:column;}
  .order-template-title{font-size:24px;}
  .order-template-add-btn{width:100%;}
  .order-template-table-card{background:transparent;border:0;box-shadow:none;overflow:visible;}
  .order-template-table-scroll{overflow:visible;}
  .order-template-table{min-width:0;border-collapse:collapse;}
  .order-template-table thead{display:none;}
  .order-template-table,.order-template-table tbody,.order-template-table tr,.order-template-table td{display:block;width:100%;}
  .order-template-row{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 12px 28px rgba(15,23,42,.06);margin-bottom:14px;overflow:hidden;}
  .order-template-table td{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:start;padding:11px 14px;border-bottom:1px solid rgba(15,23,42,.07);text-align:left !important;}
  .order-template-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .order-template-table td:last-child{border-bottom:0;}
  .order-template-row:hover td{background:transparent;}
  .order-template-notes{max-width:none;white-space:normal;}
  .order-template-items{max-width:none;}
  .order-template-actions{justify-content:flex-start;}
  .order-template-form-grid{grid-template-columns:1fr;}
  .order-template-field--wide{grid-column:auto;}
  .order-template-items-head{align-items:stretch;flex-direction:column;}
  .order-template-add-line-btn{justify-content:center;width:100%;}
  .order-template-line{grid-template-columns:1fr;}
  .order-template-remove-line-btn{width:100%;}
  .order-template-modal-actions{align-items:stretch;flex-direction:column;}
  .order-template-cancel-btn,.order-template-modal-actions .order-template-add-btn{width:100%;}
}

/* =========================================================
   CUSTOMER DASHBOARD - FAST ORDER
========================================================= */

.fast-order-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.fast-order-eyebrow{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.fast-order-title{margin:2px 0 4px;color:#0f172a;font-size:28px;font-weight:900;}
.fast-order-subtitle{margin:0;color:#64748b;font-size:14px;}
.fast-order-card{background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:16px;box-shadow:0 18px 42px rgba(37,99,235,.08);overflow:hidden;}
.fast-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#eff6ff,#f8fbff);border-bottom:1px solid rgba(37,99,235,.12);padding:16px 18px;}
.fast-order-card-head strong{display:block;color:#0f172a;font-size:16px;font-weight:900;}
.fast-order-card-head span{display:block;color:#64748b;font-size:13px;margin-top:2px;}
.fast-order-add-row-btn,.fast-order-secondary-btn,.fast-order-submit-btn{border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;text-decoration:none;white-space:nowrap;}
.fast-order-add-row-btn,.fast-order-secondary-btn{border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;}
.fast-order-add-row-btn:hover,.fast-order-secondary-btn:hover{background:#2563eb;color:#fff;}
.fast-order-submit-btn{border:1px solid rgba(22,163,74,.2);background:#16a34a;color:#fff;box-shadow:0 12px 24px rgba(22,163,74,.18);}
.fast-order-submit-btn:hover{background:#15803d;color:#fff;}
.fast-order-lines{display:flex;flex-direction:column;gap:10px;padding:18px;}
.fast-order-line{display:grid;grid-template-columns:minmax(0,1fr) 140px 42px;gap:10px;align-items:end;background:#f8fbff;border:1px solid rgba(37,99,235,.1);border-radius:14px;padding:10px;}
.fast-order-field{display:flex;flex-direction:column;gap:5px;margin:0;}
.fast-order-field span{color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.fast-order-field input{width:100%;min-height:40px;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;outline:0;padding:9px 10px;}
.fast-order-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.fast-order-remove-row-btn{width:42px;height:40px;border:1px solid #fecaca;background:#fff5f5;color:#dc2626;border-radius:12px;}
.fast-order-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid rgba(15,23,42,.08);padding:16px 18px;background:#fff;}

@media (max-width: 991px){
  .fast-order-page-head,.fast-order-card-head{align-items:stretch;flex-direction:column;}
  .fast-order-title{font-size:24px;}
  .fast-order-secondary-btn,.fast-order-add-row-btn,.fast-order-submit-btn{width:100%;}
  .fast-order-line{grid-template-columns:1fr;}
  .fast-order-remove-row-btn{width:100%;}
  .fast-order-actions{align-items:stretch;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - HOME
========================================================= */

.customer-home{display:flex;flex-direction:column;gap:18px;}
.customer-home-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:178px;border-radius:18px;padding:24px;background:linear-gradient(135deg,rgba(12,74,164,.95),rgba(37,99,235,.88)),url('/img/carousel-1.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.22);}
.customer-home-hero::after{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.16);pointer-events:none;}
.customer-home-hero-text{position:relative;z-index:1;max-width:720px;}
.customer-home-eyebrow{display:inline-flex;align-items:center;color:#93c5fd;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.customer-home-hero h1{margin:6px 0 8px;color:#fff;font-size:clamp(26px,3vw,40px);font-weight:900;line-height:1.08;}
.customer-home-hero p{max-width:660px;margin:0;color:rgba(255,255,255,.86);font-size:15px;line-height:1.5;}
.customer-home-hero-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:0 0 auto;}
.customer-home-primary-btn,.customer-home-secondary-btn,.customer-home-mini-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:900;white-space:nowrap;}
.customer-home-primary-btn,.customer-home-secondary-btn{min-height:42px;border-radius:12px;padding:10px 14px;}
.customer-home-primary-btn{background:#fff;color:#1d4ed8;box-shadow:0 12px 26px rgba(15,23,42,.16);}
.customer-home-primary-btn:hover{color:#1e40af;background:#eff6ff;}
.customer-home-secondary-btn{border:1px solid rgba(255,255,255,.36);color:#fff;background:rgba(255,255,255,.12);}
.customer-home-secondary-btn:hover{color:#fff;background:rgba(255,255,255,.2);}
.customer-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.customer-home-stat{display:flex;align-items:center;gap:13px;min-height:106px;border-radius:16px;padding:16px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 32px rgba(15,23,42,.06);}
.customer-home-stat-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:15px;color:#fff;font-size:20px;flex:0 0 auto;}
.customer-home-stat span{display:block;color:#64748b;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;line-height:1.25;}
.customer-home-stat strong{display:block;margin-top:5px;color:#0f172a;font-size:28px;font-weight:900;line-height:1;}
.customer-home-stat--blue .customer-home-stat-icon{background:#2563eb;}
.customer-home-stat--amber .customer-home-stat-icon{background:#f59e0b;}
.customer-home-stat--green .customer-home-stat-icon{background:#16a34a;}
.customer-home-stat--purple .customer-home-stat-icon{background:#7c3aed;}
.customer-home-stat--blue{border-color:rgba(37,99,235,.16);background:linear-gradient(135deg,#fff,#eff6ff);}
.customer-home-stat--amber{border-color:rgba(245,158,11,.18);background:linear-gradient(135deg,#fff,#fffbeb);}
.customer-home-stat--green{border-color:rgba(22,163,74,.18);background:linear-gradient(135deg,#fff,#f0fdf4);}
.customer-home-stat--purple{border-color:rgba(124,58,237,.18);background:linear-gradient(135deg,#fff,#f5f3ff);}
.customer-home-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:16px;align-items:start;}
.customer-home-panel{background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:16px;box-shadow:0 18px 42px rgba(37,99,235,.08);overflow:hidden;}
.customer-home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:linear-gradient(135deg,#f8fbff,#eff6ff);border-bottom:1px solid rgba(37,99,235,.12);}
.customer-home-panel-head h2{margin:2px 0 0;color:#0f172a;font-size:18px;font-weight:900;}
.customer-home-mini-link{min-height:34px;border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#fff;color:#1d4ed8;padding:7px 11px;font-size:12px;}
.customer-home-mini-link:hover{background:#2563eb;color:#fff;}
.customer-home-orders{display:flex;flex-direction:column;}
.customer-home-order-row{display:grid;grid-template-columns:minmax(160px,1fr) auto 110px 18px;gap:12px;align-items:center;min-height:68px;padding:13px 18px;color:#0f172a;text-decoration:none;border-bottom:1px solid rgba(15,23,42,.08);}
.customer-home-order-row:last-child{border-bottom:0;}
.customer-home-order-row:hover{color:#0f172a;background:#f8fbff;}
.customer-home-order-main strong{display:block;color:#0f172a;font-size:14px;font-weight:900;}
.customer-home-order-main span{color:#64748b;font-size:12px;font-weight:700;}
.customer-home-order-total{color:#1d4ed8;font-size:15px;font-weight:900;text-align:right;white-space:nowrap;}
.customer-home-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap;}
.customer-home-pill--success{background:#dcfce7;color:#166534;}
.customer-home-pill--blue{background:#dbeafe;color:#1d4ed8;}
.customer-home-pill--warning{background:#fef3c7;color:#92400e;}
.customer-home-pill--danger{background:#fee2e2;color:#991b1b;}
.customer-home-actions-list{display:flex;flex-direction:column;gap:10px;padding:16px;}
.customer-home-action{display:flex;align-items:center;gap:12px;min-height:76px;border:1px solid rgba(37,99,235,.12);border-radius:14px;padding:12px;color:#0f172a;text-decoration:none;background:#f8fbff;}
.customer-home-action:hover{color:#0f172a;transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.08);}
.customer-home-action>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:13px;color:#fff;flex:0 0 auto;}
.customer-home-action strong{display:block;font-size:14px;font-weight:900;}
.customer-home-action small{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:700;line-height:1.3;}
.customer-home-action--blue>span{background:#2563eb;}
.customer-home-action--amber>span{background:#f59e0b;}
.customer-home-action--green>span{background:#16a34a;}
.customer-home-action--pink>span{background:#db2777;}
.customer-home-empty{display:flex;align-items:center;gap:16px;margin:16px;padding:18px;border:1px solid rgba(37,99,235,.14);border-radius:14px;background:#f8fbff;}
.customer-home-empty-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#2563eb;color:#fff;font-size:21px;flex:0 0 auto;}
.customer-home-empty strong{display:block;color:#0f172a;font-size:16px;font-weight:900;}
.customer-home-empty p{margin:2px 0 6px;color:#64748b;font-size:13px;}
.customer-home-empty a{color:#1d4ed8;font-weight:900;}

@media (max-width:1199px){
  .customer-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .customer-home-grid{grid-template-columns:1fr;}
}

@media (max-width:767px){
  .customer-home-hero{align-items:stretch;flex-direction:column;padding:20px;}
  .customer-home-hero-actions{justify-content:stretch;}
  .customer-home-primary-btn,.customer-home-secondary-btn{width:100%;}
  .customer-home-stats{grid-template-columns:1fr;}
  .customer-home-order-row{grid-template-columns:1fr;gap:8px;border:1px solid rgba(15,23,42,.08);border-radius:14px;margin:12px;box-shadow:0 10px 24px rgba(15,23,42,.06);}
  .customer-home-order-total{text-align:left;}
  .customer-home-order-row>i{display:none;}
  .customer-home-empty{align-items:flex-start;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - POLISHED SIDEBAR
========================================================= */

@media (min-width:992px){
  .customer-dash .dash-card--side{
    top:calc(var(--customer-nav-height) + 10px);
    height:calc(100dvh - var(--customer-nav-height) - 10px);
    max-height:calc(100dvh - var(--customer-nav-height) - 10px);
    padding:16px;
  }
}

.customer-dash .dash-card--side{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 62%,#eef6ff 100%);
  border-right:1px solid rgba(37,99,235,.12);
  box-shadow:14px 0 34px rgba(15,23,42,.05);
}

.dash-side{
  gap:12px;
}

.dash-user{
  position:relative;
  overflow:hidden;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:16px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#0f4fb8,#2563eb);
  box-shadow:0 16px 32px rgba(37,99,235,.22);
}

.dash-user::after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-52px;
  bottom:-58px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
}

.dash-avatar{
  position:relative;
  z-index:1;
  width:52px;
  height:52px;
  border:2px solid rgba(255,255,255,.55);
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 12px 22px rgba(15,23,42,.18);
}

.dash-user-meta{
  position:relative;
  z-index:1;
  min-width:0;
}

.dash-user-name{
  color:#fff;
  font-size:15px;
  font-weight:900;
  line-height:1.18;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dash-user-email{
  margin-top:3px;
  color:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dash-nav{
  gap:7px;
  padding:4px 0 18px;
}

.dash-link{
  min-height:44px;
  border:1px solid transparent;
  border-radius:14px;
  padding:10px 11px;
  color:#334155;
  font-size:13px;
  font-weight:850;
  transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.dash-link i{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#eff6ff;
  color:#1d4ed8;
  opacity:1;
  flex:0 0 34px;
}

.dash-link span:not(.dash-badge){
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dash-link:hover{
  background:#fff;
  color:#0f172a;
  border-color:rgba(37,99,235,.12);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
  transform:translateX(2px);
}

.dash-link.active{
  background:linear-gradient(135deg,#1d4ed8,#2563eb);
  color:#fff;
  border-color:rgba(37,99,235,.24);
  box-shadow:0 14px 28px rgba(37,99,235,.2);
}

.dash-link.active i{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.dash-badge{
  box-shadow:0 8px 18px rgba(239,68,68,.25);
}

@media (max-width:991px){
  .customer-dash .dash-card--side{
    margin:12px 12px 0;
    border:1px solid rgba(37,99,235,.12);
    border-radius:18px;
    box-shadow:0 18px 38px rgba(37,99,235,.08);
  }

  .dash-user{
    min-height:82px;
  }

  .dash-nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding-bottom:0;
  }

  .dash-link{
    min-height:50px;
  }

  .dash-link:hover{
    transform:none;
  }
}

@media (max-width:520px){
  .customer-dash .dash-card--side{
    margin:10px 10px 0;
    padding:12px;
  }

  .dash-nav{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   CUSTOMER DASHBOARD - ORDERS POLISH
========================================================= */

.orders-shell{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.orders-page-hero{
  position:relative;
  overflow:hidden;
  align-items:center;
  min-height:150px;
  margin-bottom:0;
  border-radius:18px;
  padding:22px;
  background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.9)),url('/img/carousel-2.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;
  box-shadow:0 22px 50px rgba(37,99,235,.2);
}

.orders-page-hero::after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-100px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  pointer-events:none;
}

.orders-page-hero > *{
  position:relative;
  z-index:1;
}

.orders-page-hero .orders-eyebrow{
  color:#bfdbfe;
}

.orders-page-hero .orders-title{
  color:#fff;
  font-size:clamp(26px,3vw,38px);
}

.orders-page-hero .orders-subtitle{
  max-width:640px;
  color:rgba(255,255,255,.84);
}

.orders-hero-stats{
  display:flex;
  gap:10px;
  margin-left:auto;
}

.orders-hero-stats > div{
  min-width:112px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
  padding:10px 12px;
}

.orders-hero-stats span{
  display:block;
  color:rgba(255,255,255,.76);
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.orders-hero-stats strong{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:22px;
  font-weight:900;
  line-height:1;
}

.orders-page-hero .orders-new-btn{
  background:#fff;
  color:#1d4ed8;
  border-color:rgba(255,255,255,.7);
  box-shadow:0 14px 28px rgba(15,23,42,.18);
}

.orders-page-hero .orders-new-btn:hover{
  background:#eff6ff;
  color:#1e40af;
}

.orders-shell .orders-filter-panel{
  margin-bottom:0;
  border-color:rgba(37,99,235,.16);
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  box-shadow:0 18px 42px rgba(37,99,235,.08);
  padding:16px;
}

.orders-shell .orders-search-wrap{
  min-height:52px;
  border-radius:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.orders-shell .orders-search-wrap input{
  min-height:52px;
  font-size:15px;
}

.orders-shell .orders-filter-field select{
  min-height:42px;
  background:#fff;
}

.orders-shell .orders-filter-btn{
  min-height:42px;
  padding:10px 15px;
}

.orders-shell .orders-reset-btn{
  min-height:42px;
}

.orders-shell .orders-filter-count{
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid rgba(37,99,235,.14);
  border-radius:999px;
  padding:8px 12px;
}

.orders-shell .orders-table-card{
  border-color:rgba(37,99,235,.12);
  border-radius:16px;
  box-shadow:0 20px 46px rgba(37,99,235,.08);
}

.orders-shell .orders-table th{
  background:linear-gradient(135deg,#dbeafe,#eff6ff);
  padding:14px;
}

.orders-shell .orders-table td{
  padding:15px 14px;
}

.orders-shell .orders-row{
  transition:background .16s ease, transform .16s ease;
}

.orders-shell .orders-row:hover td{
  background:#f8fbff;
}

.orders-shell .orders-ref{
  color:#1d4ed8;
}

.orders-shell .orders-icon-btn{
  width:38px;
  height:38px;
  border-radius:12px;
}

.orders-shell .orders-icon-btn:first-child{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
}

.orders-shell .orders-icon-btn:first-child:hover{
  background:#1e40af;
}

@media (max-width:1199px){
  .orders-page-hero{
    align-items:stretch;
    flex-direction:column;
  }

  .orders-hero-stats{
    width:100%;
    margin-left:0;
  }

  .orders-hero-stats > div{
    flex:1 1 0;
  }
}

@media (max-width:991px){
  .orders-shell .orders-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .orders-shell .orders-row{
    border-color:rgba(37,99,235,.12);
    box-shadow:0 14px 30px rgba(37,99,235,.08);
  }

  .orders-shell .orders-table td:first-child{
    background:linear-gradient(135deg,#eff6ff,#f8fbff);
  }

  .orders-shell .orders-table td{
    grid-template-columns:112px minmax(0,1fr);
  }

  .orders-shell .orders-actions{
    gap:10px;
  }
}

@media (max-width:640px){
  .orders-page-hero{
    padding:18px;
  }

  .orders-hero-stats{
    flex-direction:column;
  }

  .orders-page-hero .orders-new-btn{
    width:100%;
    justify-content:center;
  }

  .orders-shell .orders-filter-grid{
    grid-template-columns:1fr;
  }

  .orders-shell .orders-filter-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .orders-shell .orders-filter-btn,
  .orders-shell .orders-reset-btn,
  .orders-shell .orders-filter-count{
    width:100%;
  }
}

/* =========================================================
   CUSTOMER DASHBOARD - CYLINDERS
========================================================= */

.cylinder-page{display:flex;flex-direction:column;gap:16px;}
.cylinder-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:158px;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/Refrigerant-Gas-R134A-for-Air-Conditioner-Gas-Cylinder.avif');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.cylinder-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.cylinder-hero>div{position:relative;z-index:1;}
.cylinder-eyebrow{display:inline-flex;color:#93c5fd;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.cylinder-hero h1{margin:6px 0 8px;color:#fff;font-size:clamp(26px,3vw,38px);font-weight:900;line-height:1.08;}
.cylinder-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.86);font-size:15px;line-height:1.5;}
.cylinder-hero-chip{min-width:140px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:12px 14px;text-align:center;}
.cylinder-hero-chip span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.cylinder-hero-chip strong{display:block;margin-top:5px;color:#fff;font-size:28px;font-weight:900;line-height:1;}
.cylinder-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.cylinder-stat{display:flex;align-items:center;gap:13px;min-height:106px;border-radius:16px;padding:16px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 32px rgba(15,23,42,.06);}
.cylinder-stat-icon{width:50px;height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;flex:0 0 auto;}
.cylinder-stat small{display:block;color:#64748b;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;line-height:1.25;}
.cylinder-stat strong{display:block;margin-top:5px;color:#0f172a;font-size:28px;font-weight:900;line-height:1;}
.cylinder-stat--blue{border-color:rgba(37,99,235,.16);background:linear-gradient(135deg,#fff,#eff6ff);}
.cylinder-stat--green{border-color:rgba(22,163,74,.18);background:linear-gradient(135deg,#fff,#f0fdf4);}
.cylinder-stat--purple{border-color:rgba(124,58,237,.18);background:linear-gradient(135deg,#fff,#f5f3ff);}
.cylinder-stat--amber{border-color:rgba(245,158,11,.18);background:linear-gradient(135deg,#fff,#fffbeb);}
.cylinder-stat--blue .cylinder-stat-icon{background:#2563eb;}
.cylinder-stat--green .cylinder-stat-icon{background:#16a34a;}
.cylinder-stat--purple .cylinder-stat-icon{background:#7c3aed;}
.cylinder-stat--amber .cylinder-stat-icon{background:#f59e0b;}
.cylinder-panel{background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:16px;box-shadow:0 18px 42px rgba(37,99,235,.08);overflow:hidden;}
.cylinder-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:linear-gradient(135deg,#f8fbff,#eff6ff);border-bottom:1px solid rgba(37,99,235,.12);}
.cylinder-panel-head h2{margin:2px 0 0;color:#0f172a;font-size:18px;font-weight:900;}
.cylinder-count-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid rgba(37,99,235,.16);border-radius:999px;background:#fff;color:#1d4ed8;font-size:12px;font-weight:900;padding:7px 11px;white-space:nowrap;}
.cylinder-table-scroll{width:100%;overflow:auto;}
.cylinder-table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;}
.cylinder-history-table{min-width:1120px;}
.cylinder-table th{background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.cylinder-table td{padding:14px;vertical-align:middle;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:14px;}
.cylinder-table tbody tr:last-child td{border-bottom:0;}
.cylinder-row:hover td{background:#f8fbff;}
.cylinder-code{display:block;color:#1d4ed8;font-weight:900;}
.cylinder-muted{display:block;color:#64748b;font-size:12px;font-weight:700;margin-top:2px;}
.cylinder-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap;}
.cylinder-pill--blue{background:#dbeafe;color:#1d4ed8;}
.cylinder-pill--green{background:#dcfce7;color:#166534;}
.cylinder-pill--amber{background:#fef3c7;color:#92400e;}
.cylinder-pill--purple{background:#ede9fe;color:#6d28d9;}
.cylinder-pill--danger{background:#fee2e2;color:#991b1b;}
.cylinder-pill--dark{background:#334155;color:#fff;}
.cylinder-pill--muted{background:#e5e7eb;color:#374151;}
.cylinder-reference-cell{min-width:190px;}
.cylinder-reference-cell a,.cylinder-reference-cell span{display:block;color:#1d4ed8;font-size:12px;font-weight:800;text-decoration:none;margin-bottom:2px;}
.cylinder-reference-cell span{color:#475569;}
.cylinder-note-cell{max-width:280px;color:#475569;font-size:13px;line-height:1.4;}
.cylinder-empty{display:flex;align-items:center;gap:16px;margin:16px;padding:18px;border:1px solid rgba(37,99,235,.14);border-radius:14px;background:#f8fbff;}
.cylinder-empty>span{width:52px;height:52px;border-radius:16px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;flex:0 0 auto;}
.cylinder-empty strong{display:block;color:#0f172a;font-size:16px;font-weight:900;}
.cylinder-empty p{margin:2px 0 0;color:#64748b;font-size:13px;}

@media (max-width:1199px){
  .cylinder-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:991px){
  .cylinder-hero{align-items:stretch;flex-direction:column;}
  .cylinder-hero-chip{text-align:left;}
  .cylinder-table-scroll{overflow:visible;}
  .cylinder-table,.cylinder-table tbody,.cylinder-table tr,.cylinder-table td{display:block;width:100%;min-width:0;}
  .cylinder-table thead{display:none;}
  .cylinder-row{margin:12px;border:1px solid rgba(37,99,235,.12);border-radius:14px;box-shadow:0 14px 30px rgba(37,99,235,.08);overflow:hidden;background:#fff;}
  .cylinder-table td{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px;border-bottom:1px solid rgba(15,23,42,.07);}
  .cylinder-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .cylinder-table td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
  .cylinder-table td:last-child{border-bottom:0;}
  .cylinder-row:hover td{background:transparent;}
  .cylinder-row:hover td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
  .cylinder-note-cell{max-width:none;}
}

@media (max-width:640px){
  .cylinder-hero{padding:18px;}
  .cylinder-stats{grid-template-columns:1fr;}
  .cylinder-panel-head{align-items:stretch;flex-direction:column;}
  .cylinder-count-pill{width:100%;}
  .cylinder-table td{grid-template-columns:1fr;}
  .cylinder-empty{align-items:flex-start;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - VEHICLES POLISH
========================================================= */

.vehicles-shell{display:flex;flex-direction:column;gap:16px;}
.vehicles-page-hero{position:relative;overflow:hidden;align-items:center;min-height:160px;margin-bottom:0;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/automobile-battery-test-2023-11-27-05-02-05-utc.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.vehicles-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.vehicles-page-hero>*{position:relative;z-index:1;}
.vehicles-page-hero .vehicles-eyebrow{color:#bfdbfe;}
.vehicles-page-hero .vehicles-title{color:#fff;font-size:clamp(26px,3vw,38px);}
.vehicles-page-hero .vehicles-subtitle{max-width:680px;color:rgba(255,255,255,.84);}
.vehicles-hero-stats{display:flex;gap:10px;margin-left:auto;}
.vehicles-hero-stats>div{min-width:92px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:10px 12px;text-align:center;}
.vehicles-hero-stats span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.vehicles-hero-stats strong{display:block;margin-top:4px;color:#fff;font-size:24px;font-weight:900;line-height:1;}
.vehicles-page-hero .vehicles-add-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.vehicles-page-hero .vehicles-add-btn:hover{background:#eff6ff;color:#1e40af;}
.vehicles-shell .alert{border-radius:14px;border:1px solid rgba(22,163,74,.18);box-shadow:0 10px 24px rgba(15,23,42,.05);}
.vehicles-shell .vehicles-table-card{border-color:rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);}
.vehicles-shell .vehicles-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);padding:14px;}
.vehicles-shell .vehicles-table td{padding:15px 14px;}
.vehicles-shell .vehicles-row:hover td{background:#f8fbff;}
.vehicles-shell .vehicle-rego{color:#1d4ed8;font-size:18px;}
.vehicles-shell .vehicles-pill{box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);}
.vehicles-shell .vehicles-pill--success{background:#dcfce7;color:#166534;}
.vehicles-shell .vehicles-pill--danger{background:#fee2e2;color:#991b1b;}
.vehicles-shell .vehicles-pill--muted{background:#e5e7eb;color:#374151;}
.vehicles-shell .vehicles-notes-cell{max-width:260px;}
.vehicles-empty{box-shadow:0 16px 34px rgba(37,99,235,.08);background:linear-gradient(135deg,#eff6ff,#f8fbff);}
.vehicles-empty button{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#fff;color:#1d4ed8;min-height:34px;padding:7px 12px;text-decoration:none;}
.vehicle-modal-panel{border:1px solid rgba(37,99,235,.12);}
.vehicle-modal-head{background:linear-gradient(135deg,#f8fbff,#eff6ff);}
.vehicle-modal-head h4{font-size:24px;}
.vehicle-form-note{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
.vehicle-field input,.vehicle-field textarea{min-height:42px;}

@media (max-width:1199px){
  .vehicles-page-hero{align-items:stretch;flex-direction:column;}
  .vehicles-hero-stats{width:100%;margin-left:0;}
  .vehicles-hero-stats>div{flex:1 1 0;}
}

@media (max-width:991px){
  .vehicles-shell .vehicles-table-card{background:transparent;border:0;box-shadow:none;}
  .vehicles-shell .vehicles-row{border-color:rgba(37,99,235,.12);box-shadow:0 14px 30px rgba(37,99,235,.08);}
  .vehicles-shell .vehicles-table td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
  .vehicles-shell .vehicles-table td{grid-template-columns:120px minmax(0,1fr);}
  .vehicles-shell .vehicles-row:hover td{background:transparent;}
  .vehicles-shell .vehicles-row:hover td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
}

@media (max-width:640px){
  .vehicles-page-hero{padding:18px;}
  .vehicles-hero-stats{flex-direction:column;}
  .vehicles-page-hero .vehicles-add-btn{width:100%;justify-content:center;}
  .vehicles-shell .vehicles-table td{grid-template-columns:1fr;}
  .vehicle-modal-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px auto;border-radius:16px;}
  .vehicle-modal-head{padding:15px;}
  .vehicle-form{padding:15px;}
}

/* =========================================================
   CUSTOMER DASHBOARD - FAVORITES POLISH
========================================================= */

.favorites-shell{display:flex;flex-direction:column;gap:16px;}
.favorites-page-hero{position:relative;overflow:hidden;align-items:center;min-height:154px;margin-bottom:0;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/service-2.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.favorites-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.favorites-page-hero>*{position:relative;z-index:1;}
.favorites-page-hero .favorites-eyebrow{color:#bfdbfe;}
.favorites-page-hero .favorites-title{color:#fff;font-size:clamp(26px,3vw,38px);}
.favorites-page-hero .favorites-subtitle{max-width:650px;color:rgba(255,255,255,.84);}
.favorites-hero-stat{min-width:128px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:12px 14px;text-align:center;margin-left:auto;}
.favorites-hero-stat span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.favorites-hero-stat strong{display:block;margin-top:5px;color:#fff;font-size:28px;font-weight:900;line-height:1;}
.favorites-page-hero .favorites-shop-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.favorites-page-hero .favorites-shop-btn:hover{background:#eff6ff;color:#1e40af;}
.favorites-shell .alert{border-radius:14px;border:1px solid rgba(22,163,74,.18);box-shadow:0 10px 24px rgba(15,23,42,.05);}
.favorites-shell .favorites-table-card{border-color:rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);}
.favorites-shell .favorites-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);padding:14px;}
.favorites-shell .favorites-table td{padding:15px 14px;}
.favorites-shell .favorites-row:hover td{background:#f8fbff;}
.favorites-shell .favorites-product img{width:60px;height:60px;border-radius:14px;box-shadow:0 10px 22px rgba(37,99,235,.08);}
.favorites-shell .favorites-product-name{color:#0f172a;}
.favorites-shell .favorites-price{color:#1d4ed8;}
.favorites-shell .favorites-icon-btn{width:38px;height:38px;border-radius:12px;}
.favorites-shell .favorites-icon-btn:first-child{background:#2563eb;color:#fff;border-color:#2563eb;}
.favorites-shell .favorites-icon-btn:first-child:hover{background:#1e40af;}
.favorites-empty{background:linear-gradient(135deg,#eff6ff,#f8fbff);box-shadow:0 16px 34px rgba(37,99,235,.08);}
.favorites-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#fff;color:#1d4ed8;padding:7px 12px;text-decoration:none;}

@media (max-width:1199px){
  .favorites-page-hero{align-items:stretch;flex-direction:column;}
  .favorites-hero-stat{width:100%;margin-left:0;text-align:left;}
}

@media (max-width:991px){
  .favorites-shell .favorites-table-card{background:transparent;border:0;box-shadow:none;}
  .favorites-shell .favorites-row{border-color:rgba(37,99,235,.12);box-shadow:0 14px 30px rgba(37,99,235,.08);}
  .favorites-shell .favorites-table td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
  .favorites-shell .favorites-table td{grid-template-columns:118px minmax(0,1fr);}
  .favorites-shell .favorites-row:hover td{background:transparent;}
  .favorites-shell .favorites-row:hover td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
}

@media (max-width:640px){
  .favorites-page-hero{padding:18px;}
  .favorites-page-hero .favorites-shop-btn{width:100%;justify-content:center;}
  .favorites-shell .favorites-table td{grid-template-columns:1fr;}
  .favorites-product{align-items:flex-start;}
  .favorites-empty{align-items:flex-start;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - RECENT VIEWS POLISH
========================================================= */

.recent-shell{display:flex;flex-direction:column;gap:16px;}
.recent-page-hero{position:relative;overflow:hidden;align-items:center;min-height:154px;margin-bottom:0;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/service-3.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.recent-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.recent-page-hero>*{position:relative;z-index:1;}
.recent-page-hero .favorites-eyebrow{color:#bfdbfe;}
.recent-page-hero .favorites-title{color:#fff;font-size:clamp(26px,3vw,38px);}
.recent-page-hero .favorites-subtitle{max-width:650px;color:rgba(255,255,255,.84);}
.recent-hero-stat{min-width:128px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:12px 14px;text-align:center;margin-left:auto;}
.recent-hero-stat span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.recent-hero-stat strong{display:block;margin-top:5px;color:#fff;font-size:28px;font-weight:900;line-height:1;}
.recent-page-hero .favorites-shop-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.recent-page-hero .favorites-shop-btn:hover{background:#eff6ff;color:#1e40af;}
.recent-shell .favorites-table-card{border-color:rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);}
.recent-shell .favorites-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);padding:14px;}
.recent-shell .favorites-table td{padding:15px 14px;}
.recent-shell .favorites-row:hover td{background:#f8fbff;}
.recent-shell .favorites-icon-btn{width:38px;height:38px;border-radius:12px;background:#2563eb;color:#fff;border-color:#2563eb;}
.recent-shell .favorites-icon-btn:hover{background:#1e40af;color:#fff;}

@media (max-width:1199px){
  .recent-page-hero{align-items:stretch;flex-direction:column;}
  .recent-hero-stat{width:100%;margin-left:0;text-align:left;}
}

@media (max-width:640px){
  .recent-page-hero{padding:18px;}
  .recent-page-hero .favorites-shop-btn{width:100%;justify-content:center;}
}

/* =========================================================
   CUSTOMER DASHBOARD - ORDER TEMPLATES POLISH
========================================================= */

.order-template-shell{display:flex;flex-direction:column;gap:16px;}
.order-template-page-hero{position:relative;overflow:hidden;align-items:center;min-height:158px;margin-bottom:0;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/feature.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.order-template-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.order-template-page-hero>*{position:relative;z-index:1;}
.order-template-page-hero .order-template-eyebrow{color:#bfdbfe;}
.order-template-page-hero .order-template-title{color:#fff;font-size:clamp(26px,3vw,38px);}
.order-template-page-hero .order-template-subtitle{max-width:650px;color:rgba(255,255,255,.84);}
.order-template-hero-stats{display:flex;gap:10px;margin-left:auto;}
.order-template-hero-stats>div{min-width:112px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:10px 12px;text-align:center;}
.order-template-hero-stats span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.order-template-hero-stats strong{display:block;margin-top:4px;color:#fff;font-size:24px;font-weight:900;line-height:1;}
.order-template-page-hero .order-template-add-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.order-template-page-hero .order-template-add-btn:hover{background:#eff6ff;color:#1e40af;}
.order-template-shell .alert{border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.order-template-shell .order-template-table-card{border-color:rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);}
.order-template-shell .order-template-table td{padding:15px 14px;}
.order-template-shell .order-template-row:hover td{background:#f8fbff;}
.order-template-shell .order-template-name{color:#1d4ed8;}
.order-template-shell .order-template-icon-btn{width:38px;height:38px;border-radius:12px;}
.order-template-shell .order-template-empty{background:linear-gradient(135deg,#eff6ff,#f8fbff);box-shadow:0 16px 34px rgba(37,99,235,.08);}
.order-template-modal-panel{border:1px solid rgba(37,99,235,.12);}
.order-template-modal-head{background:linear-gradient(135deg,#f8fbff,#eff6ff);}

@media (max-width:1199px){
  .order-template-page-hero{align-items:stretch;flex-direction:column;}
  .order-template-hero-stats{width:100%;margin-left:0;}
  .order-template-hero-stats>div{flex:1 1 0;}
}

@media (max-width:640px){
  .order-template-page-hero{padding:18px;}
  .order-template-hero-stats{flex-direction:column;}
  .order-template-page-hero .order-template-add-btn{width:100%;justify-content:center;}
}

/* =========================================================
   CUSTOMER DASHBOARD - FAST ORDER POLISH
========================================================= */

.fast-order-shell{display:flex;flex-direction:column;gap:16px;}
.fast-order-page-hero{position:relative;overflow:hidden;align-items:center;min-height:158px;margin-bottom:0;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/Halls+Electrical+Auto+Electrical+Parts.webp');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.fast-order-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.fast-order-page-hero>*{position:relative;z-index:1;}
.fast-order-page-hero .fast-order-eyebrow{color:#bfdbfe;}
.fast-order-page-hero .fast-order-title{color:#fff;font-size:clamp(26px,3vw,38px);}
.fast-order-page-hero .fast-order-subtitle{max-width:650px;color:rgba(255,255,255,.84);}
.fast-order-hero-stats{display:flex;gap:10px;margin-left:auto;}
.fast-order-hero-stats>div{min-width:112px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:10px 12px;text-align:center;}
.fast-order-hero-stats span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.fast-order-hero-stats strong{display:block;margin-top:4px;color:#fff;font-size:24px;font-weight:900;line-height:1;}
.fast-order-page-hero .fast-order-secondary-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.fast-order-page-hero .fast-order-secondary-btn:hover{background:#eff6ff;color:#1e40af;}
.fast-order-shell .alert{border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.fast-order-shell .fast-order-card{border-color:rgba(37,99,235,.12);box-shadow:0 20px 46px rgba(37,99,235,.08);}
.fast-order-shell .fast-order-card-head{background:linear-gradient(135deg,#f8fbff,#eff6ff);}
.fast-order-shell .fast-order-line{background:linear-gradient(135deg,#fff,#f8fbff);border-color:rgba(37,99,235,.12);}
.fast-order-shell .fast-order-remove-row-btn{display:flex;align-items:center;justify-content:center;}

@media (max-width:1199px){
  .fast-order-page-hero{align-items:stretch;flex-direction:column;}
  .fast-order-hero-stats{width:100%;margin-left:0;}
  .fast-order-hero-stats>div{flex:1 1 0;}
}

@media (max-width:640px){
  .fast-order-page-hero{padding:18px;}
  .fast-order-hero-stats{flex-direction:column;}
  .fast-order-page-hero .fast-order-secondary-btn{width:100%;justify-content:center;}
}

/* =========================================================
   CUSTOMER DASHBOARD - REQUESTS / QUOTES / NOTIFICATIONS
========================================================= */

.part-request-shell,.quote-shell,.notification-shell{display:flex;flex-direction:column;gap:16px;}
.part-request-page-hero,.quote-page-hero,.notification-page-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:158px;margin-bottom:0;border-radius:18px;padding:22px;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.part-request-page-hero{background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/HDM_Auto_Electrical_Sparesfor_All_your_autoelectrical_spares-8712578.jpg');background-size:cover;background-position:center;}
.quote-page-hero{background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/AC_Services_automotive.jpeg');background-size:cover;background-position:center;}
.notification-page-hero{background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/carousel-1.jpg');background-size:cover;background-position:center;}
.part-request-page-hero::after,.quote-page-hero::after,.notification-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.part-request-page-hero>*,.quote-page-hero>*,.notification-page-hero>*{position:relative;z-index:1;}
.part-request-page-hero .part-request-eyebrow,.quote-page-hero .part-request-eyebrow,.notification-eyebrow{display:inline-flex;color:#bfdbfe;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.part-request-page-hero .part-request-title,.quote-page-hero .part-request-title,.notification-title{margin:6px 0 8px;color:#fff;font-size:clamp(26px,3vw,38px);font-weight:900;line-height:1.08;}
.part-request-page-hero .part-request-subtitle,.quote-page-hero .part-request-subtitle,.notification-subtitle{max-width:680px;margin:0;color:rgba(255,255,255,.84);font-size:15px;line-height:1.5;}
.part-request-hero-stats,.quote-hero-stats,.notification-hero-stats{display:flex;gap:10px;margin-left:auto;}
.part-request-hero-stats>div,.quote-hero-stats>div,.notification-hero-stats>div{min-width:104px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:10px 12px;text-align:center;}
.part-request-hero-stats span,.quote-hero-stats span,.notification-hero-stats span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.part-request-hero-stats strong,.quote-hero-stats strong,.notification-hero-stats strong{display:block;margin-top:4px;color:#fff;font-size:24px;font-weight:900;line-height:1;}
.part-request-page-hero .part-request-add-btn,.quote-page-hero .part-request-add-btn,.notification-read-btn{background:#fff;color:#1d4ed8;border-color:rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(15,23,42,.18);}
.part-request-page-hero .part-request-add-btn:hover,.quote-page-hero .part-request-add-btn:hover,.notification-read-btn:hover{background:#eff6ff;color:#1e40af;}
.notification-read-btn{border:1px solid rgba(255,255,255,.7);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:900;white-space:nowrap;}
.part-request-shell .alert,.quote-shell .alert,.notification-shell .alert{border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.part-request-shell .part-request-table-card,.quote-shell .part-request-table-card{border-color:rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);}
.part-request-shell .part-request-table th,.quote-shell .part-request-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);padding:14px;}
.part-request-shell .part-request-table td,.quote-shell .part-request-table td{padding:15px 14px;}
.part-request-shell .part-request-row:hover td,.quote-shell .part-request-row:hover td{background:#f8fbff;}
.part-request-shell .part-request-view-btn,.quote-shell .part-request-view-btn{border-radius:12px;background:#2563eb;color:#fff;border-color:#2563eb;min-height:38px;}
.part-request-shell .part-request-view-btn:hover,.quote-shell .part-request-view-btn:hover{background:#1e40af;color:#fff;}
.part-request-empty{background:linear-gradient(135deg,#eff6ff,#f8fbff);box-shadow:0 16px 34px rgba(37,99,235,.08);}
.part-request-empty button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#fff;color:#1d4ed8;padding:7px 12px;text-decoration:none;}
.part-request-modal-panel,.part-request-view-panel{border:1px solid rgba(37,99,235,.12);}
.part-request-modal-head{background:linear-gradient(135deg,#f8fbff,#eff6ff);}
.part-request-modal-head h4{font-size:24px;}
.part-request-view-summary>div,.part-request-view-item,.part-request-view-notes>div{background:linear-gradient(135deg,#fff,#f8fbff);}
.quote-view-files a{display:none;}
.notification-shell .notif-scroll{max-height:none;background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:16px;box-shadow:0 20px 46px rgba(37,99,235,.08);padding:10px;overflow:visible;}
.notification-shell .notif-item{border:1px solid rgba(15,23,42,.08);border-radius:14px;background:#fff;margin-bottom:10px;box-shadow:0 10px 24px rgba(15,23,42,.04);}
.notification-shell .notif-item:last-child{margin-bottom:0;}
.notification-shell .notif-item.is-unread{border-color:rgba(37,99,235,.22);background:linear-gradient(135deg,#eff6ff,#fff);}
.notification-shell .notif-title{color:#0f172a;font-weight:900;}
.notification-shell .notif-right .btn{border-radius:999px;font-size:12px;font-weight:900;}

@media (max-width:1199px){
  .part-request-page-hero,.quote-page-hero,.notification-page-hero{align-items:stretch;flex-direction:column;}
  .part-request-hero-stats,.quote-hero-stats,.notification-hero-stats{width:100%;margin-left:0;}
  .part-request-hero-stats>div,.quote-hero-stats>div,.notification-hero-stats>div{flex:1 1 0;}
}

@media (max-width:991px){
  .part-request-shell .part-request-table-card,.quote-shell .part-request-table-card{background:transparent;border:0;box-shadow:none;}
  .part-request-shell .part-request-row,.quote-shell .part-request-row{border-color:rgba(37,99,235,.12);box-shadow:0 14px 30px rgba(37,99,235,.08);}
  .part-request-shell .part-request-table td:first-child,.quote-shell .part-request-table td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
  .part-request-shell .part-request-row:hover td,.quote-shell .part-request-row:hover td{background:transparent;}
  .part-request-shell .part-request-row:hover td:first-child,.quote-shell .part-request-row:hover td:first-child{background:linear-gradient(135deg,#eff6ff,#f8fbff);}
}

@media (max-width:640px){
  .part-request-page-hero,.quote-page-hero,.notification-page-hero{padding:18px;}
  .part-request-hero-stats,.quote-hero-stats,.notification-hero-stats{flex-direction:column;}
  .part-request-page-hero .part-request-add-btn,.quote-page-hero .part-request-add-btn,.notification-read-btn{width:100%;}
  .part-request-shell .part-request-table td,.quote-shell .part-request-table td{grid-template-columns:1fr;}
  .part-request-view-panel,.part-request-modal-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px auto;border-radius:16px;}
  .part-request-modal-head,.part-request-form,.part-request-view-body{padding:15px;}
  .part-request-empty{align-items:flex-start;flex-direction:column;}
}

/* =========================================================
   CUSTOMER DASHBOARD - ACCOUNT
========================================================= */

.account-shell{display:flex;flex-direction:column;gap:16px;}
.account-page-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:158px;border-radius:18px;padding:22px;background:linear-gradient(135deg,rgba(12,74,164,.96),rgba(37,99,235,.88)),url('/img/about-1.jpg');background-size:cover;background-position:center;color:#fff;box-shadow:0 22px 50px rgba(37,99,235,.2);}
.account-page-hero::after{content:"";position:absolute;right:-76px;bottom:-112px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.16);}
.account-page-hero>*{position:relative;z-index:1;}
.account-eyebrow{display:inline-flex;color:#bfdbfe;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.account-title{margin:6px 0 8px;color:#fff;font-size:clamp(26px,3vw,38px);font-weight:900;line-height:1.08;}
.account-subtitle{max-width:680px;margin:0;color:rgba(255,255,255,.84);font-size:15px;line-height:1.5;}
.account-hero-stats{display:flex;gap:10px;margin-left:auto;}
.account-hero-stats>div{min-width:136px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:10px 12px;}
.account-hero-stats span{display:block;color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.account-hero-stats strong{display:block;margin-top:4px;color:#fff;font-size:16px;font-weight:900;line-height:1.2;}
.account-shell .customer-account-tabs{border:0;background:#fff;border-radius:16px;padding:10px;box-shadow:0 16px 34px rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);}
.account-shell .customer-account-tabs .nav-link{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:13px;}
.account-shell h5{color:#0f172a;font-size:20px;font-weight:900;margin-bottom:14px !important;}
.account-shell .card{border:1px solid rgba(37,99,235,.12) !important;border-radius:16px !important;box-shadow:0 20px 46px rgba(37,99,235,.08) !important;overflow:hidden;}
.account-shell .card-body{padding:20px;background:linear-gradient(135deg,#fff,#f8fbff);}
.account-shell .form-label{color:#1e3a8a;font-size:11px !important;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;}
.account-shell .form-control,.account-shell .form-select{min-height:42px;border:1px solid rgba(37,99,235,.16);border-radius:12px;color:#0f172a;font-size:13px;font-weight:700;box-shadow:none;}
.account-shell textarea.form-control{min-height:104px;}
.account-shell .form-control:focus,.account-shell .form-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.account-shell .form-control:disabled,.account-shell .form-select:disabled,.account-shell textarea:disabled{background:#f1f5f9;color:#64748b;}
.account-shell .btn-primary{border-radius:12px;min-height:42px;padding:10px 16px;font-weight:900;box-shadow:0 12px 24px rgba(37,99,235,.18);}
.account-shell .alert{border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.account-shell .badge{border-radius:999px;min-height:28px;display:inline-flex;align-items:center;padding:7px 10px;font-weight:900;}
.account-shell .row.g-3{--bs-gutter-x:14px;--bs-gutter-y:14px;}

@media (max-width:1199px){
  .account-page-hero{align-items:stretch;flex-direction:column;}
  .account-hero-stats{width:100%;margin-left:0;}
  .account-hero-stats>div{flex:1 1 0;}
}

@media (max-width:767px){
  .account-page-hero{padding:18px;}
  .account-hero-stats{flex-direction:column;}
  .account-shell .customer-account-tabs{display:grid;grid-template-columns:1fr;gap:8px;}
  .account-shell .customer-account-tabs .nav-item{width:100%;}
  .account-shell .customer-account-tabs .nav-link{width:100%;}
  .account-shell .card-body{padding:16px;}
  .account-shell .d-flex.justify-content-end{align-items:stretch;flex-direction:column;}
  .account-shell .btn-primary{width:100%;}
}

/* =========================================================
   CUSTOMER DASHBOARD - VEHICLE SERVICE HISTORY
========================================================= */
.vehicle-history-btn,.vehicle-usage-btn{border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 10px;font-size:12px;font-weight:900;white-space:nowrap;}
.vehicle-part-detail-btn{border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1d4ed8;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:6px 9px;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap;}
.vehicle-part-detail-btn:hover{background:#dbeafe;color:#1e40af;}
.vehicle-report-muted-inline{color:#94a3b8;font-weight:900;}
.vehicle-history-btn strong{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#2563eb;color:#fff;font-size:11px;}
.vehicle-history-btn:hover,.vehicle-usage-btn:hover{background:#dbeafe;color:#1e40af;}
.vehicle-history-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.vehicle-history-modal{display:none;position:fixed;inset:0;z-index:1090;}
.vehicle-history-modal.is-open{display:block;}
.vehicle-history-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(4px);}
.vehicle-history-panel{position:relative;width:min(1180px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:hidden;background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.36);margin:17px auto;display:flex;flex-direction:column;}
.vehicle-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px;background:linear-gradient(135deg,#f8fbff,#eff6ff);border-bottom:1px solid rgba(37,99,235,.12);}
.vehicle-history-head h4{margin:2px 0 4px;color:#0f172a;font-size:24px;font-weight:900;}
.vehicle-history-head p{margin:0;color:#64748b;font-size:13px;font-weight:700;}
.vehicle-history-body{overflow:auto;padding:16px 18px 18px;}
.vehicle-history-empty{display:flex;align-items:center;gap:14px;border:1px dashed rgba(37,99,235,.28);border-radius:14px;background:#f8fbff;color:#1e3a8a;padding:18px;}
.vehicle-history-empty i{width:42px;height:42px;border-radius:14px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;}
.vehicle-history-empty strong{display:block;color:#0f172a;font-size:15px;font-weight:900;}
.vehicle-history-empty span{display:block;color:#64748b;font-size:13px;font-weight:700;}
.vehicle-history-table-scroll{overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:14px;}
.vehicle-history-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;background:#fff;}
.vehicle-history-table th{background:linear-gradient(135deg,#dbeafe,#eff6ff);color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid rgba(37,99,235,.14);white-space:nowrap;}
.vehicle-history-table td{padding:13px 14px;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-size:13px;vertical-align:top;}
.vehicle-history-table tbody tr:not(.vehicle-usage-row):hover td{background:#f8fbff;}
.vehicle-history-work{max-width:320px;max-height:74px;overflow:auto;color:#475569;font-size:12px;line-height:1.42;}
.vehicle-usage-row{display:none;}
.vehicle-usage-row.is-open{display:table-row;}
.vehicle-usage-row>td{background:#f8fbff!important;padding:14px!important;}
.vehicle-usage-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:14px;}
.vehicle-usage-card{border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#fff;box-shadow:0 12px 26px rgba(37,99,235,.06);overflow:hidden;}
.vehicle-usage-card--gas{background:linear-gradient(135deg,#ecfeff,#f8fbff);}
.vehicle-usage-title{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid rgba(15,23,42,.08);color:#0f172a;font-weight:900;}
.vehicle-usage-title i{width:30px;height:30px;border-radius:10px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;}
.vehicle-usage-title span{flex:1;}
.vehicle-usage-title strong{border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:5px 9px;font-size:11px;}
.vehicle-usage-empty{padding:14px;color:#64748b;font-size:13px;font-weight:700;}
.vehicle-parts-table-scroll{overflow:auto;}
.vehicle-parts-table{width:100%;min-width:620px;border-collapse:collapse;}
.vehicle-parts-table th{background:#f8fafc;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;padding:10px 12px;border-bottom:1px solid rgba(15,23,42,.08);white-space:nowrap;}
.vehicle-parts-table td{padding:10px 12px;border-bottom:1px solid rgba(15,23,42,.07);font-size:12px;color:#0f172a;}
.vehicle-parts-table tr:last-child td{border-bottom:0;}
.vehicle-gas-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;}
.vehicle-gas-list div{border:1px solid rgba(37,99,235,.12);border-radius:12px;background:rgba(255,255,255,.82);padding:10px;}
.vehicle-gas-list span{display:block;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.vehicle-gas-list strong{display:block;margin-top:3px;color:#0f172a;font-size:13px;font-weight:900;}
.vehicle-detail-modal{display:none;position:fixed;inset:0;z-index:1110;}
.vehicle-detail-modal.is-open{display:block;}
.vehicle-detail-panel{position:relative;width:min(1080px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:hidden auto;background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:18px;box-shadow:0 28px 90px rgba(15,23,42,.38);margin:17px auto;}
.vehicle-detail-panel--report{background:#f1f5f9;padding:14px;}
.vehicle-report-paper{position:relative;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.08);padding:20px;}
.vehicle-detail-close{position:absolute;right:14px;top:14px;z-index:2;}
.vehicle-report-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;padding-right:46px;border-bottom:3px solid #1d4ed8;padding-bottom:14px;}
.vehicle-report-top span{display:block;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.vehicle-report-top h3{margin:4px 0 0;color:#0f172a;font-size:clamp(22px,3vw,34px);font-weight:900;line-height:1.1;}
.vehicle-report-status{border:1px solid rgba(37,99,235,.18);border-radius:999px;background:#eff6ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;font-size:12px;font-weight:900;white-space:nowrap;}
.vehicle-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.vehicle-report-grid div{border:1px solid rgba(37,99,235,.12);border-radius:10px;background:#f8fbff;padding:10px;min-width:0;}
.vehicle-report-grid span,.vehicle-report-section h4{color:#1e3a8a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.vehicle-report-grid strong{display:block;margin-top:4px;color:#0f172a;font-size:13px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.vehicle-report-section{border:1px solid rgba(15,23,42,.1);border-radius:12px;background:#fff;margin-top:12px;overflow:hidden;}
.vehicle-report-section h4{margin:0;padding:11px 13px;background:linear-gradient(135deg,#eff6ff,#f8fbff);border-bottom:1px solid rgba(37,99,235,.12);}
.vehicle-report-text{padding:13px;color:#0f172a;font-size:14px;font-weight:650;line-height:1.55;white-space:pre-wrap;}
.vehicle-report-muted{padding:13px;color:#64748b;font-size:13px;font-weight:700;}
.vehicle-report-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:12px;}
.vehicle-checklist-list{display:flex;flex-wrap:wrap;gap:8px;padding:13px;}
.vehicle-checklist-list span{border:1px solid rgba(22,163,74,.2);border-radius:999px;background:#dcfce7;color:#166534;padding:6px 9px;font-size:12px;font-weight:900;}
.vehicle-gas-list--report{padding:13px;}
.customer-sr{color:#111827;font-family:Arial,Helvetica,sans-serif;}
.customer-sr__brand-header{display:grid;grid-template-columns:160px 135px minmax(220px,1fr) minmax(260px,auto);align-items:center;gap:16px;padding:0 48px 15px 0;border-bottom:3px solid #1d4ed8;}
.customer-sr__logo-wrap img{display:block;width:100%;max-height:72px;object-fit:contain;object-position:left center;}
.customer-sr__company-block,.customer-sr__contact-block,.customer-sr__number-block{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.35;}
.customer-sr__company-block span{display:flex;align-items:center;gap:6px;font-weight:800;}
.customer-sr__company-block img{width:34px;height:26px;object-fit:contain;}
.customer-sr__number-block{text-align:right;align-items:flex-end;}
.customer-sr__number-block h3{margin:1px 0;color:#0f172a;font-size:18px;font-weight:900;letter-spacing:0;}
.customer-sr__copy-label{color:#166534!important;border:1px solid #86efac;border-radius:999px;background:#dcfce7;padding:3px 8px;font-size:10px;font-weight:900;text-transform:uppercase;}
.customer-sr__status{display:inline-flex;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;padding:4px 9px;font-size:11px;font-weight:900;}
.customer-sr__header-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px;}
.customer-sr__field{min-width:0;border:1px solid #dbe5f2;background:#fff;border-radius:5px;padding:8px 10px;}
.customer-sr__field--wide{grid-column:span 2;}
.customer-sr__field span,.customer-sr__footer span,.customer-sr__metric-grid span{display:block;color:#475569;font-size:10px;font-weight:900;text-transform:uppercase;}
.customer-sr__field strong{display:block;margin-top:3px;color:#0f172a;font-size:13px;font-weight:800;line-height:1.35;overflow-wrap:anywhere;}
.customer-sr__field--complete strong{color:#166534;}
.customer-sr__field--complete strong .fa-clock-o{color:#b45309;}
.customer-sr__locked{display:flex;align-items:center;gap:14px;margin-top:16px;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;padding:16px;color:#78350f;}
.customer-sr__locked>.fa{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#fef3c7;font-size:18px;}
.customer-sr__locked strong,.customer-sr__locked span{display:block;}
.customer-sr__locked span{margin-top:3px;color:#92400e;font-size:12px;line-height:1.45;}
.customer-sr__two-column{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;align-items:start;}
.customer-sr__section{border:1px solid #cbd5e1;border-radius:5px;background:#fff;overflow:hidden;}
.customer-sr__section--work,.customer-sr__section+.customer-sr__section:not(.customer-sr__two-column .customer-sr__section){margin-top:12px;}
.customer-sr__section h4{margin:0;border-bottom:1px solid #cbd5e1;background:#eaf2ff;color:#0f3f8c;padding:9px 11px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:0;}
.customer-sr__empty{margin:0;padding:12px;color:#64748b;font-size:12px;font-weight:700;}
.customer-sr__check-list{display:grid;grid-template-columns:1fr 1fr;gap:0;}
.customer-sr__check-list div{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border-bottom:1px solid #eef2f7;color:#334155;font-size:12px;font-weight:700;}
.customer-sr__check-list div:nth-last-child(-n+2){border-bottom:0;}
.customer-sr__check-list .fa{display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:3px;background:#16a34a;color:#fff;font-size:9px;}
.customer-sr__check-list--blue .fa{background:#2563eb;}
.customer-sr__work{min-height:110px;padding:12px;color:#0f172a;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;}
.customer-sr__two-column--technical{grid-template-columns:1.15fr .85fr;}
.customer-sr__metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;}
.customer-sr__metric-grid div{border:1px solid #e2e8f0;border-radius:5px;background:#f8fafc;padding:8px;min-width:0;}
.customer-sr__metric-grid strong{display:block;margin-top:3px;color:#0f172a;font-size:12px;overflow-wrap:anywhere;}
.customer-sr__table-scroll{overflow-x:auto;}
.customer-sr__table{width:100%;border-collapse:collapse;}
.customer-sr__table th{background:#f8fafc;color:#334155;padding:8px 10px;border-bottom:1px solid #cbd5e1;font-size:10px;font-weight:900;text-align:left;white-space:nowrap;}
.customer-sr__table td{padding:8px 10px;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:12px;}
.customer-sr__table tr:last-child td{border-bottom:0;}
.customer-sr>.customer-sr__section{margin-top:12px;}
.customer-sr__footer{display:grid;grid-template-columns:1fr 300px;gap:12px;margin-top:12px;}
.customer-sr__footer>div{border:1px solid #cbd5e1;border-radius:5px;background:#f8fafc;padding:10px;}
.customer-sr__footer strong{display:block;margin-top:5px;color:#0f172a;font-size:14px;}
.customer-sr__signature img{display:block;width:100%;max-width:260px;height:78px;margin-top:6px;object-fit:contain;object-position:left center;background:#fff;}
@media (max-width:991px){
  .vehicle-history-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px auto;border-radius:16px;}
  .vehicle-history-head{padding:15px;}
  .vehicle-history-body{padding:14px;}
  .vehicle-history-table-scroll{border:0;overflow:visible;}
  .vehicle-history-table{min-width:0;border-collapse:collapse;}
  .vehicle-history-table thead{display:none;}
  .vehicle-history-table,.vehicle-history-table tbody,.vehicle-history-table tr,.vehicle-history-table td{display:block;width:100%;}
  .vehicle-history-table tbody tr:not(.vehicle-usage-row){border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#fff;margin-bottom:10px;box-shadow:0 12px 26px rgba(37,99,235,.06);overflow:hidden;}
  .vehicle-history-table td{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;padding:11px 13px;}
  .vehicle-history-table td::before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
  .vehicle-history-table tbody tr:not(.vehicle-usage-row):hover td{background:transparent;}
  .vehicle-history-work{max-width:none;}
  .vehicle-usage-row.is-open{display:block;}
  .vehicle-usage-row>td{display:block;border:0;padding:0 0 12px!important;}
  .vehicle-usage-row>td::before{display:none;}
  .vehicle-usage-grid{grid-template-columns:1fr;}
  .vehicle-detail-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px auto;border-radius:16px;}
  .vehicle-detail-panel--report{padding:10px;}
  .vehicle-report-paper{padding:15px;}
  .vehicle-report-top{flex-direction:column;padding-right:44px;}
  .vehicle-report-grid{grid-template-columns:1fr 1fr;}
  .vehicle-report-two-col{grid-template-columns:1fr;}
  .customer-sr__brand-header{grid-template-columns:130px 1fr;padding-right:44px;}
  .customer-sr__contact-block{grid-column:1 / -1;}
  .customer-sr__number-block{grid-column:1 / -1;align-items:flex-start;text-align:left;}
  .customer-sr__header-grid{grid-template-columns:1fr 1fr;}
  .customer-sr__two-column,.customer-sr__two-column--technical{grid-template-columns:1fr;}
}
@media (max-width:575px){
  .vehicle-history-table td{grid-template-columns:1fr;}
  .vehicle-gas-list{grid-template-columns:1fr;}
  .vehicle-parts-table{min-width:540px;}
  .vehicle-history-actions{align-items:stretch;flex-direction:column;}
  .vehicle-history-actions .vehicle-usage-btn{width:100%;}
  .vehicle-report-grid{grid-template-columns:1fr;}
  .vehicle-report-top h3{font-size:22px;}
  .customer-sr__brand-header{grid-template-columns:1fr;padding-right:42px;gap:8px;}
  .customer-sr__logo-wrap img{width:145px;}
  .customer-sr__company-block,.customer-sr__contact-block{font-size:11px;}
  .customer-sr__number-block h3{font-size:15px;overflow-wrap:anywhere;}
  .customer-sr__header-grid{grid-template-columns:1fr;}
  .customer-sr__field--wide{grid-column:auto;}
  .customer-sr__check-list,.customer-sr__metric-grid{grid-template-columns:1fr;}
  .customer-sr__check-list div:nth-last-child(-n+2){border-bottom:1px solid #eef2f7;}
  .customer-sr__check-list div:last-child{border-bottom:0;}
  .customer-sr__footer{grid-template-columns:1fr;}
  .customer-sr__locked{align-items:flex-start;padding:13px;}
}

/* =========================================================
   CUSTOMER DASHBOARD - MOBILE LEFT DRAWER
========================================================= */
.customer-dash-mobilebar,
.customer-sidebar-mobile-head,
.customer-sidebar-backdrop{
  display:none;
}

@media (max-width:991px){
  body.customer-sidebar-open{
    overflow:hidden;
    touch-action:none;
  }

  .customer-dash-mobilebar{
    position:sticky;
    top:0;
    z-index:1025;
    display:flex;
    align-items:center;
    gap:12px;
    min-height:58px;
    padding:9px 12px;
    border-bottom:1px solid rgba(37,99,235,.14);
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 22px rgba(15,23,42,.08);
    backdrop-filter:blur(10px);
  }

  .customer-dash-mobilebar > strong{
    min-width:0;
    overflow:hidden;
    color:#0f172a;
    font-size:14px;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .customer-sidebar-toggle,
  .customer-sidebar-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(37,99,235,.18);
    background:#eff6ff;
    color:#1d4ed8;
    border-radius:12px;
  }

  .customer-sidebar-toggle{
    flex:0 0 auto;
    gap:8px;
    min-height:40px;
    padding:8px 12px;
    font-size:13px;
    font-weight:900;
  }

  .customer-sidebar-close{
    width:40px;
    height:40px;
    padding:0;
  }

  .customer-sidebar-backdrop{
    position:fixed;
    inset:var(--customer-nav-height) 0 0;
    z-index:1065;
    width:100%;
    height:auto;
    border:0;
    background:rgba(15,23,42,.56);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }

  .customer-dash.has-sidebar-open .customer-sidebar-backdrop{
    display:block;
    opacity:1;
    pointer-events:auto;
  }

  .customer-sidebar-column{
    position:fixed !important;
    top:var(--customer-nav-height);
    bottom:0;
    left:0;
    z-index:1070;
    display:flex;
    flex-direction:column;
    width:min(330px,88vw) !important;
    max-width:88vw;
    padding:0 !important;
    background:#fff;
    box-shadow:20px 0 50px rgba(15,23,42,.28);
    transform:translateX(-105%);
    visibility:hidden;
    transition:transform .24s ease, visibility .24s ease;
  }

  .customer-sidebar-column.is-open{
    transform:translateX(0);
    visibility:visible;
  }

  .customer-sidebar-mobile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:60px;
    padding:10px 14px;
    border-bottom:1px solid rgba(37,99,235,.12);
    background:#fff;
    color:#0f172a;
  }

  .customer-sidebar-mobile-head strong{
    font-size:15px;
    font-weight:900;
  }

  .customer-dash .customer-sidebar-column .dash-card--side{
    flex:1 1 auto;
    min-height:0;
    height:auto;
    max-height:none;
    margin:0;
    padding:14px;
    border:0;
    border-radius:0;
    overflow:hidden;
    box-shadow:none;
  }

  .customer-sidebar-column .dash-side{
    height:100%;
    max-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
  }

  .customer-sidebar-column .dash-nav{
    display:flex;
    flex-direction:column;
    grid-template-columns:none;
    gap:7px;
    padding-bottom:18px;
  }

  .customer-sidebar-column .dash-link{
    min-height:48px;
  }

  .customer-main-column{
    width:100% !important;
    max-width:100%;
    flex:0 0 100% !important;
  }

  .customer-dash .dash-card--main{
    padding:14px;
  }
}

@media (max-width:575px){
  .customer-dash-mobilebar{
    min-height:54px;
    padding:7px 10px;
  }

  .customer-sidebar-toggle{
    min-height:40px;
  }

  .customer-dash .dash-card--main{
    padding:10px;
  }
}

@media (prefers-reduced-motion:reduce){
  .customer-sidebar-column,
  .customer-sidebar-backdrop{
    transition:none;
  }
}

/* Dense legacy tables become readable cards on phones. */
@media (max-width:767px){
  .customer-dash .mobile-card-table-wrap{
    overflow:visible;
  }

  .customer-dash .mobile-card-table{
    display:block;
    width:100%;
    min-width:0;
  }

  .customer-dash .mobile-card-table thead{
    display:none;
  }

  .customer-dash .mobile-card-table tbody,
  .customer-dash .mobile-card-table tr,
  .customer-dash .mobile-card-table td{
    display:block;
    width:100%;
  }

  .customer-dash .mobile-card-table tbody tr{
    overflow:hidden;
    margin-bottom:12px;
    border:1px solid rgba(37,99,235,.14);
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
  }

  .customer-dash .mobile-card-table td{
    display:grid;
    grid-template-columns:minmax(94px,36%) minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:10px 12px;
    border-bottom:1px solid rgba(15,23,42,.07);
    text-align:left !important;
    overflow-wrap:anywhere;
  }

  .customer-dash .mobile-card-table td:last-child{
    border-bottom:0;
  }

  .customer-dash .mobile-card-table td::before{
    content:attr(data-label);
    color:#64748b;
    font-size:10px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
  }

  .customer-dash .mobile-card-table td[colspan]{
    display:block;
    text-align:center !important;
  }

  .customer-dash .mobile-card-table td[colspan]::before{
    display:none;
  }
}

/* The cart lives outside .customer-dash but uses the same card pattern. */
@media (max-width:767px){
  .cart-mobile-table-wrap{overflow:visible!important;}
  .cart-mobile-table{display:block;width:100%;min-width:0;}
  .cart-mobile-table thead{display:none;}
  .cart-mobile-table tbody,.cart-mobile-table tr,.cart-mobile-table td{display:block;width:100%;}
  .cart-mobile-table tbody tr{overflow:hidden;margin-bottom:12px;border:1px solid rgba(37,99,235,.14);border-radius:14px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.06);}
  .cart-mobile-table td{display:grid;grid-template-columns:minmax(94px,34%) minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px!important;border-bottom:1px solid rgba(15,23,42,.07);text-align:left!important;overflow-wrap:anywhere;}
  .cart-mobile-table td:last-child{border-bottom:0;}
  .cart-mobile-table td::before{content:attr(data-label);color:#64748b;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
}
