
.home-routine{padding-top:28px}
.home-routine__hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:22px;align-items:center;margin-bottom:18px}
.home-routine__badge{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(38,27,17,.08);background:rgba(255,255,255,.72);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8d7b69;box-shadow:0 10px 22px rgba(26,21,16,.05)}
.home-routine h2{margin:14px 0 0;font-size:clamp(34px,4.4vw,58px);line-height:.92;letter-spacing:-.04em}
.home-routine__lede{max-width:58ch;margin:14px 0 0;color:#5e544b;line-height:1.75}
.home-routine__hero-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.home-routine__hero-points span,.home-routine__trust-row span,.home-routine__analysis-tags span{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(38,27,17,.08);background:rgba(255,255,255,.72);font-size:12px;color:#4c4037;box-shadow:0 10px 24px rgba(26,21,16,.05)}
.home-routine__hero-art{position:relative;min-height:320px;border-radius:34px;border:1px solid rgba(38,27,17,.08);background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(245,239,232,.96));overflow:hidden;box-shadow:0 28px 70px rgba(26,21,16,.09)}
.home-routine__hero-orb{position:absolute;inset:auto auto -48px -24px;width:220px;height:220px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.9),rgba(255,255,255,0) 72%)}
.home-routine__hero-stack{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.home-routine__hero-card{position:absolute;width:min(56%,280px);aspect-ratio:4/5;object-fit:cover;border-radius:28px;border:1px solid rgba(38,27,17,.07);box-shadow:0 24px 54px rgba(26,21,16,.12);background:#fff}
.home-routine__hero-card--one{transform:translate(-108px,18px) rotate(-12deg)}
.home-routine__hero-card--two{z-index:2;transform:translateY(-8px)}
.home-routine__hero-card--three{transform:translate(108px,24px) rotate(12deg)}
.home-routine__presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.home-routine__preset{display:grid;gap:6px;text-align:left;padding:16px 18px;border-radius:24px;border:1px solid rgba(38,27,17,.08);background:rgba(255,255,255,.74);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.home-routine__preset:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(26,21,16,.08);border-color:rgba(176,138,94,.26)}
.home-routine__preset.is-active{background:linear-gradient(180deg,#f6eee4,#f0e0cf);border-color:rgba(176,138,94,.34)}
.home-routine__preset-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:#fffdfa;border:1px solid rgba(38,27,17,.08);font-size:16px}
.home-routine__preset strong{font-size:15px;color:#1c1510}
.home-routine__preset small{font-size:12px;color:#6d6055;line-height:1.55}
.home-routine__shell{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr);gap:18px;align-items:stretch}
.glass-panel{position:relative;overflow:hidden;border:1px solid rgba(38,27,17,.08);border-radius:32px;background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(245,239,232,.97));box-shadow:0 22px 56px rgba(26,21,16,.08);backdrop-filter:blur(20px)}
.glass-panel::before{content:'';position:absolute;inset:auto auto -56px -36px;width:170px;height:170px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.86),rgba(255,255,255,0) 72%);pointer-events:none}
.home-routine__builder,.home-routine__result{padding:26px}
.home-routine__progress{height:7px;border-radius:999px;background:rgba(38,27,17,.07);overflow:hidden;margin-bottom:18px}
.home-routine__progress-fill{height:100%;width:34%;background:linear-gradient(90deg,#8b6c4d,#d9b68d);transition:width .25s ease}
.home-routine__step{display:grid;gap:12px;padding:18px 0;border-bottom:1px solid rgba(38,27,17,.07)}
.home-routine__step:last-of-type{border-bottom:none;padding-bottom:8px}
.home-routine__step-head{display:flex;gap:14px;align-items:flex-start}
.home-routine__step-no{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;height:42px;border-radius:14px;background:rgba(255,255,255,.8);border:1px solid rgba(38,27,17,.08);font:600 13px/1 'Plus Jakarta Sans',sans-serif;color:#8c775f;box-shadow:0 10px 24px rgba(26,21,16,.05)}
.home-routine__step-head h3{margin:2px 0 0;font-size:18px;letter-spacing:-.02em}
.home-routine__step-head p{margin:5px 0 0;font-size:12px;color:#7b6d61}
.home-routine__option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-routine__option-grid--skin{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-routine__option{display:grid;gap:6px;text-align:left;padding:15px 16px;border-radius:22px;border:1px solid rgba(38,27,17,.08);background:rgba(255,255,255,.8);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease}
.home-routine__option:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(26,21,16,.07)}
.home-routine__option.is-active{background:#1a1510;color:#f7f0e8;border-color:#1a1510;box-shadow:0 18px 36px rgba(26,21,16,.12)}
.home-routine__option--soft.is-active,.home-routine__option--goal.is-active{background:linear-gradient(180deg,#f5ede4,#f0e1d0);border-color:rgba(176,138,94,.34);color:#1a1510}
.home-routine__option span{font-size:14px;font-weight:600}
.home-routine__option small{font-size:12px;line-height:1.5;color:#6f6258}
.home-routine__option.is-active small{color:rgba(247,240,232,.76)}
.home-routine__option--soft.is-active small,.home-routine__option--goal.is-active small{color:#695d52}
.home-routine__builder-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.home-routine__note{min-height:20px;margin-top:12px;font-size:12px;color:#7b6d61}
.home-routine__note.is-success{color:#2f6b4d}
.home-routine__result{display:flex;flex-direction:column;gap:16px}
.home-routine__result-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.home-routine__eyebrow{display:inline-flex;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8d7b69}
.home-routine__result h3{margin:8px 0 0;font-size:clamp(30px,4vw,42px);line-height:.95;font-family:var(--serif);font-weight:400;letter-spacing:-.03em}
.home-routine__result-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;background:#f4ede4;border:1px solid rgba(38,27,17,.08);text-decoration:none;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#43372e;white-space:nowrap}
.home-routine__analysis-card{display:grid;gap:12px;padding:18px;border-radius:24px;background:rgba(255,255,255,.74);border:1px solid rgba(38,27,17,.08)}
.home-routine__analysis-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.home-routine__analysis-head strong{font-size:16px;line-height:1.35;color:#1a1510;max-width:34ch}
.home-routine__analysis-badge{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;background:#f7efe6;border:1px solid rgba(38,27,17,.08);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7d6755;white-space:nowrap}
.home-routine__analysis-card p{margin:0;color:#5d5148;line-height:1.72}
.home-routine__analysis-tags{display:flex;flex-wrap:wrap;gap:9px}
.home-routine__routine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-routine__product-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px;border-radius:24px;background:rgba(255,255,255,.78);border:1px solid rgba(38,27,17,.08);min-height:124px}
.home-routine__product-media{width:88px;height:96px;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(38,27,17,.07)}
.home-routine__product-media img{width:100%;height:100%;object-fit:cover;display:block}
.home-routine__product-copy{display:grid;gap:5px;align-content:start}
.home-routine__product-step{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8d7b69}
.home-routine__product-name{font-size:15px;line-height:1.25;color:#1a1510;font-weight:600}
.home-routine__product-meta{font-size:12px;color:#7a6d61}
.home-routine__product-reason{font-size:12px;color:#5d5148;line-height:1.6}
.home-routine__trust-row{display:flex;flex-wrap:wrap;gap:9px}
.home-routine__bundle{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;border-radius:26px;background:#1a1510;color:#f7f0e8;position:relative;overflow:hidden}
.home-routine__bundle::after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.08) 22%,transparent 44%);transform:translateX(-120%);transition:transform .9s ease;pointer-events:none}
.home-routine__bundle:hover::after{transform:translateX(120%)}
.home-routine__bundle small{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(247,240,232,.6);margin-bottom:8px}
.home-routine__bundle strong{display:block;font-size:24px;line-height:1}
.home-routine__bundle span{display:block;font-size:12px;color:rgba(247,240,232,.72);margin-top:8px}
.home-routine__bundle-btn{white-space:nowrap}
@media (max-width:1120px){.home-routine__hero,.home-routine__shell{grid-template-columns:1fr}.home-routine__presets{grid-template-columns:1fr 1fr 1fr}.home-routine__hero-art{min-height:280px}}
@media (max-width:860px){.home-routine__routine-grid,.home-routine__option-grid,.home-routine__option-grid--skin{grid-template-columns:1fr}.home-routine__analysis-head,.home-routine__result-top,.home-routine__bundle{flex-direction:column;align-items:flex-start}.home-routine__product-card{grid-template-columns:74px minmax(0,1fr)}.home-routine__product-media{width:74px;height:84px}}
@media (max-width:720px){.home-routine{padding-top:14px}.home-routine__hero{gap:16px}.home-routine__builder,.home-routine__result{padding:22px;border-radius:26px}.home-routine__presets{grid-template-columns:1fr}.home-routine__hero-card{width:min(64%,250px)}.home-routine__hero-card--one{transform:translate(-78px,18px) rotate(-10deg)}.home-routine__hero-card--three{transform:translate(78px,22px) rotate(10deg)}.home-routine__hero-points,.home-routine__trust-row{display:grid}.home-routine__builder-actions{grid-template-columns:1fr}.home-routine__bundle-btn,.home-routine__builder-actions .btn{width:100%;justify-content:center}}

.home-routine__preset[aria-pressed="true"]{background:linear-gradient(180deg,#f6eee4,#f0e0cf);border-color:rgba(176,138,94,.34);box-shadow:0 18px 36px rgba(26,21,16,.08);}
.home-routine__preset[aria-pressed="false"]{background:rgba(255,255,255,.74);}
.home-routine__preset:focus-visible{outline:2px solid rgba(176,138,94,.45);outline-offset:2px;}

/* Final preset state clarity */
.home-routine__preset{
  position:relative;
  overflow:hidden;
  align-content:start;
}
.home-routine__preset::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid transparent;
  transition:border-color .22s ease, box-shadow .22s ease, opacity .22s ease;
  pointer-events:none;
}
.home-routine__preset.is-active,
.home-routine__preset[aria-pressed="true"],
.home-routine__preset[data-active]{
  background:linear-gradient(180deg,#f6eee4,#efdfcd);
  border-color:rgba(176,138,94,.38);
  box-shadow:0 18px 38px rgba(26,21,16,.1);
}
.home-routine__preset.is-active::after,
.home-routine__preset[aria-pressed="true"]::after,
.home-routine__preset[data-active]::after{
  border-color:rgba(176,138,94,.36);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
}
.home-routine__preset:not(.is-active)[aria-pressed="false"]{
  background:rgba(255,255,255,.78);
  box-shadow:none;
}
.home-routine__preset-icon{
  color:#b08a5e;
  font-size:18px;
}
@media (max-width:720px){
  .home-routine__presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
  .home-routine__preset{padding:14px 12px;border-radius:22px;justify-items:center;text-align:center;}
  .home-routine__preset strong{font-size:14px;}
  .home-routine__preset small{font-size:11px;line-height:1.45;}
  .home-routine__preset-icon{width:34px;height:34px;}
}

/* ============================================================
   HOME ROUTINE — Premium Night Mood Fix
   Scope: Akıllı Rutin Seçimi only
   ============================================================ */
.home-routine[data-mood="night"]{
  --routine-night-bg:#171d24;
  --routine-night-bg-2:#24211f;
  --routine-night-ink:#f7efe6;
  --routine-night-muted:rgba(247,239,230,.72);
  --routine-night-line:rgba(247,239,230,.14);
  --routine-night-line-strong:rgba(247,239,230,.24);
  --routine-night-gold:#d8b184;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(216,177,132,.22) 0, rgba(216,177,132,0) 34%),
    radial-gradient(circle at 84% 18%, rgba(132,154,184,.18) 0, rgba(132,154,184,0) 30%),
    radial-gradient(circle at 52% 104%, rgba(255,231,198,.10) 0, rgba(255,231,198,0) 38%),
    linear-gradient(180deg,var(--routine-night-bg) 0%,var(--routine-night-bg-2) 100%) !important;
  color:var(--routine-night-ink) !important;
  border-color:rgba(247,239,230,.08) !important;
  box-shadow:0 30px 90px rgba(10,12,16,.20);
}
.home-routine[data-mood="night"]::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.055) 42%, transparent 68%),
    radial-gradient(circle at 74% 26%, rgba(255,255,255,.08), transparent 34%);
  opacity:.9;
}
.home-routine[data-mood="night"]::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 24% 30%, rgba(255,255,255,.055) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 58%, rgba(255,255,255,.045) 0 1px, transparent 1.8px);
  background-size:140px 140px,190px 190px;
  opacity:.32;
}
.home-routine[data-mood="night"] h2,
.home-routine[data-mood="night"] h3,
.home-routine[data-mood="night"] strong,
.home-routine[data-mood="night"] .home-routine__product-name,
.home-routine[data-mood="night"] .home-routine__analysis-head strong{color:var(--routine-night-ink) !important;}
.home-routine[data-mood="night"] p,
.home-routine[data-mood="night"] small,
.home-routine[data-mood="night"] .home-routine__lede,
.home-routine[data-mood="night"] .home-routine__step-head p,
.home-routine[data-mood="night"] .home-routine__note,
.home-routine[data-mood="night"] .home-routine__product-meta,
.home-routine[data-mood="night"] .home-routine__product-reason,
.home-routine[data-mood="night"] .home-routine__analysis-card p{color:var(--routine-night-muted) !important;}
.home-routine[data-mood="night"] .home-routine__badge,
.home-routine[data-mood="night"] .home-routine__eyebrow,
.home-routine[data-mood="night"] .home-routine__product-step{color:var(--routine-night-gold) !important;}
.home-routine[data-mood="night"] .home-routine__badge,
.home-routine[data-mood="night"] .home-routine__hero-points span,
.home-routine[data-mood="night"] .home-routine__trust-row span,
.home-routine[data-mood="night"] .home-routine__analysis-tags span{
  background:rgba(247,239,230,.07) !important;
  border-color:var(--routine-night-line) !important;
  color:var(--routine-night-muted) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.12) !important;
}
.home-routine[data-mood="night"] .home-routine__mood{
  background:rgba(247,239,230,.07) !important;
  border-color:var(--routine-night-line) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 42px rgba(0,0,0,.16);
}
.home-routine[data-mood="night"] .home-routine__mood-btn{color:var(--routine-night-muted) !important;}
.home-routine[data-mood="night"] .home-routine__mood-btn:hover{color:var(--routine-night-ink) !important;}
.home-routine[data-mood="night"] .home-routine__mood-btn.is-active{
  background:linear-gradient(180deg,#f7efe6,#ddc9ae) !important;
  color:#171d24 !important;
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}
.home-routine[data-mood="night"] .home-routine__hero-art,
.home-routine[data-mood="night"] .glass-panel,
.home-routine[data-mood="night"] .home-routine__analysis-card,
.home-routine[data-mood="night"] .home-routine__product-card{
  background:linear-gradient(180deg,rgba(247,239,230,.105),rgba(247,239,230,.045)) !important;
  border-color:var(--routine-night-line) !important;
  box-shadow:0 26px 70px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.home-routine[data-mood="night"] .home-routine__hero-orb,
.home-routine[data-mood="night"] .glass-panel::before{background:radial-gradient(circle,rgba(216,177,132,.18),rgba(216,177,132,0) 72%) !important;}
.home-routine[data-mood="night"] .home-routine__hero-card,
.home-routine[data-mood="night"] .home-routine__product-media,
.home-routine[data-mood="night"] .home-routine__step-no,
.home-routine[data-mood="night"] .home-routine__preset-icon{
  background:rgba(247,239,230,.08) !important;
  border-color:var(--routine-night-line) !important;
  color:var(--routine-night-gold) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.14) !important;
}
.home-routine[data-mood="night"] .home-routine__preset,
.home-routine[data-mood="night"] .home-routine__option{
  background:rgba(247,239,230,.065) !important;
  border-color:var(--routine-night-line) !important;
  color:var(--routine-night-ink) !important;
  box-shadow:none !important;
}
.home-routine[data-mood="night"] .home-routine__preset:hover,
.home-routine[data-mood="night"] .home-routine__option:hover{
  background:rgba(247,239,230,.10) !important;
  border-color:var(--routine-night-line-strong) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.16) !important;
}
.home-routine[data-mood="night"] .home-routine__preset.is-active,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"],
.home-routine[data-mood="night"] .home-routine__preset[data-active],
.home-routine[data-mood="night"] .home-routine__option.is-active{
  background:linear-gradient(180deg,#f7efe6,#ddc9ae) !important;
  border-color:rgba(247,239,230,.68) !important;
  color:#171d24 !important;
  box-shadow:0 20px 44px rgba(0,0,0,.20) !important;
}
.home-routine[data-mood="night"] .home-routine__preset.is-active strong,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"] strong,
.home-routine[data-mood="night"] .home-routine__preset[data-active] strong,
.home-routine[data-mood="night"] .home-routine__option.is-active span,
.home-routine[data-mood="night"] .home-routine__option.is-active strong{color:#171d24 !important;}
.home-routine[data-mood="night"] .home-routine__preset.is-active small,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"] small,
.home-routine[data-mood="night"] .home-routine__preset[data-active] small,
.home-routine[data-mood="night"] .home-routine__option.is-active small{color:rgba(23,29,36,.70) !important;}
.home-routine[data-mood="night"] .home-routine__progress{background:rgba(247,239,230,.10) !important;}
.home-routine[data-mood="night"] .home-routine__progress-fill{background:linear-gradient(90deg,#d8b184,#f3dcc0) !important;}
.home-routine[data-mood="night"] .home-routine__step{border-color:rgba(247,239,230,.10) !important;}
.home-routine[data-mood="night"] .home-routine__result-link,
.home-routine[data-mood="night"] .home-routine__analysis-badge{
  background:rgba(247,239,230,.08) !important;
  border-color:var(--routine-night-line) !important;
  color:var(--routine-night-ink) !important;
}
.home-routine[data-mood="night"] .home-routine__bundle{
  background:linear-gradient(135deg,#f7efe6,#d9bd98) !important;
  color:#171d24 !important;
  box-shadow:0 22px 48px rgba(0,0,0,.22);
}
.home-routine[data-mood="night"] .home-routine__bundle strong,
.home-routine[data-mood="night"] .home-routine__bundle span{color:#171d24 !important;}
.home-routine[data-mood="night"] .btn-secondary,
.home-routine[data-mood="night"] #homeRoutineReset{
  background:transparent !important;
  color:var(--routine-night-ink) !important;
  border-color:var(--routine-night-line-strong) !important;
  box-shadow:none !important;
}
.home-routine[data-mood="night"] .btn-secondary:hover,
.home-routine[data-mood="night"] #homeRoutineReset:hover{
  background:var(--routine-night-ink) !important;
  color:#171d24 !important;
  border-color:var(--routine-night-ink) !important;
}
.home-routine[data-mood="night"] .btn-primary{
  background:linear-gradient(180deg,#f7efe6,#ddc9ae) !important;
  color:#171d24 !important;
  border-color:rgba(247,239,230,.72) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.18) !important;
}


/* ============================================================
   COSMOSKIN — Routine section precision fixes
   Scope: Akıllı Rutin Seçimi only
   - restores visible preset SVG icon color in day mode
   - keeps product cards clearly clickable
   ============================================================ */
.home-routine:not([data-mood="night"]) .home-routine__preset-icon,
.home-routine:not([data-mood="night"]) .home-routine__preset.is-active .home-routine__preset-icon,
.home-routine:not([data-mood="night"]) .home-routine__preset[aria-pressed="true"] .home-routine__preset-icon,
.home-routine:not([data-mood="night"]) .home-routine__preset[data-active] .home-routine__preset-icon{
  color:#b5654a !important;
  background:#fffdfa !important;
  border-color:rgba(38,27,17,.08) !important;
}
.home-routine:not([data-mood="night"]) .home-routine__preset-icon svg,
.home-routine:not([data-mood="night"]) .home-routine__preset-icon svg *{
  stroke:currentColor !important;
}
.home-routine__product-card{
  cursor:pointer;
  text-decoration:none;
  color:inherit;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.home-routine__product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(176,138,94,.28);
  box-shadow:0 18px 38px rgba(26,21,16,.09);
}
.home-routine__product-card:focus-visible{
  outline:2px solid rgba(176,138,94,.45);
  outline-offset:3px;
}
.home-routine[data-mood="night"] .home-routine__product-card:hover{
  border-color:rgba(216,177,132,.34) !important;
  box-shadow:0 28px 72px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* ============================================================
   COSMOSKIN — Akıllı Rutin Seçimi / Final live dark-mode override
   Scope: only .home-routine[data-mood="night"]
   Purpose: make live night mode match the darker Phase 5 preview and prevent
   earlier light panel/card styles from washing it out after deploy.
   ============================================================ */
.home-routine[data-mood="night"]{
  --routine-night-bg-1:#101821;
  --routine-night-bg-2:#1b211f;
  --routine-night-panel:rgba(18,24,31,.72);
  --routine-night-panel-soft:rgba(244,236,225,.055);
  --routine-night-border:rgba(244,236,225,.12);
  --routine-night-border-strong:rgba(244,236,225,.24);
  --routine-night-text:#f4ece1;
  --routine-night-text-soft:rgba(244,236,225,.72);
  --routine-night-gold:#d8a384;
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(216,163,132,.16), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(244,236,225,.075), transparent 36%),
    linear-gradient(180deg,var(--routine-night-bg-1) 0%,var(--routine-night-bg-2) 100%) !important;
  color:var(--routine-night-text) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 30px 90px rgba(0,0,0,.20);
}
.home-routine[data-mood="night"]::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.055), transparent 36%),
    radial-gradient(circle at 80% 30%, rgba(216,163,132,.10), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,.025), transparent 42%, rgba(255,255,255,.018));
  opacity:.95;
}
.home-routine[data-mood="night"] .home-routine__hero-art,
.home-routine[data-mood="night"] .glass-panel,
.home-routine[data-mood="night"] .home-routine__analysis-card,
.home-routine[data-mood="night"] .home-routine__product-card,
.home-routine[data-mood="night"] .home-routine__preset,
.home-routine[data-mood="night"] .home-routine__option{
  background:var(--routine-night-panel) !important;
  border-color:var(--routine-night-border) !important;
  color:var(--routine-night-text) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.home-routine[data-mood="night"] .home-routine__analysis-card,
.home-routine[data-mood="night"] .home-routine__product-card,
.home-routine[data-mood="night"] .home-routine__option{
  background:rgba(18,24,31,.64) !important;
}
.home-routine[data-mood="night"] .home-routine__hero-points span,
.home-routine[data-mood="night"] .home-routine__trust-row span,
.home-routine[data-mood="night"] .home-routine__analysis-tags span,
.home-routine[data-mood="night"] .home-routine__badge,
.home-routine[data-mood="night"] .home-routine__result-link,
.home-routine[data-mood="night"] .home-routine__analysis-badge,
.home-routine[data-mood="night"] .home-routine__mood{
  background:var(--routine-night-panel-soft) !important;
  border-color:var(--routine-night-border) !important;
  color:var(--routine-night-text) !important;
  box-shadow:none !important;
}
.home-routine[data-mood="night"] h2,
.home-routine[data-mood="night"] h3,
.home-routine[data-mood="night"] strong,
.home-routine[data-mood="night"] .home-routine__result h3,
.home-routine[data-mood="night"] .home-routine__product-name,
.home-routine[data-mood="night"] .home-routine__analysis-head strong,
.home-routine[data-mood="night"] .home-routine__option span{
  color:var(--routine-night-text) !important;
}
.home-routine[data-mood="night"] p,
.home-routine[data-mood="night"] small,
.home-routine[data-mood="night"] .home-routine__lede,
.home-routine[data-mood="night"] .home-routine__step-head p,
.home-routine[data-mood="night"] .home-routine__option small,
.home-routine[data-mood="night"] .home-routine__preset small,
.home-routine[data-mood="night"] .home-routine__product-meta,
.home-routine[data-mood="night"] .home-routine__product-reason,
.home-routine[data-mood="night"] .home-routine__analysis-card p,
.home-routine[data-mood="night"] .home-routine__note{
  color:var(--routine-night-text-soft) !important;
}
.home-routine[data-mood="night"] .home-routine__eyebrow,
.home-routine[data-mood="night"] .home-routine__product-step,
.home-routine[data-mood="night"] .home-routine__preset-icon,
.home-routine[data-mood="night"] .home-routine__mood-icon{
  color:var(--routine-night-gold) !important;
}
.home-routine[data-mood="night"] .home-routine__preset-icon,
.home-routine[data-mood="night"] .home-routine__product-media,
.home-routine[data-mood="night"] .home-routine__step-no{
  background:rgba(244,236,225,.075) !important;
  border-color:var(--routine-night-border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.home-routine[data-mood="night"] .home-routine__preset:hover,
.home-routine[data-mood="night"] .home-routine__option:hover,
.home-routine[data-mood="night"] .home-routine__product-card:hover{
  background:rgba(24,31,39,.82) !important;
  border-color:var(--routine-night-border-strong) !important;
  box-shadow:0 30px 76px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.home-routine[data-mood="night"] .home-routine__preset.is-active,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"],
.home-routine[data-mood="night"] .home-routine__preset[data-active],
.home-routine[data-mood="night"] .home-routine__option.is-active{
  background:linear-gradient(180deg,#f4ece1,#dec5a8) !important;
  border-color:rgba(244,236,225,.72) !important;
  color:#111820 !important;
}
.home-routine[data-mood="night"] .home-routine__preset.is-active strong,
.home-routine[data-mood="night"] .home-routine__preset.is-active small,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"] strong,
.home-routine[data-mood="night"] .home-routine__preset[aria-pressed="true"] small,
.home-routine[data-mood="night"] .home-routine__preset[data-active] strong,
.home-routine[data-mood="night"] .home-routine__preset[data-active] small,
.home-routine[data-mood="night"] .home-routine__option.is-active span,
.home-routine[data-mood="night"] .home-routine__option.is-active small{
  color:#111820 !important;
}
.home-routine[data-mood="night"] .home-routine__mood-btn{color:var(--routine-night-text-soft) !important;}
.home-routine[data-mood="night"] .home-routine__mood-btn.is-active{
  background:var(--routine-night-text) !important;
  color:#111820 !important;
}
.home-routine[data-mood="night"] .home-routine__progress{background:rgba(244,236,225,.10) !important;}
.home-routine[data-mood="night"] .home-routine__progress-fill{background:linear-gradient(90deg,#d8a384,#f0d8bd) !important;}
.home-routine[data-mood="night"] .home-routine__bundle,
.home-routine[data-mood="night"] .btn-primary{
  background:linear-gradient(180deg,#f4ece1,#dec5a8) !important;
  border-color:rgba(244,236,225,.72) !important;
  color:#111820 !important;
}
.home-routine[data-mood="night"] .home-routine__bundle strong,
.home-routine[data-mood="night"] .home-routine__bundle span{color:#111820 !important;}


/* ============================================================
   COSMOSKIN — Akıllı Rutin Seçimi / Cinematic night interactions
   Scope: only .home-routine[data-mood="night"]
   - subtle product glow
   - premium light sweep on cards/buttons
   - refined depth on preset/option/product hover
   ============================================================ */
.home-routine[data-mood="night"] .home-routine__product-media{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(244,236,225,.16), transparent 42%),
    rgba(244,236,225,.07) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 42px rgba(0,0,0,.20),
    0 0 32px rgba(216,163,132,.10) !important;
}
.home-routine[data-mood="night"] .home-routine__product-media img{
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.22));
  transition: transform .34s cubic-bezier(.2,.8,.2,1), filter .34s ease;
}
.home-routine[data-mood="night"] .home-routine__product-card:hover .home-routine__product-media img{
  transform: translateY(-2px) scale(1.025);
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.28));
}
.home-routine[data-mood="night"] .home-routine__preset,
.home-routine[data-mood="night"] .home-routine__option,
.home-routine[data-mood="night"] .home-routine__product-card,
.home-routine[data-mood="night"] .home-routine__analysis-card,
.home-routine[data-mood="night"] .home-routine__bundle,
.home-routine[data-mood="night"] .btn-primary{
  position:relative;
  overflow:hidden;
  transform-style:preserve-3d;
}
.home-routine[data-mood="night"] .home-routine__preset::after,
.home-routine[data-mood="night"] .home-routine__option::after,
.home-routine[data-mood="night"] .home-routine__product-card::after,
.home-routine[data-mood="night"] .home-routine__analysis-card::after,
.home-routine[data-mood="night"] .home-routine__bundle::before,
.home-routine[data-mood="night"] .btn-primary::after{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:linear-gradient(110deg, transparent 0%, rgba(255,255,255,.00) 34%, rgba(255,255,255,.18) 48%, rgba(216,163,132,.10) 54%, rgba(255,255,255,.00) 68%, transparent 100%);
  transform:translateX(-135%) skewX(-12deg);
  opacity:0;
  transition:transform .9s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
}
.home-routine[data-mood="night"] .home-routine__preset:hover::after,
.home-routine[data-mood="night"] .home-routine__option:hover::after,
.home-routine[data-mood="night"] .home-routine__product-card:hover::after,
.home-routine[data-mood="night"] .home-routine__analysis-card:hover::after,
.home-routine[data-mood="night"] .home-routine__bundle:hover::before,
.home-routine[data-mood="night"] .btn-primary:hover::after{
  transform:translateX(135%) skewX(-12deg);
  opacity:1;
}
.home-routine[data-mood="night"] .home-routine__preset:hover,
.home-routine[data-mood="night"] .home-routine__option:hover,
.home-routine[data-mood="night"] .home-routine__product-card:hover{
  transform:translateY(-3px);
}
.home-routine[data-mood="night"] .home-routine__preset:hover,
.home-routine[data-mood="night"] .home-routine__option:hover{
  box-shadow:
    0 34px 82px rgba(0,0,0,.30),
    0 0 0 1px rgba(216,163,132,.10),
    inset 0 1px 0 rgba(255,255,255,.085) !important;
}
.home-routine[data-mood="night"] .home-routine__product-card:hover{
  box-shadow:
    0 38px 92px rgba(0,0,0,.34),
    0 0 46px rgba(216,163,132,.10),
    inset 0 1px 0 rgba(255,255,255,.085) !important;
}
.home-routine[data-mood="night"] .home-routine__preset-icon,
.home-routine[data-mood="night"] .home-routine__mood-icon{
  filter:drop-shadow(0 0 10px rgba(216,163,132,.18));
}
.home-routine[data-mood="night"] .home-routine__hero-art::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 52% 38%, rgba(244,236,225,.09), transparent 26%),
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.045) 34%, transparent 64%);
  mix-blend-mode:screen;
  opacity:.75;
}
.home-routine[data-mood="night"] .home-routine__hero-card{
  box-shadow:
    0 32px 78px rgba(0,0,0,.30),
    0 0 52px rgba(244,236,225,.09) !important;
}
@media (prefers-reduced-motion: reduce){
  .home-routine[data-mood="night"] .home-routine__preset::after,
  .home-routine[data-mood="night"] .home-routine__option::after,
  .home-routine[data-mood="night"] .home-routine__product-card::after,
  .home-routine[data-mood="night"] .home-routine__analysis-card::after,
  .home-routine[data-mood="night"] .home-routine__bundle::before,
  .home-routine[data-mood="night"] .btn-primary::after{
    transition:none;
  }
}
