/**
 * EarlyWell Next-Gen Health-Tech Platform
 * Shop Styles: Product Cards, Hero Bento Widgets, Filters, Detail Tabs, Checkout
 * Style Direction: Style C - Dark Tech Premium
 */

/* ==========================================================================
   1. Live Health-Tech Telemetry Widgets (Hero Bento Components)
   ========================================================================== */
.telemetry-card {
  background: rgba(20, 28, 46, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
}

.telemetry-card:hover {
  border-color: var(--color-border-highlight);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.15);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: var(--space-xs);
  min-width: 0;
}

.telemetry-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  word-break: keep-all !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  min-width: 0;
  flex-shrink: 1;
}

.telemetry-title .title-short {
  display: none;
}

/* Interactive Scenario & Timeline Tabs */
.telemetry-timeline-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-xs) 0 var(--space-sm);
  overflow-x: auto;
  padding-bottom: 2px;
}

.telemetry-tab {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}

.telemetry-tab .tab-label-short {
  display: none;
}

.telemetry-tab:hover {
  background: rgba(0, 245, 160, 0.1);
  border-color: rgba(0, 245, 160, 0.35);
  color: #ffffff;
}

.telemetry-tab.is-active {
  background: rgba(0, 245, 160, 0.18);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.25);
}

.glucose-value-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-xs) 0 4px;
  min-width: 0;
}

.glucose-number {
  display: inline-block;
  font-family: var(--font-family-mono);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 245, 160, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  flex-shrink: 0 !important;
  letter-spacing: -0.02em;
  transform-origin: left center;
}

.glucose-value-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 2px;
}

.glucose-unit {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.glucose-status-text {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
}

.glucose-trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 245, 160, 0.12);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  border: 1px solid rgba(0, 245, 160, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap !important;
  word-break: keep-all !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  flex-shrink: 0 !important;
}

.glucose-trend-badge:hover {
  background: rgba(0, 245, 160, 0.22);
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.3);
}

/* Interactive SVG Glucose Graph */
.glucose-graph-wrapper {
  position: relative;
  width: 100%;
  margin: var(--space-xs) 0 var(--space-sm);
  cursor: crosshair;
}

.glucose-graph-svg {
  width: 100%;
  height: 95px;
  display: block;
  overflow: visible;
}

.glucose-target-band {
  fill: rgba(0, 245, 160, 0.05);
}

.glucose-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.7));
  transition: d 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glucose-dot-live {
  fill: #ffffff;
  stroke: var(--color-primary);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(0, 245, 160, 0.9));
  animation: pulse-dot 2s infinite ease-in-out;
  transition: cx 0.4s ease, cy 0.4s ease;
}

.chart-crosshair {
  stroke: rgba(0, 229, 255, 0.6);
  stroke-width: 1.5;
  stroke-dasharray: 2, 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.chart-hover-dot {
  fill: #ffffff;
  stroke: var(--color-accent-cyan);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.9));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.telemetry-tooltip {
  position: absolute;
  top: 10px;
  transform: translate(-50%, -100%);
  background: rgba(7, 10, 17, 0.95);
  border: 1px solid var(--color-accent-cyan);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-family-mono);
  color: #ffffff;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 229, 255, 0.3);
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.telemetry-tooltip strong {
  color: var(--color-primary);
}

@keyframes pulse-dot {
  0%, 100% { r: 5; }
  50% { r: 7.5; }
}

.telemetry-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
}

.stat-lbl-short {
  display: none;
}

@media (max-width: 640px) {
  .telemetry-card {
    padding: 12px 13px !important;
    border-radius: var(--radius-md) !important;
  }
  .telemetry-header {
    gap: 6px !important;
    margin-bottom: 6px !important;
  }
  .telemetry-title {
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
  }
  .glucose-trend-badge {
    padding: 3px 7px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 999px !important;
  }
  .telemetry-timeline-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3.5px !important;
    width: 100% !important;
    overflow: visible !important;
    margin: 6px 0 8px !important;
    padding-bottom: 0 !important;
  }
  .telemetry-tab {
    padding: 5px 1px !important;
    font-size: 9.5px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
  }
  .glucose-value-display {
    gap: 8px !important;
    margin: 4px 0 4px !important;
    align-items: center !important;
  }
  .glucose-number {
    font-size: 2.05rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    letter-spacing: -0.03em !important;
  }
  .glucose-unit {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }
  .glucose-status-text {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }
  .glucose-graph-wrapper {
    margin: 4px 0 6px !important;
  }
  .glucose-graph-svg {
    height: 60px !important;
    overflow: hidden !important;
  }
  .telemetry-stats-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding-top: 6px !important;
  }
  .telemetry-stat-label {
    font-size: 9px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .telemetry-stat-val {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 440px) {
  .telemetry-title .title-full {
    display: none !important;
  }
  .telemetry-title .title-short {
    display: inline !important;
  }
  .telemetry-tab .tab-label-full {
    display: none !important;
  }
  .telemetry-tab .tab-label-short {
    display: inline !important;
  }
  .stat-lbl-full {
    display: none !important;
  }
  .stat-lbl-short {
    display: inline !important;
  }
  .glucose-number {
    font-size: 1.85rem !important;
  }
  .glucose-trend-badge {
    padding: 2.5px 6px !important;
    font-size: 9.5px !important;
  }
  .glucose-graph-svg {
    height: 56px !important;
  }
}

@media (max-width: 360px) {
  .telemetry-card {
    padding: 10px 8px !important;
  }
  .glucose-number {
    font-size: 1.7rem !important;
  }
  .telemetry-tab {
    font-size: 8.5px !important;
    padding: 4px 0 !important;
  }
  .glucose-trend-badge {
    padding: 2px 5px !important;
    font-size: 8.5px !important;
  }
  .telemetry-stat-label {
    font-size: 8px !important;
  }
  .telemetry-stat-val {
    font-size: 10px !important;
  }
}

.telemetry-stat-label {
  color: var(--color-text-dim);
  display: block;
  margin-bottom: 2px;
}

.telemetry-stat-val {
  font-family: var(--font-family-mono);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   2. Product Cards (Next-Gen Health-Tech Catalog)
   ========================================================================== */
.product-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(34, 48, 77, 0.85);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 245, 160, 0.22);
}

.product-card__thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #090e1a;
  overflow: hidden;
  display: block;
}

.product-card__thumb-wrap > a,
.product-card__thumb-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
  max-width: calc(100% - 56px);
  pointer-events: none;
}

.product-card__wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 20, 34, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  z-index: 3;
}

.product-card__wishlist-btn:hover,
.product-card__wishlist-btn.is-active {
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.6);
  background: rgba(255, 77, 109, 0.2);
  box-shadow: 0 0 14px rgba(255, 77, 109, 0.35);
}

.product-card__remove-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
  background: rgba(14, 20, 34, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 77, 109, 0.5);
  color: #ff4d6d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all var(--transition-fast);
  line-height: 1;
  box-sizing: border-box;
}

.product-card__remove-wishlist-btn svg {
  display: block;
  pointer-events: none;
}

.product-card__remove-wishlist-btn:hover {
  background: #ff4d6d;
  color: #ffffff;
  border-color: #ff4d6d;
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.5);
  transform: scale(1.08);
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-cyan);
  margin-bottom: 4px;
}

.product-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  word-break: break-word;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-gold);
  margin-bottom: 12px;
}

.product-card__rating-count {
  color: var(--color-text-muted);
  margin-left: 2px;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-subtle);
}

.product-card__pricing {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card__price {
  font-family: var(--font-family-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: #00f5a0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 245, 160, 0.25);
}

.product-card__old-price {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  text-decoration: line-through;
  line-height: 1.2;
}

/* Quick Action / View Button */
.btn-quick-add {
  min-height: 34px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.55);
  color: #00f5a0;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-quick-add:hover {
  background: var(--color-primary);
  color: #070a11;
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.45);
  transform: translateY(-1px);
}

/* Responsive Wishlist Grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  /* Unified 2-column mobile grid for all product lists */
  #bestseller-grid,
  #catalog-products-grid,
  #product-related-grid,
  .wishlist-grid,
  .products-mobile-2col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: var(--radius-md);
  }
  .product-card__thumb-wrap {
    aspect-ratio: 1 / 1;
  }
  .product-card__badges {
    top: 6px;
    left: 6px;
    gap: 3px;
    max-width: calc(100% - 40px);
  }
  .product-card__badges .badge {
    font-size: 8.5px;
    padding: 1px 5px;
    line-height: 1.2;
    border-radius: 4px;
  }
  .product-card__wishlist-btn,
  .product-card__remove-wishlist-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
  .product-card__wishlist-btn svg,
  .product-card__remove-wishlist-btn svg {
    width: 14px;
    height: 14px;
  }
  .product-card__body {
    padding: 10px 10px 12px;
  }
  .product-card__cat {
    font-size: 9px;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-card__title {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 4px;
    min-height: 2.7em;
  }
  .product-card__rating {
    font-size: 10.5px;
    margin-bottom: 6px;
    gap: 2px;
  }
  .product-card__rating-count {
    font-size: 9.5px;
  }
  .product-card__footer {
    padding-top: 8px;
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
  }
  .product-card__pricing {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
  }
  .product-card__price {
    font-size: 1.05rem; /* 16.8px */
  }
  .product-card__old-price {
    font-size: 10px;
  }
  .btn-quick-add {
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: var(--radius-xs);
    justify-content: center;
  }
  #wishlist-move-all-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
}

@media (max-width: 350px) {
  #bestseller-grid,
  #catalog-products-grid,
  #product-related-grid,
  .wishlist-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .product-card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   3. Catalog Layout & Sidebar Filters
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.catalog-mobile-controls {
  display: none;
}

@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .catalog-mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
  }

  .catalog-mobile-filter-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-md);
    background: rgba(14, 20, 34, 0.88);
    border: 1px solid var(--color-border);
    color: #ffffff;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .catalog-mobile-filter-btn:hover,
  .catalog-mobile-filter-btn.is-active {
    border-color: var(--color-primary);
    background: rgba(0, 245, 160, 0.08);
  }

  .filter-chevron {
    transition: transform 0.25s ease;
  }

  .catalog-mobile-filter-btn.is-active .filter-chevron {
    transform: rotate(180deg);
  }

  .catalog-mobile-category-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-mobile-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    flex-shrink: 0;
    padding: 6px 13px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: rgba(14, 20, 34, 0.82);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
  }

  .category-chip:hover,
  .category-chip.is-active {
    color: #ffffff;
    background: rgba(0, 245, 160, 0.15);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.25);
  }

  .filter-sidebar {
    display: none;
    position: static;
    top: auto;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 14px 16px;
  }

  .filter-sidebar.is-open {
    display: block;
    animation: fadeInSlide 0.22s ease-out;
  }
}

.filter-sidebar {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  position: sticky;
  top: 100px;
}

.filter-block {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-subtle);
}

.filter-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.filter-option:hover {
  color: var(--color-primary);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  accent-color: var(--color-primary);
  margin-right: 8px;
}

.filter-count {
  font-size: 11px;
  color: var(--color-text-dim);
  font-family: var(--font-family-mono);
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

@media (max-width: 540px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  .catalog-toolbar .flex {
    justify-content: space-between;
    width: 100%;
  }
  .catalog-toolbar select {
    flex: 1;
    min-width: 0;
  }
}

/* Catalog Inline Search & Active Search Banner */
.catalog-toolbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.catalog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.catalog-search-wrap svg {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 8px 32px 8px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-size: 13px;
  outline: none;
  transition: all var(--transition-fast);
}

.catalog-search-input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.15);
}

.catalog-search-clear-btn {
  position: absolute;
  right: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-text-secondary);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.catalog-search-clear-btn:hover {
  background: rgba(255, 77, 109, 0.25);
  color: #ff4d6d;
}

.catalog-search-pill-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.catalog-clear-search-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.catalog-clear-search-btn:hover {
  background: rgba(255, 77, 109, 0.2);
  border-color: rgba(255, 77, 109, 0.4);
  color: #ff4d6d;
}

@media (max-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .catalog-toolbar__left {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .catalog-search-wrap {
    max-width: 100%;
  }
}

/* ==========================================================================
   4. Product Details Page Elements
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .product-detail-grid {
    gap: var(--space-md);
  }
  .product-detail-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .product-detail-trust-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

.gallery-main-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #090e1a;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: #090e1a;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.gallery-thumb.is-active, .gallery-thumb:hover {
  border-color: var(--color-primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .gallery-main-img-wrap {
    max-height: 270px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
  }
  .gallery-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
  }
}

/* Shipping Countdown Timer Box */
.shipping-timer-box {
  background: rgba(0, 245, 160, 0.05);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.shipping-timer-box strong {
  color: var(--color-primary);
}

/* Variant Selector */
.variant-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.variant-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.variant-btn:hover, .variant-btn.is-active {
  background: rgba(0, 245, 160, 0.12);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Technical Specification Tabs */
.tech-tabs-nav {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
}

.tech-tab-btn {
  padding: 12px 20px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tech-tab-btn.is-active, .tech-tab-btn:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

@media (max-width: 640px) {
  .tech-tabs-nav {
    gap: 4px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .tech-tab-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

.tech-tab-content {
  display: none;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.tech-tab-content.is-active {
  display: block;
}

/* ==========================================================================
   5. Checkout & Cart Table Styles
   ========================================================================== */
.cart-table-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-table td {
  padding: 20px;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

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

.coupon-box {
  display: flex;
  gap: 10px;
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .coupon-box {
    flex-direction: column;
  }
  .coupon-box input {
    max-width: 100% !important;
    width: 100%;
  }
  .coupon-box button {
    width: 100%;
  }
}

/* Standalone Empty Cart View */
.cart-empty-view {
  width: 100%;
}
.cart-empty-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.cart-empty-card h2,
.cart-empty-card h3,
.cart-empty-card p {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* ==========================================================================
   Checkout Page Design & Mobile Optimization
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .checkout-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .checkout-grid {
    gap: var(--space-md);
  }
  .cart-table-wrap {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .cart-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
  }
  .cart-table thead {
    display: none !important;
  }
  .cart-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .cart-table tr:not(.cart-empty-row) {
    display: grid !important;
    grid-template-columns: 70px 1fr !important;
    gap: 10px 12px !important;
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 12px !important;
    align-items: center !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  }
  .cart-table tr:not(.cart-empty-row) td {
    padding: 0 !important;
    border: none !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 70px !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(1) img {
    width: 70px !important;
    height: 70px !important;
    border-radius: var(--radius-sm) !important;
    object-fit: cover !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(2) a {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    word-break: break-word !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(3) {
    display: none !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .cart-table tr:not(.cart-empty-row) td:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    border-top: 1px solid var(--color-border-subtle) !important;
    font-size: 14px !important;
  }

  /* Empty Cart Row on Mobile */
  .cart-table tr.cart-empty-row,
  .cart-empty-row {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 32px 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    box-sizing: border-box !important;
  }
  .cart-table tr.cart-empty-row td,
  .cart-table td.cart-empty-cell,
  .cart-empty-cell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    padding: 0 !important;
    border: none !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    box-sizing: border-box !important;
  }
  .cart-table tr.cart-empty-row h3,
  .cart-table tr.cart-empty-row p,
  .cart-empty-cell h3,
  .cart-empty-cell p {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
}

/* Payment Method Selection Card */
.checkout-payment-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(0, 245, 160, 0.04);
  border: 1px solid rgba(0, 245, 160, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkout-payment-method-card:hover {
  background: rgba(0, 245, 160, 0.07);
  border-color: rgba(0, 245, 160, 0.55);
}

.checkout-payment-method-card__left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.checkout-payment-method-card__radio {
  accent-color: var(--color-primary);
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkout-payment-method-card__info {
  min-width: 0;
  flex: 1;
}

.checkout-payment-method-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.checkout-payment-method-card__title {
  color: var(--color-text-main);
  font-size: 14.5px;
  font-weight: 700;
}

.checkout-payment-method-card__desc {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.checkout-payment-method-card__badge {
  background: rgba(0, 245, 160, 0.14) !important;
  color: #00f5a0 !important;
  border-color: rgba(0, 245, 160, 0.3) !important;
  flex-shrink: 0;
}

/* Order Summary Box / Card */
.checkout-summary-card {
  background: linear-gradient(180deg, #121929 0%, #0c1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 92px;
}

@media (max-width: 640px) {
  .checkout-summary-card {
    padding: 16px;
    position: static;
    border-radius: var(--radius-lg);
  }
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.checkout-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.checkout-summary-count-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
}

/* Order Item Row */
.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 8px;
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

.checkout-item-qty-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-primary);
  color: #070a11;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.checkout-item-details {
  flex: 1;
  min-width: 0;
  padding-right: 6px;
}

.checkout-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.checkout-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.checkout-item-variant {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}

.checkout-item-unit-qty {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.checkout-item-price {
  flex-shrink: 0;
  font-family: var(--font-family-base);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Calculations Block */
.checkout-calc-block {
  padding: 12px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.checkout-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 5px 0;
}

.checkout-calc-row--discount {
  color: var(--color-primary);
}

.checkout-calc-label {
  font-weight: 500;
}

.checkout-calc-value {
  font-family: var(--font-family-base);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #ffffff;
}

/* Grand Total Highlight Box */
.checkout-total-card {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.09) 0%, rgba(20, 28, 46, 0.95) 100%);
  border: 1px solid rgba(0, 245, 160, 0.32);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 12px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.checkout-total-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-total-card__label {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.checkout-total-card__sub {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.checkout-total-card__amount {
  font-family: var(--font-family-base);
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
  font-weight: 800;
  color: #00f5a0;
  text-shadow: 0 0 16px rgba(0, 245, 160, 0.3);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Payment Method Reassurance Pill */
.checkout-payment-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.checkout-payment-pill__icon {
  color: #00e5ff;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkout-payment-pill__text {
  min-width: 0;
  flex: 1;
}

.checkout-payment-pill__title {
  font-size: 12px;
  font-weight: 700;
  color: #00e5ff;
  display: block;
  line-height: 1.35;
}

.checkout-payment-pill__desc {
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
  line-height: 1.4;
}

/* Legal Checkbox */
.checkout-agreement {
  margin-bottom: 14px;
}

.checkout-agreement__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkout-agreement__cb {
  width: 19px;
  height: 19px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  border-radius: 4px;
}

.checkout-agreement__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.checkout-legal-link {
  color: #00f5a0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.checkout-legal-link:hover {
  color: #ffffff;
}

/* Submit CTA Button */
.checkout-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff4d6d 0%, #ff2a55 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 77, 109, 0.38);
  transition: all var(--transition-fast);
  margin-bottom: 12px;
}

.checkout-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 77, 109, 0.52);
  filter: brightness(1.05);
}

.checkout-submit-btn:active {
  transform: translateY(0);
}

.checkout-submit-btn__arrow {
  transition: transform var(--transition-fast);
}

.checkout-submit-btn:hover .checkout-submit-btn__arrow {
  transform: translateX(4px);
}

/* Reassurance Badges Below Button */
.checkout-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.checkout-reassurance__item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkout-reassurance__sep {
  opacity: 0.35;
}

/* Mobile Responsive Optimization (<= 640px) */
@media (max-width: 640px) {
  .checkout-summary-card {
    padding: 16px;
    border-radius: 14px;
    position: static;
  }
  .checkout-item-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .checkout-item-title {
    font-size: 13px;
  }
  .checkout-item-variant {
    max-width: 140px;
  }
  .checkout-total-card {
    padding: 12px 14px;
  }
  .checkout-total-card__label {
    font-size: 14px;
  }
  .checkout-total-card__amount {
    font-size: 1.3rem;
  }
  .checkout-submit-btn {
    padding: 10px 16px;
    font-size: 13.5px;
    min-height: 40px;
    border-radius: var(--radius-sm);
  }
  .checkout-payment-method-card {
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .checkout-payment-method-card__badge {
    align-self: flex-start;
    margin-left: 34px;
  }
  /* Prevent iOS Safari auto-zoom by ensuring form inputs are at least 16px */
  .form-control, .form-select, .form-textarea {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .card.p-5 {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  .section-py-sm {
    padding-top: 20px;
    padding-bottom: 28px;
  }
}

/* Product Detail Action Bar (Anti-Collision) */
.product-action-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .product-action-bar {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 10px;
    margin-top: var(--space-md);
  }
  .product-action-bar .btn-primary {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
    order: 1;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 16px;
    font-size: 13px;
  }
  .product-action-bar .cart-qty-picker {
    grid-column: 1;
    width: 100%;
    height: 42px !important;
    justify-content: space-between;
    order: 2;
  }
  .product-action-bar .wishlist-action-btn,
  .product-action-bar .btn-secondary {
    grid-column: 2;
    width: 44px;
    height: 42px !important;
    min-height: 42px !important;
    order: 2;
  }
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 40px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }

  .lifestyle-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }
  .lifestyle-cta-row .btn {
    width: 100%;
    justify-content: center;
    min-height: 38px !important;
    padding: 9px 16px !important;
    font-size: 12.5px !important;
    margin: 0 !important;
  }

  .hero-trust-row {
    gap: 8px 14px !important;
    padding-top: 14px !important;
  }
  .hero-trust-row .flex {
    gap: 6px !important;
  }
  .hero-trust-row svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
  }
  .hero-trust-row span {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }
}

/* ==========================================================================
   6. Interactive FAQ Accordion
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.is-open {
  border-color: var(--color-border-highlight);
  background: rgba(0, 245, 160, 0.02);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: var(--color-text-main);
  font-size: 15.5px;
  font-weight: 700;
}

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transform-origin: center center;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}

.faq-icon svg {
  display: block;
  pointer-events: none;
  transform-origin: center center;
}

.faq-item.is-open .faq-icon {
  background: var(--color-primary);
  color: #04070d;
  border-color: var(--color-primary);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
  animation: faq-fade-in 0.25s ease-out;
}

@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Care-Box Pricing Plans & Comparison Table
   ========================================================================== */
.pricing-plan-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-plan-card:hover {
  border-color: var(--color-border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.12);
  transform: translateY(-4px);
}

.pricing-plan-card--featured {
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.95) 0%, rgba(14, 20, 34, 0.98) 100%);
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 245, 160, 0.22);
  transform: translateY(-6px);
}

.pricing-plan-card--featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 245, 160, 0.35);
}

.pricing-plan-card--cyan {
  border-color: rgba(0, 229, 255, 0.35);
}

.pricing-plan-card--cyan:hover {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.2);
}

.pricing-plan-badge-top {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.pricing-plan-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070a11;
}

.pricing-plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pricing-plan-card:hover .pricing-plan-media img {
  transform: scale(1.05);
}

.pricing-plan-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

/* Comparison Table */
.plan-matrix-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: rgba(14, 20, 34, 0.6);
  backdrop-filter: blur(12px);
}

.plan-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.plan-matrix th,
.plan-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-sm);
}

.plan-matrix th {
  background: rgba(20, 28, 46, 0.8);
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--font-size-xs);
}

.plan-matrix th.is-featured,
.plan-matrix td.is-featured {
  background: rgba(0, 245, 160, 0.05);
  border-left: 1px solid rgba(0, 245, 160, 0.2);
  border-right: 1px solid rgba(0, 245, 160, 0.2);
}

.plan-matrix tr:last-child td {
  border-bottom: none;
}

/* Consultation Program Card */
.consultation-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.consultation-card:hover {
  border-color: var(--color-border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.15);
  transform: translateY(-4px);
}

.consultation-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070a11;
}

.consultation-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.consultation-card:hover .consultation-card-media img {
  transform: scale(1.05);
}

.consultation-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .pricing-plan-media,
  .consultation-card-media {
    max-height: 125px !important;
    aspect-ratio: 16 / 9 !important;
  }
  .pricing-plan-content,
  .consultation-card-body {
    padding: 14px 14px 16px !important;
  }
  .pricing-plan-badge-top {
    top: 10px !important;
    right: 10px !important;
  }
  .plan-features-list {
    gap: 7px !important;
    margin-bottom: 14px !important;
  }
  .plan-feature-item {
    font-size: 11.5px !important;
    gap: 7px !important;
    line-height: 1.35 !important;
  }
  .plan-feature-icon {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
  }
  .pricing-plan-card--featured {
    transform: none;
  }
  .pricing-plan-card--featured:hover {
    transform: none;
  }
  .plan-matrix th,
  .plan-matrix td {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* Plan & Consultation CTA Buttons */
  .pricing-plan-content .btn,
  .consultation-card-body .btn {
    min-height: 38px !important;
    padding: 9px 16px !important;
    font-size: 12.5px !important;
    margin-top: 12px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Brand Statistics Row */
  .brand-stat-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding-top: 10px !important;
  }
  .brand-stat-row .text-3xl {
    font-size: 1.35rem !important;
  }
}

@media (max-width: 480px) {
  .brand-stat-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ==========================================================================
   Care-Box Plan Features & Mobile Matrix Optimization
   ========================================================================== */
.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
  list-style: none;
  padding: 0;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.plan-feature-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-feature-icon--emerald {
  background: rgba(0, 245, 160, 0.12);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.3);
}

.plan-feature-icon--coral {
  background: rgba(255, 77, 109, 0.14);
  color: #ff4d6d;
  border: 1px solid rgba(255, 77, 109, 0.35);
}

.plan-feature-icon--cyan {
  background: rgba(0, 229, 255, 0.14);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.plan-feature-text {
  flex: 1;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.plan-feature-text strong {
  color: #ffffff;
}

/* Quick Jump Pills above 3 cards on mobile */
.carebox-mobile-pills {
  display: none;
}

@media (max-width: 768px) {
  .carebox-mobile-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(14, 20, 34, 0.85);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
  }
  .carebox-pill-btn {
    flex: 1;
    text-align: center;
    padding: 9px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    background: transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
  }
  .carebox-pill-btn:hover,
  .carebox-pill-btn.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .carebox-pill-btn--coral {
    color: #ff4d6d;
    background: rgba(255, 77, 109, 0.1);
  }
}

/* Mobile Comparison Matrix: Interactive Card Switcher */
.matrix-mobile-view {
  display: none;
}

@media (max-width: 768px) {
  .matrix-mobile-view {
    display: block;
    margin-bottom: 24px;
  }
  .plan-matrix-wrap {
    display: none; /* Collapsed by default on mobile; user can toggle full table */
  }
  .plan-matrix-wrap.is-expanded {
    display: block;
    margin-top: 16px;
    animation: faq-fade-in 0.25s ease;
  }
}

.matrix-tabs-nav {
  display: flex;
  gap: 6px;
  background: rgba(9, 14, 26, 0.95);
  padding: 5px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.matrix-tab-btn {
  flex: 1;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.matrix-tab-btn.is-active {
  background: rgba(20, 28, 46, 0.98);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--color-border-highlight);
}

.matrix-tab-btn[data-matrix-tier="starter"].is-active {
  border-color: rgba(0, 245, 160, 0.5);
  color: #00f5a0;
}

.matrix-tab-btn[data-matrix-tier="prevention"].is-active {
  border-color: rgba(255, 77, 109, 0.5);
  color: #ff4d6d;
}

.matrix-tab-btn[data-matrix-tier="elite"].is-active {
  border-color: rgba(0, 229, 255, 0.5);
  color: #00e5ff;
}

.matrix-mobile-card {
  background: linear-gradient(180deg, #121929 0%, #0d1322 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.matrix-mobile-card--featured {
  border-color: rgba(255, 77, 109, 0.45);
  box-shadow: 0 12px 35px rgba(255, 77, 109, 0.15);
}

.matrix-mobile-card--cyan {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.15);
}

.matrix-mobile-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.matrix-feature-row:last-child {
  border-bottom: none;
}

.matrix-feature-name {
  color: var(--color-text-secondary);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.matrix-feature-val {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
  max-width: 52%;
  line-height: 1.35;
}

.matrix-feature-val.is-highlight {
  color: #00f5a0;
  font-weight: 700;
}

.matrix-feature-val.is-coral {
  color: #ff4d6d;
  font-weight: 700;
}

.matrix-feature-val.is-cyan {
  color: #00e5ff;
  font-weight: 700;
}

/* Horizontal scroll table polish with sticky column */
.plan-matrix {
  min-width: 620px;
}

.plan-matrix th:first-child,
.plan-matrix td:first-child {
  position: sticky;
  left: 0;
  background: #090e1a;
  z-index: 2;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
  min-width: 165px;
  max-width: 185px;
}

.plan-matrix th:first-child {
  z-index: 3;
}

.plan-matrix th:not(:first-child),
.plan-matrix td:not(:first-child) {
  min-width: 135px;
}

.matrix-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Order Success Page & Receipt Card Mobile Optimization
   ========================================================================== */
.order-success-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(0, 245, 160, 0.12);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 0 25px rgba(0, 245, 160, 0.35);
}

.order-receipt-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.order-receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-receipt-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

.order-receipt-num {
  font-family: var(--font-family-mono);
  font-size: 16px;
  font-weight: 800;
  color: #00f5a0;
  letter-spacing: 0.02em;
}

.order-receipt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-receipt-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-receipt-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.order-receipt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.order-receipt-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(0, 245, 160, 0.25);
}

.order-receipt-item__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0e1422;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-receipt-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-receipt-item__qty-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #00f5a0;
  color: #0e1422;
  font-family: var(--font-family-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.order-receipt-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.order-receipt-item__name {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  word-break: break-word;
}

.order-receipt-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--color-text-muted);
}

.order-receipt-item__variant {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.order-receipt-item__unit {
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-family: var(--font-family-mono);
}

.order-receipt-item__price-col {
  text-align: right;
  flex-shrink: 0;
}

.order-receipt-item__price {
  font-family: var(--font-family-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: #00f5a0;
  white-space: nowrap;
}

.order-receipt-calc-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-top: 10px;
  margin-bottom: 12px;
}

.order-receipt-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.order-receipt-calc-row .val {
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-family-mono);
}

.order-receipt-customer-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-receipt-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-receipt-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.order-receipt-label {
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 110px;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.order-receipt-value {
  color: var(--color-text-main);
  font-weight: 600;
  text-align: right;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.order-receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 245, 160, 0.04);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.order-receipt-total-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.order-receipt-total-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.order-receipt-total-amount {
  font-family: var(--font-family-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #00f5a0;
  text-shadow: 0 0 14px rgba(0, 245, 160, 0.3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.order-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .order-receipt-card {
    padding: 16px 12px;
    border-radius: var(--radius-lg);
  }
  .order-receipt-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .order-receipt-item {
    gap: 10px;
    padding: 8px 10px;
  }
  .order-receipt-item__thumb {
    width: 48px;
    height: 48px;
  }
  .order-receipt-item__name {
    font-size: 12.5px;
    line-height: 1.3;
  }
  .order-receipt-item__meta {
    font-size: 11px;
    gap: 6px;
  }
  .order-receipt-item__price {
    font-size: 13.5px;
  }
  .order-receipt-row {
    font-size: 12.5px;
    gap: 8px;
  }
  .order-receipt-label {
    min-width: 88px;
  }
  .order-receipt-total {
    padding: 12px 14px;
  }
  .order-receipt-total-amount {
    font-size: 1.25rem;
  }
  .order-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .order-actions-row .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
  }
}

@media (max-width: 380px) {
  .order-receipt-item {
    gap: 8px;
    padding: 8px 6px;
  }
  .order-receipt-item__thumb {
    width: 42px;
    height: 42px;
  }
  .order-receipt-item__name {
    font-size: 12px;
  }
  .order-receipt-item__variant {
    font-size: 10px;
    padding: 1px 4px;
  }
  .order-receipt-item__price {
    font-size: 12.5px;
  }
}

