/* Vazir v30.1.0, served locally so the store depends on no outside server. See fonts/LICENSE. */
@font-face { font-family: 'Vazir'; src: url('fonts/Vazir-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazir'; src: url('fonts/Vazir-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazir'; src: url('fonts/Vazir-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazir'; src: url('fonts/Vazir-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--ink); font-family: 'Vazir', Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
h1, h2, h3 { line-height: 1.45; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.05rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-weight: 900; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.search { order: 3; flex: 1 1 100%; }
.search input { display: block; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); font: inherit; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-inline-start: auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.cart-link:hover { border-color: var(--accent); }
.cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 900; }
@media (min-width: 48rem) { .search { order: 0; flex: 1 1 18rem; max-width: 26rem; margin-inline-start: 16px; } }

/* Dark hero, the signature of this theme */
.hero-dark { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 110px) 0 0; background: radial-gradient(120% 90% at 85% 110%, var(--hero-3) 0%, transparent 55%), linear-gradient(160deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%); color: #fff; }
.hero-dark-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 75%); pointer-events: none; }
.hero-dark-glow { position: absolute; width: 520px; height: 520px; inset-inline-start: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, var(--hero-glow), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-dark-inner { position: relative; z-index: 1; }
.hero-dark-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-pill { display: inline-block; margin-bottom: 22px; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--hero-pill); font-size: 13px; font-weight: 700; }
.hero-dark h1 { margin: 0 auto 18px; color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.35; letter-spacing: -.02em; }
.hero-dark h1 span { color: var(--hero-accent); }
.hero-dark-lead { max-width: 620px; margin: 0 auto 30px; color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.95; }
.hero-dark-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 12px; margin: clamp(36px, 7vw, 64px) 0 0; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.hero-stats div { margin: 0; }
.hero-stats dt { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; }
.hero-stats dd { margin: 4px 0 0; color: rgba(255, 255, 255, .62); font-size: 13px; }

/* Buttons */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 20px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
button:hover, .button:hover { transform: translateY(-2px); background: var(--accent-strong); border-color: var(--accent-strong); }
button.quiet, .button.quiet { border-color: var(--line); background: transparent; color: var(--ink); box-shadow: none; }
button.quiet:hover, .button.quiet:hover { border-color: var(--accent); background: transparent; }
.button-outline-light { border-color: rgba(255, 255, 255, .32); background: transparent; color: #fff; box-shadow: none; }
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
button.wide, .button.wide { display: flex; width: 100%; }
form { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, .button, .product-card, .product-card img { transition: none !important; }
  button:hover, .button:hover, .product-card:hover { transform: none !important; }
}

/* Sections */
.page { padding-block: clamp(24px, 5vw, 44px); }
.page:not(:has(> *)) { padding-block: 0; }
.section-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.section-pill { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 800; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.page-title { margin: 0 0 16px; font-size: clamp(20px, 3vw, 28px); font-weight: 900; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .92rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--accent); }
.chip[aria-current] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 18px; }
@media (max-width: 30rem) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 46px color-mix(in srgb, var(--ink) 12%, transparent); }
.product-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.product-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent-text); font-size: 2.4rem; font-weight: 900; }
.product-badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 3px 11px; border-radius: 999px; background: rgba(18, 16, 11, .78); color: #fff; font-size: 11.5px; font-weight: 800; backdrop-filter: blur(4px); }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.product-name { font-size: .98rem; font-weight: 700; line-height: 1.6; }
.product-price { margin-top: auto; color: var(--accent-text); font-weight: 900; }
.out { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* Product page */
.product-page { display: grid; gap: clamp(20px, 4vw, 44px); }
@media (min-width: 48rem) { .product-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.product-gallery { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); aspect-ratio: 1; }
.product-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-page h1 { margin: 0 0 10px; font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; }
.price-big { margin: 0 0 16px; color: var(--accent-text); font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.prose { white-space: pre-line; color: var(--muted); }
.breakdown { width: 100%; margin-bottom: 18px; padding: 0; border-collapse: collapse; font-size: .9rem; }
.breakdown caption { margin-bottom: 6px; color: var(--muted); font-size: .85rem; text-align: right; }
.breakdown th, .breakdown td { padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.breakdown th { color: var(--muted); text-align: right; }
.breakdown td { text-align: left; font-weight: 500; }
.buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }

/* Cards, forms */
.card { margin-bottom: 16px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.card h2 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }
.card h3 { margin: 16px 0 6px; font-size: 1rem; font-weight: 800; }
.muted { margin: 0; color: var(--muted); font-size: .92rem; }
.bad { color: var(--bad); }
.flash { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.flash.ok { border-color: var(--accent); background: var(--ok-soft); }
.flash.warn { background: var(--warn-soft); }
label { display: block; margin-bottom: 12px; color: var(--muted); font-size: .92rem; }
input, textarea, select { display: block; width: 100%; margin-top: 4px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; }
select option { background: var(--card); color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input.qty { width: 5.5rem; margin: 0; text-align: center; }

/* Cart */
.line { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-thumb { display: grid; place-items: center; width: 4.5rem; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--surface); color: var(--accent-text); font-weight: 900; }
.line-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.total { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 1.06rem; font-weight: 900; }

/* Payment */
.pay-item { padding-block: 14px; border-bottom: 1px solid var(--line); }
.pay-item:last-child { border-bottom: 0; padding-bottom: 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.copy-value { direction: ltr; unicode-bidi: isolate; font-family: Consolas, monospace; font-size: .95rem; word-break: break-all; user-select: all; }
.methods { display: flex; flex-wrap: wrap; gap: 10px; }

/* Payment board: one box open at a time */
.pay-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 10px; margin-top: 12px; }
.pay-tile { border: 1px solid var(--line); border-radius: 16px; background: var(--page); transition: border-color .18s, background .18s; }
.pay-tile:hover { border-color: var(--accent); }
.pay-tile[open] { grid-column: 1 / -1; border-color: var(--accent); background: var(--card); }
.pay-tile summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 14px 10px; border-radius: 16px; font-weight: 800; text-align: center; cursor: pointer; list-style: none; }
.pay-tile summary::-webkit-details-marker { display: none; }
.pay-tile summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-tile[open] summary { flex-direction: row; justify-content: flex-start; min-height: 0; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.pay-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.pay-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.pay-title { font-size: .95rem; line-height: 1.5; }
.pay-panel { padding: 14px; }
.pay-panel .pay-item:first-child { padding-top: 0; }
.gateway-button img { display: block; width: 28px; height: 28px; object-fit: contain; border-radius: 6px; background: #fff; }
.receipt-form { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.receipt-form h3 { margin-top: 0; }

/* Options, gallery and video on the product page */
.options { margin: 0 0 16px; padding: 0; border: 0; }
.options legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: .92rem; }
.option { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option input { width: auto; margin: 0; accent-color: var(--accent); }
.option-label { font-weight: 700; }
.option-price { margin-inline-start: auto; color: var(--accent-text); font-weight: 800; white-space: nowrap; }
.option.is-out { opacity: .55; cursor: not-allowed; }
.option.is-out .option-price { color: var(--muted); font-weight: 500; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumb { min-height: 0; width: 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.gallery-thumb:hover { transform: none; border-color: var(--accent); background: var(--surface); }
.gallery-thumb[aria-current] { border-color: var(--accent); }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-videos { margin-top: 32px; }
.product-videos h2 { margin: 0 0 12px; font-size: 1.08rem; font-weight: 800; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 14px; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Search suggestions */
.search { position: relative; }
.search-results { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); max-height: 70vh; overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent); }
.search-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: 10px; text-decoration: none; }
.search-item:hover, .search-item[aria-selected="true"] { background: var(--accent-soft); }
.search-thumb { display: grid; flex-shrink: 0; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 8px; background: var(--surface); color: var(--accent-text); font-weight: 900; }
.search-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-text { display: flex; min-width: 0; flex-direction: column; }
.search-name { overflow: hidden; font-size: .92rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.search-price { color: var(--muted); font-size: .82rem; }
.search-label { padding: 6px 8px 2px; color: var(--muted); font-size: .8rem; }
.search-empty { padding: 12px 8px; color: var(--muted); font-size: .9rem; }
.brand-logo { display: block; width: 38px; height: 38px; object-fit: contain; border-radius: 9px; }

/* Pagination and footer */
.pages { display: flex; justify-content: space-between; gap: 12px; margin-block: 20px; }
.site-footer { margin-top: 32px; padding-block: 32px; border-top: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; gap: 12px; text-align: center; }
.footer-brand { color: var(--ink); font-weight: 900; font-size: 1rem; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-contact a { text-decoration: none; }

/* Site menu, social links and footer links */
.icon { flex-shrink: 0; }
.site-nav { order: 4; display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 2px 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 10px; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--surface); color: var(--ink); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; transition: border-color .18s, color .18s; }
.social-links a:hover { border-color: var(--accent); color: var(--accent-text); }
.social-links svg { display: block; }
.pages-at { color: var(--muted); font-size: .85rem; }
.pages { align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Weight on product cards, breadcrumbs, related products */
.product-weight { color: var(--muted); font-size: .85rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.related { margin-top: clamp(32px, 6vw, 56px); }
.related h2 { margin: 0 0 16px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; }
.category-description { margin: 0 0 20px; }

/* Pages */
.static-page { max-width: 780px; margin-inline: auto; }
.static-page-image { display: block; width: 100%; height: auto; margin-bottom: 20px; border-radius: 18px; }
.rich-text { line-height: 2; overflow-wrap: anywhere; }
.rich-text h1, .rich-text h2, .rich-text h3 { margin: 1.4em 0 .5em; font-weight: 900; }
.rich-text h1 { font-size: 1.5rem; }
.rich-text h2 { font-size: 1.25rem; }
.rich-text h3 { font-size: 1.08rem; }
.rich-text p, .rich-text ul, .rich-text ol { margin: 0 0 1em; }
.rich-text a { color: var(--accent-text); }
.rich-text img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.rich-text blockquote { margin: 0 0 1em; padding: 8px 16px; border-inline-start: 3px solid var(--accent); background: var(--surface); border-radius: 8px; }
.page-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 16px; margin-bottom: 32px; }
.page-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; transition: border-color .18s; }
.page-card:hover { border-color: var(--accent); }
.page-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.page-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }

/* Text aligned in the editor */
.rich-text .ql-align-center { text-align: center; }
.rich-text .ql-align-left { text-align: left; }
.rich-text .ql-align-right { text-align: right; }
.rich-text .ql-align-justify { text-align: justify; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 16px; margin-bottom: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; transition: border-color .18s; }
.post-card:hover { border-color: var(--accent); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.post-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px; }
.post-meta { margin-top: auto; color: var(--muted); font-size: .84rem; }

/* Contact and tickets */
.contact-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.contact-row { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.contact-row a { text-decoration: none; }
[data-contact-info] .social-links { justify-content: flex-start; margin-top: 12px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.ticket-message.from-staff { border-color: var(--accent); background: var(--accent-soft); }
.ticket-tracking.is-new { border-color: var(--accent); background: var(--ok-soft); }
.track-form { max-width: 28rem; }

/* Reveal on scroll. Without JavaScript everything stays visible. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Rate bar */
.rate-bar { background: var(--hero-1); color: #fff; font-size: .82rem; }
.rate-bar-inner { display: flex; align-items: center; gap: 8px 20px; min-height: 40px; padding-block: 6px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.rate-bar-inner::-webkit-scrollbar { display: none; }
.rate-bar-title { flex-shrink: 0; color: var(--hero-accent); font-weight: 800; }
.rate-bar-list { display: flex; flex-shrink: 0; gap: 20px; margin: 0; }
.rate-bar-list div { display: flex; gap: 6px; }
.rate-bar-list div + div { padding-inline-start: 20px; border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.rate-bar-list dt { color: rgba(255, 255, 255, .72); }
.rate-bar-list dd { margin: 0; font-weight: 800; }
.rate-bar-time { flex-shrink: 0; margin-inline-start: auto; color: rgba(255, 255, 255, .6); }

/* Home page sections made from pages */
.home-section { padding-block: clamp(36px, 7vw, 72px); }
.home-section h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.home-section-text { color: var(--muted); }
p.home-section-text { margin: 0 0 16px; line-height: 2; white-space: pre-line; }
.home-section-text.rich-text > :last-child { margin-bottom: 16px; }
.home-section-note { margin: 0 0 18px; color: var(--ink); font-weight: 700; }
.home-section-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent-text); font-weight: 800; text-decoration: none; }
.home-section-link:hover { text-decoration: underline; }
.home-section.is-text .home-section-copy { max-width: 720px; }
.home-section.is-image { background: var(--accent-soft); }
.home-section.is-image .home-section-inner { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.home-section-picture { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: var(--surface); }
.home-section.is-image .button.quiet { border-color: var(--ink); }
.home-section.is-image .button.quiet:hover { border-color: var(--accent-strong); color: var(--accent-text); }
@media (min-width: 48rem) {
  .home-section.is-image .home-section-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-section.is-image.is-flipped .home-section-copy { order: 2; }
}

/* Feature strip */
.feature-strip { padding-block: clamp(20px, 4vw, 32px); border-block: 1px solid var(--line); background: var(--card); }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 22px 14px; margin-block: 0; padding: 0; list-style: none; text-align: center; }
.feature-list li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.feature-list strong { font-size: .95rem; font-weight: 800; }
.feature-list .muted { font-size: .84rem; line-height: 1.7; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }

/* Footer */
main:has(> .feature-strip:last-child) + .site-footer, main:has(> .home-section:last-child) + .site-footer { margin-top: 0; }
.site-footer { padding-block: clamp(32px, 6vw, 56px) 20px; border-top: 0; background: var(--hero-1); color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 28px 24px; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(9rem, 1fr)); } .footer-about { grid-column: auto; } }
.footer-brand { margin-bottom: 8px; color: #fff; font-size: 1.15rem; font-weight: 900; }
.footer-about p { margin: 0 0 8px; line-height: 1.9; }
.footer-line { display: flex; align-items: flex-start; gap: 8px; }
.footer-line .icon { margin-top: 4px; color: var(--hero-accent); }
.footer-line a { text-decoration: none; }
.footer-line a:hover { color: #fff; text-decoration: underline; }
.site-footer .social-links { justify-content: flex-start; margin-top: 14px; }
.site-footer .social-links a { border-color: rgba(255, 255, 255, .22); color: #fff; }
.site-footer .social-links a:hover { border-color: var(--hero-accent); color: var(--hero-accent); }
.footer-column h2 { margin: 0 0 10px; color: #fff; font-size: .98rem; font-weight: 800; }
.footer-column ul { display: block; margin: 0; padding: 0; list-style: none; }
.footer-column a { display: inline-flex; align-items: center; min-height: 34px; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-badges li { padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; color: #fff; }
