.order-shell {
  --order-border: rgba(20, 20, 20, 0.08);
  --order-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  --order-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.14);
  --order-muted: #667085;
  --order-title: #1f2937;
  --order-surface: #ffffff;
  --order-overlay: rgba(15, 23, 42, 0.65);
  padding: 2rem 0;
}

.order-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1f1f1f 0%, #343434 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.order-title,
.order-title-sm {
  margin-bottom: 0.35rem;
}

.order-title-sm {
  font-size: 1.75rem;
}

.order-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.order-cart-button {
  white-space: nowrap;
}

.order-product-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.order-product-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--order-border);
  border-radius: 12px;
  box-shadow: var(--order-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .order-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: var(--order-shadow-hover);
  }
}

.order-product-image-wrap {
  appearance: none;
  padding: 0;
  width: 72px;
  height: 72px;
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.order-product-image-wrap:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .order-product-image-wrap:hover {
    border-color: rgba(13, 110, 253, 0.38);
    transform: translateY(-1px);
  }
}

.order-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a2adbd;
  font-size: 1.3rem;
}

.order-product-body {
  min-width: 0;
}

.order-product-body h2 {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--order-title);
  margin: 0 0 0.2rem;
}

.order-product-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.2rem;
}

.order-product-identifiers span {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #526070;
  font-size: 0.72rem;
  line-height: 1.2;
}

.order-product-body p {
  margin: 0;
  color: var(--order-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-product-meta {
  display: flex;
  justify-content: flex-start;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.28rem;
  font-size: 0.82rem;
}

.order-product-meta strong {
  font-size: 0.98rem;
  color: var(--order-title);
  letter-spacing: 0.01em;
}

.order-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-left: auto;
}

.order-qty {
  text-align: center;
  width: 62px;
  min-height: 34px;
  padding: 0.2rem 0.3rem;
  font-size: 0.84rem;
}

.add-to-cart-btn {
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
}

.order-product-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1065;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.order-product-preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.order-product-preview-backdrop {
  position: absolute;
  inset: 0;
  background: var(--order-overlay);
  backdrop-filter: blur(2px);
}

.order-product-preview-dialog {
  position: relative;
  width: min(960px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--order-surface);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.24);
  padding: 1rem;
  transform: translateY(10px) scale(0.975);
  transition: transform 0.24s ease;
}

.order-product-preview-modal.is-open .order-product-preview-dialog {
  transform: translateY(0) scale(1);
}

.order-product-preview-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f5f9;
  color: #425466;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-product-preview-close:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.order-product-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  gap: 1rem;
}

.order-product-preview-media {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #f8fafc;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.order-product-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.order-product-preview-image.is-ready {
  opacity: 1;
}

.order-preview-spinner {
  position: absolute;
  inset: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
  background: rgba(248, 250, 252, 0.9);
}

.order-preview-spinner.is-hidden {
  display: none;
}

.order-product-preview-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.28rem;
  color: var(--order-title);
}

.order-preview-meta-list {
  display: grid;
  gap: 0.45rem;
}

.order-preview-meta-list p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.order-preview-meta-list span {
  color: #64748b;
  font-size: 0.81rem;
}

.order-preview-meta-list strong {
  color: #1f2937;
  font-size: 0.92rem;
  text-align: right;
}

.order-preview-description-wrap,
.order-preview-specs-wrap {
  margin-top: 0.8rem;
}

.order-preview-description-wrap h3,
.order-preview-specs-wrap h3 {
  font-size: 0.92rem;
  color: #111827;
  margin-bottom: 0.28rem;
}

.order-preview-description-wrap p,
.order-preview-specs-wrap p {
  margin: 0;
  color: var(--order-muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.order-preview-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.55rem;
}

.order-page-modal-open {
  overflow: hidden;
}

.order-empty-state {
  min-height: 220px;
}

.order-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.order-cart-qty .btn {
  min-width: 2rem;
  border-radius: 0.4rem;
  font-weight: 700;
}

.order-cart-qty .cart-qty-value {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: #212529;
}

.order-summary-sticky {
  position: sticky;
  top: 96px;
}

.order-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #6c757d;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.order-summary-line.total {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(33, 37, 41, 0.1);
  font-size: 1.08rem;
  color: #212529;
}

.order-summary-line.total strong {
  color: #212529;
}

.order-summary-items {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Cart page — Agency / TrioTreats brand (self-contained; no dashboard.css required) */
.cart-page-atmosphere {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 200, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 200, 0, 0.1), transparent 50%),
    linear-gradient(180deg, #fffdf6 0%, #ffffff 42%, #f8f9fa 100%);
}

.layout-marketing .cart-page.order-shell {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.cart-page.reveal-up {
  animation: cart-reveal-up 0.55s ease-out both;
}

@keyframes cart-reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-page .cart-page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.cart-page-brand {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #212529;
  line-height: 1.15;
}

.cart-page-title {
  margin: 0 0 0.45rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #212529;
}

.cart-page-subtitle {
  max-width: 30rem;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #6c757d;
}

.cart-page-continue {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.45rem;
  padding: 0.65rem 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cart-page-continue:hover,
.cart-page-continue:focus {
  transform: translateY(-1px);
}

.cart-progress {
  margin-bottom: 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 37, 41, 0.06);
  backdrop-filter: blur(6px);
}

.cart-progress-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: cart-step;
}

.cart-progress-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  counter-increment: cart-step;
}

.cart-progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: calc(50% + 1rem);
  width: calc(100% - 2rem);
  height: 2px;
  background: rgba(33, 37, 41, 0.12);
}

.cart-progress-step.is-active:not(:last-child)::after {
  background: linear-gradient(90deg, #ffc800 0%, rgba(255, 200, 0, 0.35) 100%);
}

.cart-progress-dot {
  position: relative;
  z-index: 1;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 2px solid rgba(33, 37, 41, 0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #6c757d;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cart-progress-dot::before {
  content: counter(cart-step);
}

.cart-progress-step.is-active .cart-progress-dot {
  border-color: #ffc800;
  background: #ffc800;
  color: #212529;
  box-shadow: 0 0 0 4px rgba(255, 200, 0, 0.22);
  transform: scale(1.06);
}

.cart-progress-label {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
}

.cart-progress-step.is-active .cart-progress-label {
  color: #212529;
}

.cart-panel {
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.08);
  border-radius: 0.95rem;
  box-shadow: 0 10px 28px rgba(33, 37, 41, 0.06);
  padding: 1.35rem 1.45rem;
}

.cart-panel-items {
  animation: cart-panel-in 0.5s ease-out 0.08s both;
}

.cart-summary {
  animation: cart-panel-in 0.5s ease-out 0.16s both;
  border-top: 3px solid #ffc800;
}

@keyframes cart-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-summary-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(33, 37, 41, 0.08);
}

.cart-summary-title {
  margin: 0 0 1rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
}

.cart-summary-heading .cart-summary-title {
  margin: 0;
}

.cart-summary-count {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cca000;
}

.cart-summary .order-summary-line {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.cart-summary .order-summary-line.total {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
}

.cart-btn-primary {
  background-color: #ffc800;
  border-color: #ffc800;
  color: #212529;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 8px 18px rgba(204, 160, 0, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-btn-primary:hover,
.cart-btn-primary:focus {
  background-color: #cca000;
  border-color: #cca000;
  color: #212529;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(204, 160, 0, 0.32);
}

.cart-btn-primary:disabled {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #6c757d;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.cart-checkout-cue {
  margin-top: 0.95rem;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #6c757d;
  text-align: center;
}

.cart-checkout-signin-link {
  display: inline;
  color: #cca000;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cart-checkout-signin-link:hover,
.cart-checkout-signin-link:focus {
  color: #212529;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: 2.25rem 1.35rem;
  border: 1.5px dashed rgba(204, 160, 0, 0.5);
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #fffdf5 0%, #fff 100%);
}

.cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 200, 0, 0.18);
  color: #cca000;
  animation: cart-empty-bob 2.4s ease-in-out infinite;
}

.cart-empty-icon i {
  font-size: 1.45rem;
}

@keyframes cart-empty-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.cart-empty-title {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #212529;
}

.cart-empty-copy {
  max-width: 24rem;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #6c757d;
}

.cart-table {
  --bs-table-bg: transparent;
}

.cart-table thead th {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
  border-bottom-width: 1px;
  white-space: nowrap;
  padding-bottom: 0.85rem;
}

.cart-table tbody td {
  vertical-align: middle;
  border-color: rgba(33, 37, 41, 0.06);
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.cart-table tbody tr.cart-line {
  transition: background-color 0.2s ease;
}

.cart-table tbody tr.cart-line:hover {
  background-color: rgba(255, 200, 0, 0.06);
}

.cart-line-product {
  gap: 0.85rem !important;
}

.cart-line-name {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  color: #212529;
}

.cart-line-meta {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.cart-line-price {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #6c757d;
  white-space: nowrap;
}

.cart-line-total {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  color: #212529;
  white-space: nowrap;
}

.cart-page .order-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f8f9fa;
  border: 1px solid rgba(33, 37, 41, 0.08);
}

.cart-page .order-cart-qty .btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cart-page .order-cart-qty .btn:hover,
.cart-page .order-cart-qty .btn:focus {
  background-color: #ffc800;
  border-color: #ffc800;
  color: #212529;
  transform: scale(1.05);
}

.cart-page .order-cart-qty .cart-qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-page .remove-item {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.4rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-page .tt-thumb,
.cart-page .cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f8f9fa;
  border: 1px solid rgba(33, 37, 41, 0.08);
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.08);
}

.cart-page .tt-thumb-placeholder,
.cart-page .cart-thumb.tt-thumb-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.cart-summary .order-summary-line.total strong {
  color: #212529;
  font-size: 1.15rem;
}

.cart-clear-btn,
.cart-keep-shopping {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .cart-page.reveal-up,
  .cart-panel-items,
  .cart-summary,
  .cart-empty-icon {
    animation: none;
  }

  .cart-page-continue,
  .cart-btn-primary,
  .cart-page .order-cart-qty .btn {
    transition: none;
  }
}

.order-success-card {
  max-width: 720px;
  margin: 0 auto;
}

.order-success-icon {
  font-size: 4rem;
  color: #24a148;
  margin-bottom: 1rem;
}

.order-success-meta {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.order-success-meta div {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff8ea;
}

.order-success-meta span {
  display: block;
  color: #7d7d7d;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

@media (max-width: 991.98px) {
  .order-shell {
    padding-top: 1.5rem;
  }

  .order-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-summary-sticky {
    position: static;
  }

  .cart-page .cart-page-header {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .order-shell {
    padding-top: 1.25rem;
  }

  .order-product-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "image body"
      "actions actions";
    align-items: start;
    gap: 0.6rem 0.75rem;
    padding: 0.65rem;
  }

  .order-product-image-wrap {
    grid-area: image;
    width: 64px;
    height: 64px;
  }

  .order-product-body {
    grid-area: body;
  }

  .order-product-actions {
    grid-area: actions;
    width: 100%;
    justify-content: flex-end;
    padding-top: 0.35rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
  }

  .order-qty,
  .add-to-cart-btn {
    min-height: 40px;
  }

  .order-product-identifiers span {
    font-size: 0.7rem;
  }

  .order-product-preview-dialog {
    width: min(680px, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    padding: 0.75rem;
    border-radius: 14px;
  }

  .order-product-preview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .order-product-preview-media {
    min-height: 240px;
  }

  .order-preview-actions .btn {
    min-height: 42px;
  }

  .cart-panel {
    padding: 1rem;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr.cart-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(33, 37, 41, 0.08);
  }

  .cart-table tbody tr.cart-line td {
    border: 0;
    padding: 0;
  }

  .cart-table tbody tr.cart-line td:first-child {
    grid-column: 1 / -1;
  }

  .cart-table tbody tr.cart-line td:nth-child(3) {
    justify-self: start;
  }

  .cart-table tbody tr.cart-line td:nth-child(4) {
    justify-self: end;
    font-weight: 700;
  }

  .cart-table tbody tr.cart-line td:last-child {
    grid-column: 1 / -1;
    text-align: left !important;
  }

  .cart-table tbody tr.cart-line td:nth-child(2) {
    color: #6c757d;
    font-size: 0.9rem;
  }
}