/* ── VTO (Virtual Try-On) panel ───────────────────────── */
#tryon-panel { background: var(--mac-black); position: relative; }
#tryon-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(160,10,36,0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(160,10,36,0.18), transparent 35%);
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
  animation: gradientPulse 10s ease-in-out infinite;
}
[data-theme="light"] #tryon-panel::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(140,20,50,0.13), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(140,20,50,0.13), transparent 35%);
}

/* Mode toggle */
.vto-mode-toggle {
  display: flex;
  gap: 4px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--mac-border);
  position: relative;
  z-index: 1;
}

.vto-mode-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vto-mode-btn:hover {
  background: var(--mac-glass-h);
  color: var(--mac-white);
}

.vto-mode-btn.active {
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border-color: var(--mac-red);
  color: white;
  box-shadow: 0 0 12px var(--mac-red-glow);
}

/* Two-column layout */
.vto-main {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.vto-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  gap: 20px;
}

.vto-sidebar {
  width: 300px;
  border-left: 1px solid var(--mac-border);
  display: flex;
  flex-direction: column;
  background: var(--mac-black);
  flex-shrink: 0;
}

/* Sidebar header */
.vto-sidebar-header {
  padding: 14px 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--mac-white);
  border-bottom: 1px solid var(--mac-border);
  letter-spacing: 0.3px;
}

/* Sidebar search — direct input */
input.vto-sidebar-search {
  width: calc(100% - 24px);
  margin: 10px 12px 0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition);
}

input.vto-sidebar-search:focus {
  border-color: rgba(200,16,46,0.4);
}

/* Sidebar category select */
select.vto-sidebar-cat {
  width: calc(100% - 24px);
  margin: 8px 12px 10px;
  padding: 8px 28px 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--mac-white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select.vto-sidebar-cat option {
  background: var(--mac-charcoal);
  color: var(--mac-white);
}

[data-theme="light"] select.vto-sidebar-cat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
}

[data-theme="light"] select.vto-sidebar-cat option {
  background: #f7f5f3;
  color: #1a1a1a;
}

/* Sidebar product grid */
.vto-sidebar-grid {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vto-sidebar-grid::-webkit-scrollbar { width: 5px; }
.vto-sidebar-grid::-webkit-scrollbar-track { background: transparent; }
.vto-sidebar-grid::-webkit-scrollbar-thumb { background: var(--mac-mid); border-radius: 3px; }

.vto-prod-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mac-charcoal);
  border: 1px solid var(--mac-border);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.vto-prod-card:hover {
  border-color: rgba(200,16,46,0.3);
  background: var(--mac-glass-h);
}

.vto-prod-card.selected {
  border-color: var(--mac-red);
  background: rgba(200,16,46,0.06);
  box-shadow: 0 0 8px var(--mac-red-glow);
}

.vto-prod-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--mac-glass);
  flex-shrink: 0;
}

[data-theme="light"] .vto-prod-card img {
  background: var(--mac-dark);
}

.vto-prod-card-info {
  flex: 1;
  min-width: 0;
}

.vto-prod-card-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--mac-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.vto-prod-card-cat {
  font-size: 9px;
  color: var(--mac-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 1px;
}

.vto-prod-card-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--mac-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.vto-prod-card.selected .vto-prod-card-check {
  border-color: var(--mac-red);
  background: var(--mac-red);
}

.vto-prod-card-check svg {
  width: 10px;
  height: 10px;
  opacity: 0;
}

.vto-prod-card.selected .vto-prod-card-check svg {
  opacity: 1;
}

/* Shade pills for selected products */
.vto-prod-shades {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 10px 8px;
  background: rgba(200,16,46,0.04);
  border: 1px solid var(--mac-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-top: -4px;
}

.vto-shade-pill {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.vto-shade-pill:hover {
  border-color: rgba(200,16,46,0.4);
  color: var(--mac-white);
}

.vto-shade-pill.active {
  background: var(--mac-red);
  border-color: var(--mac-red);
  color: white;
}

/* Selected products tray */
.vto-tray {
  border-top: 1px solid var(--mac-border);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vto-tray span {
  font-weight: 600;
  color: var(--mac-white);
  font-size: 12px;
}

.vto-tray button {
  font-size: 11px;
  color: var(--mac-red);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: opacity var(--transition);
}

.vto-tray button:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Mode areas */
#vto-tryon-area, #vto-transfer-area { display: none; }
#vto-tryon-area.active, #vto-transfer-area.active { display: flex; flex-direction: column; gap: 16px; }

/* Try-on row: input + result side by side */
.vto-tryon-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vto-tryon-input-col {
  flex: 0 0 450px;
  max-width: 450px;
}

.vto-result-col {
  flex: 0 0 450px;
  max-width: 450px;
}

.vto-result-col .vto-pane {
  width: 450px;
  height: 450px;
  max-width: 100%;
  position: relative;
}

/* Input header (label + toggle) */
.vto-input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 26px;
}

.vto-input-header .vto-transfer-label {
  margin-bottom: 0;
}

.vto-input-toggle {
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.vto-input-toggle:hover {
  border-color: var(--mac-red);
  color: var(--mac-red);
}

/* Input sub-views (upload / webcam) */
.vto-input-subview { display: none; }
.vto-input-subview.active { display: block; }

.vto-camera-feed {
  position: relative;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  aspect-ratio: 4/3;
}

.vto-camera-feed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vto-capture-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid white;
  background: rgba(200,16,46,0.8);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.vto-capture-btn:hover {
  background: var(--mac-red);
  transform: translateX(-50%) scale(1.08);
}

/* Upload zone */
.vto-upload-zone {
  border: 2px dashed var(--mac-border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}

.vto-upload-zone:hover {
  border-color: rgba(200,16,46,0.4);
  background: var(--mac-glass);
}

/* Webcam enable button — centred, no hover change */
.vto-camera-enable-btn {
  width: 450px;
  height: 450px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--mac-charcoal);
  border: 2px dashed var(--mac-border);
  color: var(--text-secondary);
}

.vto-camera-enable-btn:hover {
  border-color: var(--mac-border);
  background: var(--mac-charcoal);
  transform: none;
}

.vto-upload-zone.dragover {
  border-color: var(--mac-red);
  background: rgba(200,16,46,0.06);
}

.vto-upload-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.vto-upload-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.vto-upload-hint {
  font-size: 11px;
  color: var(--text-muted);
}

/* Preview of captured/uploaded image */
.vto-preview-container {
  position: relative;
  width: 450px;
  height: 450px;
  max-width: 100%;
  overflow: hidden;
}

.vto-preview-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.vto-preview-container img,
.vto-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vto-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.vto-clear-btn:hover {
  background: var(--mac-red);
  transform: scale(1.1);
}

/* Transfer dual previews — equal size, no padding */
.vto-transfer-col #vto-transfer-ref-preview,
.vto-transfer-col #vto-transfer-selfie-preview {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

.vto-transfer-col #vto-transfer-ref-preview img,
.vto-transfer-col #vto-transfer-selfie-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Saved looks gallery */
.vto-saved-looks {
  display: none;
  padding: 16px 0 0;
}

.vto-saved-looks.active {
  display: block;
}

.vto-saved-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--mac-white);
  margin-bottom: 12px;
}

.vto-saved-empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0;
}

.vto-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.vto-saved-card {
  background: var(--mac-charcoal);
  border: 1px solid var(--mac-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.vto-saved-card:hover {
  border-color: rgba(200,16,46,0.3);
}

.vto-saved-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.vto-saved-card-info {
  padding: 10px 12px 6px;
}

.vto-saved-card-mode {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--mac-gold);
  margin-bottom: 2px;
}

.vto-saved-card-date {
  font-size: 11px;
  color: var(--text-muted);
}

.vto-saved-card-products {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vto-saved-card-actions {
  display: flex;
  gap: 6px;
  padding: 6px 12px 10px;
}

.vto-saved-card-actions button {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--mac-white);
  cursor: pointer;
  transition: all var(--transition);
}

.vto-saved-card-actions button:hover {
  background: var(--mac-glass-h);
}

.vto-saved-card-actions button:first-child {
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border-color: var(--mac-red);
  color: white;
}

/* Result area — text & suggestions only */
#vto-result-area {
  display: none;
}

#vto-result-area.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Transfer result column (inside .vto-transfer-uploads row) */
#vto-transfer-result-row {
  flex: 1 1 0;
  min-width: 0;
  max-width: 450px;
}

#vto-transfer-result-row .vto-pane {
  width: 450px;
  height: 450px;
  max-width: 100%;
  position: relative;
}

/* Pane base styles */
.vto-pane {
  overflow: hidden;
  position: relative;
  background: #111;
  border-radius: 0;
}

.vto-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vto-result-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mac-cream);
  padding: 12px 16px;
  background: var(--mac-dark);
  border: 1px solid var(--mac-border);
  border-radius: var(--radius-sm);
}

/* Action bar */
.vto-action-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vto-action-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--mac-white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vto-action-btn:hover {
  background: var(--mac-glass-h);
  transform: translateY(-1px);
}

.vto-action-btn.primary {
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border-color: var(--mac-red);
  color: white;
}

.vto-action-btn.primary:hover {
  box-shadow: 0 4px 16px var(--mac-red-glow);
}

.vto-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Refine input bar — matches chat input area */
.vto-refine-bar {
  display: none;
  padding: 12px 0 0;
}

.vto-refine-bar.active {
  display: block;
}

.vto-refine-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mac-dark);
  border: 1px solid var(--mac-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--transition);
}

.vto-refine-wrapper:focus-within {
  border-color: rgba(200,16,46,0.4);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}

.vto-refine-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.vto-refine-bar input::placeholder {
  color: var(--text-muted);
}

.vto-refine-send {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.vto-refine-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--mac-red-glow);
}

.vto-refine-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  padding-left: 2px;
}

/* Processing overlay */
.vto-processing {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius);
}

.vto-processing.active {
  display: flex;
}

.vto-processing-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--mac-border);
  border-top-color: var(--mac-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.vto-processing-text {
  font-size: 14px;
  color: var(--mac-cream);
  font-style: italic;
}

/* Transfer area — horizontal upload layout */
.vto-transfer-uploads {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vto-transfer-uploads .vto-transfer-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 450px;
}

.vto-transfer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mac-gold);
  margin-bottom: 6px;
}

.vto-transfer-uploads .vto-upload-zone {
  flex: 1;
}

/* Product suggestions */
.vto-suggestions {
  display: none;
}

.vto-suggestions.active {
  display: block;
  margin-top: 8px;
}

.vto-suggestions-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--mac-white);
  margin-bottom: 12px;
}

.vto-suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.vto-zone-group {
  margin-bottom: 16px;
}

.vto-zone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mac-gold);
  margin-bottom: 8px;
}

.vto-zone-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.vto-suggest-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mac-charcoal);
  border: 1px solid var(--mac-border);
  border-radius: 10px;
  padding: 10px 12px;
  transition: all var(--transition);
}

.vto-suggest-card:hover {
  border-color: rgba(200,16,46,0.3);
  background: var(--mac-glass-h);
}

.vto-suggest-body {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.vto-suggest-card img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--mac-glass);
  flex-shrink: 0;
}

.vto-suggest-img-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--mac-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  opacity: 0.5;
}

.vto-suggest-info {
  flex: 1;
  min-width: 0;
}

.vto-suggest-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--mac-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vto-suggest-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--mac-gold);
  margin-top: 1px;
}

.vto-suggest-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--mac-white);
  margin-top: 2px;
}

.vto-suggest-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.vto-suggest-actions button {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  white-space: nowrap;
}

.vto-suggest-actions button:first-child {
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border-color: var(--mac-red);
  color: white;
}

.vto-suggest-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Camera consent modal */
.vto-consent-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.vto-consent-modal.active {
  display: flex;
}

.vto-consent-card {
  background: var(--mac-charcoal);
  border: 1px solid var(--mac-border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow);
}

.vto-consent-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.vto-consent-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--mac-white);
  margin-bottom: 8px;
}

.vto-consent-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.vto-consent-privacy {
  font-size: 11px;
  color: var(--mac-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vto-consent-actions {
  display: flex;
  gap: 10px;
}

.vto-consent-actions button {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mac-border);
  background: var(--mac-glass);
  color: var(--mac-white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.vto-consent-actions button:hover {
  background: var(--mac-glass-h);
}

.vto-consent-actions button.primary {
  background: linear-gradient(135deg, var(--mac-red), #9a0d24);
  border-color: var(--mac-red);
  color: white;
}

.vto-consent-actions button.primary:hover {
  box-shadow: 0 4px 16px var(--mac-red-glow);
}

/* Responsive */
@media (max-width: 768px) {
  .vto-mode-toggle {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .vto-mode-btn {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 44px;
  }

  .vto-content {
    padding: 12px;
  }

  .vto-main {
    flex-direction: column;
  }

  .vto-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--mac-border);
    max-height: 250px;
  }

  .vto-tryon-row {
    flex-direction: column;
  }

  .vto-tryon-input-col,
  .vto-result-col {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .vto-preview-container,
  .vto-camera-enable-btn,
  .vto-result-col .vto-pane,
  #vto-transfer-result-row .vto-pane {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .vto-pane {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .vto-upload-zone { padding: 24px 16px; min-height: 120px; }
  .vto-input-toggle,
  .vto-action-btn,
  .vto-refine-send,
  .vto-tray button,
  .vto-suggest-actions button,
  .vto-shade-pill { min-height: 44px; }

  .vto-transfer-uploads {
    flex-direction: column;
  }

  .vto-transfer-col #vto-transfer-ref-preview,
  .vto-transfer-col #vto-transfer-selfie-preview {
    max-width: 100%;
  }

  .vto-preview-container {
    max-width: 100%;
  }

  .vto-suggest-grid {
    grid-template-columns: 1fr;
  }

  .vto-action-bar {
    flex-wrap: wrap;
  }

  .vto-action-btn { flex: 1 1 160px; justify-content: center; }

  .vto-refine-wrapper {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .vto-mode-toggle { gap: 8px; }
  .vto-mode-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .vto-content { padding: 10px; gap: 14px; }
  .vto-sidebar { max-height: 300px; }
  .vto-prod-card { min-height: 56px; }
  .vto-saved-grid,
  .vto-zone-cards { grid-template-columns: 1fr; }
  .vto-suggest-card { align-items: flex-start; }
  .vto-suggest-actions { flex-direction: row; flex-wrap: wrap; }
  .vto-consent-card { margin: 0 12px; padding: 24px 18px; }
  .vto-consent-actions { flex-direction: column; }
}
