/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 2155:2 Unexpected "<"

**/
<style>
    :root {
      /* Existing palette (for quiz/app) */
      --bg: #050816;
      --card: #0f172a;
      --accent: #38bdf8;
      --accent-soft: rgba(56, 189, 248, 0.1);
      --text: #f9fafb;
      --muted: #9ca3af;
      --border: #1f2933;
      --error: #f97373;
      --success: #4ade80;

      /* Brand vars for intro hero */
      --dt-orange: #ff641c;
      --dt-bg: #ffffff;
      --dt-text: #090909;
      --dt-radius-lg: 16px;
      --dt-radius-pill: 999px;
      --dt-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    * { box-sizing: border-box; }

    body { 
      margin: 0; 
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; 
      background: #ffffff;
      color: var(--text); 
      min-height: 100vh; 
    }

    .hidden {
      display: none !important;
    }

    /* ========= INTRO OVERLAY ========= */

    .intro-overlay {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background:  #ffffff;
    }

    .intro-card {
      max-width: 1100px;
      width: 100%;
      min-height: 520px;

      border-radius: var(--dt-radius-lg);
      box-shadow: var(--dt-shadow-lg);

      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);

      overflow: hidden;
      position: relative; 
    }

    .intro-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: none;
      background: rgba(0, 0, 0, 0.12);
      color: #ffffff;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

    /* LEFT hero area: cloth bg + model image */
    .intro-left {
      position: relative;
    }

    .intro-model-img {
      position: absolute;
      bottom: 0;
      left: 0;            /* stick to the left */
      transform: none;    /* remove centering */
      width: 100%;
      max-width: 480px;
      height: auto;
      pointer-events: none;
      user-select: none;
    }

    .intro-right {
      padding: 40px 40px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      background: none !important;
    }

    .intro-eyebrow {
      margin: 0;
      font-weight: 800;
      font-size: 32px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--dt-orange);
      text-align: center;
    }

    .intro-subtitle {
      margin: 0;
      font-style: italic;
      font-weight: 300;
      font-size: 18px;
      letter-spacing: 0.04em;
      color: var(--dt-orange);
      text-transform: lowercase;
      text-align: center;
    }

    .intro-glass {
      margin-top: 8px;
      width: 100%;
      max-width: 420px;
      padding: 20px 22px 24px;
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(6px);
      border-radius: 15px;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    .intro-title {
      margin: 0 0 10px;
      font-weight: 600;
      font-size: 22px;
      color: var(--dt-orange);
      text-align: center;
    }

    .intro-text {
      margin: 0 0 18px;
      font-size: 14px;
      line-height: 1.4;
      color: var(--dt-text);
    }

    .intro-cta {
      display: block;
      width: 100%;
      border: none;
      border-radius: 9px;
      padding: 13px 16px;
      font-weight: 800;
      font-size: 15px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      text-align: center;
      cursor: pointer;
      background: #ff641c;
      color: #ffffff;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
    }

    .intro-cta:hover {
      background: #ff7a3b;
      box-shadow: 0 8px 18px rgba(255, 100, 28, 0.4);
      transform: translateY(-1px);
    }

    .intro-cta:active {
      transform: translateY(1px);
      box-shadow: 0 4px 10px rgba(255, 100, 28, 0.3);
    }

    .intro-logo-mark {
      margin-top: auto;
      padding-top: 16px;
    }

    .intro-logo-icon img {
      height: 28px;
      width: auto;
      display: block;
    }

    @media (max-width: 900px) {
      .intro-card {
        grid-template-columns: 1fr;
      }
      .intro-left {
        display: none;
      }
      .intro-right {
        padding: 28px 20px;
      }
    }

    /* ========= QUIZ / APP LAYOUT ========= */

    .quiz-screen {
      min-height: 100vh;
      display: flex;
      justify-content: center;
      padding: 24px;
    }

    .app {
      width: 100%;
      max-width: 1120px;
      background: rgba(15, 23, 42, 0.95);
      border-radius: 24px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
      padding: 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
      gap: 24px;
    }

    .step1-app {
      display: block; 
      max-width: 1100px;
      margin: 0 auto;
    }

    @media (max-width: 900px) {
      .quiz-screen {
        padding: 16px;
      }
      .app {
        grid-template-columns: 1fr;
        padding: 16px;
      }
    }

    h1 {
      margin: 0 0 8px;
      font-size: 1.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    h1 span.logo-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: linear-gradient(135deg, #38bdf8, #a855f7);
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
    }
    .subtitle {
      margin: 0;
      font-size: 0.95rem;
      color: var(--muted);
    }
    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }
    .pill {
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 0.75rem;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--muted);
    }
    .card {
      background: rgba(15, 23, 42, 0.9);
      border-radius: 18px;
      border: 1px solid var(--border);
      padding: 16px;
      margin-top: 16px;
    }
    .card h2 {
      margin: 0 0 8px;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .small-label {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 8px;
    }
    select, input[type="number"], button {
      font-family: inherit;
    }
    select, input[type="number"] {
      width: 100%;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: #020617;
      color: var(--text);
      font-size: 0.9rem;
    }
    select:focus, input[type="number"]:focus {
      outline: 2px solid var(--accent);
      border-color: var(--accent);
    }
    .checkbox-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 6px 10px;
      margin-top: 4px;
    }
    .checkbox-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: #020617;
      font-size: 0.8rem;
    }
    .checkbox-pill input {
      margin: 0;
      accent-color: var(--accent);
    }
    .row {
      display: flex;
      gap: 10px;
      margin-top: 8px;
    }
    .row > div {
      flex: 1;
    }
    .geo-row {
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
      margin-top: 6px;
    }
    .geo-display {
      font-size: 0.85rem;
      color: var(--muted);
    }
    .geo-btn {
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 0.75rem;
      border: 1px solid rgba(148,163,184,0.5);
      background: #020617;
      color: var(--text);
      cursor: pointer;
    }
    .geo-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .selfie-area {
      border-radius: 14px;
      border: 1px dashed rgba(148, 163, 184, 0.7);
      background: radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 55%);
      padding: 10px;
      display: flex;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
    }
    .selfie-preview {
      width: 90px;
      height: 90px;
      border-radius: 16px;
      background: #020617;
      border: 1px solid rgba(148, 163, 184, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .selfie-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .selfie-text {
      flex: 1;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .selfie-text strong {
      color: var(--accent);
    }
    .selfie-upload-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      border-radius: 999px;
      border: 0;
      background: linear-gradient(135deg, #38bdf8, #a855f7);
      color: white;
      font-size: 0.8rem;
      cursor: pointer;
      box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    }
    .selfie-upload-btn span {
      margin-left: 6px;
      font-size: 1rem;
    }
    .cta-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 14px;
    }
    .cta-btn {
      border-radius: 999px;
      padding: 9px 20px;
      border: 0;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #ecfdf5;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 10px 30px rgba(22, 163, 74, 0.6);
    }
    .cta-btn[disabled] {
      opacity: 0.6;
      cursor: default;
      box-shadow: none;
    }
    .cta-btn span.icon {
      font-size: 1rem;
    }
    .status {
      margin-top: 8px;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .status.error {
      color: var(--error);
    }

    /* Right panel */
    .results {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .results-block {
      background: rgba(15, 23, 42, 0.9);
      border-radius: 18px;
      border: 1px solid var(--border);
      padding: 14px 16px;
      max-height: 260px;
      overflow: auto;
    }
    .results-block h3 {
      margin: 0 0 6px;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .results-block p {
      margin: 4px 0;
      font-size: 0.86rem;
      color: var(--muted);
      line-height: 1.4;
    }
    .metrics-list {
      margin-top: 6px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .metric-item {
      font-size: 0.82rem;
    }
    .metric-bar-back {
      width: 100%;
      height: 6px;
      border-radius: 999px;
      background: #020617;
      margin-top: 3px;
      overflow: hidden;
    }
    .metric-bar-fill {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #38bdf8, #a855f7);
      width: 0;
      transition: width 0.4s ease-out;
    }
    .env-text {
      white-space: pre-line;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .overlay-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 8px;
      margin-top: 6px;
    }
    .overlay-card {
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      overflow: hidden;
      background: #020617;
      font-size: 0.78rem;
    }
    .overlay-card img {
      width: 100%;
      display: block;
    }
    .overlay-card div {
      padding: 4px 6px;
      color: var(--muted);
    }
    .products-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 8px;
      margin-top: 6px;
    }
    .product-card {
      flex: 0 0 220px;           /* ancho fijo por tarjeta */
      max-width: 220px;
      background: #fff;
      border-radius: 18px;
      padding: 16px 12px 20px;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
      text-align: center;
    }
    .product-card img {
      width: 100%;
      height: 110px;
      object-fit: cover;
    }
    .product-card div {
      padding: 4px 6px;
    }

    @media (max-width: 768px) {
      .product-card {
        width: 160px;
      }
    }

    @media (max-width: 480px) {
      .product-card {
        width: 140px;
      }
    }

    .skin-card-grid {
      display: grid;
      grid-template-columns: repeat(3, 309.92px); /* 3 cards per row */
      gap: 18px 22px;                              /* row / column gap */
      justify-content: center;
    }

    .skin-card {
      width: 309.92px;
      height: 155.72px;
      display: grid;
      grid-template-columns: 112.87px 1fr; /* image | text */
      align-items: stretch;

      background: #ffffff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
      position: relative;
      cursor: pointer;
      border: 1px solid #eee;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    }

    .skin-card-body strong {
      display: block;
      margin-bottom: 4px;
      color: #222;
      font-size: 15px;
      font-weight: 600;
      font-style: italic; /* similar to the mockup */
    }

    .skin-dot {
      position:absolute;
      bottom:10px;
      right:12px;
      width:10px;
      height:10px;
      border-radius:999px;
      border:2px solid #ff641c;
      background:#fff;
    }

    .skin-card.selected {
      border-color:#ff641c;
    }

    .skin-card.selected .skin-dot {
      background:#ff641c;
    }
    .skin-type-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 900px;
    }

    .skin-card-radio {
      position: absolute;
      right: 14px;
      bottom: 12px;
      width: 14px;
      height: 14px;
      border-radius: 999px;
      border: 2px solid #ff641c;
      background: #fff;
    }

    .skin-card--selected .skin-card-radio {
      background: #ff641c;
      box-shadow: 0 0 0 4px rgba(255, 100, 28, 0.16);
    }

    .skin-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
    }

    .skin-card img {
      width: 112.87px;
      height: 155.57px;
      object-fit: cover;
      object-position: center left; /* o simplemente 'left center' */
      display: block;
    }

    .skin-card-body {
      padding: 12px 16px 14px;
      font-size: 13px;
      line-height: 1.35;
      color: #555;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .skin-card input {
      display: none;
    }

    .skin-card input:checked + .radio-dot {
      background: #ff641c;
      border-color: #ff641c;
    }

    .radio-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2px solid #bbb;
      display: inline-block;
      margin-top: 8px;
    }

    .next-btn-container {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 32px;
    }

    .next-btn {
      background: #ff641c;
      color: white;
      font-size: 16px;
      border-radius: 30px;
      border: none;
      cursor: pointer;
      transition: background .2s;
      min-width: 220px;
      padding: 14px 32px;
    }

    .next-btn:hover {
      background: #ff7a3b;
    }

    .concern-card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(309.92px, 309.92px));
      gap: 18px 22px;
      justify-content: center;
    }
    

    .concern-card {
      width: 309.92px;
      height: 111.52px;

      background: #ffffff;
      border-radius: 16px;
      padding: 14px 18px;

      border: 1px solid #eee;
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;

      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }

    .concern-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0,0,0,0.09);
    }
      

    .concern-card-checkbox {
      width: 16px;
      height: 16px;
      border-radius: 4px; 
      border: 2px solid #ff641c;
      background: #fff;
      position: relative;
    }


    .concern-card-label {
      font-size: 14px;
      color: #333;
      font-style: italic;
    }

    .concern-card--selected {
      border-color: #ff641c;
      box-shadow: 0 12px 26px rgba(255,100,28,0.25);
    }

    .concern-card--selected .concern-card-checkbox {
      background: #ff641c;
    }

    /* ------------------------------ */
    /* GRID CONTAINERS                */
    /* ------------------------------ */

    .eye-neck-concern-row-big {
      display: grid;
      grid-template-columns: repeat(3, 309.92px);
      gap: 18px 22px;
      justify-content: center;
      margin-bottom: 32px;
    }

    .eye-neck-concern-row-small {
      display: grid;
      grid-template-columns: repeat(3, 310px);
      gap: 14px 22px;
      justify-content: center;
      margin-top: 10px;
    }

    /* ------------------------------ */
    /* CARD BASE STYLE                */
    /* ------------------------------ */

    .eye-neck-concern-card {
      background: #ffffff;
      border: 1px solid #e9e9e9;
      border-radius: 16px;
      padding: 14px 18px;

      display: flex;
      align-items: center;
      gap: 14px;

      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .eye-neck-concern-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.09);
    }

    /* ------------------------------ */
    /* SIZE VARIANTS                  */
    /* ------------------------------ */

    .eye-neck-concern-card--big {
      width: 309.92px;
      height: 111.52px;
    }

    .eye-neck-concern-card--small {
      width: 310px;
      height: 78px;
    }

    /* ------------------------------ */
    /* RADIO + TEXT                   */
    /* ------------------------------ */

    .eye-neck-concern-checkbox {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      border: 2px solid #ff641c;
      background: #fff;
      position: relative;
    }


    .eye-neck-concern-label {
      font-size: 15px;
      color: #333;
      font-style: italic;
    }

    .eye-neck-concern-card--selected .eye-neck-concern-checkbox {
      background: #ff641c;
    }

    .eye-neck-concern-card--selected .eye-neck-concern-checkbox::after {
      content: "✓";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -58%);
      font-size: 12px;
      color: #fff;
      font-weight: 700;
    }

    .quiz-title {
      color:#ff641c;
      font-size:32px;
      margin:0 0 18px;
      font-weight:800;
    }

    /* ===== BIG CARDS (SOY...) ===== */

    .big-card-row {
      display: grid;
      grid-template-columns: repeat(3, 309.92px);
      gap: 20px;
      justify-content: center;
    }

    .big-card {
      width: 309.92px;
      height: 111.52px;
      background: #fff;
      border-radius: 16px;
      border: 1px solid #eee;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 22px;
      cursor: pointer;

      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }

    .big-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0,0,0,0.08);
    }

    .big-card-radio {
      width: 14px;
      height: 14px;
      border-radius: 999px;
      border: 2px solid #ff641c;
      background: #fff;
    }

    .big-card-label {
      font-size: 15px;
      color:#333;
      font-style: italic;
    }

    .big-card--selected {
      border-color:#ff641c;
      box-shadow: 0 12px 26px rgba(255,100,28,0.25);
    }

    .big-card--selected .big-card-radio {
      background:#ff641c;
      box-shadow: 0 0 0 4px rgba(255,100,28,0.16);
    }


    /* ===== SMALL CARDS (EDAD) ===== */

    .small-card-row {
      display:grid;
      grid-template-columns: repeat(auto-fill, 310px);
      gap:18px 22px;
      justify-content:center;
      margin-bottom: 28px;
    }

    .small-card {
      width:310px;
      height:78px;
      background:#fff;
      border-radius:16px;
      border:1px solid #eee;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 18px;
      cursor:pointer;
      transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }

    .small-card:hover {
      transform:translateY(-2px);
      box-shadow:0 10px 20px rgba(0,0,0,0.07);
    }

    .small-card-radio {
      width:14px;
      height:14px;
      border-radius:999px;
      border:2px solid #ff641c;
      background:#fff;
    }

    .small-card-label {
      font-size:14px;
      color:#333;
      font-style:italic;
    }

    .small-card--selected {
      border-color:#ff641c;
      box-shadow:0 10px 26px rgba(255,100,28,0.25);
    }

    .small-card--selected .small-card-radio {
      background:#ff641c;
      box-shadow:0 0 0 4px rgba(255,100,28,0.16);
    }

    .quiz-step-location {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 32px 16px;
      box-sizing: border-box;
    }

    .location-wrapper {
      max-width: 760px;
      width: 100%;
      text-align: center;
      margin: 0 auto;
    }

    .location-title {
      font-size: 32px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #ff6a00; /* tu naranja */
      margin-bottom: 16px;
    }

    .location-subtitle {
      font-size: 14px;
      line-height: 1.5;
      color: #555;
      max-width: 540px;
      margin: 0 auto 24px;
    }

    .location-detect-btn {
      border: 1px solid #ff6a00;
      background: #fff7f0;
      color: #ff6a00;
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      margin-bottom: 20px;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
    }

    .location-detect-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      background: #ffe8d3;
    }

    .location-display-row {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 auto;
      margin-bottom: 4px;
    }

    .location-text {
      font-size: 18px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .icon-btn {
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 18px;
      padding: 4px;
    }

    .location-edit {
      margin-top: 8px;
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .location-input {
      min-width: 280px;
      max-width: 420px;
      padding: 6px 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 13px;
    }

    .location-save-btn {
      padding: 6px 12px;
      border-radius: 999px;
      border: none;
      background: #ff6a00;
      color: white;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
    }

    .location-divider {
      width: 80%;
      max-width: 540px;
      height: 1px;
      background: #ddd;
      margin: 16px auto 24px;
    }

    .env-cards-row {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .env-card {
      min-width: 120px;
      text-align: center;
    }

    .env-icon {
      font-size: 26px;
      margin-bottom: 4px;
    }

    .env-label {
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #777;
      margin-bottom: 4px;
    }

    .env-value {
      font-size: 14px;
      font-weight: 700;
    }

    .location-next-btn {
      display: inline-block;
      margin-top: 8px;
      padding: 10px 60px;
      border-radius: 6px;
      border: none;
      background: #ff6a00;
      color: #fff;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
    }

    .location-next-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
      background: #ff7f26;
    }

    /* Dots */
    .quiz-dots {
      margin-top: 16px;
      display: flex;
      justify-content: center;
      gap: 6px;
    }

    .quiz-dots .dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #ddd;
    }

    .quiz-dots .dot.active {
      width: 18px;
      background: #ff6a00;
    }

    /* util */
    .hidden {
      display: none !important;
    }

    /* ===== LOCATION STEP (¿EN DÓNDE VIVES?) ===== */

    .location-wrapper {
      width: 100%;
      text-align: center;
    }

    .location-title {
      color: #ff641c;
      font-size: 32px;
      margin: 0 0 8px;
      font-weight: 800;
    }

    .location-subtitle {
      font-size: 14px;
      color: #777;
      max-width: 620px;
      margin: 0 auto 28px;
    }

    .location-row {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
      font-size: 16px;
    }

    .location-detect-btn {
      border: 2px solid #ff641c;
      background: #fff;
      color: #ff641c;
      font-weight: 600;
      border-radius: 999px;
      padding: 10px 18px;
      cursor: pointer;
      font-size: 14px;
      transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

    .location-detect-btn:hover {
      background: #ff641c;
      color: #fff;
      box-shadow: 0 6px 16px rgba(255,100,28,0.35);
    }

    .location-city {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #333;
    }

    .location-edit {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 16px;
      color: #ff641c;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .location-divider {
      width: 80%;
      max-width: 640px;
      margin: 0 auto 24px;
      border: none;
      border-top: 1px solid #ddd;
    }

    .location-metrics-row {
      display: flex;
      justify-content: center;
      gap: 80px;
      margin-bottom: 32px;
    }

    .location-metric {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 12px;
      color: #555;
    }

    .location-metric-icon {
      font-size: 26px;
      margin-bottom: 6px;
    }

    .location-metric-label {
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 4px;
    }

    .location-metric-value {
      font-weight: 600;
      color: #333;
    }

    /* UV index – 70.52px x 70.52px */
    .icon-uv {
      width: 70.52px;
      height: 70.52px;
      object-fit: contain;
    }

    /* Humidity – 70px x 70px */
    .icon-humidity {
      width: 70px;
      height: 70px;
      object-fit: contain;
    }

    /* Pollution – 77.03px x 77.03px */
    .icon-pollution {
      width: 77.03px;
      height: 77.03px;
      object-fit: contain;
    }

    /* === PHOTO SCREEN === */

    .photo-wrapper {
      padding: 40px 60px 30px;
    }

    .photo-title {
      text-align: center;
      font-size: 32px;
      font-weight: 800;
      letter-spacing: 1px;
      color: #ff6a00; /* tu naranja principal */
      margin-bottom: 30px;
    }

    .photo-content {
      display: flex;
      gap: 40px;
      align-items: stretch;
      justify-content: center;
    }

    .photo-tips {
      flex: 1;
      min-width: 260px;
    }

    .photo-tips-title {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 1px;
      margin-bottom: 20px;
    }

    .photo-tips-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px 30px;
    }

    .photo-tip {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.9px;
    }

    .photo-tip-icon {
      font-size: 26px;
      margin-bottom: 8px;
    }

    .photo-tip-text {
      max-width: 130px;
    }

    /* Dropzone derecha */
    .photo-dropzone-wrapper {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .photo-dropzone {
      width: 360px;
      height: 240px;
      border-radius: 16px;
      border: 1.8px solid #d5d5d5;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: box-shadow 0.15s ease, transform 0.15s ease,
        border-color 0.15s ease, background 0.15s ease;
    }

    .photo-dropzone:hover {
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
      transform: translateY(-1px);
      border-color: #ff6a00;
    }

    .photo-dropzone.dragover {
      background: #fff3e9;
      border-color: #ff6a00;
      box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.3);
    }

    .photo-dropzone-inner {
      text-align: center;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #555;
    }

    .photo-dropzone-icon {
      font-size: 26px;
      margin-bottom: 10px;
    }

    .photo-dropzone-text {
      line-height: 1.4;
    }

    .photo-dropzone-filename {
      margin-top: 10px;
      font-size: 11px;
      color: #222;
      max-width: 260px;
      word-break: break-all;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .photo-content {
        flex-direction: column;
        align-items: center;
      }

      .photo-dropzone {
        width: 100%;
        max-width: 360px;
      }
    }

    .photo-tip-icon {
      display: block;
      margin: 0 auto 8px;   /* centra el icono sobre el texto */
      object-fit: contain;  /* mantiene proporciones */
    }

    /* 1. Gafas: 60.13 x 33 px */
    .gafas-icon {
      width: 60.13px;
      height: 33px;
    }

    /* 2. Rostro: 45 x 45 px */
    .rostro-icon {
      width: 45px;
      height: 45px;
    }

    /* 3. Encuadre: 60 x 47 px */
    .encuadre-icon {
      width: 60px;
      height: 47px;
    }

    /* 4. Neutral: 48 x 48 px */
    .neutral-icon {
      width: 48px;
      height: 48px;
    }

    .selfie-drop {
      width: 330px;
      height: 250px;
      border: 2px dashed #ccc;
      border-radius: 12px;
      cursor: pointer;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transition: border-color 0.2s ease;
    }

    .selfie-drop-icon {
      font-size: 32px;
      color: #555;
    }

    .selfie-preview img {
      width: 100%;
      height: 100%;
      border-radius: 12px;
      object-fit: cover;
    }

    .hidden {
      display: none !important;
    }

    .photo-upload-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* ---- GRID de 2x2 con líneas ---- */
    .photo-tips-grid.with-lines {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 40px 60px;
      position: relative;
      padding: 40px 20px;
    }

    /* Línea vertical */
    .photo-tips-grid.with-lines::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 1px;
      background: #000;
      opacity: 0.25;
    }

    /* Línea horizontal */
    .photo-tips-grid.with-lines::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 1px;
      background: #000;
      opacity: 0.25;
    }

    /* Ajuste del contenedor */
    .photo-tip {
      text-align: center;
    }

    /* ---- ICON SIZES (exactos que pediste) ---- */
    .gafas-icon { width: 60.13px; height: 33px; object-fit: contain; }
    .rostro-icon { width: 45px; height: 45px; object-fit: contain; }
    .encuadre-icon { width: 60px; height: 47px; object-fit: contain; }
    .neutral-icon { width: 48px; height: 48px; object-fit: contain; }

    /* Texto */
    .photo-tip-text {
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.2;
      color: #333;
    }

    /* Contenedor de subida y preview: mismo tamaño */
    .selfie-drop,
    .selfie-preview {
      width: 420px;          /* pon aquí el ancho exacto de tu bloque */
      height: 260px;         /* y la altura exacta del diseño */
      border-radius: 18px;
      border: 1px dashed #c7c7c7;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-sizing: border-box;
    }

    /* Al hacer hover en desktop */
    .selfie-drop:hover,
    .selfie-preview:hover {
      border-color: #ff641c;
    }

    /* La imagen se queda dentro del recuadro */
    .selfie-preview img {
      max-width: 100%;
      max-height: 100%;
      object-fit: cover;   /* si prefieres que no corte nada, cambia a "contain" */
      border-radius: 18px;
      display: block;
    }

    /* Overlay de carga */
    .loading-overlay {
      position: fixed;
      inset: 0;
      background: rgba(5, 8, 22, 0.75);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .loading-overlay.hidden {
      display: none;
    }

    .loading-card {
      background: #ffffff;
      padding: 32px 40px;
      border-radius: 20px;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
      text-align: center;
      min-width: 260px;
    }

    .spinner {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 4px solid #f97316;
      border-top-color: transparent;
      margin: 0 auto 16px;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes loading-slide {
      0% {
        transform: translateX(-120%);
      }
      100% {
        transform: translateX(220%);
      }
    }

    /* Pantalla resultados */
    .results-title {
      text-align: center;
      font-size: 2rem;
      color: #ff641c;
      margin-bottom: 24px;
    }

    .results-layout {
      display: flex;
      gap: 24px;
    }

    @media (max-width: 960px) {
      .results-layout {
        grid-template-columns: 1fr;
      }
    }

    .results-left,
    .results-right {
      flex: 1;
      min-width: 0;
    }

    .results-selfie-card,
    .results-score-card,
    .results-block {
      background: #fff;
      border-radius: 16px;
      padding: 16px 20px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    }

    .results-subtitle {
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #4f4f70;
      margin-bottom: 12px;
    }

    .results-selfie-wrapper {
      border-radius: 12px;
      overflow: hidden;
      background: #f1f1f5;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 260px;
    }

    .results-selfie-img {
      max-width: 100%;
      max-height: 340px;
      object-fit: contain;
    }

    /* Thumbnails overlays */
    .results-overlays-thumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .results-overlays-thumbs button {
      border: 1px solid #e5e7eb;
      background: #f9fafb;
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 0.75rem;
      cursor: pointer;
    }

    .results-overlays-thumbs button.active {
      border-color: #ff641c;
      background: rgba(255, 100, 28, 0.06);
      color: #ff641c;
    }

    /* Skin score círculo */
    .skin-score-circle {
      width: 140px;
      height: 140px;
      margin: 8px auto 4px;
      border-radius: 999px;
      border: 8px solid #ffe1cf;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .skin-score-circle::before {
      content: "";
      position: absolute;
      inset: 8px;
      border-radius: 999px;
      border: 6px solid #ff641c;
      opacity: 0.9;
    }

    #skin-score-value {
      font-size: 1.8rem;
      font-weight: 700;
      color: #ff641c;
    }

    .results-text {
      font-size: 0.9rem;
      line-height: 1.5;
      color: #4b5563;
    }

    /* Productos recomendados */
    .results-products-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 10px;
    }

    .product-card {
      width: 120px;
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
      overflow: hidden;
      text-align: center;
      font-size: 0.78rem;
    }

    .product-card img {
      width: 100%;
      height: 110px;
      object-fit: cover;
    }

    .product-card-title {
      padding: 6px 8px 10px;
      font-weight: 500;
    }

    .product-add-btn {
      margin-top: 8px;
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      background: #ff641c;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .product-add-btn:hover {
      background: #ff7a3b;
    }

    .skin-metrics {
      margin-top: 20px;
      flex: 1; 
    }

    .metric-item {
      margin-bottom: 12px;
    }

    .metric-label {
      font-size: 14px;
      font-weight: 600;
      color: #444;
      margin-bottom: 4px;
    }

    .metric-bar {
      width: 100%;
      height: 10px;
      background: #eee;
      border-radius: 50px;
      overflow: hidden;
    }

    .metric-bar-fill {
      height: 100%;
      border-radius: 50px;
      background: linear-gradient(90deg, #ff8c42, #ff641c);
      width: 0%;
      transition: width 0.7s ease;
    }

    .products-section {
      background: #ffffff;
      border-radius: 20px;
      padding: 20px 24px 24px;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
      overflow: hidden;          /* 👈 clips anything that wants to go outside */
    }

    .products-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .products-carousel {
      margin-top: 16px;
      overflow: hidden;          /* 👈 prevents cards from extending past the card */
      width: 100%;
    }

    .products-track {
      display: flex;
      gap: 16px;
      transition: transform 0.35s ease;
      will-change: transform;
    }

    .product-card {
      min-width: 180px;
      max-width: 220px;
      background: #fff;
      border-radius: 16px;
      padding: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-shrink: 0;
    }

    .product-card img {
      width: 100%;
      height: 140px;
      object-fit: contain;
      border-radius: 12px;
    }

    .product-name {
      font-size: 13px;
      font-weight: 500;
      line-height: 1.4;
      min-height: calc(2.8em + 2px);
      max-height: calc(2.8em + 2px);
      padding-bottom: 2px;
      box-sizing: border-box;
      overflow: hidden;
      text-overflow: ellipsis;
      line-clamp: 2;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .product-desc {
      font-size: 11px;
      color: #777;
    }

    .product-tag {
      display: inline-block;
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 999px;
      background: #ffe6d6;
      color: #ff641c;
    }

    .carousel-btn {
      border: none;
      background: #ffe6d6;
      color: #ff641c;
      border-radius: 999px;
      width: 26px;
      height: 26px;
      cursor: pointer;
      font-size: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .skin-score-wrapper {
      display: flex;
      flex-direction: row;   /* círculo arriba, barras abajo */
      align-items: center;
      gap: 24px;                /* espacio entre círculo y métricas */
    }

    .loading-bar {
      width: 230px;
      height: 10px;
      border-radius: 999px;
      background: #e5e7eb;
      overflow: hidden;
      margin: 0 auto 16px;
    }

    .loading-bar-fill {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, #ff8c42, #ff641c);
      transition: width 0.25s ease;
      animation: none;
    }

    #loading-text {
      text-align: center;
      font-size: 14px;
      margin-top: 6px;
      color: #ff641c;
    }

    .product-price {
      font-weight: 700;
      margin: 6px 0;
      font-size: 14px;
    }

    .category-tabs {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }

    .category-tab {
      padding: 10px 18px;
      border-radius: 999px;
      border: none;
      background: #f1f1f1;
      color: #666;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .category-tab.active {
      background: #ffffff;
      color: #111;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

    .products-category {
      display: none;
    }

    .products-category.active {
      display: block;
    }

    .next-btn:disabled {
      background-color: #e5e7eb; /* light gray */
      color: #9ca3af;
      cursor: not-allowed;
      box-shadow: none;
    }

    .next-btn:disabled:hover {
      background-color: #e5e7eb;
    }


    /* ============================= */
    /* MOBILE RESPONSIVE OVERRIDES */
    /* ============================= */
    @media (max-width: 768px) {

      /* --- General container --- */
      .quiz-screen {
        padding: 12px;
      }

      .app {
        grid-template-columns: 1fr;   /* stack columns */
        padding: 16px;
        border-radius: 18px;
      }

      /* =============================
        RESULTS LAYOUT
      ============================== */
      .results-layout {
        flex-direction: column;
        gap: 16px;
      }

      .results-left,
      .results-right {
        width: 100%;
      }

      /* Selfie card */
      .results-selfie-wrapper {
        min-height: 220px;
      }

      .results-selfie-img {
        max-height: 260px;
      }

      /* Skin score */
      .skin-score-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
      }

      /* =============================
        CATEGORY TABS
      ============================== */
      .category-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .category-tab {
        flex: 1 1 auto;
        font-size: 12px;
        padding: 8px 14px;
      }

      /* =============================
        PRODUCTS
      ============================== */
      .products-section {
        padding: 14px;
      }

      .products-carousel {
        overflow-x: auto;         /* swipe on mobile */
        -webkit-overflow-scrolling: touch;
      }

      .products-track {
        gap: 12px;
      }

      .product-card {
        min-width: 160px;
        max-width: 160px;
        padding: 10px;
      }

      .product-card img {
        height: 120px;
      }

      .product-name {
        font-size: 12px;
      }

      .product-price {
        font-size: 13px;
      }

      .product-add-btn {
        font-size: 10px;
        padding: 6px;
      }

      /* Hide arrows (swipe instead) */
      .carousel-btn {
        display: none;
      }

      /* =============================
        STEPS / CARDS
      ============================== */
      .skin-card-grid,
      .big-card-row,
      .eye-neck-concern-row-big,
      .eye-neck-concern-row-small,
      .concern-card-grid {
        grid-template-columns: 1fr;
      }

      .skin-card,
      .big-card,
      .small-card,
      .concern-card,
      .eye-neck-concern-card {
        width: 100%;
      }

      /* =============================
        LOCATION STEP
      ============================== */
      .location-metrics-row {
        flex-direction: column;
        gap: 20px;
      }

      /* =============================
        PHOTO STEP
      ============================== */
      .photo-content {
        flex-direction: column;
        gap: 24px;
      }

      .photo-dropzone,
      .selfie-preview,
      .selfie-drop {
        width: 100%;
        height: 220px;
      }

      /* =============================
        BUTTONS
      ============================== */
      .next-btn {
        width: 100%;
        max-width: none;
        padding: 14px;
        font-size: 15px;
      }
    }

    .concern-card--selected .concern-card-checkbox::after {
      content: "✓";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -58%);
      font-size: 12px;
      color: #fff;
      font-weight: 700;
    }

  </style>