/**
 * Order Lookup Premium Page Styles (Vanilla CSS)
 * Prefix: .hp-lookup-
 * Avoids any Tailwind utility class dependencies.
 */

:root {
  --hp-slate-50: #f8fafc;
  --hp-slate-100: #f1f5f9;
  --hp-slate-200: #e2e8f0;
  --hp-slate-300: #cbd5e1;
  --hp-slate-400: #94a3b8;
  --hp-slate-500: #64748b;
  --hp-slate-600: #475569;
  --hp-slate-700: #334155;
  --hp-slate-800: #1e293b;
  --hp-slate-900: #0f172a;
  
  --hp-primary: #009EE3;
  --hp-primary-light: #e6f4ff;
  --hp-primary-dark: #0081bb;
  
  --hp-gradient-start: #0ea5e9;
  --hp-gradient-end: #0284c7;
  --hp-gradient-hover-start: #0284c7;
  --hp-gradient-hover-end: #0369a1;
}

/* === 1. MAIN CONTAINER LAYOUT === */
.hp-lookup-section {
  width: 100%;
  padding: 3rem 0;
  background-color: var(--hp-slate-50);
  min-height: 600px;
}

@media (min-width: 768px) {
  .hp-lookup-section {
    padding: 4rem 0;
  }
}

.hp-lookup-container {
  max-width: 72rem; /* max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .hp-lookup-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hp-lookup-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Page Title & Headings */
.hp-lookup-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hp-lookup-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--hp-slate-800);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hp-lookup-title {
    font-size: 1.875rem;
  }
}

.hp-lookup-subtitle {
  color: var(--hp-slate-500);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* === 2. FORM CARD & TABS === */
.hp-lookup-card {
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--hp-slate-100);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-lookup-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

@media (min-width: 640px) {
  .hp-lookup-card {
    padding: 2rem;
  }
}

/* Tabs switcher styling */
.hp-lookup-tabs {
  display: flex;
  border-bottom: 1px solid var(--hp-slate-100);
  margin-bottom: 2rem;
  padding: 0.25rem;
  background-color: var(--hp-slate-50);
  border-radius: 16px;
}

.hp-tab-btn {
  flex: 1;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.875rem !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  cursor: pointer;
  transition: all 200ms ease;
  border: 0 !important;
  background-color: transparent !important;
  color: var(--hp-slate-500) !important;
  text-transform: none !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline-block;
  line-height: normal;
}

.hp-tab-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hp-tab-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Active tab button */
.hp-tab-btn.active {
  background-color: #ffffff !important;
  color: var(--hp-primary) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05) !important;
}

/* Tab Content */
.hp-tab-content {
  display: block;
}
.hp-tab-content.hidden {
  display: none !important;
}

/* Form layouts */
.hp-lookup-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hp-lookup-form-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.hp-input-container {
  flex-grow: 1;
  position: relative;
}

/* Form Label & Input overrides */
.hp-lookup-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--hp-slate-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.hp-lookup-label span {
  color: #ef4444;
}

.hp-lookup-input {
  width: 100% !important;
  padding: 0.875rem 1rem !important; /* py-3.5 px-4 */
  background-color: var(--hp-slate-50) !important;
  border: 1px solid var(--hp-slate-200) !important;
  border-radius: 12px !important;
  color: var(--hp-slate-800) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02) !important;
  outline: none !important;
  transition: all 200ms ease !important;
  margin: 0 !important;
  height: auto !important;
}

.hp-lookup-input::placeholder {
  color: var(--hp-slate-400) !important;
  opacity: 1 !important;
}

.hp-lookup-input:focus {
  border-color: var(--hp-primary) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1) !important;
}

/* Custom error message */
.hp-error-msg {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hp-error-msg.hidden {
  display: none !important;
}

/* Submit Button styling */
.hp-lookup-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.875rem 2rem !important; /* py-3.5 px-8 */
  background: linear-gradient(135deg, var(--hp-gradient-start), var(--hp-gradient-end)) !important;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.1), 0 2px 4px -1px rgba(14, 165, 233, 0.06) !important;
  cursor: pointer;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
  min-width: 150px !important;
  border: 0 !important;
  margin: 0 !important;
  transition: all 200ms ease !important;
  line-height: normal !important;
  height: auto !important;
}

.hp-lookup-submit-btn:hover {
  background: linear-gradient(135deg, var(--hp-gradient-hover-start), var(--hp-gradient-hover-end)) !important;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.15), 0 4px 6px -2px rgba(14, 165, 233, 0.05) !important;
}

.hp-lookup-submit-btn:active {
  transform: scale(0.98) !important;
}

.hp-lookup-submit-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 200ms ease;
}

.hp-lookup-submit-btn:hover svg {
  transform: translateX(2px);
}

/* === 3. SPINNER LOADING OVERLAY === */
.hp-lookup-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.hp-lookup-overlay.hidden {
  display: none !important;
}

.hp-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hp-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid var(--hp-slate-200);
  border-top-color: var(--hp-primary);
  border-radius: 50%;
  animation: hpSpinnerRotate 1s linear infinite;
}

.hp-spinner-text {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--hp-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes hpSpinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* === 4. SEARCH RESULTS (TABLE LIST VIEW) === */
.hp-results-card {
  margin-top: 2rem;
  background-color: #ffffff;
  border: 1px solid var(--hp-slate-100);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 300ms ease;
}

@media (min-width: 640px) {
  .hp-results-card {
    padding: 2rem;
  }
}

.hp-results-title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--hp-slate-800);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hp-results-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--hp-primary);
}

.hp-results-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.hp-results-table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  border-collapse: collapse;
}

.hp-results-table th {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--hp-slate-100);
  color: var(--hp-slate-400);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hp-results-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--hp-slate-50);
  color: var(--hp-slate-700);
  vertical-align: middle;
}

.hp-results-table tr:hover td {
  background-color: rgba(248, 250, 252, 0.5);
}

.hp-results-table tr:last-child td {
  border-bottom: none;
}

.hp-order-code {
  font-weight: 900;
  color: var(--hp-slate-900);
  white-space: nowrap;
}

.hp-order-date {
  color: var(--hp-slate-500);
  font-weight: 500;
  white-space: nowrap;
}

.hp-order-items-summary {
  font-size: 0.75rem;
  color: var(--hp-slate-600);
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-order-total {
  font-weight: 900;
  color: var(--hp-primary);
  text-align: right;
  white-space: nowrap;
}

.hp-results-table th.hp-col-total,
.hp-results-table td.hp-col-total {
  text-align: right;
}

.hp-results-table th.hp-col-center,
.hp-results-table td.hp-col-center {
  text-align: center;
}

/* Action Button inside Table */
.hp-view-order-detail-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--hp-primary) !important;
  background-color: var(--hp-primary-light) !important;
  border: 1px solid rgba(0, 158, 227, 0.12) !important;
  border-radius: 8px !important;
  padding: 0.375rem 0.625rem !important; /* py-1.5 px-2.5 */
  transition: all 150ms ease !important;
  cursor: pointer;
  white-space: nowrap !important;
  text-transform: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  line-height: normal !important;
  height: auto !important;
}

.hp-view-order-detail-btn:hover {
  background-color: rgba(0, 158, 227, 0.15) !important;
  color: var(--hp-primary-dark) !important;
}

.hp-view-order-detail-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* === 5. PREMIUM STATUS BADGES === */
.hp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.hp-status-badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* WooCommerce status variations mapping */
.hp-status-badge.pending {
  background-color: #fffbeb;
  color: #b45309;
  border-color: rgba(253, 230, 138, 0.6);
}
.hp-status-badge.on-hold {
  background-color: #fefce8;
  color: #a16207;
  border-color: rgba(254, 240, 138, 0.6);
}
.hp-status-badge.processing {
  background-color: #f0f9ff;
  color: #0369a1;
  border-color: rgba(186, 230, 253, 0.6);
}
.hp-status-badge.shipping {
  background-color: #eef2ff;
  color: #3730a3;
  border-color: rgba(199, 210, 254, 0.6);
}
.hp-status-badge.completed {
  background-color: #ecfdf5;
  color: #047857;
  border-color: rgba(167, 243, 208, 0.6);
}
.hp-status-badge.cancelled {
  background-color: #fff1f2;
  color: #b91c1c;
  border-color: rgba(254, 226, 226, 0.6);
}
.hp-status-badge.refunded {
  background-color: #faf5ff;
  color: #6b21a8;
  border-color: rgba(233, 213, 255, 0.6);
}
.hp-status-badge.failed {
  background-color: #fef2f2;
  color: #b91c1c;
  border-color: rgba(254, 226, 226, 0.6);
}

/* === 6. ORDER DETAILS CARD VIEW === */
.hp-details-header {
  background-color: var(--hp-slate-50);
  border-bottom: 1px solid var(--hp-slate-100);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hp-details-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
  }
}

.hp-details-header-info {
  display: flex;
  flex-direction: column;
}

.hp-details-header-info .hp-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hp-details-header-info .hp-title-row h3 {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--hp-slate-800);
  letter-spacing: -0.025em;
  margin: 0;
}

.hp-details-header-info p {
  font-size: 0.75rem;
  color: var(--hp-slate-500);
  font-weight: 600;
  margin-top: 0.25rem;
}

.hp-details-header-total {
  display: flex;
  flex-direction: column;
  text-align: left;
}

@media (min-width: 768px) {
  .hp-details-header-total {
    text-align: right;
  }
}

.hp-details-total-label {
  font-size: 0.75rem;
  color: var(--hp-slate-400);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hp-details-total-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--hp-primary);
  margin-top: 0.125rem;
}

/* === 7. STATUS TIMELINE === */
.hp-details-timeline {
  width: 100%;
  padding: 2rem 0;
  border-bottom: 1px solid var(--hp-slate-100);
}

.hp-timeline-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hp-timeline-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Connector line (Desktop only) */
.hp-timeline-connector {
  position: absolute;
  top: 20px;
  left: 12.5% !important;
  right: 12.5% !important;
  height: 2px;
  background-color: var(--hp-slate-100);
  display: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .hp-timeline-connector {
    display: block;
  }
}

.hp-timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--hp-primary) 0%, #06b6d4 100%);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step items */
.hp-timeline-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .hp-timeline-step {
    flex-direction: column;
    text-align: center;
    gap: 0.875rem;
    width: 25% !important;
    max-width: 25% !important;
    flex: 1 1 25% !important;
  }
}

.hp-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hp-slate-200);
  background-color: #ffffff;
  color: var(--hp-slate-400);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hp-step-icon .hp-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--hp-slate-300);
  transition: all 0.3s ease;
}

.hp-step-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 3;
  transition: transform 0.3s ease;
}

.hp-step-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

@media (min-width: 768px) {
  .hp-step-info {
    align-items: center;
    text-align: center;
  }
}

.hp-step-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--hp-slate-400);
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .hp-step-title {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
}

.hp-step-desc {
  font-size: 10px;
  color: var(--hp-slate-400);
  font-weight: 600;
  max-width: 140px;
  margin-top: 0.125rem;
  transition: color 0.3s ease;
}

.hp-step-time {
  display: block;
  font-size: 11px;
  color: #8c8f94;
  margin-top: 4px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hp-timeline-step.active .hp-step-time {
  color: var(--hp-slate-500);
}

@media (min-width: 768px) {
  .hp-step-time {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important;
    white-space: nowrap;
  }
}

/* Active Step modifier styles */
.hp-timeline-step.active .hp-step-icon {
  background-color: var(--hp-primary);
  border-color: var(--hp-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15), 0 4px 6px -1px rgba(14, 165, 233, 0.2);
}

.hp-timeline-step.active .hp-step-title {
  color: var(--hp-slate-800);
}

.hp-timeline-step.active .hp-step-desc {
  color: var(--hp-slate-500);
}

/* === 8. PRODUCTS LIST === */
.hp-details-products {
  padding-top: 1rem;
}

.hp-details-products h4 {
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--hp-slate-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hp-product-list {
  border-top: 1px solid var(--hp-slate-100);
  border-bottom: 1px solid var(--hp-slate-100);
}

.hp-product-item {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--hp-slate-100);
}

.hp-product-item:last-child {
  border-bottom: none;
}

.hp-product-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hp-slate-100);
  background-color: var(--hp-slate-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z' /%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: block;
}

.hp-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

.hp-product-info {
  flex-grow: 1;
  min-width: 0;
}

.hp-product-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hp-slate-800);
  transition: color 150ms ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-product-name:hover {
  color: var(--hp-primary);
}

.hp-product-meta {
  font-size: 0.75rem;
  color: var(--hp-slate-500);
  font-weight: 600;
  margin-top: 0.25rem;
}

.hp-product-meta span {
  margin-right: 0.75rem;
}

.hp-product-price {
  text-align: right;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--hp-slate-800);
}

/* === 9. METADATA GRID (ADDRESSES & PAYMENTS) === */
.hp-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .hp-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-details-col-card {
  background-color: rgba(248, 250, 252, 0.5);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--hp-slate-100);
  display: flex;
  flex-direction: column;
}

.hp-details-col-card.hp-justify-between {
  justify-content: space-between;
}

.hp-col-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--hp-slate-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  user-select: none;
}

.hp-col-title svg {
  width: 1rem;
  height: 1rem;
  color: var(--hp-slate-500);
}

.hp-col-content {
  font-size: 0.875rem;
  color: var(--hp-slate-600);
  font-weight: 600;
  line-height: 1.6;
}

.hp-col-content p {
  margin-bottom: 0.25rem;
}

.hp-col-content p:last-child {
  margin-bottom: 0;
}

.hp-col-content .hp-name {
  color: var(--hp-slate-800);
  font-weight: 700;
}

.hp-customer-note {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.hp-customer-note span {
  font-size: 0.75rem;
  color: var(--hp-slate-400);
  font-weight: 800;
  text-transform: uppercase;
}

.hp-customer-note p {
  font-size: 0.75rem;
  color: var(--hp-slate-500);
  margin-top: 0.25rem;
  font-style: italic;
}

/* Payment detail styling */
.hp-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--hp-slate-600);
  font-weight: 600;
}

.hp-payment-row span {
  color: var(--hp-slate-500);
  font-weight: 700;
}

.hp-payment-row strong {
  color: var(--hp-slate-800);
  font-weight: 700;
}

.hp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px dashed var(--hp-slate-200);
}

.hp-total-row span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hp-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hp-total-row strong {
  color: var(--hp-primary);
  font-weight: 900;
  font-size: 1.125rem;
}

/* === 10. BACK BUTTONS === */
.hp-back-button-wrap {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.hp-back-to-list-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  color: var(--hp-slate-500) !important;
  background-color: #ffffff !important;
  border: 1px solid var(--hp-slate-200) !important;
  border-radius: 12px !important;
  padding: 0.5rem 1rem !important; /* py-2 px-4 */
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 150ms ease !important;
  text-transform: none !important;
  margin: 0 !important;
  line-height: normal !important;
  height: auto !important;
}

.hp-back-to-list-btn:hover {
  color: var(--hp-slate-800) !important;
  border-color: var(--hp-slate-300) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.hp-back-to-list-btn:active {
  transform: scale(0.98) !important;
}

.hp-back-to-list-btn svg {
  width: 1rem;
  height: 1rem;
}
