:root {
  --bg: #faf6ef;
  --surface: #fffdf9;
  --soft: #f2ebdf;
  --line: #e4d9c7;
  --text: #3d342b;
  --muted: #776a5c;
  --kraft: #9a7350;
  --kraft-dark: #7b5a3d;
  --sage: #a9b79c;
  --lavender: #c6b8d4;
  --rose: #e5c3bb;
  --sky: #bccfd6;
  --sand: #e8d4ad;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(61, 52, 43, .06), 0 6px 18px rgba(61, 52, 43, .06);
  --serif: Georgia, 'PT Serif', 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'PT Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--kraft-dark); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--kraft); outline-offset: 2px; }
.small { font-size: .875rem; color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 680px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--kraft); margin-bottom: .8em; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--kraft); border-radius: 999px; background: var(--kraft); color: #fff; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--kraft-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--kraft-dark); }
.btn-ghost:hover { background: var(--soft); color: var(--text); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.link { background: none; border: 0; padding: 0; color: var(--kraft-dark); text-decoration: underline; font: inherit; cursor: pointer; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 1.3rem var(--serif); color: var(--text); text-decoration: none; letter-spacing: .02em; }
.logo b { font-weight: 400; color: var(--kraft); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .more summary { padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.main-nav > a:hover, .more summary:hover, .main-nav [aria-current] { background: var(--soft); }
.more { position: relative; }
.more summary { list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ' ▾'; font-size: .75em; }
.more-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: grid; }
.more-menu a { padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.more-menu a:hover { background: var(--soft); }
.header-tools { display: flex; align-items: center; gap: 2px; }
.tool { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--text); background: none; border: 0; cursor: pointer; }
.tool:hover { background: var(--soft); }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--kraft); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.burger { display: none; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 2px 0; border-radius: 1px; }

@media (max-width: 1100px) {
  .burger { display: inline-grid; align-content: center; }
  .header-tools { margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav > a, .more summary { padding: 12px; border-radius: 10px; }
  .more summary { display: none; }
  .more-menu { position: static; display: grid; border: 0; box-shadow: none; padding: 0; background: none; min-width: 0; }
  .more-menu a { padding: 12px; }
  .logo span { font-size: 1.15rem; }
}

/* Секции */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0 64px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.page-head { padding: 36px 0 8px; }
.page-head h1 { margin-bottom: .35em; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Первый экран — компактный, без большого баннера */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 320px; justify-self: end; width: 100%; }
.hero-tile { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; color: var(--text); }
.hero-tile svg { width: 42%; height: auto; opacity: .8; }
.t1 { background: var(--rose); } .t2 { background: var(--sand); } .t3 { background: var(--sage); } .t4 { background: var(--lavender); }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { justify-self: start; max-width: 260px; grid-template-columns: repeat(4, 1fr); gap: 10px; } .hero-tile { border-radius: 14px; } }

/* Категории */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform .15s; }
.cat:hover { transform: translateY(-2px); color: var(--text); }
.cat svg { flex: none; width: 34px; height: 34px; opacity: .75; }
.tone-mug { background: #f3dcd5; } .tone-key { background: #e9dfc9; } .tone-wood { background: #ecdcc1; } .tone-car { background: #d9e3e6; } .tone-badge { background: #e4dcec; }
.tone-magnet { background: #f0e1d4; } .tone-shirt { background: #dde5d6; } .tone-leather { background: #e6d3c0; } .tone-glass { background: #dbe6ea; } .tone-frame { background: #eee3cc; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.features h3 { color: var(--kraft-dark); }
.features p { margin: 0; color: var(--muted); }

.occasions { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.occasions a, .tags li { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.occasions a:hover { border-color: var(--kraft); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--sand); color: var(--kraft-dark); font-family: var(--serif); }
.steps b { color: var(--text); font-weight: 500; }

/* Карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 18px; }
.products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.product-media { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--text); }
.product-media svg { opacity: .7; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--kraft); margin-bottom: 4px; }
.product-title { font-size: 1.1rem; margin-bottom: 8px; }
.product-desc { font-size: .92rem; color: var(--muted); flex: 1; }
.product-price { font-weight: 500; margin-bottom: 12px; }
.product-actions { display: flex; gap: 8px; align-items: center; }
.product-actions .btn { flex: 1; }
.fav { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--kraft-dark); display: grid; place-items: center; cursor: pointer; }
.fav[aria-pressed="true"] svg { fill: var(--rose); stroke: var(--kraft-dark); }
.product.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--kraft); } 100% { box-shadow: none; } }
.info-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 32px; }
.info-grid h3 { margin-bottom: .3em; }
.info-grid p { margin: 0; color: var(--muted); }
.posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post h2 { font-size: 1.35rem; } .post h2 a { color: var(--text); text-decoration: none; } .post time { font-size: .85rem; color: var(--muted); }

/* Каталог */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.catalog-search { grid-column: 1 / -1; }
.search-box { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.search-box:focus-within { border-color: var(--kraft); }
.search-box input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; font: inherit; color: var(--text); outline: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); display: flex; justify-content: space-between; gap: 12px; }
.suggest li small { color: var(--muted); }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--soft); }
.suggest mark { background: none; color: var(--kraft-dark); font-weight: 600; }
.search-hint { margin: 10px 4px 0; color: var(--muted); }
.filters { display: grid; gap: 18px; position: sticky; top: 88px; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend, fieldset legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.filters-actions { display: grid; gap: 8px; position: sticky; bottom: 0; background: var(--bg); padding: 8px 0; }
.filters-toggle { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--kraft); flex: none; }
.results-meta { color: var(--muted); margin-bottom: 14px; }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 860px) {
  .catalog { grid-template-columns: 1fr; gap: 16px; }
  .filters-toggle { display: inline-flex; justify-self: start; }
  .filters { display: none; position: static; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .filters.open { display: grid; }
}
.filters-count { background: var(--kraft); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .8rem; }

/* Корзина */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-thumb { width: 72px; height: 72px; border-radius: 10px; display: grid; place-items: center; }
.cart-thumb svg { width: 36px; height: 36px; opacity: .7; }
.cart-item h3 { font-size: 1.05rem; margin: 0 0 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--text); }
.qty span { min-width: 24px; text-align: center; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: .85rem; padding: 4px 0; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cart-item { grid-template-columns: 56px 1fr; } .cart-thumb { width: 56px; height: 56px; } .cart-item .qty { grid-column: 2; justify-self: start; } }

/* Формы */
form label:not(.check) { display: grid; gap: 6px; margin-bottom: 14px; font-size: .95rem; }
input:not([type=checkbox]):not([type=radio]), textarea, select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--text); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--kraft); box-shadow: 0 0 0 3px rgba(154, 115, 80, .15); }
form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
form h2 { font-size: 1.4rem; }
.order-form .btn, .two-col form .btn { width: 100%; margin: 6px 0 12px; }
.subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 180px; }
.two-col { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.contacts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; }
@media (max-width: 480px) { .contacts { grid-template-columns: 1fr; gap: 2px; } .contacts dd { margin-bottom: 10px; } }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--kraft); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; align-content: center; gap: 10px; color: var(--text); text-align: center; padding: 12px; }
.gallery-item svg { opacity: .65; }
.certificate { aspect-ratio: 1.75; max-width: 420px; border-radius: 18px; padding: 24px; margin-bottom: 24px; background: linear-gradient(135deg, var(--sand), var(--rose)); display: grid; align-content: space-between; font-family: var(--serif); }
.certificate strong { font-weight: 400; font-size: 1.6rem; }
.certificate span b { font-weight: 400; color: var(--kraft-dark); }
.certificate svg { justify-self: end; opacity: .6; }

/* Подвал */
.site-footer { background: #efe6d7; padding: 48px 0 24px; margin-top: 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 20px; }
.footer-grid li { margin-bottom: 6px; break-inside: avoid; }
.footer-grid a { color: var(--text); }
.footer-h { font: 600 1rem var(--sans); margin-bottom: 12px; }
.logo-footer { font-size: 1.3rem; }
.copyright { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Плавающие кнопки, окно, уведомление */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: grid; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); cursor: pointer; }
.float-vk { background: #6f8fb3; } .float-call { background: var(--kraft); }
.float-btn:hover { filter: brightness(.95); color: #fff; }
.modal { width: min(420px, 100% - 32px); border: 0; border-radius: 18px; padding: 28px; background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.modal::backdrop { background: rgba(61, 52, 43, .4); }
.modal .btn { width: 100%; }
.modal-close { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 1.8rem; color: var(--muted); cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; z-index: 40; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 12px; background: var(--text); color: #fff; transition: transform .25s, visibility .25s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.search-box input[type=search] { border: 0; box-shadow: none; background: none; padding: 0; min-height: 0; }
@media (max-width: 560px) { .product-media { aspect-ratio: 2 / 1; } .product-media svg { width: 48px; height: 48px; } }

/* Серверная версия: фото, страница товара, кабинет */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.product-media img, .cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-media:has(img) { padding: 0; }
.cart-thumb { overflow: hidden; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { text-decoration: underline; }
.product-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; gap: 24px; } }
.pgallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; background: var(--soft); }
.pgallery-main img { width: 100%; height: 100%; object-fit: contain; }
.pgallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pgallery-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.pgallery-thumbs button[aria-current] { border-color: var(--kraft); }
.pgallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-price.big { font: 1.8rem var(--serif); margin-bottom: 6px; }
.product-info .product-actions { margin: 20px 0; max-width: 360px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 16px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: 8px; } }
.cart-total { margin: 16px 4px; font-size: 1.05rem; }
.alert { padding: 12px 16px; border-radius: 10px; background: #f6dcd6; color: #6d2c22; margin-bottom: 16px; }
.alert-ok { background: #e3ecd9; color: #2f4a23; }
.auth-form { max-width: 440px; }
.auth-form .btn { width: 100%; margin: 4px 0 12px; }
.account-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-weight: 600; background: var(--soft); }
.table tfoot th { font-size: 1.05rem; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; background: var(--soft); white-space: nowrap; }
.status-new { background: #f3dcd5; } .status-confirmed, .status-making { background: #e8d4ad; } .status-paid { background: #dde5d6; }
.status-shipped { background: #d9e3e6; } .status-delivered { background: #cfdfc4; } .status-cancelled { background: #e6e0da; color: var(--muted); }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.order-head .small { margin: 0 0 4px; }
.history { padding-left: 1.2em; color: var(--muted); }
.history li { margin-bottom: 6px; }
.history span { font-size: .85rem; margin-right: 6px; }
.reviews { display: grid; gap: 14px; }
.review { margin: 0; }
.review footer { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.review footer b { color: var(--text); font-weight: 500; }
.gallery-photo { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery-photo:hover img { transform: scale(1.03); }
.gallery-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; font-size: .9rem; }
.post-cover { width: calc(100% + 44px); margin: -22px -22px 14px; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.post-hero, .prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.catalog-text { margin-top: 40px; }
