/* ==========================================================================
   stylr: Event Shopping Agent Modern B2C Stylesheet (ChatGPT-Style UI)
   ========================================================================== */

:root {
  --primary: #FF4A6B;
  --primary-hover: #E03554;
  --primary-glow: rgba(255, 74, 107, 0.35);
  --secondary: #7C3AED;
  --accent: #F59E0B;
  
  --bg-gradient: linear-gradient(145deg, #FFFDF9 0%, #FFF5ED 50%, #FAF0E6 100%);
  --surface: #FFFFFF;
  --surface-alt: #F8F6F2;
  --surface-border: #EADBCE;
  
  --text-main: #1F1916;
  --text-muted: #6B5E57;
  --text-light: #9C8E86;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(31, 25, 22, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 25, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 25, 22, 0.12);
  --shadow-chat: 0 12px 36px rgba(31, 25, 22, 0.1), 0 2px 6px rgba(31, 25, 22, 0.04);
  --shadow-primary: 0 8px 24px var(--primary-glow);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  color: var(--text-main);
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-moon {
  width: 13px;
  height: 13px;
  align-self: flex-start;
  margin-top: 3px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-moon {
  transform: rotate(20deg) scale(1.15);
}

.badge-beta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #FFE8ED;
  color: var(--primary);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  align-self: center;
}

.btn-audit-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-audit-nav:hover {
  background: #FFF;
  color: var(--text-main);
  border-color: var(--text-muted);
}

.audit-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   Compact Hero Section
   ========================================================================== */
.landing-stage,
.wizard-section {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Ambient decorative background glows (Champagne & Disco Orbs) */
.landing-stage::before,
.wizard-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -50px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 74, 107, 0.13) 0%, rgba(217, 70, 239, 0.05) 50%, rgba(255, 253, 249, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
  animation: ambient-orb-float 14s ease-in-out infinite alternate;
}

.landing-stage::after,
.wizard-section::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.11) 0%, rgba(251, 191, 36, 0.04) 50%, rgba(255, 253, 249, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
  animation: ambient-orb-float 18s ease-in-out infinite alternate-reverse;
}

@keyframes ambient-orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 15px) scale(1.06); }
  100% { transform: translate(-12px, -8px) scale(0.96); }
}

.hero-section,
.chat-prompt-container {
  position: relative;
  z-index: 1;
}

.hero-section.compact {
  text-align: center;
  padding: 28px 0 20px;
}

.hero-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(124, 58, 237, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #FF4A6B 0%, #D946EF 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* Photo Guidance Strip (Adopted from ideas/) */
.photo-guidance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.guidance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.guidance-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.guidance-item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.guidance-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .photo-guidance-strip {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .photo-guidance-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   ChatGPT-like Floating Prompt Component
   ========================================================================== */
.chat-prompt-container {
  margin-top: 14px;
}

.chat-input-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--shadow-chat);
  padding: 12px 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-input-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 14px 40px rgba(255, 74, 107, 0.18), 0 2px 8px rgba(31, 25, 22, 0.05);
}

.chat-input-card.drag-active {
  border-color: var(--primary);
  background: #FFF5F7;
}

/* Attached Media Chip */
.attached-media-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  padding: 6px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.media-thumb-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.media-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-remove-media {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 10px;
}

.media-filename {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-mode-pills {
  display: flex;
  gap: 4px;
}

.mode-pill {
  border: 1px solid var(--surface-border);
  background: #FFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.mode-pill.active {
  background: #1F1916;
  color: #FFF;
  border-color: #1F1916;
}

/* Main Input Row */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.attach-actions {
  flex-shrink: 0;
}

.file-input-hidden {
  display: none;
}

.btn-attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-attach:hover {
  background: #FFE8ED;
  border-color: #FFA5B4;
  color: var(--primary);
}

.attach-icon {
  font-size: 1rem;
}

/* Expanding Textarea */
.chat-textarea {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  resize: none;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text-main);
  padding: 6px 4px;
  max-height: 120px;
}

.chat-textarea::placeholder {
  color: var(--text-light);
}

/* Submit Sparkle Button */
.btn-submit-sparkle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF4A6B 0%, #E11D48 100%);
  color: #FFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-sparkle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--primary-glow);
}

.btn-submit-sparkle:disabled {
  background: #D9D2CD;
  color: #8C827B;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

/* Drag overlay */
.drag-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 247, 0.95);
  border: 2px dashed var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  z-index: 10;
  pointer-events: none;
}

/* ==========================================================================
   Upcoming Badges Strip (Halloween, Thanksgiving, Christmas, Birthday)
   ========================================================================== */
.upcoming-badges-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px;
}

.badges-prefix {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.party-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF;
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.party-badge:hover {
  transform: translateY(-2px);
  border-color: #D6C2B4;
  box-shadow: var(--shadow-md);
  background: #FFFDFC;
}

.party-badge.active {
  background: #1F1916;
  border-color: #1F1916;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(31, 25, 22, 0.2);
}

.badge-emoji {
  font-size: 1.05rem;
}

/* Demo Helpers */
.demo-helpers-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.demo-label {
  color: var(--text-light);
}

.demo-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-link-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.demo-link-btn:hover {
  text-decoration: underline;
  background: #FFE8ED;
}

.demo-divider {
  color: var(--surface-border);
}

.audit-privacy-pill {
  text-align: center;
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--text-light);
}

.audit-privacy-pill a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ==========================================================================
   Loading Interstitial
   ========================================================================== */
.loading-interstitial {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.loading-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 32px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.spinner-disco {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disco-center {
  font-size: 3rem;
  animation: rotate-360 4s infinite linear;
}

.disco-orbit {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px dashed var(--primary);
  border-radius: 50%;
  animation: rotate-360 8s infinite linear reverse;
}

.loading-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.loading-phrase {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
  min-height: 24px;
  margin-bottom: 22px;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-bar-fill {
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, #FF4A6B, #7C3AED);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.loading-fun-fact {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Results View & Canvas
   ========================================================================== */
.results-view {
  margin-bottom: 80px;
}

.results-header {
  text-align: center;
  margin-bottom: 26px;
}

.results-title-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #059669;
  background: #D1FAE5;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.results-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 6px;
}

.results-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.results-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

/* Canvas Viewport */
.canvas-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.canvas-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-layer {
  z-index: 1;
}

.overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  transition: clip-path 0.05s linear;
}

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.after-image.loaded {
  opacity: 1;
}

.festive-atmosphere-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 60%, rgba(245, 158, 11, 0.12) 0%, rgba(124, 58, 237, 0.08) 60%, rgba(0, 0, 0, 0.25) 100%);
  mix-blend-mode: overlay;
}

/* Before / After Slider Divider */
.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #FFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-align: center;
}

.slider-arrows {
  font-size: 0.62rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 2px;
}

.slider-tag {
  font-size: 0.38rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.canvas-watermark {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 10;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

/* Interactive Hotspot Pins */
.hotspot-container {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot-pin:hover, .hotspot-pin.active {
  transform: translate(-50%, -50%) scale(1.22);
}

.pin-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #FFF, 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}

.pin-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
  animation: pulse-ring 2s infinite ease-out;
  z-index: 1;
}

.hotspot-pin.active .pin-bubble {
  background: var(--secondary);
}

/* Canvas Controls */
.canvas-controls {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
}

.btn-toggle-pins {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle-pins.active {
  background: #FFE8ED;
  color: var(--primary);
  border-color: #FFA5B4;
}

.slider-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Palette Card */
.palette-card {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.palette-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.palette-swatches {
  display: flex;
  gap: 8px;
}

.swatch-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Shoppable Tray
   ========================================================================== */
.tray-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: sticky;
  top: 80px;
}

.tray-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-border);
  margin-bottom: 14px;
}

.tray-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.tray-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tray-total {
  text-align: right;
}

.total-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.total-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

/* Product Cards */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 18px;
}

.product-item-card {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: #FFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item-card:hover, .product-item-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-2px);
  background: #FFFDFC;
}

.product-index-pin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.product-item-card.highlighted .product-index-pin {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.retailer-badge {
  font-weight: 700;
  color: var(--secondary);
}

.rating-badge {
  color: var(--accent);
}

.product-pricing-actions {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-buy-single {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--surface-border);
  transition: all 0.2s ease;
}

.btn-buy-single:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

/* Tray Footer Buttons */
.tray-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-buy-all {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #FF4A6B 0%, #E11D48 100%);
  color: #FFF;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all 0.2s ease;
}

.btn-buy-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-secondary-action {
  padding: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: #FFF;
  border-color: var(--text-muted);
}

/* ==========================================================================
   Mobile Sticky Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
}

/* ==========================================================================
   Editorial Site Footer (Adopted from ideas/)
   ========================================================================== */
.site-footer {
  background: #141116;
  color: #CFC6BA;
  padding: 68px 0 calc(42px + env(safe-area-inset-bottom, 0px));
  font-size: 15px;
  border-top: 1px solid rgba(246, 240, 230, 0.08);
  margin-top: 80px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1fr;
  gap: 44px;
}

.foot-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-light {
  color: #F6F0E6 !important;
}

.badge-beta-dark {
  background: rgba(255, 74, 107, 0.18);
  color: #FF7B99;
  border: 1px solid rgba(255, 74, 107, 0.35);
}

.foot-bio {
  max-width: 32em;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #A89F93;
  margin: 0;
}

.foot-engines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.foot-engine-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(246, 240, 230, 0.07);
  color: #EDE4D5;
  border: 1px solid rgba(246, 240, 230, 0.12);
}

.foot-col h4 {
  color: #F6F0E6;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.foot-col a {
  color: #A89F93;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.foot-col a:hover {
  color: #FFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: translateX(2px);
}

.foot-base {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 240, 230, 0.1);
  font-size: 0.82rem;
  color: #8C8276;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-base-left,
.foot-base-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.foot-sep {
  color: #554C42;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .foot-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Bag It & UK Delivery Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.bag-modal-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-sparkle {
  font-size: 1.4rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.btn-modal-close {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  color: var(--text-main);
  background: #E2E8F0;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}

.modal-order-summary {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
}

.modal-item-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.modal-item-name {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.modal-item-cost {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-main);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.required-star {
  color: var(--primary);
}

.optional-tag {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.74rem;
}

.form-input,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: #FFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 74, 107, 0.12);
}

.form-help {
  font-size: 0.74rem;
  color: var(--text-light);
}

.modal-assurance {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.76rem;
  color: #0369A1;
  text-align: center;
}

.modal-assurance a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.btn-modal-cancel {
  flex: 1;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.btn-modal-submit {
  flex: 2;
  background: linear-gradient(135deg, #FF4A6B 0%, #E11D48 100%);
  color: #FFF;
  border: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all 0.2s ease;
}

.btn-modal-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 74, 107, 0.45);
}

.btn-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modal Success State */
.modal-success {
  text-align: center;
  padding: 20px 10px 10px;
  animation: fadeIn 0.25s ease-out;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.order-id-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--surface-border);
}

.success-email-notice {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-view-audit {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-view-audit:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-success-done {
  background: var(--text-main);
  border: none;
  color: #FFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-success-done:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Utility Classes & Keyframes
   ========================================================================== */
.hidden {
  display: none !important;
}

@keyframes sparkle-pulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes rotate-360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .tray-card {
    position: static;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: #FFF;
    border-top: 1px solid var(--surface-border);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
  }

  .mobile-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
  }

  .btn-mobile-buy {
    background: var(--primary);
    color: #FFF;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .attach-label {
    display: none;
  }

  .btn-attach {
    padding: 8px 10px;
  }

  .submit-label {
    display: none;
  }

  .btn-submit-sparkle {
    padding: 10px 14px;
    border-radius: 50%;
  }

  .badges-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .party-badge {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Nano Banana Real-Time Parallel Generation Status Banner
   ========================================================================== */
.nano-banana-status-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 16, 28, 0.82);
  color: #FFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  pointer-events: none;
}

.nano-banana-status-banner.completed {
  background: rgba(5, 150, 105, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 10px #F59E0B;
  animation: pulse-glow 1.5s infinite ease-in-out;
}

.nano-banana-status-banner.completed .status-pulse-dot {
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: none;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.uk-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid #BFDBFE;
}

/* ==========================================================================
   Prominent Visual Canvas Loader
   ========================================================================== */
.canvas-generating-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 14, 24, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  pointer-events: auto;
}

.canvas-generating-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-glass-card {
  max-width: 400px;
  width: 88%;
  background: rgba(28, 22, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #FFF;
  animation: float-subtle 4s ease-in-out infinite;
}

.loader-spinner-orbit {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-orbit-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(245, 158, 11, 0.25);
  border-top-color: #F59E0B;
  border-right-color: #FF4A6B;
  animation: spin-ring 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.loader-banana-icon {
  font-size: 1.8rem;
  animation: bounce-subtle 1.8s ease-in-out infinite;
}

.loader-main-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.loader-sub-text {
  font-size: 0.88rem;
  color: #D1D5DB;
  line-height: 1.45;
  margin-bottom: 18px;
}

.loader-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 14px;
}

.loader-progress-fill {
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #FF4A6B, #F59E0B);
  background-size: 200% 100%;
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
  animation: shimmer-progress 2s linear infinite;
}

.loader-secondary-tip {
  font-size: 0.78rem;
  color: #FCD34D;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

@keyframes spin-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.08); }
}

@keyframes shimmer-progress {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.slider-divider.loading-mode {
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================================
   Product Cards with Product Thumbnails, UK Badges & Clean Customer UI
   ========================================================================== */
.tray-delivery-banner {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.product-item-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.product-item-card:hover,
.product-item-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 74, 107, 0.12);
  transform: translateY(-1px);
}

.product-thumb-container {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #F3ECE1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.product-thumb-container .product-index-pin {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 17, 22, 0.9);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.product-item-card.highlighted .product-index-pin {
  background: var(--primary);
  transform: scale(1.15);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  word-break: break-word;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.retailer-badge-shopify {
  background: #ECFDF5;
  color: #065F46;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #A7F3D0;
}

.retailer-badge-amazon {
  background: #FFFBEB;
  color: #92400E;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #FDE68A;
}

.delivery-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #047857;
  background: #D1FAE5;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.product-delivery-info {
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  margin-top: 2px;
}

.product-pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 90px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.product-btn-group {
  display: flex;
  gap: 6px;
}

.btn-buy-single {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: #FFE8ED;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-buy-single:hover {
  background: var(--primary);
  color: #FFF;
}

.btn-buy-single.btn-store-link {
  background: #F3ECE1;
  color: var(--text-main);
}

.btn-buy-single.btn-store-link:hover {
  background: var(--text-main);
  color: #FFF;
}

/* Mobile Specific Tweaks for Product Cards */
@media (max-width: 640px) {
  .tray-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .product-list {
    max-height: none;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 0;
  }

  .product-item-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 12px;
    align-items: start;
  }

  .product-thumb-container {
    width: 64px;
    height: 64px;
    grid-row: 1;
    grid-column: 1;
  }

  .product-info {
    grid-row: 1;
    grid-column: 2;
  }

  .product-name {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .product-meta-row {
    font-size: 0.7rem;
    gap: 4px;
  }

  .product-pricing-actions {
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px dashed var(--surface-border);
  }

  .product-price {
    font-size: 1.05rem;
  }

  .product-btn-group {
    display: flex;
    gap: 8px;
  }

  .btn-buy-single {
    padding: 6px 14px;
    font-size: 0.78rem;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

