:root {
  --surface: var(--cor-fundo);
  --surface-raised: color-mix(in srgb, var(--cor-card) 94%, white 6%);
  --surface-muted: color-mix(in srgb, var(--cor-fundo) 92%, white 8%);
  --surface-strong: color-mix(in srgb, var(--cor-card) 82%, black 18%);
  --text-strong: var(--cor-texto);
  --text-soft: var(--cor-muted);
  --line-strong: color-mix(in srgb, var(--cor-line) 92%, transparent);
  --line-soft: color-mix(in srgb, var(--cor-line) 40%, transparent);
  --shadow-soft: 0 10px 28px rgba(17, 24, 39, 0.05);
  --shadow-lift: 0 16px 34px rgba(17, 24, 39, 0.08);
  --max-width: 1220px;
  --header-height: 142px;
}

html[data-theme='dark'] {
  --surface: #111318;
  --surface-raised: #171a21;
  --surface-muted: #0f1217;
  --surface-strong: #1f2430;
  --text-strong: #f6f4ef;
  --text-soft: #b9b2a4;
  --line-strong: rgba(255, 248, 235, 0.22);
  --line-soft: rgba(255, 248, 235, 0.1);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 22px 56px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-strong);
  background:
    linear-gradient(90deg, rgba(79, 62, 36, 0.035) 1px, transparent 1px) center / 28px 28px,
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white 4%) 0%, var(--surface) 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

button,
.button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -999px;
  z-index: 40;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.skip-link:focus {
  top: 1rem;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 14rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.08));
  opacity: 0.65;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header-height) + 2.4rem) 0 4rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 95%, white 5%);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}

.topbar {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  text-decoration: none;
  flex: 1 1 auto;
}

.brand div {
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.brand strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand span,
.host-tag,
.product-card-domain,
.product-card-store,
.site-domain {
  color: var(--text-soft);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.host-tag,
.theme-toggle,
.button,
.main-nav a,
.site-card-link,
.product-card,
.offer-card,
.comment-card,
.summary-panel,
.hero-panel,
.spec-item,
.history-table-wrap,
.product-main-figure,
.product-gallery figure,
.section-block,
.breadcrumbs,
.site-footer,
.static-hero {
  border: 1px solid var(--line-strong);
}

.host-tag {
  padding: 0.72rem 0.9rem;
  background: var(--surface-raised);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  background: var(--cor-botao);
  color: #fdf8ef;
  box-shadow: none;
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nav-shell {
  border-top: 1px solid var(--line-soft);
}

.main-nav {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.75rem 0 1rem;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex: 0 0 auto;
  padding: 0.72rem 1.05rem;
  text-decoration: none;
  white-space: nowrap;
  background: color-mix(in srgb, var(--surface) 94%, white 6%);
}

.main-nav a[aria-current='page'],
.main-nav a:hover {
  background: color-mix(in srgb, var(--cor-botao) 10%, white 90%);
  color: var(--text-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1rem;
  text-decoration: none;
  background: var(--surface);
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.button-primary {
  background: var(--cor-botao);
  color: #fffdf8;
  border-color: color-mix(in srgb, var(--cor-botao) 84%, black 16%);
}

.button:hover,
.site-card-link:hover,
.product-card:hover,
.offer-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.button:hover {
  background: color-mix(in srgb, var(--cor-botao) 92%, black 8%);
}

.hero,
.section-dual,
.product-hero,
.product-media-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.hero,
.product-hero {
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  align-items: start;
}

.hero-copy,
.product-hero-copy {
  padding-right: 1rem;
}

.hero h1,
.section-head h2,
.product-hero h1,
.static-hero h1,
.site-card h3,
.product-card h3,
.offer-card h3,
.site-footer h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero h1,
.product-hero h1,
.static-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 12ch;
}

.hero-copy p:not(.hero-lead),
.product-hero-copy p:not(.hero-lead) {
  max-width: 60ch;
  color: var(--text-soft);
}

.hero-panel,
.summary-panel,
.section-block,
.product-main-figure,
.product-gallery figure,
.comment-card,
.offer-card,
.spec-item,
.site-card-link,
.product-card,
.static-hero {
  background: color-mix(in srgb, var(--surface-raised) 90%, white 10%);
  box-shadow: var(--shadow-soft);
}

.hero-panel,
.summary-panel,
.section-block,
.static-hero {
  padding: 1.4rem;
}

.hero-lead {
  font-size: 1.16rem;
  color: var(--text-strong);
  max-width: 52ch;
}

.hero-actions,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions {
  margin-top: 1.25rem;
}

.hero-tags {
  margin-top: 1rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-spotlight {
  display: grid;
  gap: 1rem;
}

.hero-spotlight-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, white 5%), color-mix(in srgb, var(--surface-raised) 94%, white 6%));
  text-decoration: none;
}

.hero-spotlight-frame img {
  width: auto;
  max-width: min(74%, 220px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(17, 24, 39, 0.1));
}

.hero-spotlight-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-spotlight-copy p {
  margin: 0;
  color: var(--text-soft);
}

.hero-spotlight-footer {
  display: grid;
  gap: 0.9rem;
}

.hero-spotlight-price span,
.hero-spotlight-price small {
  display: block;
  color: var(--text-soft);
}

.hero-spotlight-price span {
  margin-bottom: 0.28rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-spotlight-price strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel dl,
.summary-panel dl {
  margin: 0;
}

.hero-panel div,
.summary-panel div {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.hero-panel div:last-child,
.summary-panel div:last-child {
  border-bottom: 0;
}

.hero-panel dt,
.summary-panel dt,
.offer-stats dt {
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-panel dd,
.summary-panel dd,
.offer-stats dd {
  margin: 0.28rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.section-block {
  margin-top: 1.35rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-head p {
  max-width: 40ch;
  color: var(--text-soft);
  margin: 0;
}

.site-grid,
.product-grid,
.offer-grid,
.comment-list {
  display: grid;
  gap: 1rem;
}

.site-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-card,
.site-card-link {
  height: 100%;
}

.site-card-link {
  display: grid;
  gap: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.site-card-topline,
.site-card-body,
.product-card-body {
  padding: 1rem;
}

.site-card-topline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.site-card-body p,
.product-card-body p,
.comment-card p,
.prose p,
.section-dual p,
.site-footer p {
  color: var(--text-soft);
}

.site-card h3,
.product-card h3,
.offer-card h3,
.static-hero h1,
.site-footer h2 {
  margin: 0;
}

.site-card h3 {
  font-size: 1.62rem;
}

.site-card-logo {
  width: 44px;
  height: 44px;
  padding: 0.28rem;
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.site-card-footerline {
  display: grid;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-card-accent {
  display: block;
  height: 5px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-raised) 96%, white 4%);
}

.product-thumb-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 2.95;
  padding: 0.95rem 1rem 0.9rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%), color-mix(in srgb, var(--surface-raised) 96%, white 4%));
  border-bottom: 1px solid var(--line-soft);
}

.product-thumb {
  width: auto;
  height: auto;
  max-width: min(72%, 184px);
  max-height: clamp(132px, 13vw, 184px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(17, 24, 39, 0.08));
}

.product-card-body {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  flex: 1;
}

.product-card-meta,
.comment-card header,
.offer-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-card-meta {
  flex-wrap: wrap;
}

.product-card h3 {
  font-size: 1.32rem;
  line-height: 1.02;
}

.product-card h3 a {
  text-decoration: none;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
}

.product-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.product-price-block strong {
  display: block;
  font-size: 1.36rem;
  line-height: 1;
}

.offer-price {
  display: block;
  font-size: 1.58rem;
  line-height: 1;
}

.product-price-block span:last-child,
.offer-price-block .eyebrow {
  color: var(--text-soft);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.star {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.star-filled {
  fill: var(--cor-secundaria);
  stroke: var(--cor-secundaria);
}

.rating-empty {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.offer-card {
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
}

.offer-card-title h3 {
  font-size: 1.55rem;
}

.offer-store-pill {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--surface-muted) 80%, white 20%);
}

.offer-price-block {
  text-align: right;
}

.offer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.offer-card .button {
  width: 100%;
}

.offer-history h4 {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
}

.offer-history table,
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.offer-history th,
.offer-history td,
.history-table th,
.history-table td {
  padding: 0.7rem 0.25rem;
  text-align: left;
  border-top: 1px solid var(--line-soft);
}

.offer-history th,
.history-table th {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--surface-raised) 86%, white 14%);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.6rem;
  color: var(--text-soft);
}

.product-layout {
  display: grid;
  gap: 1rem;
}

.product-hero-single {
  grid-template-columns: 1fr;
}

.product-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  color: var(--text-soft);
}

.product-purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.product-media-stack,
.product-buy-panel {
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface-raised) 94%, white 6%);
  box-shadow: var(--shadow-soft);
}

.product-media-stack {
  padding: 1.2rem;
}

.product-main-figure,
.product-gallery-thumb {
  margin: 0;
  overflow: hidden;
}

.product-main-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 4.8;
  padding: 1.4rem;
  background: #fff;
}

.product-main-figure-link {
  text-decoration: none;
}

.product-main-figure img,
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.product-gallery-thumb {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 0.9rem;
  background: #fff;
  transition:
    border-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.product-gallery-thumb[aria-pressed='true'] {
  border-color: var(--cor-botao);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cor-botao) 42%, transparent);
}

.product-gallery-thumb:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.product-buy-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.product-buy-summary h2,
.offer-list-head h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.04em;
}

.product-buy-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.product-buy-stats div {
  padding: 0.9rem 0.95rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.product-buy-stats dt {
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-list-content small {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.product-buy-stats dd {
  margin: 0.35rem 0 0;
  font-size: 1.52rem;
  line-height: 1.05;
  font-weight: 800;
}

.product-buy-stats div:nth-child(2) dd,
.product-buy-stats div:nth-child(3) dd,
.product-buy-stats div:nth-child(4) dd {
  font-size: 1.16rem;
}

.product-buy-stats div:first-child dd {
  color: #0f9f55;
}

.offer-list-wrap {
  display: grid;
  gap: 0.8rem;
}

.offer-list-head {
  display: grid;
  gap: 0.2rem;
}

.offer-list-head p,
.offer-list-content p {
  margin: 0;
  color: var(--text-soft);
}

.offer-list {
  display: grid;
  gap: 0.8rem;
}

.offer-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  background: #fff;
}

.offer-list-item-featured {
  border-color: color-mix(in srgb, var(--cor-botao) 28%, var(--line-strong));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cor-botao) 12%, transparent);
}

.offer-list-brand,
.offer-list-side {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.offer-list-brand {
  min-width: 0;
  flex: 1;
}

.offer-list-logo-box {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.offer-list-logo {
  width: 100%;
  height: 100%;
}

.offer-list-content {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.offer-list-storeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.offer-list-storeline strong {
  font-size: 1.18rem;
  line-height: 1;
}

.offer-best-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.16rem 0.5rem;
  border: 1px solid color-mix(in srgb, #0f9f55 28%, transparent);
  color: #0f9f55;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, #0f9f55 8%, white 92%);
}

.offer-list-content p {
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-list-side {
  flex: 0 0 auto;
}

.offer-list-price {
  display: block;
  min-width: 8.5rem;
  color: var(--cor-botao);
  font-size: 1.95rem;
  line-height: 1;
  text-align: right;
}

.offer-list-side .button {
  min-width: 10.75rem;
}

.product-media-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spec-item {
  padding: 1rem;
}

.spec-item dt {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}

.spec-item dd {
  margin: 0.45rem 0 0;
  font-weight: 700;
  font-size: 1rem;
}

.prose {
  max-width: 74ch;
}

.prose p:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.2rem;
}

.history-table-wrap {
  overflow-x: auto;
}

.comment-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comment-card {
  padding: 1rem;
}

.comment-card header strong {
  display: block;
}

.comment-side {
  text-align: right;
  color: var(--text-soft);
}

.section-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-dual article {
  padding: 1.1rem;
  background: color-mix(in srgb, var(--surface-raised) 90%, white 10%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 1.35rem;
  background: color-mix(in srgb, var(--surface-raised) 92%, white 8%);
  box-shadow: var(--shadow-soft);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-soft);
}

@media (max-width: 1160px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 156px;
  }

  .hero,
  .product-hero,
  .product-purchase-grid,
  .product-media-grid,
  .section-dual,
  .footer-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .site-grid,
  .comment-list,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .hero-copy,
  .product-hero-copy {
    padding-right: 0;
  }

  .product-main-figure {
    aspect-ratio: 4 / 4.6;
  }

  .product-buy-panel {
    position: static;
    top: auto;
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-media {
    aspect-ratio: 4 / 3.25;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 126px;
  }

  .page-shell,
  .topbar,
  .main-nav,
  .site-footer {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
  }

  .header-tools {
    width: auto;
    justify-content: flex-end;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.16rem;
  }

  .brand span {
    max-width: 42vw;
    font-size: 0.68rem;
  }

  .host-tag {
    max-width: 32vw;
    padding: 0.68rem 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    gap: 0.45rem;
    padding: 0.6rem 0 0.9rem;
  }

  .main-nav a {
    padding: 0.68rem 0.9rem;
  }

  .hero h1,
  .product-hero h1,
  .static-hero h1 {
    max-width: none;
  }

  .offer-card-head,
  .offer-list-item,
  .offer-list-side,
  .product-card-bottom,
  .comment-card header {
    flex-direction: column;
    align-items: start;
  }

  .offer-list-price {
    min-width: auto;
    text-align: left;
  }

  .offer-list-side .button {
    min-width: 0;
    width: 100%;
  }

  .product-buy-stats {
    grid-template-columns: 1fr;
  }

  .product-thumb-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-price-block,
  .comment-side {
    text-align: left;
  }

  .offer-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    aspect-ratio: 4 / 3.45;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 118px;
  }

  .host-tag {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand span {
    max-width: 52vw;
  }
}
