/* ============================================================
   Virtual Try-On / AR Mirror Stylesheet
   Vintage Thrift — Ultra-Responsive Mobile & Desktop Design
   ============================================================ */

/* Trigger Button */
.btn-try-look {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, #d2a769 0%, #dfbd8a 50%, #b7894f 100%);
  color: #121820;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(210, 167, 105, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-try-look::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: rotate(25deg);
  animation: shineLoop 4s infinite ease-in-out;
}

@keyframes shineLoop {
  0%, 70% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.btn-try-look:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(210, 167, 105, 0.5), 0 0 15px rgba(223, 189, 138, 0.6);
  color: #0b0f14;
}

.btn-try-look:active {
  transform: translateY(0) scale(0.98);
}

.btn-try-look svg {
  animation: sparkleRotate 3s infinite linear;
}

@keyframes sparkleRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.15); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Card Quick Action Buttons (Try-on & Quick View) */
.btn-quick-try,
.btn-quick-view {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  background: rgba(18, 24, 32, 0.90) !important;
  backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(210, 167, 105, 0.45) !important;
  color: #dfbd8a !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.btn-quick-try svg,
.btn-quick-view svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
}

.btn-quick-try:hover,
.btn-quick-view:hover {
  background: #dfbd8a !important;
  color: #121820 !important;
  transform: translateY(-2px) scale(1.06) !important;
  border-color: #dfbd8a !important;
  box-shadow: 0 6px 16px rgba(210, 167, 105, 0.45) !important;
}

/* Nav Try Button */
.nav-try-look-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(210, 167, 105, 0.12);
  border: 1px solid rgba(210, 167, 105, 0.35);
  border-radius: 9999px;
  color: #dfbd8a !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-try-look-btn:hover {
  background: rgba(210, 167, 105, 0.25);
  border-color: #dfbd8a;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(210, 167, 105, 0.25);
}

@media (max-width: 768px) {
  .nav-try-look-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }
}

@media (max-width: 640px) {
  .nav-try-look-btn {
    display: none !important; /* Hide in top bar on mobile phones so Search, Wishlist and Cart have perfect room */
  }
}

/* Try On Modal Overlay */
.tryon-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tryon-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.tryon-modal-container {
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  max-height: 840px;
  background: #141d27;
  border: 1px solid rgba(210, 167, 105, 0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(210, 167, 105, 0.15);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tryon-modal-overlay.active .tryon-modal-container {
  transform: scale(1) translateY(0);
}

/* Header Bar */
.tryon-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid rgba(210, 167, 105, 0.15);
  background: #111821;
  flex-shrink: 0;
  z-index: 10;
}

.tryon-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.tryon-header-title h2 {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #dfbd8a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.tryon-badge {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: rgba(210, 167, 105, 0.18);
  border: 1px solid rgba(210, 167, 105, 0.4);
  color: #dfbd8a;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tryon-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.tryon-btn-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #efece6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tryon-btn-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #f87171;
  transform: rotate(90deg);
}

/* Modal Body */
.tryon-modal-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  flex: 1;
  min-height: 0;
  position: relative;
  background: #0d131a;
  overflow: hidden;
}

/* Left: Camera / AR Viewport */
.tryon-viewport {
  position: relative;
  background: #080c10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.tryon-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tryonVideo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

#tryonCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

#tryonCanvas:active {
  cursor: grabbing;
}

/* Loading / Permission Screen */
.tryon-state-screen {
  position: absolute;
  inset: 0;
  background: #0d131a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  z-index: 30;
  transition: opacity 0.3s ease;
}

.tryon-state-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.tryon-loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(210, 167, 105, 0.2);
  border-top-color: #dfbd8a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.tryon-state-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.5rem;
  color: #dfbd8a;
  margin-bottom: 0.4rem;
}

.tryon-state-desc {
  font-size: 0.85rem;
  color: #9d9588;
  max-width: 340px;
  margin-bottom: 1.2rem;
  line-height: 1.45;
}

.tryon-btn-start {
  padding: 0.7rem 1.5rem;
  background: #d2a769;
  color: #121820;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tryon-btn-start:hover {
  background: #dfbd8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 167, 105, 0.4);
}

/* Viewport HUD Overlays */
.tryon-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  pointer-events: none;
}

.tryon-hud-top > * {
  pointer-events: auto;
}

.tryon-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(14, 20, 27, 0.8);
  border: 1px solid rgba(210, 167, 105, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #efece6;
}

.tryon-dot-pulse {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.tryon-hud-buttons {
  display: flex;
  gap: 0.4rem;
}

.tryon-hud-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 20, 27, 0.8);
  border: 1px solid rgba(210, 167, 105, 0.35);
  backdrop-filter: blur(8px);
  color: #efece6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tryon-hud-btn:hover {
  background: rgba(210, 167, 105, 0.3);
  border-color: #dfbd8a;
  color: #dfbd8a;
  transform: scale(1.08);
}

/* Shutter Flash Animation */
.tryon-flash {
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: opacity 0.15s ease-out;
}

.tryon-flash.flash-active {
  opacity: 0.85;
}

/* Shutter Button at bottom of Viewport */
.tryon-hud-bottom {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 20;
  pointer-events: none;
}

.tryon-hud-bottom > * {
  pointer-events: auto;
}

.tryon-btn-capture {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #dfbd8a 30%, #d2a769 70%);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(210, 167, 105, 0.5);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121820;
}

.tryon-btn-capture:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(210, 167, 105, 0.7);
}

.tryon-btn-capture:active {
  transform: scale(0.92);
}

/* Alignment Guide */
.tryon-guide-frame {
  position: absolute;
  top: 12%;
  bottom: 22%;
  left: 15%;
  right: 15%;
  border: 1px dashed rgba(210, 167, 105, 0.25);
  border-radius: 20px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
}

.tryon-guide-frame.guide-hidden {
  opacity: 0;
}

.tryon-guide-hint {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(223, 189, 138, 0.9);
  background: rgba(14, 20, 27, 0.75);
  padding: 3px 10px;
  border-radius: 9999px;
  margin: 0 auto;
  width: fit-content;
}

/* Right: Control Sidebar */
.tryon-sidebar {
  background: #141d27;
  border-left: 1px solid rgba(210, 167, 105, 0.15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.2rem;
  gap: 1.1rem;
}

/* Active Garment Card */
.tryon-garment-card {
  background: rgba(10, 15, 22, 0.6);
  border: 1px solid rgba(210, 167, 105, 0.25);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tryon-garment-header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.tryon-garment-thumb {
  width: 52px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a2430;
  border: 1px solid rgba(210, 167, 105, 0.2);
  flex-shrink: 0;
}

.tryon-garment-info {
  min-width: 0;
}

.tryon-garment-info h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  color: #efece6;
  margin-bottom: 0.15rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tryon-garment-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dfbd8a;
}

.tryon-garment-meta {
  font-size: 0.72rem;
  color: #9d9588;
}

.tryon-btn-buy {
  width: 100%;
  padding: 0.7rem;
  background: #d2a769;
  color: #121820;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.tryon-btn-buy:hover {
  background: #dfbd8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(210, 167, 105, 0.35);
}

/* Control Sliders & Buttons */
.tryon-adjust-box {
  background: rgba(10, 15, 22, 0.4);
  border: 1px solid rgba(210, 167, 105, 0.15);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tryon-adjust-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #dfbd8a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tryon-mode-toggle {
  display: flex;
  background: #0a0f16;
  border: 1px solid rgba(210, 167, 105, 0.2);
  border-radius: 6px;
  padding: 2px;
}

.tryon-mode-btn {
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #9d9588;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tryon-mode-btn.active {
  background: #d2a769;
  color: #121820;
}

.tryon-slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tryon-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #9d9588;
}

.tryon-slider-label span:last-child {
  color: #dfbd8a;
  font-weight: 600;
}

.tryon-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: #202a35;
  outline: none;
}

.tryon-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dfbd8a;
  cursor: pointer;
  border: 2px solid #141d27;
  box-shadow: 0 0 6px rgba(210, 167, 105, 0.5);
  transition: transform 0.1s ease;
}

.tryon-dpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 120px;
  margin: 0 auto;
}

.tryon-dpad-btn {
  aspect-ratio: 1;
  background: #111822;
  border: 1px solid rgba(210, 167, 105, 0.25);
  color: #efece6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.8rem;
}

.tryon-dpad-btn:hover {
  background: rgba(210, 167, 105, 0.25);
  border-color: #dfbd8a;
  color: #dfbd8a;
}

.tryon-dpad-btn:active {
  transform: scale(0.9);
}

/* Wardrobe / Dress Picker Carousel */
.tryon-wardrobe-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tryon-wardrobe-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #dfbd8a;
}

.tryon-wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tryon-wardrobe-item {
  position: relative;
  aspect-ratio: 3/4;
  background: #0d131a;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tryon-wardrobe-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.tryon-wardrobe-item:hover img {
  transform: scale(1.08);
}

.tryon-wardrobe-item.active {
  border-color: #dfbd8a;
  box-shadow: 0 0 10px rgba(210, 167, 105, 0.4);
}

.tryon-wardrobe-item-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 15, 22, 0.95), transparent);
  font-size: 0.65rem;
  font-weight: 600;
  color: #dfbd8a;
  padding: 3px;
  text-align: center;
}

/* Upload Photo Option */
.tryon-upload-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(210, 167, 105, 0.35);
  border-radius: 8px;
  color: #dfbd8a;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tryon-upload-bar:hover {
  background: rgba(210, 167, 105, 0.1);
  border-color: #dfbd8a;
}

/* Snapshot Preview Modal */
.tryon-snapshot-modal {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 22, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.tryon-snapshot-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.tryon-snapshot-card {
  max-width: 440px;
  width: 100%;
  background: #141d27;
  border: 1px solid rgba(210, 167, 105, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.tryon-snapshot-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: #090e14;
}

.tryon-snapshot-footer {
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.6rem;
  background: #111821;
}

.tryon-snapshot-btn-dl {
  flex: 1;
  padding: 0.7rem;
  background: #d2a769;
  color: #121820;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.tryon-snapshot-btn-retake {
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #efece6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE OPTIMIZATIONS (TABLETS & PHONES)
   ============================================================ */

@media (max-width: 900px) {
  .tryon-modal-overlay {
    padding: 0;
  }

  .tryon-modal-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .tryon-modal-header {
    padding: 0.6rem 1rem;
  }

  .tryon-header-title h2 {
    font-size: 1.15rem;
  }

  .tryon-badge {
    display: none; /* Hide on mobile to keep header clean */
  }

  .tryon-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: 52vh 1fr;
    height: calc(100dvh - 54px);
  }

  .tryon-viewport {
    height: 100%;
    min-height: 240px;
  }

  .tryon-guide-frame {
    top: 8%;
    bottom: 20%;
    left: 10%;
    right: 10%;
  }

  .tryon-hud-bottom {
    bottom: 10px;
  }

  .tryon-btn-capture {
    width: 48px;
    height: 48px;
  }

  .tryon-sidebar {
    border-left: none;
    border-top: 1px solid rgba(210, 167, 105, 0.2);
    padding: 0.9rem;
    gap: 0.85rem;
    background: #10161f;
  }

  /* Horizontal swipeable wardrobe on mobile */
  .tryon-wardrobe-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.6rem;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .tryon-wardrobe-item {
    flex: 0 0 74px;
    height: 98px;
    scroll-snap-align: start;
  }

  .tryon-garment-card {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .tryon-modal-body {
    grid-template-rows: 48vh 1fr;
  }

  .tryon-btn-buy {
    padding: 0.65rem;
    font-size: 0.78rem;
  }

  .tryon-wardrobe-item {
    flex: 0 0 68px;
    height: 90px;
  }
}

/* Try-On Showcase Banner Grid */
.tryon-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 900px) {
  .tryon-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .tryon-banner-grid .section-eyebrow {
    justify-content: center !important;
  }
  .tryon-banner-grid div:first-child p {
    margin: 0 auto 1.5rem auto;
  }
  .tryon-banner-grid div:first-child div[style*="display: flex"] {
    justify-content: center;
  }
}
