:root {
  --store-ink: #192b25;
  --store-blue: #23644c;
  --store-blue-soft: #e9f1e9;
  --store-muted: #4f6259;
  --store-border: #dce4dd;
  --store-media: #edf1eb;
  --store-paper: #f8f9f4;
  --store-highlight: #e0f29e;
  --store-font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.store-site { margin: 0; background: var(--store-paper); color: var(--store-ink); font: 16px/1.65 var(--store-font); }
.store-site :is(h1,h2,h3,p,ul,ol,figure) { margin-top: 0; }
.store-site :is(h1,h2,h3) { line-height: 1.25; font-weight: 740; }
.store-site a { color: var(--store-blue); }
.store-site a:hover { color: #184b37; }
.store-site :focus-visible { outline: 2px solid #2d8460; outline-offset: 4px; }
.store-site img { display: block; max-width: 100%; }
.store-site [hidden] { display: none !important; }
.store-site .muted { color: var(--store-muted); }
.site-width, .store-site .container { width: min(calc(100% - 88px), 1340px); max-width: none; padding: 0; margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.store-header { position: relative; z-index: 5; border-bottom: 1px solid var(--store-border); background: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 71px; }
.store-site .brand { display: inline-flex; width: fit-content; gap: 10px; align-items: center; font-size: 22px; font-weight: 760; color: var(--store-ink); text-decoration: none; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 33px; height: 33px; background: var(--store-ink); color: var(--store-highlight); font-size: 20px; font-weight: 780; border-radius: 2px; }
.desktop-nav, .header-tools { display: flex; align-items: center; gap: 32px; }
.desktop-nav a { display: flex; align-items: center; min-height: 71px; text-decoration: none; border-bottom: 2px solid transparent; color: var(--store-ink); font-size: 14px; font-weight: 620; }
.desktop-nav a[aria-current] { color: var(--store-blue); border-color: var(--store-blue); }
.header-tools { justify-self: end; gap: 10px; }
.search-button, .mobile-nav summary { display: grid; place-items: center; width: 42px; height: 42px; background: transparent; border: 0; color: var(--store-ink); cursor: pointer; }
.search-button span { position: relative; display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
.search-button span::after { position: absolute; width: 7px; height: 2px; content: ''; right: -6px; bottom: -3px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.mobile-nav { display: none; }
.mobile-nav summary { font-size: 22px; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { display: grid; gap: 3px; position: absolute; right: 16px; top: calc(100% - 4px); z-index: 5; min-width: 160px; padding: 10px; border: 1px solid var(--store-border); background: #fff; }
.mobile-nav nav a { display: block; padding: 8px 12px; color: var(--store-ink); }
.mobile-nav nav a[aria-current] { background: var(--store-blue-soft); color: var(--store-blue); }

.store-site .custom-btn { display: inline-flex; gap: 18px; align-items: center; padding: 10px 19px; border: 1px solid transparent; border-radius: 2px; background: var(--store-blue); color: #fff; text-decoration: none; font-weight: 670; font-size: 14px; }
.store-site .custom-btn:hover { background: #184b37; color: #fff; }
.store-site .custom-btn:disabled { background: #e5e9e3; color: #4f6259; cursor: not-allowed; opacity: 1; }
.store-list { padding: 35px 0 76px; }
.home-content { padding-top: 0; }
.home-notice { display: flex; gap: 16px; align-items: baseline; padding: 15px 0 14px; font-size: 13px; color: var(--store-muted); }
.home-notice strong { flex: none; color: var(--store-blue); }
.home-notice p { margin: 0; }
.source-hero { display: grid; grid-template-columns: 1.14fr 1fr; gap: 14px; }
.hero-feature, .hero-slide, .hero-tile { position: relative; min-width: 0; }
.hero-slide { display: flex; align-items: center; min-height: 480px; padding: clamp(23px, 4vw, 65px); background: #203d31; color: #fff; overflow: hidden; }
.hero-slide img, .hero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide img { object-position: 63% center; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,18,.92), rgba(10,25,18,.72) 45%, rgba(10,25,18,.1)); }
.hero-copy { position: relative; z-index: 1; max-width: 410px; }
.hero-copy p:first-child { margin-bottom: 18px; color: var(--store-highlight); font-size: 13px; letter-spacing: .12em; font-weight: 620; }
.hero-copy :is(h1,h2) { margin-bottom: 18px; font-size: clamp(39px, 4.3vw, 66px); line-height: 1.08; color: #fff; }
.hero-copy p:not(:first-child) { max-width: 295px; margin-bottom: 25px; color: #eff5ea; font-size: 15px; }
.store-site .hero-copy .custom-btn { background: var(--store-highlight); color: var(--store-ink); }
.store-site .hero-copy .custom-btn:hover { background: #f0ffbf; }
.hero-controls { display: flex; align-items: center; gap: 1px; position: absolute; bottom: 15px; right: 20px; z-index: 2; }
.hero-controls button { display: grid; place-items: center; width: 33px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-controls button span { display: block; width: 22px; height: 3px; background: #d0ddd3; }
.hero-controls button[aria-pressed="true"] span { background: var(--store-highlight); }
.hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(155px, 1fr)); gap: 14px; }
.store-site .hero-tile { display: flex; align-items: flex-end; padding: 15px; background: #162923; color: #fff; overflow: hidden; text-decoration: none; }
.hero-tile::after { position: absolute; content: ''; inset: 0; background: linear-gradient(0deg,#131f1bef 0%,#131f1b22 66%,transparent); }
.hero-tile img { transition: transform .25s ease; }
.hero-tile:hover img { transform: scale(1.04); }
.hero-tile span { position: relative; z-index: 1; padding-right: 24px; }
.hero-tile small { display: block; color: #dce8dd; font-size: 12px; margin-bottom: 4px; }
.hero-tile strong { display: block; font-size: clamp(13px, 1.3vw, 19px); line-height: 1.3; }
.hero-tile b { position: absolute; z-index: 1; bottom: 13px; right: 14px; font-weight: 500; color: #eff8e8; }
.quick-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--store-border); margin-top: 17px; }
.quick-links a { display: flex; justify-content: space-between; gap: 5px; padding: 13px 15px; border-right: 1px solid var(--store-border); text-decoration: none; color: var(--store-ink); font-size: 13px; font-weight: 630; }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: #f0f4ea; }
.quick-links a span { color: var(--store-blue); }
.home-section { margin-top: 61px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-title h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); }
.section-title a { flex: none; font-size: 13px; font-weight: 620; }

.page-head { background: var(--store-blue-soft); padding-block: 24px 31px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 21px; font-size: 13px; color: var(--store-muted); }
.breadcrumbs > * + *::before { content: '/'; color: #667e71; margin-right: 12px; }
.page-head h1 { margin-bottom: 9px; font-size: clamp(29px, 4.1vw, 49px); }
.page-head p { margin: 0; color: var(--store-muted); }
.filter-tabs, .editorial-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }
.filter-tabs a, .editorial-filters a { background: #fff; border: 1px solid var(--store-border); padding: 6px 13px; color: var(--store-ink); text-decoration: none; font-size: 13px; }
.filter-tabs a[aria-current], .filter-tabs a:hover, .editorial-filters a:hover { border-color: var(--store-blue); color: var(--store-blue); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.shop-shelf .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.shop-shelf + .shop-shelf { margin-top: 44px; }
.shop-shelf .section-title h2 { font-size: clamp(24px, 3vw, 31px); }
.catalog-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--store-border); }
.catalog-card .thumb { background: var(--store-media); aspect-ratio: 16 / 10; overflow: hidden; }
.catalog-card .thumb a { display: block; height: 100%; }
.catalog-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.catalog-card .down-content { flex: 1; display: flex; flex-direction: column; padding: clamp(13px, 1.5vw, 20px); }
.card-kind { display: inline-block; margin-bottom: 9px; color: var(--store-blue); font-size: 12px; font-weight: 660; }
.catalog-card h3, .editorial-card h3 { font-size: 18px; margin-bottom: 9px; }
.catalog-card h3 a, .editorial-card h3 a { color: var(--store-ink); }
.catalog-card p, .editorial-card > p:not(.article-meta) { color: var(--store-muted); font-size: 14px; margin-bottom: 14px; }
.card-buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; border-top: 1px solid var(--store-border); padding-top: 13px; }
.card-buy strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.card-buy a { font-size: 13px; font-weight: 620; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 34px; align-items: start; }
.product-capture { margin: 0 0 14px; background: #fff; border: 1px solid var(--store-border); }
.product-capture img { width: 100%; }
.product-capture figcaption { padding: 10px 13px; color: var(--store-muted); font-size: 13px; }
.product-specs { padding: 23px; background: #fff; border: 1px solid var(--store-border); }
.product-price { font-weight: 750; font-size: 31px; margin-bottom: 5px; }
.product-specs .muted { font-size: 13px; margin-bottom: 13px; }
.product-specs dl { margin: 22px 0 12px; }
.product-specs dl div { display: grid; grid-template-columns: minmax(68px, 1fr) 2.6fr; gap: 8px; border-top: 1px solid var(--store-border); padding: 8px 0; font-size: 14px; }
.product-specs dt { color: var(--store-muted); font-weight: 550; }
.product-specs dd { margin: 0; }
.product-description { margin-bottom: 0; color: var(--store-muted); }
.product-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 23px; }
.product-details section { padding: 19px 22px; background: #fff; border: 1px solid var(--store-border); }
.product-details h2, .reading h2 { font-size: 21px; margin-bottom: 13px; }
.product-details ul, .reading ul { padding-left: 19px; margin-bottom: 0; color: var(--store-muted); }
.product-guides { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 19px; font-size: 14px; }

.editorial-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.editorial-card { display: flex; flex-direction: column; padding: 16px 18px; min-width: 0; background: #fff; border: 1px solid var(--store-border); border-top: 2px solid var(--store-blue); }
.article-meta { margin-bottom: 10px; color: var(--store-blue); font-size: 12px; font-weight: 640; }
.article-meta time { margin-left: 8px; color: var(--store-muted); font-weight: 450; }
.release-stats { display: flex; flex-wrap: wrap; gap: 3px 12px; padding: 0; margin: auto 0 0; color: var(--store-muted); list-style: none; font-size: 12px; }
.reading { width: min(100%, 810px); }
.reading > section { margin: 0 0 27px; }
.reading .release-stats { margin-bottom: 24px; }
.reading :is(section p,aside) { margin-bottom: 0; color: var(--store-muted); }
.reading aside { border-top: 1px solid var(--store-border); padding-top: 16px; }

.store-footer { background: #172b23; color: #d7e5db; padding: 38px 0 15px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1.2fr .65fr; gap: 24px; }
.store-site .footer-brand { color: #fafcf7; margin-bottom: 8px; }
.footer-brand .brand-icon { background: var(--store-highlight); color: var(--store-ink); }
.store-footer :is(p,a) { font-size: 13px; }
.store-footer h2 { margin-bottom: 9px; color: #f8fbf6; font-size: 15px; }
.store-footer nav { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.store-site .store-footer a { color: #f6fcf4; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 28px; padding-top: 13px; border-top: 1px solid #43594b; font-size: 12px; }

.site-search { width: min(calc(100% - 32px),640px); max-height: 85vh; padding: 20px; border: 1px solid var(--store-border); background: #fff; color: var(--store-ink); }
.site-search::backdrop { background: #10251ba1; }
.search-header { display: flex; justify-content: space-between; align-items: center; }
.search-header h2 { font-size: 23px; margin: 0; }
.search-header button { border: 0; padding: 0 9px; color: var(--store-ink); background: transparent; font-size: 30px; cursor: pointer; }
.site-search input { width: 100%; min-height: 44px; margin-top: 10px; padding: 8px 12px; border: 1px solid var(--store-border); }
.site-search [data-search-results] { margin-top: 12px; }
.site-search [data-search-results] p { color: var(--store-muted); font-size: 13px; margin-bottom: 0; }
.site-search [data-search-results] a { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--store-border); }
.site-search [data-search-results] a small { color: var(--store-muted); }

@media (max-width: 1000px) {
  .site-width, .store-site .container { width: calc(100% - 48px); }
  .source-hero { grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-slide { min-height: 386px; }
  .hero-tiles { gap: 9px; }
  .catalog-grid, .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .site-width, .store-site .container { width: calc(100% - 32px); }
  .header-inner { display: flex; justify-content: space-between; min-height: 60px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .header-tools { gap: 4px; }
  .store-site .brand { font-size: 19px; }
  .brand-icon { width: 28px; height: 28px; font-size: 17px; }
  .home-notice { gap: 8px; padding-block: 11px; font-size: 12px; }
  .source-hero, .product-layout { grid-template-columns: minmax(0,1fr); }
  .hero-slide { min-height: 335px; padding: 25px 21px 44px; }
  .hero-copy p:not(:first-child) { font-size: 14px; }
  .hero-tiles { grid-template-rows: repeat(2, minmax(107px,1fr)); }
  .store-site .hero-tile { padding: 9px; }
  .hero-tile b { bottom: 6px; right: 8px; }
  .hero-tile small { font-size: 10px; }
  .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick-links a { padding: 11px 9px; }
  .quick-links a:nth-child(2n) { border-right: 0; }
  .quick-links a:nth-child(-n+2) { border-bottom: 1px solid var(--store-border); }
  .home-section { margin-top: 36px; }
  .catalog-grid, .editorial-grid, .shop-shelf .catalog-grid, .product-details { gap: 10px; }
  .catalog-card h3, .editorial-card h3 { font-size: 16px; }
  .editorial-card { padding: 11px; }
  .editorial-card > p:not(.article-meta), .catalog-card p { font-size: 13px; }
  .article-meta time { display: block; margin-left: 0; }
  .product-layout { gap: 13px; }
  .product-layout .right-content { grid-row: 1; }
  .product-details { grid-template-columns: 1fr; }
  .store-list { padding-bottom: 49px; }
  .page-head { padding-block: 16px 22px; }
  .breadcrumbs { margin-bottom: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-tile img { transition: none; } }
