:root {
  color-scheme: dark;
  scrollbar-gutter: stable;
  --background: #0b0e0f;
  --surface: #161b1d;
  --bar: #101416;
  --edge: #2b3336;
  --ink: #fff;
  --muted: #9ca3af;
  --accent: #00ff85;
  --accent-soft: #152d24;
  --danger: #ffc2b4;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  accent-color: var(--accent);
}

* { box-sizing: border-box; }
body { margin: 0; display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 100vh; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .24em; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--background); }
input { caret-color: var(--accent); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 3; padding: 12px; background: var(--background); }
.sidebar { border-right: 1px solid var(--edge); padding: 21px 14px; background: var(--bar); }
.mobile-account, .mobile-help, .filter-toggle { display: none; }
.brand { display: flex; align-items: center; width: max-content; padding: 0 6px; }
.brand-logo { display: flex; align-items: center; justify-content: center; width: 116px; height: 34px; overflow: hidden; mix-blend-mode: screen; }
.brand-logo img { display: block; flex: none; width: 154px; height: auto; }
.nav-link svg { width: 21px; height: 21px; flex: 0 0 auto; }
.sidebar nav { margin-top: 28px; display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 9px; border-radius: 5px; font-size: 14px; color: var(--muted); font-weight: 550; text-decoration: none; }
.nav-link svg { stroke: currentColor; stroke-width: 1.6; }
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); }
.topbar { min-height: 56px; border-bottom: 1px solid var(--edge); padding: 0 clamp(20px, 3vw, 44px); display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.balance span { color: var(--muted); font-size: 14px; }
.balance { display: flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; font-variant-numeric: tabular-nums; }
.balance:hover strong { color: var(--accent); }
.main { max-width: 1700px; padding: 34px clamp(20px, 3vw, 44px) 60px; margin: 0 auto; }
.page-head { margin-bottom: 20px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(27px, 3vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
h2 { font-size: 18px; font-weight: 650; }
.muted { color: var(--muted); line-height: 1.55; }
.filter-panel { border-block: 1px solid var(--edge); }
.filters { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .85fr); gap: 12px; align-items: end; padding: 14px 0; max-width: 880px; }
.filters noscript { grid-column: 1 / -1; }
label, legend { color: var(--muted); font-size: 14px; font-weight: 550; }
label { display: grid; gap: 6px; min-width: 0; }
input, select { display: block; min-width: 0; width: 100%; height: 44px; padding: 0 10px; background: var(--bar); border: 1px solid var(--edge); border-radius: 6px; color: var(--ink); font-size: 16px; }
input::placeholder { color: var(--muted); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0; border: 0; margin: 0; min-width: 0; }
.range legend { padding: 0; margin: 0 0 6px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: 650; text-decoration: none; text-align: center; cursor: pointer; }
.primary { background: var(--accent); color: var(--background); }
.primary:hover { background: #63ffb1; }
.quiet { background: transparent; color: var(--ink); border-color: var(--edge); }
.quiet:hover { background: var(--bar); border-color: var(--muted); }
.result-count { margin: 16px 0 14px; font-size: 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.product-card { display: flex; min-width: 0; }
.product-card-link { display: flex; flex-direction: column; flex: 1; min-width: 0; border-bottom: 1px solid var(--edge); text-decoration: none; }
.cover { display: grid; position: relative; aspect-ratio: 16 / 9; place-items: center; background: #1b2426; overflow: hidden; }
.product-card .cover { border-radius: 7px; }
.cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cover svg { width: 47px; height: 47px; color: #829c93; }
.stock { position: absolute; top: 8px; right: 8px; padding: 5px 8px; background: var(--background); color: var(--ink); font-size: 12px; font-weight: 650; border-radius: 5px; font-variant-numeric: tabular-nums; }
.stock.soldout { color: var(--danger); }
.product-body { padding: 11px 0 2px; display: flex; flex-direction: column; flex: 1; }
.category-name { margin: 0 0 6px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.product-body h2 { font-size: 16px; margin-bottom: 8px; line-height: 1.32; font-weight: 650; overflow-wrap: anywhere; }
.price { font-weight: 650; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; color: var(--ink); }
.product-footer { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.product-footer .price { font-size: 19px; }
.row-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; text-decoration: none; }
.row-link::after, .section-links a::after, .help-sections summary::after { content: ''; flex: 0 0 auto; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); color: var(--muted); }
.product-card-link:is(:hover, :focus-visible) .row-link, .section-links a:hover { color: var(--accent); }
.product-card-link:is(:hover, :focus-visible) .row-link::after, .section-links a:hover::after { color: currentColor; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted); }
.empty { max-width: 600px; margin: 18px 0 0; padding-block: 18px; border-top: 1px solid var(--edge); }
.main > .empty { margin-inline: auto; }
.empty > * + * { margin-top: 12px; }
.alert { border: 1px solid #65433d; background: #2c211e; color: var(--danger); border-radius: 8px; padding: 12px; margin: 16px 0; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.detail, .orders { margin-inline: auto; }
.detail { max-width: 1040px; }
.detail-grid { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(18px, 4vw, 44px); }
.detail-grid .cover { border-radius: 8px; }
.detail-copy > * + * { margin-top: 10px; }
.detail-copy .price { margin-top: 13px; font-size: 28px; }
.detail-copy h2 { margin-top: 21px; }
.detail-copy h2:not(.product-dialog-title) { padding-top: 13px; border-top: 1px solid var(--edge); }
.product-dialog { width: min(940px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--surface); border: 0; border-radius: 12px; box-shadow: 0 16px 44px rgb(0 0 0 / 44%); overscroll-behavior: contain; }
.product-dialog:focus { outline: none; }
.product-dialog::backdrop { background: rgb(4 6 7 / 76%); }
body:has(.product-dialog[open]) { overflow: hidden; }
.product-dialog-controls { position: sticky; top: 10px; z-index: 1; width: max-content; margin: 10px 12px 0 auto; }
.product-dialog-close { width: 44px; min-width: 44px; padding: 0; color: var(--muted); background: var(--bar); }
.product-dialog-close:hover { color: var(--ink); border-color: var(--edge); }
.product-dialog .detail-grid { margin: 0; padding: 2px clamp(16px, 3vw, 26px) clamp(16px, 3vw, 26px); }
.product-dialog .product-dialog-title { font-size: clamp(23px, 3vw, 34px); line-height: 1.18; letter-spacing: -.025em; margin-top: 8px; overflow-wrap: anywhere; }
.product-dialog-message { padding: 24px; color: var(--muted); }
.product-dialog-message a { display: inline-block; color: var(--accent); }
.description { white-space: pre-line; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.description b, .description strong { color: var(--ink); }
.description a { color: var(--accent); }
.description blockquote { margin: 0; padding: 8px 12px; border-inline-start: 1px solid var(--accent); background: var(--bar); border-radius: 0 6px 6px 0; }
.description code { padding: .1em .3em; border-radius: 4px; background: var(--bar); color: var(--ink); }
.description pre { margin: 0; padding: 8px 12px; border-radius: 6px; background: var(--bar); color: var(--ink); white-space: pre-wrap; }
.description pre code { padding: 0; }
.description-spoiler { border-radius: 3px; background: var(--edge); color: transparent; }
.description-spoiler:hover, .description-spoiler:focus-within { color: var(--muted); }
.auth-panel { max-width: 490px; margin: clamp(4px, 3vh, 32px) auto 0; }
.auth-panel.checkout { max-width: 560px; }
.auth-panel > p, .auth-panel > form { margin-top: 16px; }
.auth-panel > .auth-form:first-of-type { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--edge); }
.auth-alternative { border-top: 1px solid var(--edge); padding-top: 12px; }
.auth-panel > .auth-alternative { margin-top: 16px; }
.auth-alternative.order-actions { column-gap: 20px; }
.auth-form { display: grid; gap: 12px; }
.wide { width: 100%; }
.mode-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.sign-in {
  max-width: 440px;
  margin-top: clamp(20px, 10vh, 88px);
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--surface);
}
.sign-in h1 { font-size: 1.875rem; }
.sign-in > .sign-in-intro { margin-top: 10px; max-width: 34ch; }
.sign-in-methods { display: grid; gap: 20px; margin-top: 26px; }
.sign-in-methods form + form { padding-top: 20px; border-top: 1px solid var(--edge); }
.sign-in-methods .button { min-height: 48px; font-size: 1rem; }
.sign-in-methods .primary:active { background: #00d970; }
.account { max-width: 960px; margin-inline: auto; padding-top: clamp(0px, 2vw, 20px); }
.account dl, .account dd { margin: 0; }
.account dt { color: var(--muted); }
.account dd { overflow-wrap: anywhere; }
.account-wallet { margin-top: 24px; padding: clamp(16px, 3vw, 26px); background: var(--surface); border: 1px solid var(--edge); border-radius: 12px; }
.account-wallet-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.account-wallet-heading h2 { color: var(--muted); font-size: 14px; font-weight: 500; }
.account-balance { margin-top: 3px; font-size: clamp(26px, 4vw, 38px); font-weight: 650; line-height: 1.16; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account .account-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--edge); }
.account-totals div { display: flex; flex-direction: column; justify-content: space-between; gap: 3px; }
.account-totals dt { font-size: 13px; }
.account-totals dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.account-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 64px); margin-top: 30px; }
.account-information { display: grid; gap: 24px; }
.account-section { padding-top: 13px; border-top: 1px solid var(--edge); }
.account-section h2 { font-size: 17px; font-weight: 650; }
.account .account-identities { display: grid; gap: 10px; margin-top: 12px; }
.account-identities div { display: grid; grid-template-columns: minmax(130px, .65fr) minmax(0, 1fr); gap: 4px 12px; align-items: baseline; font-size: 14px; }
.account-link-form { max-width: 360px; margin-top: 14px; }
.account-link-form .button { justify-self: start; }
.account-invited { margin-top: 6px; font-size: 14px; }
.account-invited strong { color: var(--ink); }
.account-referral { display: flex; align-items: end; gap: 10px; margin-top: 12px; }
.account-referral label { flex: 1; font-weight: 500; }
.account-referral input { font-size: 14px; background: var(--bar); border-radius: 6px; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; }
.text-action:hover { color: var(--ink); }
.account-copy { flex: 0 0 auto; color: var(--ink); }
.account-copy[hidden] { display: none; }
.account-copy-status { font-size: 13px; }
.account-copy-status:not(:empty) { margin-top: 8px; }
.section-links ul { margin: 7px 0 0; padding: 0; list-style: none; }
.section-links li + li { border-top: 1px solid var(--edge); }
.section-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 6px 6px 0; font-weight: 550; text-decoration: none; }
.account-notice h2 { font-size: 16px; }
.account-notice { display: grid; gap: 5px; padding-block: 14px; overflow-wrap: anywhere; }
.account-notice a { color: var(--ink); }
.purchase-form { margin-top: 22px; display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.purchase-form label { width: 110px; }
.checkout p { line-height: 1.5; overflow-wrap: anywhere; }
.receipt { margin: 18px 0; }
.receipt div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 9px 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-variant-numeric: tabular-nums; }
.receipt-total { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.order-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; margin: 16px 0 0; }
.order-summary div { display: grid; gap: 3px; padding: 0; font-size: 14px; overflow-wrap: anywhere; }
.order-summary .receipt-total { border: 0; }
.order-summary .price { font-size: 18px; }
.orders { max-width: 960px; }
.order-list { padding: 0; margin: 18px 0 0; list-style: none; border-block: 1px solid var(--edge); }
.order-list li + li { border-top: 1px solid var(--edge); }
.order-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content) auto; align-items: center; gap: 14px; min-height: 64px; padding: 13px 8px 13px 0; text-decoration: none; }
.order-link:hover { background: var(--bar); }
.order-link strong { display: block; overflow-wrap: anywhere; }
.order-meta { display: block; font-size: 13px; margin-bottom: 4px; }
.order-amount { text-align: right; display: grid; gap: 4px; }
.order-state { color: var(--muted); font-size: 13px; }
.order-state.issued { color: var(--accent); }
.order-arrow { color: var(--muted); }
.order-panel { margin-top: 20px; padding-block: 16px; border-top: 1px solid var(--edge); }
.order-panel > p, .order-panel > .description { margin-top: 8px; }
.help-content { max-width: 68ch; }
.help-content > .description { margin-top: 0; }
.help-sections { margin-top: 20px; border-block: 1px solid var(--edge); }
.help-sections details + details { border-top: 1px solid var(--edge); }
.help-sections summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding-right: 6px; font-weight: 550; cursor: pointer; }
.help-sections summary::-webkit-details-marker { display: none; }
.help-sections summary::after { transform: translateY(-2px) rotate(135deg); }
.help-sections details[open] > summary::after { transform: translateY(2px) rotate(-45deg); }
.help-sections summary:hover { color: var(--accent); }
.help-section-body { padding: 0 0 16px; }
.order-panel .auth-form { margin-top: 16px; }
.order-panel textarea { resize: vertical; width: 100%; background: var(--bar); border: 1px solid var(--edge); color: var(--ink); border-radius: 6px; padding: 10px; }
.order-heading, .order-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.order-heading h2 { overflow-wrap: anywhere; max-width: 100%; }
.order-notice { background: var(--accent-soft); color: var(--accent); padding: 12px; border-radius: 8px; margin-top: 14px; }
.order-progress { margin-top: 16px; }
.delivery-content { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; border-radius: 8px; background: var(--background); line-height: 1.6; }
.issued-data { margin-block: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; }
.issued-data-label { margin: 0; color: var(--accent); font-size: .875rem; font-weight: 600; }
.issued-data .delivery-content { margin: 5px 0 0; padding: 0; background: transparent; }
.rental-row { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--edge); }
.rental-row h3 { margin: 0 0 8px; }
.order-actions { justify-content: start; }
.ticket-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ticket-preview { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-form { display: grid; gap: 14px; }
.ticket-form [hidden] { display: none; }
.ticket-form .button { justify-self: start; }
.ticket-form .alert { margin: 0; }
.ticket-form input[type="file"] { height: auto; min-height: 44px; padding: 8px; overflow-wrap: anywhere; }
.ticket-form input::file-selector-button { font: inherit; font-size: 14px; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--edge); border-radius: 6px; padding: 6px 8px; margin-right: 8px; cursor: pointer; }
.ticket-stream { padding: 0; margin: 18px 0 16px; list-style: none; }
.ticket-bubble { padding-block: 15px; border-top: 1px solid var(--edge); }
.ticket-bubble:not(.ticket-own) .ticket-meta strong { color: var(--accent); }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.ticket-meta strong { color: var(--ink); }
.ticket-text { max-width: 68ch; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-files { margin: 10px 0 0; padding-left: 18px; overflow-wrap: anywhere; }
.ticket-close { margin-top: 14px; }
.topup-note { margin-top: 8px; }
.payment-methods { border: 0; min-width: 0; padding: 0; margin: 0; }
.payment-methods legend { padding: 0; margin-bottom: 8px; }
.payment-option { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 6px; color: var(--ink); border-bottom: 1px solid var(--edge); cursor: pointer; }
.payment-option:has(:checked), .payment-option:not(.unavailable):hover { background: var(--bar); }
.payment-option:has(:checked) strong { color: var(--accent); }
.payment-option.unavailable { cursor: default; color: var(--muted); }
.payment-option input { width: 16px; height: 16px; flex: 0 0 auto; }
.payment-option span span { display: block; margin-top: 2px; font-size: 13px; }
.topup-form { display: grid; align-items: start; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px clamp(18px, 4vw, 46px); }
.topup-form > .alert { grid-column: 1 / -1; margin: 0; }
.topup-inputs { display: grid; gap: 12px; justify-items: start; padding-top: 2px; }
.topup-inputs .mode-note { max-width: 34ch; }
.topup-amount { width: 100%; max-width: 240px; }
.topup-history { margin-top: 26px; }
.payment-reference { overflow-wrap: anywhere; }

@media (min-width: 1650px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1800px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 970px) {
  body { grid-template-columns: 160px minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { display: block; }
  .sidebar { border: 0; border-bottom: 1px solid var(--edge); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; padding: 6px 12px 0; }
  .brand { min-height: 44px; }
  .brand-logo { width: 98px; }
  .brand-logo img { width: 130px; }
  .mobile-account { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; min-height: 44px; }
  .sidebar nav { display: flex; flex-wrap: wrap; width: 100%; margin-top: 0; gap: 0; }
  .sidebar .nav-link { flex: 1 0 auto; justify-content: center; padding-inline: 6px; border-radius: 0; border-bottom: 1px solid transparent; font-size: 13px; }
  .sidebar .nav-link.active { background: transparent; border-color: var(--accent); }
  .sidebar .nav-link svg, .sidebar .nav-help, .sidebar .guest-nav, .topbar { display: none; }
  .mobile-help { display: block; padding: 0 20px 24px; color: var(--muted); }
  .mobile-help a { display: inline-flex; min-height: 44px; align-items: center; }
  .main { padding: 22px 14px 40px; }
  .sign-in { margin-top: 12px; }
  .filter-toggle { display: list-item; min-height: 44px; padding: 11px 0; font-weight: 600; cursor: pointer; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 4px; }
  .filters .range { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .topup-form { grid-template-columns: minmax(0, 1fr); }
  .order-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .account-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .grid { gap: 20px 12px; }
  .product-body h2 { font-size: 14px; }
  .product-footer .row-link { font-size: 13px; }
  .product-footer { flex-direction: column; align-items: flex-start; }
  .stock { top: 5px; right: 5px; max-width: calc(100% - 10px); }
  .cover svg { width: 35px; height: 35px; }
  .account-wallet { margin-top: 16px; }
  .account-columns { margin-top: 22px; }
  .account-identities div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 345px) { .grid { grid-template-columns: 1fr; } }

@media (forced-colors: active) { .brand-logo { mix-blend-mode: normal; } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  :root { view-transition-name: none; }
  .main { view-transition-name: storefront-content; }

  ::view-transition { pointer-events: none; }
  ::view-transition-group(storefront-content) { animation: none; }
  ::view-transition-old(storefront-content) { animation: storefront-out 110ms ease-out both; }
  ::view-transition-new(storefront-content) { animation: storefront-in 180ms ease-out both; }
  .catalog-updated { animation: storefront-in 180ms ease-out both; }
  .product-dialog[open] { animation: storefront-in 160ms ease-out both; }
}

@keyframes storefront-out {
  to { opacity: 0; }
}

@keyframes storefront-in {
  from { opacity: 0; }
}

@supports selector(::details-content) and (interpolate-size: allow-keywords) {
  @media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
    .filter-panel { interpolate-size: allow-keywords; }
    .filter-panel::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 180ms ease-out, opacity 150ms ease-out, content-visibility 180ms allow-discrete;
    }
    .filter-panel[open]::details-content { block-size: auto; opacity: 1; }
  }
}
