/* Luma / Senior-style design system: tokens first, components second. */
:root {
  --ink: #202524;
  --muted: #818987;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: #e8ebe7;
  --accent: #a7d8c8;
  --accent-dark: #2e6257;
  --highlight: #d8f0df;
  --lavender: #eae4f8;
  --peach: #fae6d5;
  --blue: #dcecf0;
  --danger: #ba5e4d;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-soft: 0 18px 50px rgba(35, 53, 48, .07);
  --shadow-hover: 0 24px 55px rgba(35, 53, 48, .13);
  --nav-width: 230px;
  --topbar-height: 80px;
  --gutter: clamp(20px, 4vw, 58px);
  --space: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --transition: 280ms var(--ease);
  --reveal-distance: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, label { cursor: pointer; }
img { display: block; max-width: 100%; }
section, .product-card, .deals-panel, .journal-banner { scroll-margin-top: 22px; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }

.scroll-progress { position: fixed; z-index: 90; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left center; background: var(--accent-dark); pointer-events: none; }
.reveal { opacity: 0; transform: translate3d(0, var(--reveal-distance), 0); transition: opacity 720ms var(--ease), transform 720ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.menu-toggle, .cart-toggle { position: absolute; opacity: 0; pointer-events: none; }
.site-shell { display: grid; grid-template-columns: var(--nav-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 30px 22px 24px; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); z-index: 20; }
.brand-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 23px/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--ink); color: var(--accent); font-size: 15px; letter-spacing: 0; }
.close-menu { display: none; font-size: 26px; color: var(--muted); }
.eyebrow { margin: 0 0 9px; color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; }
.sidebar-label { padding-left: 14px; color: #a0aaa6; }
.nav-list { display: grid; gap: 5px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 0 13px; color: #7b8581; font-weight: 600; border-radius: 10px; transition: var(--transition); }
.nav-link:hover { background: var(--paper); color: var(--ink); transform: translateX(3px); }
.nav-link.active { color: var(--ink); background: var(--paper); }
.nav-link.active::before { position: absolute; left: 0; width: 4px; height: 23px; border-radius: 0 5px 5px 0; background: var(--accent-dark); content: ""; }
.nav-icon { display: grid; place-items: center; width: 18px; color: var(--accent-dark); font-size: 19px; font-weight: 400; }
.nav-badge { margin-left: auto; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: var(--accent-dark); font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { display: flex; gap: 9px; align-items: center; margin-top: 28px; padding: 14px 10px; color: #a2aaa7; font-size: 11px; line-height: 1.35; border-top: 1px solid var(--line); }
.sidebar-note strong { color: var(--accent-dark); font-weight: 700; }
.note-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #edf8f2; }

.main-content { min-width: 0; padding: 0 var(--gutter) 26px; }
.topbar { display: flex; align-items: center; gap: 25px; min-height: var(--topbar-height); }
.menu-button { display: none; }
.search { display: flex; align-items: center; gap: 11px; width: min(390px, 48vw); height: 42px; padding: 0 12px 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 50px; transition: var(--transition); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(167, 216, 200, .18); }
.search-icon { color: var(--accent-dark); font-size: 23px; line-height: 1; transform: rotate(-20deg); }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search input::placeholder { color: #a1aaa7; }
.search-filter { width: 27px; height: 27px; border: 0; background: var(--paper); border-radius: 50%; color: var(--accent-dark); font-size: 16px; line-height: 1; }
.top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.top-action { position: relative; display: grid; place-items: center; width: 35px; height: 35px; color: #7f8885; font-size: 22px; }
.top-action:hover { color: var(--accent-dark); transform: translateY(-2px); }
.action-count { position: absolute; top: -1px; right: -3px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--accent-dark); color: white; font-size: 8px; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 10px; font-weight: 700; }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 345px; overflow: hidden; background: var(--highlight); border-radius: var(--radius-lg); }
.hero-copy { position: relative; padding: clamp(32px, 5vw, 58px); padding-right: 24px; }
.hero-copy h1 { max-width: 370px; margin: 0; font: 600 clamp(37px, 4vw, 63px)/.98 "Space Grotesk", sans-serif; letter-spacing: -.075em; }
.hero-copy h1 em, .journal-banner h2 em { color: var(--accent-dark); font-style: normal; }
.hero-description { max-width: 270px; margin: 23px 0 25px; color: #64736e; font-size: 13px; }
.hero-actions { display: flex; align-items: center; gap: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 45px; padding: 0 19px; border: 1px solid transparent; border-radius: 50px; font-size: 12px; font-weight: 700; transition: var(--transition); }
.button span { font-size: 17px; transition: transform var(--transition); }
.button:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.button:hover span { transform: translate(3px, -3px); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: rgba(255,255,255,.82); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.text-link span, .deal-view span { font-size: 16px; transition: transform var(--transition); }
.text-link:hover span, .deal-view:hover span { transform: translate(3px, -3px); }
.hero-meta { position: absolute; bottom: 26px; display: flex; align-items: center; gap: 13px; color: #829891; font-size: 10px; }
.scroll-line { display: block; width: 39px; height: 1px; background: #9abeb1; }
.hero-visual { position: relative; overflow: hidden; background: linear-gradient(140deg, #aedfcf 10%, #bee7bd 49%, #dcecae 100%); }
.hero-product-wrap { position: absolute; top: 29px; right: 8%; width: 59%; height: 82%; overflow: hidden; border-radius: 45% 45% 17px 17px; transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(7deg); will-change: transform; box-shadow: 18px 20px 35px rgba(51, 101, 82, .2); }
.hero-product-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(.95); transform: scale(1.2); }
.orb { position: absolute; border-radius: 50%; background: rgba(255,255,255,.28); }
.orb-one { width: 190px; height: 190px; top: -55px; left: -45px; }
.orb-two { width: 110px; height: 110px; right: -27px; bottom: -28px; }
.hero-sticker { position: absolute; top: 31px; left: 31px; z-index: 2; display: grid; place-items: center; width: 59px; height: 59px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #326558; font-size: 9px; font-weight: 700; line-height: 1.15; text-align: center; text-transform: uppercase; transform: rotate(-12deg); }
.hero-product-tag { position: absolute; z-index: 3; right: 28px; bottom: 24px; display: grid; grid-template-columns: auto 1fr; gap: 0 9px; color: #35665a; font-size: 10px; }
.hero-product-tag span { grid-row: span 2; font: 700 19px "Space Grotesk", sans-serif; opacity: .7; }
.hero-product-tag strong { align-self: end; font-size: 11px; }
.hero-product-tag small { color: #759b8e; }

.category-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 22px 0 40px; }
.category-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 12px; background: var(--surface); border: 1px solid transparent; border-radius: 13px; color: #9aa39f; transition: var(--transition); }
.category-card:hover, .category-card.category-active { color: var(--ink); border-color: var(--accent); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.category-symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--paper); color: var(--accent-dark); font-size: 18px; }
.category-card span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
.category-card strong { margin-left: auto; color: #aab3b0; font-size: 10px; font-weight: 500; }
.section-heading, .deals-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading { margin-bottom: 18px; }
h2 { margin: 0; font: 600 25px/1.1 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 26px; align-items: start; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.product-card { min-width: 0; padding: 10px; background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 7px 25px rgba(35, 53, 48, .035); transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-image { position: relative; display: grid; place-items: center; min-height: 188px; overflow: hidden; border-radius: 14px; }
.product-image img { width: 100%; height: 100%; max-height: 205px; object-fit: cover; mix-blend-mode: multiply; transition: transform 500ms var(--ease); }
.product-card:hover .product-image img { transform: scale(1.06); }
.image-sand { background: #e8e4d8; }.image-lilac { background: var(--lavender); }.image-blue { background: var(--blue); }.image-peach { background: var(--peach); }
.product-label { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 8px; border-radius: 20px; background: rgba(255,255,255,.84); color: var(--accent-dark); font-size: 9px; font-weight: 700; }
.sale-label { color: var(--danger); }
.heart-button { position: absolute; z-index: 3; top: 7px; right: 9px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.73); color: #7e8883; font-size: 18px; transition: var(--transition); }
.heart-button:hover { background: var(--ink); color: var(--accent); transform: scale(1.1); }
.product-info { display: flex; justify-content: space-between; gap: 8px; padding: 14px 4px 5px; }
.product-info h3 { margin: 0 0 3px; font: 600 14px "Space Grotesk", sans-serif; letter-spacing: -.03em; }
.product-info p { margin: 0; color: #9aa39f; font-size: 10px; }
.product-info > strong { font: 600 14px "Space Grotesk", sans-serif; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 2px; }
.rating { color: #bd8f49; font-size: 10px; }.rating small { color: #a2aaa7; font-size: 9px; }
.add-button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 20px; line-height: 1; transition: var(--transition); }
.add-button:hover { background: var(--accent-dark); color: white; transform: rotate(90deg) scale(1.08); }

.deals-panel { position: sticky; top: 22px; padding: 20px 17px; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.deals-heading { align-items: start; }.deal-arrow { color: var(--accent-dark); font-size: 20px; }
.deal-timer { display: flex; justify-content: space-between; align-items: center; margin: 19px 0 9px; padding: 10px 11px; border-radius: 10px; background: var(--paper); color: #9ba5a0; font-size: 10px; }.deal-timer strong { color: var(--danger); font: 600 12px "Space Grotesk", sans-serif; letter-spacing: .04em; }
.deal-item { display: grid; grid-template-columns: 49px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }.deal-item:hover strong { color: var(--accent-dark); }.deal-thumb { display: grid; place-items: center; width: 49px; height: 49px; overflow: hidden; border-radius: 12px; }.deal-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }.thumb-green { background: #dcebdc; }.thumb-yellow { background: #f2e8be; }.thumb-pink { background: #f2d9d4; }.deal-item strong, .deal-item small { display: block; }.deal-item strong { margin-bottom: 3px; font-size: 11px; transition: color var(--transition); }.deal-item small { color: #9aa39f; font-size: 9px; }.deal-item b { color: var(--accent-dark); font-size: 16px; font-weight: 400; }.deal-view { display: inline-flex; gap: 9px; margin-top: 17px; color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.seller-link { color: var(--accent-dark); background: #eef8f3; }
.seller-hero-link { color: var(--ink); }
.marketplace-banner { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 12px 0 36px; padding: 24px 28px; overflow: hidden; border: 1px solid rgba(46,98,87,.12); border-radius: var(--radius-md); background: linear-gradient(112deg, #e9f7ef 0%, #f5f3df 100%); }.marketplace-banner h2 { font-size: 30px; }.marketplace-banner h2 em { color: var(--accent-dark); font-style: normal; }.marketplace-copy { max-width: 520px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.journal-banner { display: flex; justify-content: space-between; align-items: end; min-height: 180px; margin-top: 54px; padding: 31px 36px; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: white; }.journal-banner .eyebrow { color: var(--accent); }.journal-banner h2 { font-size: 34px; }.journal-banner h2 em { color: var(--accent); }.footer { display: flex; justify-content: space-between; padding: 27px 2px 0; color: #9ca6a2; font-size: 10px; }.footer a { color: var(--accent-dark); font-weight: 700; }

.drawer-backdrop, .cart-drawer { position: fixed; z-index: 50; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition), transform var(--transition); }.drawer-backdrop { inset: 0; background: rgba(25, 35, 32, .32); }.cart-drawer { top: 0; right: 0; bottom: 0; width: min(390px, 100%); padding: 34px 28px; overflow-y: auto; background: var(--surface); box-shadow: -20px 0 60px rgba(0,0,0,.12); transform: translateX(100%); }.cart-toggle:checked ~ .drawer-backdrop, .cart-toggle:checked ~ .cart-drawer { opacity: 1; visibility: visible; }.cart-toggle:checked ~ .cart-drawer { transform: translateX(0); }.drawer-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }.drawer-close { color: var(--muted); font-size: 28px; line-height: 1; }.drawer-item { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }.drawer-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; mix-blend-mode: multiply; background: var(--paper); }.drawer-item strong, .drawer-item small, .drawer-item b { display: block; }.drawer-item strong { margin-top: 5px; font: 600 13px "Space Grotesk", sans-serif; }.drawer-item small { margin: 6px 0; color: var(--muted); font-size: 10px; }.drawer-item b { color: var(--accent-dark); font: 600 13px "Space Grotesk", sans-serif; }.drawer-summary { margin-top: 28px; }.drawer-summary > span { color: var(--muted); }.drawer-summary > strong { float: right; font: 700 20px "Space Grotesk", sans-serif; }.drawer-summary p { clear: both; margin: 9px 0 22px; color: var(--muted); font-size: 10px; }.drawer-summary .button { width: 100%; }
.heart-button.is-saved { background: var(--ink); color: #f19b91; }
.toast-message { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: min(320px, calc(100vw - 48px)); padding: 13px 17px; transform: translateY(18px); opacity: 0; pointer-events: none; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow-hover); font-size: 12px; transition: opacity var(--transition), transform var(--transition); }
.toast-message.is-visible { transform: translateY(0); opacity: 1; }
.sell-modal { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(25,35,32,.38); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--transition), visibility var(--transition); }
.sell-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.sell-card { position: relative; width: min(560px, 100%); max-height: min(760px, 92vh); overflow-y: auto; padding: 34px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 30px 90px rgba(18,34,29,.22); transform: translateY(18px) scale(.98); transition: transform var(--transition); }
.sell-modal.is-open .sell-card { transform: translateY(0) scale(1); }
.sell-close { position: absolute; top: 20px; right: 22px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 23px; line-height: 1; }.sell-close:hover { color: var(--ink); background: var(--accent); }
.sell-card h2 { margin-bottom: 12px; font-size: 34px; }.sell-card h2 em { color: var(--accent-dark); font-style: normal; }.sell-intro { max-width: 420px; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.seller-auth-state { margin-bottom: 17px; padding: 11px 13px; border-radius: 10px; background: var(--paper); color: var(--accent-dark); font-size: 11px; }.seller-auth-state a { font-weight: 700; text-decoration: underline; }
.sell-form { display: grid; gap: 13px; }.sell-form label { display: grid; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 700; }.sell-form input, .sell-form textarea, .sell-form select { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--surface); color: var(--ink); font-size: 12px; }.sell-form textarea { min-height: 90px; resize: vertical; }.sell-form input:focus, .sell-form textarea:focus, .sell-form select:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(167,216,200,.2); }.sell-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.sell-form .button { width: 100%; margin-top: 5px; }

@media (max-width: 1100px) { :root { --nav-width: 200px; }.product-layout { grid-template-columns: minmax(0, 1fr); }.deals-panel { position: static; }.deal-item { grid-template-columns: 49px 1fr auto; }.deals-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 15px; }.deals-heading, .deal-timer, .deal-view { grid-column: 1 / -1; }.deal-timer { margin-bottom: 0; }.deal-item { border-bottom: 0; } }
@media (max-width: 760px) { :root { --gutter: 18px; --topbar-height: 67px; }.site-shell { display: block; }.sidebar { position: fixed; inset: 0 auto 0 0; width: min(285px, 84vw); height: 100vh; transform: translateX(-105%); box-shadow: 15px 0 50px rgba(0,0,0,.12); transition: transform var(--transition); }.menu-toggle:checked ~ .site-shell .sidebar { transform: translateX(0); }.close-menu { display: block; }.menu-button { display: flex; flex-direction: column; gap: 5px; width: 35px; }.menu-button span { display: block; width: 21px; height: 2px; background: var(--ink); }.topbar { gap: 17px; }.search { width: auto; flex: 1; }.quiet-action { display: none; }.avatar { flex: 0 0 auto; }.hero { grid-template-columns: 1fr; }.hero-copy { min-height: 340px; }.hero-visual { min-height: 260px; }.hero-product-wrap { top: 26px; right: 21%; width: 48%; height: 83%; }.category-strip { display: flex; overflow-x: auto; padding: 2px 2px 9px; margin-bottom: 30px; scrollbar-width: none; }.category-strip::-webkit-scrollbar { display: none; }.category-card { flex: 0 0 125px; }.product-grid { gap: 11px; }.product-image { min-height: 145px; }.product-info { display: block; }.product-info > strong { display: block; margin-top: 8px; }.deals-panel { display: block; }.deal-item { display: grid; }.journal-banner { display: block; padding: 28px 25px; }.journal-banner h2 { margin-bottom: 25px; font-size: 30px; }.footer { gap: 13px; flex-wrap: wrap; } }
@media (max-width: 420px) { .main-content { padding-inline: 13px; }.top-actions { gap: 6px; }.hero-copy { padding: 35px 27px; }.hero-copy h1 { font-size: 43px; }.hero-description { margin-top: 18px; }.hero-meta { bottom: 20px; }.product-card { padding: 7px; }.product-image { min-height: 124px; border-radius: 11px; }.product-info h3 { font-size: 12px; }.product-info p { font-size: 9px; }.deals-panel { padding: 17px 13px; } }
@media (max-width: 760px) { .marketplace-banner { display: block; padding: 22px 20px; }.marketplace-banner h2 { font-size: 27px; }.marketplace-banner .button { margin-top: 20px; }.sell-card { padding: 28px 21px; }.sell-card h2 { font-size: 29px; }.sell-form-row { grid-template-columns: 1fr; gap: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
