/* Whiznoch public storefront and editorial system. Loaded after legacy public styles to normalize the shared UI. */
:root {
  --wn-primary: #4f46e5;
  --wn-primary-strong: #3730a3;
  --wn-accent: #14b8a6;
  --wn-bg: #f7f8fc;
  --wn-surface: #ffffff;
  --wn-surface-soft: #f0f2f9;
  --wn-border: #e1e5ef;
  --wn-text: #171b2b;
  --wn-muted: #697188;
  --wn-success: #16845b;
  --wn-warning: #a8660b;
  --wn-danger: #c43d52;
  --wn-radius-sm: 10px;
  --wn-radius-md: 16px;
  --wn-radius-lg: 24px;
  --wn-shadow-sm: 0 5px 18px rgb(23 27 43 / 5%);
  --wn-shadow-lg: 0 24px 70px rgb(23 27 43 / 12%);
  --wn-container: 1240px;
}
:root[data-theme="dark"], html.dark {
  --wn-bg: #10131d;
  --wn-surface: #171b28;
  --wn-surface-soft: #1d2332;
  --wn-border: #2c3447;
  --wn-text: #f3f5fb;
  --wn-muted: #a3adc2;
  --wn-shadow-sm: 0 5px 18px rgb(0 0 0 / 15%);
  --wn-shadow-lg: 0 24px 70px rgb(0 0 0 / 30%);
}
body { color: var(--wn-text); }
.header { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--wn-surface) 92%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--wn-border); }
.header .nav { min-height: 76px; gap: 18px; }
.brand { flex: 0 0 auto; }
.navlinks { gap: clamp(10px, 1.4vw, 22px); }
.navlinks a { font-size: 13px; font-weight: 650; }
.header-search { position: relative; display: flex; align-items: center; gap: 9px; min-width: 180px; max-width: 255px; flex: 1 1 220px; padding: 0 12px; border: 1px solid var(--wn-border); border-radius: 12px; background: var(--wn-surface-soft); color: var(--wn-muted); }
.header-search input { min-width: 0; width: 100%; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--wn-text); box-shadow: none; font-size: 13px; }
.header-search input:focus { outline: none; box-shadow: none; }
.header-search:focus-within { border-color: var(--wn-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wn-primary) 14%, transparent); }
.header-cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 10px; color: var(--wn-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-cart-link b, [data-cart-count] { display: inline-grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--wn-primary); color: white; font-size: 10px; font-weight: 800; }
.search-suggestions { position: absolute; top: calc(100% + 9px); left: 0; right: 0; z-index: 100; display: grid; gap: 2px; padding: 6px; border: 1px solid var(--wn-border); border-radius: 13px; background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--wn-text); font-size: 13px; font-weight: 650; text-decoration: none; }
.search-suggestions a:hover, .search-suggestions a:focus-visible { background: var(--wn-surface-soft); outline: 0; }
.nav-cta { white-space: nowrap; }
.menu-btn { flex: 0 0 auto; }

/* Five-section homepage */
.premium-home-hero { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 108px) 0 clamp(55px, 7vw, 90px); background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--wn-primary) 11%, transparent), transparent 33%), var(--wn-bg); }
.premium-home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); align-items: center; gap: clamp(35px, 7vw, 90px); max-width: var(--wn-container); margin-inline: auto; }
.premium-home-copy { min-width: 0; }
.premium-home-copy > .eyebrow, .premium-section-heading .eyebrow { color: var(--wn-primary); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.premium-home-copy h1 { max-width: 760px; margin: 16px 0 20px; color: var(--wn-text); font-size: clamp(42px, 5.5vw, 72px); font-weight: 850; line-height: 1.01; letter-spacing: -.065em; }
.premium-home-copy h1 em { color: var(--wn-primary); font-style: normal; }
.premium-home-copy > p { max-width: 630px; margin: 0; color: var(--wn-muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; }
.premium-hero-search { position: relative; display: flex; align-items: center; gap: 11px; max-width: 650px; margin: 27px 0 15px; padding: 7px 8px 7px 15px; border: 1px solid var(--wn-border); border-radius: 15px; background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); color: var(--wn-muted); }
.premium-hero-search input { flex: 1; min-width: 0; height: 45px; border: 0; outline: 0; background: transparent; color: var(--wn-text); box-shadow: none; }
.premium-hero-search input:focus { outline: 0; box-shadow: none; }
.premium-hero-search .btn { min-height: 44px; }
.premium-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.premium-trust-metrics { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 38px); margin-top: 35px; padding-top: 23px; border-top: 1px solid var(--wn-border); }
.premium-trust-metrics div { display: grid; gap: 4px; }
.premium-trust-metrics strong { color: var(--wn-text); font-size: 22px; font-weight: 850; letter-spacing: -.04em; }
.premium-trust-metrics span { color: var(--wn-muted); font-size: 11px; }
.premium-hero-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-art-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--wn-primary) 22%, transparent); border-radius: 50%; transform: rotate(-22deg); }
.hero-art-orbit--one { width: 390px; height: 280px; }
.hero-art-orbit--two { width: 330px; height: 400px; transform: rotate(30deg); }
.hero-art-window { position: relative; z-index: 1; width: min(100%, 390px); min-height: 285px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--wn-primary) 18%, var(--wn-border)); border-radius: 20px; background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); transform: rotate(-3deg); }
.hero-art-window-bar { display: flex; align-items: center; gap: 5px; padding: 14px 16px; border-bottom: 1px solid var(--wn-border); color: var(--wn-muted); font-size: 10px; }
.hero-art-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #f87171; }
.hero-art-window-bar i:nth-child(2) { background: #fbbf24; }
.hero-art-window-bar i:nth-child(3) { background: #34d399; }
.hero-art-window-bar span { margin-left: 8px; }
.hero-art-code { display: flex; gap: 17px; align-items: center; padding: 30px 24px 20px; color: var(--wn-muted); }
.hero-art-code code { color: var(--wn-text); font-size: clamp(14px, 1.8vw, 20px); font-weight: 750; }
.hero-art-code code span { color: var(--wn-primary); }
.hero-art-code .code-accent { color: var(--wn-accent); }
.hero-art-product { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid var(--wn-border); border-radius: 13px; background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); }
.hero-art-product--one { left: -25px; bottom: 34px; }
.hero-art-product--two { right: -23px; bottom: -2px; }
.hero-art-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--wn-primary) 12%, var(--wn-surface)); color: var(--wn-primary); font-weight: 850; }
.hero-art-product strong, .hero-art-product small { display: block; }
.hero-art-product strong { font-size: 12px; }
.hero-art-product small { margin-top: 3px; color: var(--wn-muted); font-size: 10px; }
.premium-home-categories, .premium-home-products, .premium-home-benefits { padding-block: clamp(50px, 7vw, 88px); }
.premium-home-products { max-width: none; background: var(--wn-surface-soft); }
.premium-home-products > .wrap, .premium-home-categories > .wrap { max-width: var(--wn-container); }
.premium-section-heading, .blog-listing-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.premium-section-heading h2, .blog-listing-head h2 { margin: 8px 0 0; color: var(--wn-text); font-size: clamp(27px, 3vw, 40px); font-weight: 820; line-height: 1.12; letter-spacing: -.05em; }
.premium-section-heading p { max-width: 430px; margin: 0; color: var(--wn-muted); font-size: 14px; line-height: 1.7; }
.text-link, .premium-products-subheading a { color: var(--wn-primary); font-size: 13px; font-weight: 750; white-space: nowrap; }
.premium-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.premium-category-card { position: relative; min-height: 170px; padding: 22px; overflow: hidden; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); color: var(--wn-text); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.premium-category-card:hover, .premium-category-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--wn-primary) 45%, var(--wn-border)); box-shadow: var(--wn-shadow-sm); outline: 0; }
.premium-category-icon, .premium-benefit-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--wn-primary) 10%, var(--wn-surface)); color: var(--wn-primary); }
.premium-category-index { display: block; margin-top: 17px; color: var(--wn-muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.premium-category-card h3 { margin: 7px 0 14px; font-size: 18px; font-weight: 780; letter-spacing: -.025em; }
.premium-category-link { display: inline-flex; gap: 8px; color: var(--wn-primary); font-size: 12px; font-weight: 750; }
.premium-products-subheading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 28px 0 16px; }
.premium-products-subheading h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.premium-products-subheading > span { color: var(--wn-muted); font-size: 12px; }
.premium-products-subheading--top { margin-top: 48px; }
.premium-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.premium-benefit-grid article { padding: 24px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); }
.premium-benefit-grid h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 800; }
.premium-benefit-grid p { margin: 0; color: var(--wn-muted); font-size: 14px; line-height: 1.75; }
.premium-home-cta { padding: clamp(40px, 6vw, 70px) 0; background: var(--wn-primary-strong); color: #fff; }
.premium-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.premium-cta-inner .eyebrow { color: #c7d2fe; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.premium-cta-inner h2 { margin: 10px 0; font-size: clamp(29px, 4vw, 45px); font-weight: 850; letter-spacing: -.055em; }
.premium-cta-inner p { margin: 0; color: #dbe3ff; }
.premium-cta-inner > div:last-child { display: flex; flex-wrap: wrap; gap: 9px; }
.premium-home-cta .btn { background: #fff; color: var(--wn-primary-strong); border-color: #fff; }
.premium-home-cta .btn.secondary { background: transparent; color: #fff; border-color: #ffffff66; }

/* Shop discovery */
.market-catalog-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 26px; }
.market-filter-sidebar { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); }
.market-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--wn-border); }
.market-filter-heading h3 { margin: 5px 0 0; font-size: 20px; font-weight: 800; }
.market-filter-heading a { color: var(--wn-primary); font-size: 11px; font-weight: 750; }
.market-filter-form { display: grid; gap: 19px; padding-top: 17px; }
.market-filter-form fieldset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.market-filter-form legend, .market-sort-field > span { margin-bottom: 2px; color: var(--wn-text); font-size: 12px; font-weight: 800; }
.market-filter-choice { display: flex; align-items: center; gap: 8px; color: var(--wn-muted); font-size: 12px; cursor: pointer; }
.market-filter-choice input { accent-color: var(--wn-primary); }
.market-filter-form select, .market-filter-form input, .market-results-search .search, .market-price-fields input { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid var(--wn-border); border-radius: 9px; background: var(--wn-surface); color: var(--wn-text); font-size: 12px; }
.market-price-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.market-price-fields label { display: grid; gap: 5px; color: var(--wn-muted); font-size: 10px; }
.market-filter-form .btn { width: 100%; min-height: 42px; }
.market-catalog-results { min-width: 0; }
.market-results-search { display: flex; flex: 1 1 320px; gap: 8px; }
.market-results-search .search { flex: 1; min-width: 0; height: 42px; }
.market-results-search .btn { min-height: 42px; }
.market-catalog-results .catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.market-catalog-results .market-result-count { color: var(--wn-muted); font-size: 12px; white-space: nowrap; }
.market-catalog-results .mobile-filter-trigger { display: none; }
.market-filter-dialog, .mobile-filter-dialog { max-width: min(520px, calc(100vw - 24px)); max-height: min(86vh, 820px); overflow-y: auto; border: 1px solid var(--wn-border); border-radius: 22px; background: var(--wn-surface); color: var(--wn-text); box-shadow: var(--wn-shadow-lg); }
.mobile-filter-dialog::backdrop { background: rgb(9 12 25 / 58%); backdrop-filter: blur(4px); }
.mobile-filter-dialog form { display: grid; gap: 16px; padding: 23px; }
.mobile-filter-field { display: grid; gap: 8px; color: var(--wn-text); font-size: 12px; font-weight: 750; }
.mobile-filter-field select, .mobile-filter-field input { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid var(--wn-border); border-radius: 9px; background: var(--wn-surface); color: var(--wn-text); }
.mobile-sheet-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.mobile-sheet-heading h2 { margin: 5px 0 0; font-size: 24px; font-weight: 850; }
.mobile-sheet-heading button { width: 36px; height: 36px; border: 1px solid var(--wn-border); border-radius: 10px; background: var(--wn-surface-soft); color: var(--wn-text); font-size: 23px; }
.mobile-sheet-actions { display: flex; gap: 9px; position: sticky; bottom: 0; padding-top: 8px; background: var(--wn-surface); }
.mobile-sheet-actions .btn { flex: 1; text-align: center; }
.market-catalog-layout .market-empty { grid-column: 1 / -1; }
.market-description-panel--premium { min-width: 0; max-width: 100%; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--wn-border); border-radius: var(--wn-radius-lg); background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); }
.market-description-panel--premium .market-prose { max-width: 78ch; overflow-wrap: anywhere; }
.market-editorial-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; color: var(--wn-muted); font-size: 12px; }
.market-editorial-rating > span { color: #d49b24; }

/* Blog / newsletter */
.blog-hero { padding: clamp(52px, 7vw, 86px) 0; background: radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--wn-primary) 13%, transparent), transparent 35%), var(--wn-bg); }
.blog-hero .wrap { max-width: 930px; text-align: center; }
.blog-hero .eyebrow { color: var(--wn-primary); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.blog-hero h1 { margin: 14px 0; color: var(--wn-text); font-size: clamp(40px, 6vw, 68px); font-weight: 850; line-height: 1.04; letter-spacing: -.065em; }
.blog-hero h1 em { color: var(--wn-primary); font-style: normal; }
.blog-hero p { max-width: 650px; margin: 0 auto; color: var(--wn-muted); font-size: 16px; line-height: 1.75; }
.blog-search { position: relative; display: flex; max-width: 650px; gap: 9px; margin: 26px auto 0; padding: 7px; border: 1px solid var(--wn-border); border-radius: 14px; background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); }
.blog-search input { flex: 1; min-width: 0; padding: 0 12px; border: 0; background: transparent; color: var(--wn-text); }
.blog-listing { padding-block: 56px 78px; }
.blog-listing-head h2 { margin-bottom: 0; }
.blog-listing-head > span { color: var(--wn-muted); font-size: 12px; }
.blog-category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 25px; }
.blog-category-pills a, .blog-aside-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border: 1px solid var(--wn-border); border-radius: 999px; color: var(--wn-muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.blog-category-pills a[aria-current="page"], .blog-category-pills a:hover, .blog-aside-tags a:hover { border-color: var(--wn-primary); background: color-mix(in srgb, var(--wn-primary) 8%, var(--wn-surface)); color: var(--wn-primary); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--wn-shadow-lg); }
.blog-card-image { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wn-surface-soft); color: var(--wn-primary); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image--placeholder { background: linear-gradient(135deg, color-mix(in srgb, var(--wn-primary) 10%, var(--wn-surface-soft)), var(--wn-surface-soft)); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.blog-category { display: inline-flex; align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--wn-primary) 9%, var(--wn-surface)); color: var(--wn-primary); font-size: 10px; font-weight: 800; }
.blog-card h2 { margin: 12px 0 8px; font-size: 20px; font-weight: 820; line-height: 1.25; letter-spacing: -.035em; }
.blog-card h2 a, .blog-related h3 a { color: var(--wn-text); text-decoration: none; }
.blog-card h2 a:hover, .blog-related h3 a:hover { color: var(--wn-primary); }
.blog-card-body > p { margin: 0 0 18px; color: var(--wn-muted); font-size: 13px; line-height: 1.7; }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; color: var(--wn-muted); font-size: 10px; }
.blog-read-more { display: inline-flex; gap: 7px; align-items: center; margin-top: 16px; color: var(--wn-primary); font-size: 12px; font-weight: 800; }
.blog-empty { padding: 52px 20px; text-align: center; border: 1px dashed var(--wn-border); border-radius: var(--wn-radius-lg); }
.blog-empty h2 { margin: 14px 0 7px; font-size: 24px; }
.blog-empty p { max-width: 480px; margin: 0 auto 20px; color: var(--wn-muted); line-height: 1.7; }
.blog-newsletter-band { padding: clamp(35px, 5vw, 60px) 0; background: var(--wn-surface-soft); border-block: 1px solid var(--wn-border); }
.blog-newsletter-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 35px; align-items: center; }
.blog-newsletter-inner .eyebrow { color: var(--wn-primary); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.blog-newsletter-inner h2 { margin: 8px 0; font-size: clamp(25px, 3vw, 36px); font-weight: 850; letter-spacing: -.05em; }
.blog-newsletter-inner p { margin: 0; color: var(--wn-muted); font-size: 14px; line-height: 1.7; }
.blog-newsletter-form { display: grid; gap: 8px; }
.blog-newsletter-form > label:first-child { font-size: 11px; font-weight: 800; }
.blog-newsletter-form > div { display: flex; gap: 8px; }
.blog-newsletter-form input[type="email"] { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--wn-border); border-radius: 10px; background: var(--wn-surface); color: var(--wn-text); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--wn-muted); font-size: 10px; line-height: 1.55; }
.newsletter-consent input { margin-top: 2px; accent-color: var(--wn-primary); }
.blog-article { padding-block: 36px 72px; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; color: var(--wn-muted); font-size: 11px; }
.blog-breadcrumb a { color: var(--wn-muted); }
.blog-article-header { max-width: 900px; margin: 0 auto; text-align: center; }
.blog-article-header h1 { margin: 15px 0; color: var(--wn-text); font-size: clamp(34px, 5.2vw, 62px); font-weight: 850; line-height: 1.04; letter-spacing: -.06em; overflow-wrap: anywhere; }
.blog-article-excerpt { max-width: 760px; margin: 0 auto; color: var(--wn-muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; }
.blog-article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 20px; color: var(--wn-muted); font-size: 11px; }
.blog-article-featured { max-width: 1000px; margin: 35px auto 42px; overflow: hidden; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-lg); background: var(--wn-surface-soft); }
.blog-article-featured img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 290px); justify-content: center; align-items: start; gap: clamp(28px, 5vw, 65px); margin-top: 40px; }
.blog-article-content { min-width: 0; color: var(--wn-text); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.blog-article-content h2 { margin: 2em 0 .65em; font-size: clamp(24px, 3vw, 32px); font-weight: 850; line-height: 1.2; letter-spacing: -.04em; }
.blog-article-content h3 { margin: 1.8em 0 .6em; font-size: 22px; font-weight: 800; line-height: 1.3; }
.blog-article-content p { margin: 0 0 1.35em; color: var(--wn-muted); }
.blog-article-content ul, .blog-article-content ol { padding-left: 1.4em; margin: 0 0 1.5em; color: var(--wn-muted); }
.blog-article-content li { padding-left: .25em; margin: .35em 0; }
.blog-article-content blockquote { margin: 1.8em 0; padding: 16px 20px; border-left: 3px solid var(--wn-primary); border-radius: 0 10px 10px 0; background: var(--wn-surface-soft); color: var(--wn-muted); }
.blog-article-content pre { overflow-x: auto; padding: 18px; border: 1px solid var(--wn-border); border-radius: 12px; background: var(--wn-surface-soft); color: var(--wn-text); font-size: 13px; line-height: 1.7; }
.blog-article-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.blog-article-content a { color: var(--wn-primary); text-decoration: underline; text-underline-offset: 3px; }
.blog-article-aside { display: grid; gap: 17px; }
.blog-aside-card { padding: 22px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); }
.blog-aside-card h2 { margin: 9px 0; font-size: 22px; font-weight: 850; letter-spacing: -.04em; }
.blog-aside-card p { color: var(--wn-muted); font-size: 12px; line-height: 1.7; }
.blog-aside-card .btn { display: block; text-align: center; }
.blog-aside-tags { padding: 18px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); }
.blog-aside-tags h3 { margin: 0 0 12px; font-size: 14px; }
.blog-aside-tags > div { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-related { margin-top: 72px; padding-top: 34px; border-top: 1px solid var(--wn-border); }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.blog-related-grid article { padding: 21px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); }
.blog-related h3 { margin: 13px 0 8px; font-size: 18px; font-weight: 820; line-height: 1.3; }
.blog-related p { color: var(--wn-muted); font-size: 12px; line-height: 1.7; }
.blog-preview-banner { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 12px; background: #fef3c7; color: #854d0e; font-size: 12px; }
.newsletter-unsubscribe-page { display: grid; min-height: 55vh; place-items: center; padding-block: 60px; }
.newsletter-unsubscribe-card { width: min(100%, 560px); padding: clamp(25px, 5vw, 42px); border: 1px solid var(--wn-border); border-radius: var(--wn-radius-lg); background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); }
.newsletter-unsubscribe-card h1 { margin: 15px 0 10px; font-size: clamp(28px, 4vw, 38px); font-weight: 850; letter-spacing: -.05em; }
.newsletter-unsubscribe-card p { color: var(--wn-muted); line-height: 1.75; }
.newsletter-unsubscribe-card form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-error { color: var(--wn-danger); font-size: 12px; }

/* Shared interaction/accessibility */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid color-mix(in srgb, var(--wn-primary) 50%, transparent); outline-offset: 3px; }
:where(input, select, textarea) { accent-color: var(--wn-primary); }
button, .btn { transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.btn { border-radius: 11px; font-weight: 750; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:disabled, button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.market-card, .platform-card, .detail-card { border-radius: var(--wn-radius-md); }
.market-grid { align-items: stretch; }
.market-card { min-width: 0; overflow: hidden; }
.market-card h3 { overflow-wrap: anywhere; }
.market-card-view { flex: 0 0 auto; }

@media (max-width: 1120px) {
  .header .nav { gap: 12px; }
  .header-search { max-width: 210px; }
  .navlinks { gap: 11px; }
  .navlinks a { font-size: 12px; }
  .premium-home-hero-grid { gap: 32px; }
  .market-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
  .header .nav { flex-wrap: wrap; min-height: 68px; padding-block: 10px; }
  .header-search { order: 5; flex: 1 0 100%; max-width: none; }
  .navlinks { display: none; position: absolute; top: 100%; left: 12px; right: 12px; z-index: 99; padding: 14px; border: 1px solid var(--wn-border); border-radius: 15px; background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); }
  .navlinks.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navlinks a { padding: 10px; border-radius: 8px; }
  .premium-home-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .premium-hero-art { min-height: 290px; max-width: 540px; width: 100%; margin: 0 auto; }
  .premium-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .market-filter-sidebar { position: static; }
  .market-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-filter-heading { grid-column: 1 / -1; }
  .market-filter-form > .btn { align-self: end; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-article-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-article-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .header .nav { gap: 8px; }
  .header-cart-link span { display: none; }
  .header-cart-link { padding-inline: 6px; }
  .nav-cta { min-height: 36px; padding-inline: 10px; }
  .premium-home-hero { padding-block: 48px; }
  .premium-home-copy h1 { font-size: clamp(39px, 12vw, 56px); }
  .premium-home-copy > p { font-size: 15px; }
  .premium-hero-search { flex-wrap: wrap; padding: 8px 10px; }
  .premium-hero-search input { flex: 1 1 calc(100% - 45px); }
  .premium-hero-search .btn { width: 100%; }
  .premium-trust-metrics { gap: 15px 23px; }
  .premium-trust-metrics strong { font-size: 19px; }
  .premium-hero-art { min-height: 245px; }
  .hero-art-orbit--one { width: 280px; height: 210px; }
  .hero-art-orbit--two { width: 245px; height: 300px; }
  .hero-art-window { min-height: 230px; width: min(100%, 330px); }
  .hero-art-product { padding: 8px 10px; }
  .hero-art-product--one { left: -2px; bottom: 18px; }
  .hero-art-product--two { right: -2px; bottom: -8px; }
  .hero-art-product strong { font-size: 10px; }
  .hero-art-product small { font-size: 8px; }
  .premium-section-heading, .blog-listing-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .premium-category-grid, .premium-benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .premium-category-card { min-height: auto; }
  .premium-cta-inner { align-items: flex-start; flex-direction: column; }
  .premium-cta-inner > div:last-child { width: 100%; }
  .premium-cta-inner > div:last-child .btn { flex: 1; text-align: center; }
  .market-catalog-layout { display: block; }
  .market-filter-sidebar { display: none; }
  .market-catalog-results .catalog-toolbar { align-items: stretch; }
  .market-catalog-results .mobile-filter-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--wn-border); border-radius: 10px; background: var(--wn-surface); color: var(--wn-text); font-size: 12px; font-weight: 750; }
  .market-results-search { flex: 1 0 100%; }
  .market-catalog-results .market-result-count { flex: 1; align-self: center; }
  .mobile-catalog-tools { display: none !important; }
  .blog-hero { padding-block: 46px; }
  .blog-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .blog-search { flex-direction: column; padding: 10px; }
  .blog-search input { min-height: 42px; }
  .blog-grid, .blog-related-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-newsletter-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .blog-newsletter-form > div { flex-direction: column; }
  .blog-newsletter-form > div .btn { width: 100%; }
  .blog-article { padding-top: 22px; }
  .blog-article-header { text-align: left; }
  .blog-article-meta { justify-content: flex-start; }
  .blog-article-featured { margin-block: 25px; border-radius: 14px; }
  .blog-article-content { font-size: 15px; }
  .blog-article-aside { grid-template-columns: minmax(0, 1fr); }
  .newsletter-unsubscribe-card form .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Account project and wallet refinements */
.website-detail-grid { grid-template-columns: minmax(0, 1fr) !important; }
.website-overview-card { min-width: 0; padding: clamp(22px, 3vw, 34px) !important; border: 1px solid var(--wn-border) !important; border-radius: var(--wn-radius-lg) !important; background: var(--wn-surface) !important; box-shadow: var(--wn-shadow-sm); }
.website-overview-card .website-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.website-overview-card .website-detail-list > div { min-width: 0; padding: 14px 0; border-bottom: 1px solid var(--wn-border); }
.website-overview-card .website-detail-list dt { color: var(--wn-muted); font-size: 11px; }
.website-overview-card .website-detail-list dd { margin-top: 5px; color: var(--wn-text); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.website-overview-card .website-detail-total { border-top: 1px solid var(--wn-border); }
.website-detail-actions--overview { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--wn-border); }
.website-project-card { min-width: 0; padding: 22px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); box-shadow: var(--wn-shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.website-project-card:hover { transform: translateY(-2px); box-shadow: var(--wn-shadow-lg); }
.website-project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wallet-transaction-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, 1fr); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 12px 2px 15px; scroll-snap-type: x proximity; }
.wallet-transaction-strip .funding-row { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 18px; min-width: 0; min-height: 135px; padding: 17px; border: 1px solid var(--wn-border); border-radius: 13px; background: var(--wn-surface); scroll-snap-align: start; box-shadow: var(--wn-shadow-sm); }
.wallet-transaction-strip .funding-row > span:first-child { min-width: 0; }
.wallet-transaction-strip .funding-row small { overflow-wrap: anywhere; }
.wallet-transaction-strip .funding-row-right { display: flex; align-items: center; justify-content: space-between; gap: 9px; text-align: left; }
.wallet-transaction-strip .funding-row-right strong { overflow-wrap: anywhere; }
.wallet-transaction-strip::-webkit-scrollbar { height: 7px; }
.wallet-transaction-strip::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--wn-border); }
.newsletter-flash { margin-block: 12px; padding: 12px 15px; border: 1px solid color-mix(in srgb, var(--wn-success) 25%, var(--wn-border)); border-radius: 11px; background: color-mix(in srgb, var(--wn-success) 7%, var(--wn-surface)); color: var(--wn-text); font-size: 13px; }
@media (max-width: 620px) {
  .website-overview-card .website-detail-list { grid-template-columns: minmax(0, 1fr); }
  .website-detail-actions--overview .btn { width: 100%; text-align: center; }
  .wallet-transaction-strip { grid-auto-columns: minmax(240px, 82vw); }
}

.nav-category-menu { position: relative; flex: 0 0 auto; }
.nav-category-menu > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; color: var(--wn-text); font-size: 13px; font-weight: 650; }
.nav-category-menu > summary::-webkit-details-marker { display: none; }
.nav-category-menu > summary::after { content: "⌄"; color: var(--wn-muted); font-size: 14px; }
.nav-category-menu[open] > summary { color: var(--wn-primary); }
.nav-category-mega { position: absolute; top: calc(100% + 20px); left: -80px; z-index: 100; display: grid; grid-template-columns: 210px minmax(220px, 1fr); gap: 24px; width: min(540px, 90vw); padding: 24px; border: 1px solid var(--wn-border); border-radius: 18px; background: var(--wn-surface); box-shadow: var(--wn-shadow-lg); }
.nav-category-mega > div:first-child { padding-right: 20px; border-right: 1px solid var(--wn-border); }
.nav-category-mega .eyebrow { color: var(--wn-primary); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.nav-category-mega strong { display: block; margin-top: 9px; font-size: 18px; font-weight: 850; line-height: 1.2; }
.nav-category-mega p { color: var(--wn-muted); font-size: 11px; line-height: 1.6; }
.nav-category-all { display: inline-block; margin-top: 8px; color: var(--wn-primary); font-size: 11px; font-weight: 800; }
.nav-category-links { display: grid; align-content: start; gap: 5px; }
.nav-category-links a { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 8px; color: var(--wn-text); font-size: 12px; font-weight: 700; text-decoration: none; }
.nav-category-links a:hover, .nav-category-links a:focus-visible { background: var(--wn-surface-soft); color: var(--wn-primary); }
.website-project-thumb { display: block; width: 50px; height: 50px; overflow: hidden; border: 1px solid var(--wn-border); border-radius: 12px; background: var(--wn-surface-soft); }
.website-project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.discount-summary-line dt { color: var(--wn-success) !important; font-weight: 750; }
.discount-summary-line dd { color: var(--wn-success) !important; font-weight: 800; }
.wallet-quote-warning { padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--wn-warning) 25%, var(--wn-border)); border-radius: 11px; background: color-mix(in srgb, var(--wn-warning) 7%, var(--wn-surface)); }
.wallet-quote-warning strong { color: var(--wn-warning); font-size: 12px; }
.wallet-quote-warning p { margin: 5px 0 0; color: var(--wn-muted); font-size: 12px; line-height: 1.65; }
@media (max-width: 900px) { .nav-category-menu { grid-column: 1 / -1; } .nav-category-menu > summary { padding: 10px; } .nav-category-mega { position: static; width: 100%; grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 8px; padding: 15px; box-shadow: none; } .nav-category-mega > div:first-child { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--wn-border); } .nav-category-mega > div:first-child p { display: none; } .nav-category-links { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.market-card-bottom { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.market-card-price-wrap { display: grid; gap: 3px; min-width: 0; margin-left: auto; text-align: right; }
.market-card-price-wrap del { color: var(--wn-muted); font-size: 10px; font-weight: 500; }
.market-card-view { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 7px 9px; border: 1px solid var(--wn-border); border-radius: 9px; color: var(--wn-primary); font-size: 10px; font-weight: 800; text-decoration: none; }
.market-card-view:hover { border-color: var(--wn-primary); background: color-mix(in srgb, var(--wn-primary) 7%, var(--wn-surface)); }

/* Managed-plan and launch workflow consistency */
.launch-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.launch-option, .launch-plan-card { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-md); background: var(--wn-surface); color: var(--wn-text); box-shadow: var(--wn-shadow-sm); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.launch-option:hover, .launch-plan-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--wn-primary) 45%, var(--wn-border)); }
.launch-option:has(input:checked), .launch-plan-card:has(input:checked) { border-color: var(--wn-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wn-primary) 12%, transparent), var(--wn-shadow-sm); }
.launch-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.launch-plan-heading strong { font-size: 19px; font-weight: 850; letter-spacing: -.035em; }
.launch-plan-heading input, .launch-option input[type="radio"] { accent-color: var(--wn-primary); }
.launch-plan-badge { display: inline-flex; margin-top: 14px; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--wn-primary) 10%, var(--wn-surface)); color: var(--wn-primary); font-size: 10px; font-weight: 850; }
.launch-plan-description { display: block; margin-top: 12px; color: var(--wn-muted); font-size: 12px; line-height: 1.6; }
.launch-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 22px; }
.launch-plan-price b { color: var(--wn-text); font-size: 27px; font-weight: 850; letter-spacing: -.045em; }
.launch-plan-price span { color: var(--wn-muted); font-size: 11px; }
.launch-plan-inclusions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; padding-block: 14px; border-block: 1px solid var(--wn-border); }
.launch-plan-inclusions span { display: grid; gap: 4px; color: var(--wn-muted); font-size: 10px; }
.launch-plan-inclusions strong { color: var(--wn-text); font-size: 12px; }
.launch-plan-features { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.launch-plan-features li { display: flex; gap: 9px; color: var(--wn-muted); font-size: 12px; line-height: 1.6; }
.launch-plan-features li span { color: var(--wn-success); font-weight: 900; }
.launch-plan-choice { display: block; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--wn-border); color: var(--wn-primary); font-size: 12px; font-weight: 800; }
.launch-plan-choice .plan-selected { display: none; }
.launch-plan-card:has(input:checked) .plan-not-selected { display: none; }
.launch-plan-card:has(input:checked) .plan-selected { display: inline; }
.launch-step h2 { color: var(--wn-text); font-size: clamp(25px, 3vw, 34px); font-weight: 850; letter-spacing: -.045em; }
.launch-step > .eyebrow { color: var(--wn-primary); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.launch-step input:not([type="radio"]):not([type="checkbox"]), .launch-step select, .launch-step textarea { border-color: var(--wn-border); border-radius: 10px; background: var(--wn-surface); color: var(--wn-text); }
.launch-step input:focus, .launch-step select:focus, .launch-step textarea:focus { border-color: var(--wn-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wn-primary) 12%, transparent); }
@media (max-width: 680px) { .launch-option-grid { grid-template-columns: minmax(0,1fr); } .launch-plan-card { padding: 18px; } }

.market-card-bottom { align-items: center; }
.market-card-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 9px; border: 1px solid var(--wn-primary); border-radius: 9px; background: var(--wn-primary); color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; }
.market-card-buy:hover { background: var(--wn-primary-strong); border-color: var(--wn-primary-strong); color: #fff; }
