/* ============================================================
   PouchMe Consumer Landing Pages
   Self-contained. No dependency on style.css.
   All classes prefixed c- to avoid collision with internal tools.
   ============================================================ */

/* --- Blurred email gate (hard-gate for designer + sizing results) --- */
.c-gated { position: relative; }
.c-gated .c-gated__content {
  filter: blur(11px); pointer-events: none; user-select: none; transition: filter .35s ease;
  max-height: 560px; overflow: hidden;  /* teaser height so the gate card stays in view */
}
.c-gated .c-gate-overlay { display: flex; }
.c-gate-overlay {
  display: none;
  position: absolute; inset: 0; z-index: 20;
  align-items: flex-start; justify-content: center; padding: 48px 24px;
  background: rgba(251, 246, 240, 0.55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.c-gate-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 32px 28px; max-width: 420px; width: 100%;
  text-align: center;
}
.c-gate-card__icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--accent); }
.c-gate-card__icon svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.c-gate-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--text); }
.c-gate-card p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 18px; }
.c-gate-card .c-input { margin-bottom: 10px; }
.c-gate-card .btn { width: 100%; }
.c-gate-card__reassurance { font-size: 0.76rem; color: var(--text-muted); margin-top: 12px; margin-bottom: 0; }
/* Unlocked state: remove blur + hide overlay */
.c-unlocked .c-gated__content { filter: none; pointer-events: auto; user-select: auto; max-height: none; overflow: visible; }
.c-unlocked .c-gate-overlay { display: none; }


:root {
  /* Match pouch.me brand exactly: body #404040, h1 #e53247, Montserrat 300/600 */
  --bg: #fbf6f0;
  --bg-card: #ffffff;
  --bg-card-hover: #fffaf6;
  --border: #ece4db;
  --border-focus: #e53247;
  --text: #404040;
  --text-secondary: #6b6b6b;
  --text-muted: #9c9c9c;
  --accent: #e53247;
  --accent-hover: #c9223a;
  --accent-glow: rgba(229, 50, 71, 0.08);
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e53247;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 40px;
  --shadow: 0 1px 4px rgba(64,64,64,0.06);
  --shadow-md: 0 4px 16px rgba(64,64,64,0.08);
  --shadow-lg: 0 8px 32px rgba(64,64,64,0.10);
  --transition: 180ms ease;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

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

html { font-size: 15px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Headings get the pouch.me weight 600 */
h1, h2, h3, h4 { font-weight: 600; color: var(--text); }
h1 { color: var(--accent); }
strong, b { font-weight: 600; }

/* --- Header --- */
.c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.c-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.c-header__logo svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

/* --- Hero --- */
.c-hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.c-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.c-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.c-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 24px;
  font-weight: 400;
}

.c-hero__trust {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.c-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
}

.c-trust-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Sections --- */
.c-section {
  padding: 48px 24px;
}

.c-section--cream {
  background: var(--bg);
}

.c-section--white {
  background: #ffffff;
}

.c-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.c-section__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Container --- */
.c-container {
  max-width: 960px;
  margin: 0 auto;
}

.c-container--narrow {
  max-width: 620px;
  margin: 0 auto;
}

/* --- Forms --- */
.c-form__group {
  margin-bottom: 24px;
}

.c-form__row {
  display: flex;
  gap: 16px;
}

.c-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.c-label__optional {
  font-weight: 400;
  color: var(--text-muted);
}

.c-input,
.c-textarea,
.c-select {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 400;
  transition: all var(--transition);
  outline: none;
}

.c-input:focus,
.c-textarea:focus,
.c-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.c-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.c-input::placeholder,
.c-textarea::placeholder {
  color: #bbb;
  font-weight: 400;
}

.c-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.c-form__hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}

.c-form__reassurance {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  font-weight: 400;
}

/* --- Style Preset Cards (photo-based) --- */
.c-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.c-style-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  text-align: center;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.c-style-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 50, 71, 0.10);
}

.c-style-card--active {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(229, 50, 71, 0.10);
}

.c-style-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  filter: saturate(0.4) brightness(1.05);
  transition: filter 0.3s ease;
}

.c-style-card:hover .c-style-card__photo {
  filter: saturate(0.85) brightness(1);
}

.c-style-card--active .c-style-card__photo {
  filter: saturate(1) brightness(1);
}

.c-style-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

/* --- File Upload --- */
.c-file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  background: #ffffff;
}

.c-file-upload:hover,
.c-file-upload.c-file-upload--dragover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.c-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.c-file-upload__icon {
  margin-bottom: 8px;
}

.c-file-upload__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
}

.c-file-upload__text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.c-file-upload__text strong {
  color: var(--accent);
}

.c-file-upload__preview {
  position: relative;
  display: inline-block;
}

.c-file-upload__preview img {
  max-width: 200px;
  max-height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.c-file-upload__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(229, 50, 71, 0.3);
}

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

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-lg {
  padding: 16px 44px;
  font-size: 0.88rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.75rem;
}

.btn-full { width: 100%; }

.c-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px;
  transition: color var(--transition);
}

.c-link-btn:hover { color: var(--accent-hover); }

/* --- Loading: Progress Bar (Designer, ~60s) --- */
.c-loading {
  padding: 40px 0;
}

.c-loading__progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 24px;
}

.c-loading__bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}

.c-loading__bar--animate {
  animation: loadProgress 60s ease-out forwards;
}

@keyframes loadProgress {
  0%   { width: 0%; }
  10%  { width: 15%; }
  30%  { width: 35%; }
  50%  { width: 55%; }
  70%  { width: 75%; }
  90%  { width: 88%; }
  100% { width: 95%; }
}

.c-loading__step {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.c-loading__tip {
  background: var(--accent-glow);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: inline-block;
  max-width: 480px;
  text-align: left;
}

.c-loading__tip-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.c-loading__tip-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: opacity 0.3s ease;
}

/* --- Loading: Brief dots (Sizing, ~5s) --- */
.c-loading--brief {
  padding: 48px 0;
}

.c-loading__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.c-loading__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.c-loading__dots span:nth-child(2) { animation-delay: 0.2s; }
.c-loading__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* --- Result: Image (Designer) --- */
.c-result {
  text-align: center;
}

.c-result__image-wrap {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.c-result__image {
  width: 100%;
  display: block;
}

.c-result__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* --- Result: Card (Sizing) --- */
.c-result-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.c-result-card__header {
  padding: 24px 28px 0;
}

.c-result-card__header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.c-result-card__body {
  padding: 20px 28px 28px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.c-result-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--text);
}

.c-result-card__body h3:first-child { margin-top: 0; }

.c-result-card__body p { margin: 8px 0; }

.c-result-card__body strong { font-weight: 700; color: var(--text); }

.c-result-card__body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.c-result-card__body li { margin-bottom: 4px; }

.c-result-card__actions {
  border-top: 1px solid var(--border);
  padding: 24px 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Email Gate Modal --- */
.c-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.c-modal {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 44px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.c-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.c-modal__close:hover {
  background: var(--bg);
  color: var(--text);
}

.c-modal__icon {
  margin-bottom: 16px;
}

.c-modal__icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.c-modal__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.c-modal__subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- Testimonial --- */
.c-testimonial {
  max-width: 520px;
  margin: 0 auto;
}

.c-testimonial blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  quotes: none;
}

.c-testimonial blockquote::before { content: "\201C"; }
.c-testimonial blockquote::after { content: "\201D"; }

.c-testimonial cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 500;
}

/* --- Footer --- */
.c-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.c-footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.c-footer__trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.c-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.c-trust-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.c-footer__bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 16px;
}

.c-footer__bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.c-footer__bottom a:hover { color: var(--accent); }

/* --- Error --- */
.c-error {
  background: rgba(229, 50, 71, 0.08);
  border: 1px solid rgba(229, 50, 71, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* --- Utility --- */
.c-hidden { display: none !important; }

.c-fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .c-hero { padding: 56px 20px 40px; }
  .c-hero__title { font-size: 1.7rem; }
  .c-hero__subtitle { font-size: 0.95rem; }
  .c-hero__trust { flex-direction: column; gap: 8px; align-items: center; }

  .c-section { padding: 36px 20px; }

  .c-style-grid { grid-template-columns: repeat(2, 1fr); }

  .c-form__row { flex-direction: column; gap: 0; }

  .c-result__image-wrap { border-radius: 12px; }

  .c-result-card__actions { flex-direction: column; padding: 20px; }
  .c-result-card__actions .btn { width: 100%; }

  .c-footer__trust { flex-direction: column; align-items: center; gap: 16px; }

  .c-modal { padding: 32px 24px; }
  .c-modal__title { font-size: 1.15rem; }

  .btn-lg { padding: 14px 32px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .c-hero__title { font-size: 1.5rem; }
  .c-style-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .c-style-card__inner { padding: 12px 8px; }
  .c-style-card__swatch { width: 40px; height: 40px; }
}

/* --- Chip / Quick-Select Buttons --- */
.c-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-chip {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.c-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.c-chip--active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.c-chip--active:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* --- Icon Chip Grid (Sizing product selector) --- */
.c-icon-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.c-icon-chip {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
}

.c-icon-chip svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.c-icon-chip span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.2;
}

.c-icon-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 50, 71, 0.10);
}

.c-icon-chip--active {
  background: var(--accent);
  border-color: var(--accent);
}

.c-icon-chip--active svg {
  stroke: #ffffff;
}

.c-icon-chip--active span {
  color: #ffffff;
}

.c-icon-chip--active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (max-width: 768px) {
  .c-icon-chip-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .c-icon-chip { padding: 10px 6px 8px; }
  .c-icon-chip svg { width: 22px; height: 22px; }
  .c-icon-chip span { font-size: 0.68rem; }
}

@media (max-width: 480px) {
  .c-icon-chip-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Bag Type Selector (Designer) --- */
.c-bag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.c-bag-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
}

.c-bag-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 50, 71, 0.10);
}

.c-bag-card--active {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(229, 50, 71, 0.10);
}

.c-bag-card__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
}

.c-bag-card__placeholder {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-bag-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 768px) {
  .c-bag-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .c-bag-card { padding: 12px 8px 10px; }
  .c-bag-card__img { width: 56px; height: 56px; }
  .c-bag-card__placeholder { width: 56px; height: 56px; }
  .c-bag-card__label { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .c-bag-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Quiz --- */
.c-quiz-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 36px;
}

.c-quiz-progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.c-quiz-step__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-align: center;
}

.c-quiz-step__subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.c-quiz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.c-quiz-grid--wide {
  grid-template-columns: repeat(2, 1fr);
}

.c-quiz-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
}

.c-quiz-card:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.c-quiz-card:active {
  transform: translateY(0);
}

.c-quiz-card__emoji {
  font-size: 2rem;
  line-height: 1;
}

.c-quiz-card__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.c-quiz-card--wide {
  padding: 20px 20px;
  text-align: left;
  flex-direction: row;
  gap: 14px;
}

.c-quiz-card--wide .c-quiz-card__emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.c-quiz-card--wide .c-quiz-card__label {
  font-size: 0.88rem;
}

.c-quiz-card__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.c-quiz-card--wide .c-quiz-card__hint {
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .c-quiz-grid { grid-template-columns: repeat(3, 1fr); }
  .c-quiz-grid--wide { grid-template-columns: 1fr; }
  .c-quiz-card { padding: 16px 10px; }
  .c-quiz-card__emoji { font-size: 1.6rem; }
  .c-quiz-card__label { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .c-quiz-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .c-quiz-card { padding: 14px 8px; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ccc; }
