﻿.xc-page {
  --xc-ink: #232321;
  --xc-muted: #605d56;
  --xc-line: #d4d1c8;
  --xc-accent: #b64027;
  color: var(--xc-ink);
  width: min(90%, 1320px);
  margin: 0 auto;
  padding-block: clamp(44px, 6vw, 92px) clamp(64px, 8vw, 116px);
}
.xc-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.xc-intro h1 { margin: 0; font-size: clamp(3.15rem, 7.5vw, 7.6rem); font-weight: 620; letter-spacing: -.075em; line-height: .98; }
.xc-intro h1 span { color: var(--xc-accent); }
.xc-intro p { color: var(--xc-muted); margin: 0 0 .25em; max-width: 320px; font-size: clamp(.95rem, 1.3vw, 1.125rem); line-height: 1.45; }
.xc-tools { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; border-bottom: 1px solid var(--xc-line); margin-block: clamp(36px, 4.7vw, 68px) 25px; }
.xc-page button { font-family: inherit; cursor: pointer; }
.xc-filters { display: flex; gap: 22px; align-items: stretch; }
.xc-filter { display: inline-flex; gap: 6px; align-items: center; position: relative; background: transparent; border: 0; border-radius: 0; padding: 11px 0 15px; color: var(--xc-muted); font-size: .96rem; }
.xc-filter[aria-pressed=true] { color: var(--xc-ink); font-weight: 650; background: transparent; }
.xc-filter[aria-pressed=true]::after { position: absolute; content: ""; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--xc-accent); }
.xc-filter span { align-self: flex-start; margin-top: 1px; font-size: .74rem; font-variant-numeric: tabular-nums; }
.xc-search { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--xc-muted); padding: 6px 12px; margin-bottom: 9px; border: 1px solid var(--xc-line); border-radius: 6px; }
.xc-search:focus-within { outline: 2px solid var(--xc-accent); outline-offset: 2px; }
.xc-search input { width: min(180px, 23vw); min-width: 0; font: inherit; font-size: .9rem; border: 0; outline: 0; background: transparent; color: var(--xc-ink); }
.xc-search input::placeholder { color: var(--xc-muted); }
.xc-icon { display: inline-block; width: 1.14em; height: 1.14em; flex: none; }
.xc-product { display: grid; grid-template-columns: 1.2fr 1fr; background: #fffefa; padding: 0; border: 1px solid var(--xc-line); border-radius: 14px; overflow: hidden; max-width: none; }
.xc-illustration { display: grid; place-items: center; overflow: hidden; position: relative; background: #e9d0a3; padding: clamp(12px, 1.8vw, 32px); }
.xc-illustration img { display: block; width: 100%; height: auto; max-height: 400px; background: transparent; border-radius: 0; object-fit: contain; transition: transform .3s ease; }
.xc-product-copy { padding: clamp(24px, 3.6vw, 60px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.xc-product .xc-category { margin: 0; font-size: .71rem; line-height: 1.5; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; color: var(--xc-accent); }
.xc-product h2, .xc-empty h2 { margin: .18em 0 .24em; font-size: clamp(2.7rem, 4.3vw, 4.75rem); line-height: 1.03; font-weight: 600; letter-spacing: -.065em; }
.xc-product h2 a { color: inherit; text-decoration: none; }
.xc-product .xc-description { margin: 3px 0 16px; font-size: clamp(.95rem, 1.2vw, 1.075rem); line-height: 1.55; max-width: 32em; color: var(--xc-muted); }
.xc-platform { display: inline-flex; align-items: center; gap: 7px; color: var(--xc-muted); font-size: .8rem; }
.xc-platform svg { width: .95em; }
.xc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: clamp(25px, 3vw, 44px); }
.xc-view, .xc-save { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; min-height: 44px; }
.xc-view { border: 1px solid var(--xc-ink); background: var(--xc-ink); color: white; border-radius: 7px; padding: 11px 17px; }
.xc-view:hover { color: white; background: #424039; text-decoration: none; }
.xc-save { border: 0; border-radius: 4px; background: transparent; padding: 8px; color: var(--xc-muted); }
.xc-save:hover, .xc-save[aria-pressed=true] { color: var(--xc-accent); }
.xc-save[aria-pressed=true] svg { fill: currentColor; }
.xc-empty { padding: 55px 12px; text-align: center; border: 1px solid var(--xc-line); border-radius: 14px; }
.xc-empty > .xc-icon { width: 28px; height: 28px; color: var(--xc-accent); }
.xc-empty h2 { font-size: clamp(1.85rem, 3vw, 3rem); margin-top: 12px; }
.xc-empty p { max-width: none; font-size: 1rem; margin: 10px 0 24px; color: var(--xc-muted); }
.xc-page :is(button,a):focus-visible { outline: 2px solid var(--xc-accent); outline-offset: 3px; }
.xc-illustration:focus-visible { outline-offset: -4px !important; }
.xc-sr { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .xc-illustration:hover img { transform: scale(1.025); } }
@media (max-width: 720px) {
  .xc-intro { align-items: flex-start; flex-direction: column; gap: 16px; }
  .xc-intro p br { display: none; }
  .xc-product { grid-template-columns: 1fr; }
  .xc-illustration { aspect-ratio: 1.9; }
  .xc-illustration img { height: 100%; min-height: 0; }
  .xc-product-copy { padding: 26px; }
}
@media (max-width: 500px) {
  .xc-tools { flex-direction: column-reverse; gap: 6px; }
  .xc-search { min-height: 42px; }
  .xc-search input { width: 100%; }
  .xc-intro h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
}
