.home-blog-card { position: relative; }
.home-blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.home-blog-card:focus-within { outline: 2px solid currentColor; outline-offset: 3px; }
.photo-trigger:focus-visible, .photo-thumb:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.photo-trigger, .photo-thumb { display: block; position: relative; overflow: hidden; border-radius: 1.5rem; background: #f5f5f4; aspect-ratio: 4/3; }
.photo-thumb { aspect-ratio: 1; border-radius: 1rem; }
.photo-thumb[aria-current] { outline: 2px solid #44403c; outline-offset: 2px; }
.photo-trigger img, .photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-expand, .photo-dialog button, .photo-dialog [data-counter] { background: rgb(22 20 18 / 84%); color: white; border-radius: 99px; }
.photo-expand { position: absolute; right: 1rem; bottom: 1rem; padding: .4rem .8rem; font-size: .875rem; }
html.gallery-open { overflow: hidden; }
.photo-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; margin: 0; background: transparent; color: white; overflow: hidden; }
.photo-dialog[open] { display: grid; place-items: center; }
.photo-dialog::backdrop { background: rgb(16 15 14 / 95%); animation: gallery-fade 240ms ease-out; }
.photo-dialog.is-closing::backdrop { opacity: 0; transition: opacity 180ms; }
@keyframes gallery-fade { from { opacity: 0; } }
.photo-dialog [data-full] { width: 100%; height: calc(100% - 8rem); object-fit: contain; touch-action: pan-y pinch-zoom; }
.photo-dialog button, .photo-dialog [data-counter] { position: absolute; z-index: 1; }
.photo-dialog button { width: 44px; height: 44px; line-height: 1; font-size: 1.8rem; }
.photo-dialog button:focus-visible { outline: 2px solid white; }
.photo-dialog [data-close] { right: 1rem; top: max(1rem, env(safe-area-inset-top)); }
.photo-dialog [data-prev] { left: 1rem; }
.photo-dialog [data-next] { right: 1rem; }
.photo-dialog [data-counter] { bottom: max(1rem, env(safe-area-inset-bottom)); padding: .4rem .9rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chips a, .filter-toggle { border: 1px solid #d6d3d1; background: white; border-radius: 99px; padding: .45rem .9rem; font-size: .875rem; }
.filter-chips a { display: inline-flex; gap: .65rem; align-items: center; }
.filter-toggle, .filter-apply { display: none; }
@media (max-width: 767px) {
    .accessory-filters:has([aria-expanded]) .filter-toggle { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; }
    .filter-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
    .filter-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 180ms ease, visibility 0s; }
    .filter-panel.is-collapsed { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 180ms ease, visibility 0s 180ms; }
    .filter-panel__body { min-height: 0; overflow: hidden; }
    .filter-panel__body > div { padding: .8rem .2rem .2rem; }
    .filter-apply { display: inline-flex; margin: .6rem .2rem .2rem; }
    .photo-dialog [data-prev], .photo-dialog [data-next] { bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .filter-panel, .filter-panel.is-collapsed, .photo-dialog::backdrop { animation: none; transition: none; }
    .home-blog-card, .home-blog-card img { transition: none; }
    .home-blog-card:hover, .home-blog-card:hover img { transform: none; }
}
.contact-suggestions:not([hidden]) { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.contact-suggestions button { border: 1px solid #d6d3d1; border-radius: 99px; padding: .45rem .8rem; font-size: .85rem; }
.contact-suggestions button:hover { background: #f5f5f4; }
[data-send]:disabled { cursor: wait; opacity: .75; }
.contact-confirmation { display: flex; gap: .75rem; align-items: center; }
.contact-confirmation svg { flex-shrink: 0; }
.guide-contact summary { cursor: pointer; font-size: .9rem; padding: .65rem 0; }
.guide-contact textarea { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
    .contact-confirmation path { stroke-dasharray: 26; animation: contact-check 320ms ease-out; }
    @keyframes contact-check { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }
}
