/* agrada.me / visual study 01. Presentation only; original application JS is unchanged. */
:root {
  --bg: #111210; --bg-2: #1b1c19;
  --ink: #f6f3ed; --muted: #b7b8af; --faint: #a1a399;
  --glass: rgba(246,243,237,.035); --glass-2: rgba(246,243,237,.075);
  --hair: rgba(246,243,237,.14); --hair-soft: rgba(246,243,237,.085);
  --chrome: linear-gradient(#f6f3ed,#f6f3ed);
  --r-lg: 22px; --r-md: 16px; --r-sm: 10px;
  --shadow: 0 12px 30px -24px #000;
  --brand-coral: #ff775e; --brand-peach: #ffa889; --brand-on: #30170f;
  --brand-fill: linear-gradient(115deg,var(--brand-coral),var(--brand-peach));
  --brand-soft: rgba(255,119,94,.1); --brand-border: rgba(255,148,124,.3);
  --hero-surface: #302522;
}
body { letter-spacing: 0; background: var(--bg); }
.ambient { opacity: .18; filter: blur(70px); }
.blob { animation: none; opacity: .3; }
.grain { opacity: .018; }
.app { max-width: 1240px; background: transparent; box-shadow: none; }
.topbar { padding: 6px 20px; min-height: 80px; background: rgba(17,18,16,.94); border-bottom-color: var(--hair-soft); }
.brand { flex-shrink: 0; }
.brand-logo { width: 170px; height: 58px; object-fit: contain; filter: none; }
.brand-word { font-size: 25px; color: var(--ink); background: none; filter: none; }
.top-actions { gap: 8px; min-width: 0; }
.prog-btn { max-width: 155px; min-width: 0; height: 44px; border-radius: 999px; font-size: 12px; padding: 0 12px; background: var(--brand-soft); border-color: var(--brand-border); }
.prog-dot { width: 5px; height: 5px; flex-basis: 5px; background: #ff947c; box-shadow: none; }
.icon-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--brand-soft); color: #ffb39e; border-color: var(--brand-border); }
.view { padding: 18px 20px 16px; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.hero { aspect-ratio: 4/5; border: 0; margin: 0; background: var(--hero-surface); }
.hero-glow { display: none; }
.hero::after { background: linear-gradient(180deg,transparent 18%,rgba(17,18,16,.15) 32%,rgba(17,18,16,.66) 49%,rgba(17,18,16,.97) 100%); }
.hero-body { padding: 24px; }
.hero-tag { border: 1px solid rgba(255,173,151,.4); background: rgba(57,31,24,.75); color: #ffd7c9; font-size: 9px; letter-spacing: .08em; padding: 7px 10px; margin-bottom: 15px; }
.hero-tag::before { width: 5px; height: 5px; background: #ff947c; box-shadow: none; }
.hero h1 { font-family: 'General Sans','Segoe UI',sans-serif; font-size: clamp(32px,9.7vw,44px); font-weight: 500; letter-spacing: -.055em; line-height: 1.06; max-width: none; }
.hero h1 em { color: #ffad97; background: none; }
.hero-sub { font-size: 13px; line-height: 1.55; margin-top: 12px; max-width: 31ch; color: #e1e0d9; }
.hero-body::after { content: 'Explorar este look  ↗'; display: inline-flex; align-items: center; margin-top: 18px; padding: 12px 17px; border-radius: 999px; background: var(--brand-fill); color: var(--brand-on); box-shadow: 0 6px 24px rgba(255,119,94,.16); font-size: 12px; font-weight: 600; transition: box-shadow .2s ease; }
.seasonwrap { margin: 26px 0 0; }
.seasonwrap .eyebrow { margin-bottom: 11px; }
.seasons { gap: 8px; }
.season { min-height: 44px; padding: 10px 16px; font-size: 12px; border-radius: 999px; }
.season.on { border: 1px solid #ff947c; background: #422920; color: #ffc7b5; }
.season:disabled { opacity: .55; }
.soon { font-size: 9px; letter-spacing: .07em; padding: 3px 6px; }
.segwrap { margin: 22px 0 0; }
.segment { border-radius: 999px; background: #251e1b; padding: 4px; border-color: rgba(255,148,124,.16); }
.segment .pill { top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--brand-fill); box-shadow: 0 2px 12px rgba(255,119,94,.13); }
.segment.right .pill { transform: translateX(calc(100% + 2px)); }
.seg-btn { min-height: 44px; font-size: 12px; letter-spacing: .02em; }
.seg-btn.on { color: var(--brand-on); }
.h-row { margin: 28px 0 16px; }
.h-row h2 { font-family: 'General Sans','Segoe UI',sans-serif; font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.rail { gap: 14px; margin: 0 -20px; padding: 0 20px 8px; }
.look-card { flex-basis: 73%; aspect-ratio: 3/4; border: 0; box-shadow: none; cursor: pointer; }
.look-card::after { background: linear-gradient(180deg,transparent 45%,rgba(17,18,16,.88) 100%); }
.look-meta { padding: 18px; }
.look-meta .nm { font-family: 'General Sans','Segoe UI',sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.look-meta .vibe { color: #dddcd5; }
.look-meta .price { padding: 0; border: 0; background: none; color: #f6f3ed; font-size: 12px; margin-top: 9px; }
.look-meta .price b { font-weight: 600; }
.itemcount { top: 12px; right: 12px; background: rgba(17,18,16,.55); font-size: 10px; padding: 6px 9px; }
.chan-chip { background: rgba(17,18,16,.7); color: #eeeae3; border: 1px solid rgba(246,243,237,.2); border-radius: 5px; }
.cgrid { gap: 16px; }
.cgrid .look-meta { padding: 12px; }
.cgrid .look-meta .nm { font-size: 15px; }
.cgrid .itemcount { font-size: 9px; }
.pgrid { gap: 22px 12px; }
.pcard { overflow: visible; border: 0; background: none; border-radius: 12px; cursor: pointer; box-shadow: none; }
.pcard .ph { border-radius: 12px; background: #e8e5df; isolation: isolate; }
.pcard .ph img { object-fit: contain; color: #45473f; font-size: 12px; }
.pcard .pb { padding: 12px 1px 0; }
.pcard .br { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.pcard .ti { color: var(--ink); font-size: 12px; line-height: 1.45; margin: 5px 0 9px; min-height: 2.9em; }
.pcard .pr .amt { font-family: 'General Sans','Segoe UI',sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.035em; }
.pcard .pr .amt::before { font-size: 12px; color: var(--ink); margin-right: 2px; }
.pcard .fav { width: 36px; height: 36px; top: 8px; right: 8px; color: #a34031; background: rgba(255,240,233,.96); border: 1px solid rgba(163,64,49,.14); }
.pcard .fav.on { color: var(--brand-on); background: var(--brand-coral); border-color: var(--brand-coral); }
.pcard .fav.on svg { fill: currentColor; }
.badge-float { top: auto; bottom: 10px; left: 9px; max-width: calc(100% - 18px); }
.badge { font-size: 9px; letter-spacing: .015em; border-radius: 5px; padding: 5px 6px; font-weight: 600; }
.badge-exact { color: #243d2e; background: #edf3e8; box-shadow: none; }
.badge-exact::before { background: #3c6d49; }
.badge-similar { color: #5a452a; background: #f5ecdb; }
.badge-similar::before { background: #9a773e; }
.detail-top { margin: -18px -20px 0; }
.detail-head h1 { font-family: 'General Sans','Segoe UI',sans-serif; font-weight: 500; font-size: 34px; }
.detail-head .ep { color: #ffad97; font-size: 10px; letter-spacing: .08em; }
.shop-head h3 { font-family: 'General Sans','Segoe UI',sans-serif; font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.item { padding: 16px 12px; gap: 14px; background: #1b1d19; border-color: var(--hair-soft); }
.item .thumb { width: 78px; flex-basis: 78px; height: 100px; background: #e8e5df; }
.item .thumb img { object-fit: contain; }
.item .ti { line-height: 1.4; margin-top: 4px; }
.item .price,.shop-head .total b { font-family: 'General Sans','Segoe UI',sans-serif; font-weight: 600; }
.buy { min-height: 42px; color: var(--brand-on); background: var(--brand-fill); box-shadow: 0 4px 18px rgba(255,119,94,.1); font-size: 12px; }
.ep-card { box-shadow: none; cursor: pointer; }
.ep-body h3 { font-family: 'General Sans','Segoe UI',sans-serif; font-weight: 500; }
.empty { padding: 90px 24px; }
.empty .ic { border-radius: 50%; color: #ff947c; background: #25231e; }
.empty h3 { font-family: 'General Sans','Segoe UI',sans-serif; font-size: 27px; font-weight: 500; letter-spacing: -.04em; }
.legal { margin: 42px 20px 14px; padding: 22px 0; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: none; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: left; }
.legal strong { color: var(--ink); }
.tabbar { max-width: 560px; background: rgba(29,23,20,.97); border-color: rgba(255,148,124,.18); }
.tab { color: #a9aca0; min-height: 48px; }
.tab.is-active { color: var(--brand-on); background: var(--brand-fill); border-radius: 16px; }
.tab.is-active span { color: var(--brand-on); background: none; }
.prog-menu { background: rgba(28,30,25,.98); border-radius: 16px; }
.prog-item { min-height: 48px; font-size: 13px; }
.prog-item.on { background: #422920; color: #ffc7b5; }
.toast { background: #252920; color: var(--ink); }
:focus-visible { outline: 2px solid #ffad97; outline-offset: 5px; }
@media (hover:hover) {
  .look-card:hover,.ep-card:hover { transform: translateY(-3px); }
  .pcard:hover .ph img { transform: scale(1.025); }
  .pcard .ph img { transition: transform .35s ease; }
  .icon-btn:hover,.prog-btn:hover { background: rgba(255,119,94,.18); border-color: #ff947c; }
  .buy:hover { background: #ffb39e; box-shadow: 0 6px 24px rgba(255,119,94,.2); }
  .hero:hover .hero-body::after { box-shadow: 0 8px 30px rgba(255,119,94,.28); }
  .pcard .fav:hover { background: #ffd8c8; }
}
@media (max-width:374px) {
  .topbar { padding: 5px 12px; }
  .brand-logo { width: 140px; }
  .prog-btn { max-width: 119px; gap: 5px; font-size: 11px; padding: 0 8px; }
  .top-actions { gap: 5px; }
  .hero-body { padding: 20px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 12px; }
  .hero-body::after { margin-top: 12px; padding: 10px 14px; }
}
@media (min-width:600px) {
  .topbar { padding: 10px 32px; }
  .brand-logo { width: 210px; height: 68px; }
  .prog-btn { max-width: 205px; font-size: 13px; }
  .view { padding: 28px 32px 16px; }
  .hero { height: 480px; aspect-ratio: auto; }
  .hero img { width: 52%; margin-left: auto; object-position: center top; }
  .hero::after { background: linear-gradient(90deg,var(--hero-surface) 35%,var(--hero-surface) 48%,rgba(48,37,34,.1) 73%,transparent 100%); }
  .hero-body { inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 34px; width: 67%; }
  .hero-tag { font-size: 9px; }
  .hero h1 { font-size: clamp(38px,5.4vw,70px); line-height: 1.04; }
  .hero-sub { font-size: 14px; margin-top: 20px; max-width: 30ch; }
  .hero-body::after { margin-top: 25px; font-size: 13px; padding: 14px 20px; }
  .rail { margin: 0; padding: 0 0 8px; gap: 18px; }
  .look-card { flex-basis: calc((100% - 36px)/3); }
  .pgrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 20px; }
  .pcard .ti { font-size: 13px; }
  .pcard .br { font-size: 10px; }
  .badge { font-size: 10px; padding: 6px 8px; }
  .cgrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .cgrid .look-meta { padding: 18px; }
  .cgrid .look-meta .nm { font-size: 18px; }
  .detail-top { margin: 0; width: 100%; max-height: 720px; }
  .view:has(> .detail-top):has(.shop-head) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 30px; align-items: start; }
  .view:has(.shop-head) > .detail-top { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 120px; }
  .view:has(.shop-head) > :not(.detail-top) { grid-column: 2; }
  .view:has(.shop-head) > .shop-head { margin-top: 6px; }
  .item { padding: 12px; gap: 12px; }
  .ep-card { aspect-ratio: 21/9; }
  .legal { margin: 50px 32px 14px; max-width: 800px; }
}
@media (min-width:1100px) {
  .app { padding-bottom: 20px; }
  .topbar { min-height: 98px; }
  .brand-logo { width: 230px; height: 74px; }
  .view { padding-top: 28px; }
  .hero { height: 500px; border-radius: 24px; }
  .hero-body { width: 60%; padding: 48px; }
  .hero-tag { font-size: 10px; letter-spacing: .1em; margin-bottom: 24px; }
  .hero-sub { font-size: 16px; max-width: 33ch; }
  .hero-body::after { margin-top: 30px; }
  .view:has(> .hero) { display: grid; grid-template-columns: 1fr 400px; column-gap: 24px; }
  .view:has(> .hero) > * { grid-column: 1 / -1; min-width: 0; }
  .view:has(> .hero) > .seasonwrap { grid-column: 1; margin: 28px 0 0; }
  .view:has(> .hero) > .segwrap { grid-column: 2; align-self: end; margin: 0; }
  .h-row { margin-top: 38px; margin-bottom: 20px; }
  .h-row h2 { font-size: 28px; }
  .rail { gap: 20px; }
  .look-card { flex-basis: calc((100% - 60px)/4); }
  .pgrid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px 20px; }
  .pcard .ph { aspect-ratio: 4/5; }
  .pcard .ti { font-size: 14px; }
  .pcard .fav { width: 40px; height: 40px; }
  .pcard .pr .amt { font-size: 18px; }
  .cgrid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .tabbar { bottom: auto; top: 25px; width: 390px; padding: 4px; border: 1px solid rgba(255,148,124,.18); border-radius: 999px; background: #251e1b; backdrop-filter: none; }
  .tab { flex-direction: row; gap: 7px; justify-content: center; min-height: 40px; padding: 8px 7px; border-radius: 999px; font-size: 11px; }
  .tab svg { width: 15px; height: 15px; }
  .tab.is-active { background: var(--brand-fill); color: var(--brand-on); border-radius: 999px; }
  .tab.is-active span { color: var(--brand-on); }
  .legal { max-width: none; padding: 26px 0; }
  .toast { bottom: 30px; }
}
@media (prefers-reduced-motion:reduce) {
  .pcard .ph img { transition: none; }
  .look-card:hover,.ep-card:hover,.pcard:hover .ph img { transform: none; }
}

/* ---- bottom nav: floating pill, matching the 999px language of the other controls ---- */
@media (max-width:1099px) {
  .tabbar {
    left: 50%; transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: calc(100% - 28px); max-width: 430px;
    padding: 6px; gap: 2px;
    border: 1px solid rgba(255,148,124,.2);
    border-radius: 999px;
    background: rgba(37,30,27,.97);
    box-shadow: 0 14px 36px -14px rgba(0,0,0,.8);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
  }
  .tab { min-height: 46px; border-radius: 999px; gap: 3px; padding: 6px 2px; }
  .tab.is-active { border-radius: 999px; }
}

/* delisted + recreation credit, in the agrada palette */
.badge-off { background: rgba(246,243,237,.12); color: #ded9d1; }
.buy.is-off { border-color: var(--hair); color: var(--muted); }
.recreation { background: rgba(17,18,16,.6); border-color: rgba(255,148,124,.35); color: #ffd3c6; }
.recreation-note { color: var(--faint); }
