/* GalleryHome №03. Append AFTER all R47 presentation/commerce styles. */
:root {
  color-scheme: light;
  --cream: #f6f3eb;
  --paper: #f6f3eb;
  --ink: #292c26;
  --muted: #696b61;
  --line: #d9d8cd;
  --purple: #f2ce55;
  --purple-dark: #e8bf3d;
  --purple-light: #f8edc6;
  --lavender: #efe9d9;
  --lime: #eee6ce;
  --coral: #dfcfa9;
  --white: #fffdf8;
  --radius: 18px;
  --shadow: 0 12px 36px rgb(56 48 25 / 9%);
  --collector-surface: #eeeade;
  --collector-surface-raised: #e9e4d7;
  --collector-accent: #f2ce55;
  --collector-dark-ink: #292c26;
  background: var(--paper);
  color: var(--ink);
}
body.gallery-home { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
.gallery-home *, .gallery-home *::before, .gallery-home *::after { box-sizing: border-box; }
.gallery-home .shell { width: min(1320px, calc(100% - 80px)); }
.gallery-home :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #86661a; outline-offset: 4px; }
.gallery-home #worlds .world-card:focus-visible { outline: 3px solid #86661a; outline-offset: 4px; }
.gallery-home ::selection { background: #f2ce55; color: #292c26; }
.gallery-home .announcement { background: #ebe5d4; color: #505249; font-size: 11px; }
.gallery-home .site-header { --paper: #f6f3eb; --ink: #292c26; --muted: #696b61; --line: #d9d8cd; background: #f6f3eb; color: #292c26; border-bottom: 1px solid var(--line); }
.gallery-home .header-inner { min-height: 86px; gap: 24px; }
.gallery-home .brand { color: #292c26; gap: 11px; }
.gallery-home .brand-icon { position: relative; display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); place-content: center; gap: 5px; width: 43px; height: 43px; padding: 0; background: #f2ce55; border-radius: 12px; transform: rotate(-6deg); flex: 0 0 43px; }
.gallery-home .brand-icon i:nth-child(n) { display: block; width: 8px; height: 8px; margin: 0; position: static; border: 1px solid rgb(87 67 15 / 30%); border-radius: 50%; background: #ffe47d; box-shadow: 0 2px 0 rgb(127 96 16 / 18%); transform: none; }
.gallery-home .brand-text { font-size: 27px; font-weight: 750; line-height: .95; letter-spacing: -.055em; }
.gallery-home .brand-text > span { display: block; font-size: 11px; font-weight: 400; line-height: 1.7; letter-spacing: .12em; }
.gallery-home .search-wrap { border: 1px solid #d9d8cd; border-radius: 999px; background: #fffdf8; min-height: 46px; }
.gallery-home .search-wrap input { color: var(--ink); background: transparent; }
.gallery-home .search-wrap :is(svg, kbd), .gallery-home .search-wrap input::placeholder { color: #74766d; }
.gallery-home .search-wrap kbd { border-color: #ddd9ca; border-radius: 5px; }
.gallery-home .header-action { color: var(--ink); }
.gallery-home .header-action b { background: #f2ce55; color: #292c26; }
.gallery-home .quick-nav { border-color: var(--line); gap: 28px; font-size: 13px; }
.gallery-home .quick-nav a { color: var(--ink); min-height: 44px; }
.gallery-home .quick-nav a:hover { color: #86661a; }
.gallery-home .button, .gallery-home .add-button { min-height: 44px; border-radius: 999px; font-weight: 600; }
.gallery-home .button.purple, .gallery-home .button.ink, .gallery-home .site-header .button.purple, .gallery-home .site-header .button.ink { border: 1px solid #f2ce55; color: #292c26; background: #f2ce55; }
.gallery-home .button.white { color: #292c26; background: #fffdf8; border-color: #fffdf8; }
.gallery-home .button.outline { background: transparent; color: var(--ink); border: 1px solid #b4b5a8; }
.gallery-home .button:hover, .gallery-home .button.outline:hover { color: #292c26; background: #ece3cb; border-color: #b4ac92; box-shadow: none; }
.gallery-home .button.purple:hover, .gallery-home .button.ink:hover { background: #e8bf3d; border-color: #e8bf3d; }

/* One fixed introductory copy, one image for the active model at every width. */
.gallery-home .feedback-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 24px; align-items: center; margin-top: 30px; padding: 0; border-radius: 26px; background: #ede7d9; overflow: hidden; }
.gallery-home .gallery-intro { position: relative; z-index: 1; padding: 38px 4px 50px 40px; }
.gallery-home .feedback-hero-heading { padding: 0; }
.gallery-home .feedback-hero-heading h1 { color: #292c26; max-width: 490px; font-size: clamp(48px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -.058em; font-weight: 650; text-wrap: balance; margin: 0; }
.gallery-home .gallery-subtitle { max-width: 290px; margin: 24px 0 28px; color: #66685e; font-size: 19px; line-height: 1.6; }
.gallery-home .gallery-catalog-cta { display: inline-flex; align-items: center; gap: 42px; padding: 16px 24px; background: #f2ce55; color: #292c26; border: 1px solid #f2ce55; font-size: 15px; }
.gallery-home .gallery-catalog-cta span { font-size: 21px; line-height: 1; }
.gallery-home .feedback-carousel { position: relative; z-index: 1; min-width: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.gallery-home .feedback-slides { border-radius: 26px 26px 0 0; }
.gallery-home .feedback-slide { background: transparent; }
.gallery-home .feedback-model { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; color: var(--ink); }
.gallery-home .feedback-model-image { aspect-ratio: 1.34; width: 100%; min-height: 0; background: #ede7d9; overflow: hidden; }
.gallery-home .feedback-model-image img { width: 100%; height: 100%; max-height: none; padding: 0; object-fit: contain; object-position: center; mix-blend-mode: normal; }
.gallery-home .feedback-model-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 15px 24px 10px; align-items: start; background: #ede7d9; }
.gallery-home .feedback-model-category { grid-column: 1; color: #696b61; font-size: 9px; letter-spacing: .11em; }
.gallery-home .feedback-model-copy h2 { grid-column: 1; grid-row: 2; margin: 0; color: #292c26; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.gallery-home .feedback-model-price { grid-column: 2; grid-row: 2; color: #292c26; font-size: 18px; line-height: 1.4; font-weight: 600; }
.gallery-home .feedback-configuration { grid-column: 1 / -1; font-size: 11px; color: #696b61; margin: 0; }
.gallery-home .feedback-model-action { grid-column: 1 / -1; margin: 4px 0 0; padding: 0; border: 0; color: #5c5d50; font-size: 11px; line-height: 1.5; }
.gallery-home .feedback-model-action span { margin-left: 7px; }
.gallery-home .feedback-carousel-controls { gap: 12px; min-height: 58px; padding: 0 14px 8px; }
.gallery-home .feedback-arrow { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: transparent; border: 1px solid #c7c3b3; color: #292c26; font-size: 21px; }
.gallery-home .feedback-arrow:not(:disabled):hover { background: #f2ce55; border-color: #f2ce55; color: #292c26; }
.gallery-home .feedback-dot { width: 28px; height: 44px; }
.gallery-home .feedback-dot span { width: 7px; height: 7px; background: transparent; border-color: #888979; }
.gallery-home .feedback-dot[aria-pressed=true] span { width: 20px; border-radius: 20px; border-color: #77765a; background: #77765a; }
.gallery-home .feedback-counter { color: #66685e; }
/* Enable only after root supplies the reviewed wide asset. */
@media (min-width: 701px) {
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active::before { content: ''; position: absolute; z-index: 0; inset: 0; background-image: linear-gradient(90deg, #eee8dc 0%, rgb(238 232 220 / 92%) 20%, rgb(238 232 220 / 25%) 48%, transparent 68%), var(--gallery-hero-background, url('assets/gallery-home/hero-colosseum-wide.webp')); background-size: cover; background-position: center; }
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active .feedback-model-image,
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active .feedback-model-copy { background: transparent; }
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active .feedback-slide:first-child .feedback-model-image img { opacity: 0; }
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active .feedback-model-copy { display: none; }
}

/* Every real category remains reachable in a compact photo rail. */
.gallery-home #worlds.worlds-section { margin-top: 0; padding-top: 44px; padding-bottom: 0; }
.gallery-home .section-heading { margin-bottom: 24px; }
.gallery-home .section-heading h2 { color: #292c26; font-weight: 550; font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -.04em; }
.gallery-home .text-link { color: #525448; font-size: 13px; }
.gallery-home #worlds .worlds-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; padding: 3px 3px 15px; margin: -3px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #bab9a9 transparent; }
.gallery-home #worlds .worlds-grid .world-card:nth-child(n) { position: relative; display: flex; flex-direction: column; height: 132px; gap: 0; padding: 0; border: 0; border-radius: 18px; background: transparent; color: #fff; overflow: hidden; scroll-snap-align: start; }
.gallery-home #worlds .world-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, rgb(0 0 0 / 65%)); pointer-events: none; }
.gallery-home #worlds .world-card:hover { background: transparent; box-shadow: none; transform: none; }
.gallery-home #worlds .world-image { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 18px; background: #eeeade; margin: 0; }
.gallery-home #worlds .world-image img { display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; }
.gallery-home #worlds .world-title { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 13px; color: #fff; font-size: 17px; line-height: 1.3; font-weight: 600; margin: 0; }
.gallery-home #worlds .world-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-home .catalog-section { margin-top: 24px; }
.gallery-home .eyebrow { color: #777568; font-size: 10px; letter-spacing: .12em; }
.gallery-home .catalog-layout { display: block; }
.gallery-home .selection-tools { padding: 0 0 18px; gap: 12px; color: #696b61; border-color: var(--line); }
.gallery-home .selection-tools > span { font-size: 11px; line-height: 1.5; }
.gallery-home .selection-tools .button { font-size: 12px; padding: 10px 17px; }
.gallery-home .catalog-toolbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 0; margin: 0 0 24px; border-color: var(--line); }
.gallery-home .active-filter { color: #696b61; font-size: 12px; margin-right: auto; }
.gallery-home .filter-panel { position: static; width: auto; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.gallery-home .gallery-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; padding: 11px 17px; min-height: 44px; cursor: pointer; border: 1px solid #b4b5a8; border-radius: 999px; color: #292c26; background: transparent; font-size: 13px; font-weight: 600; }
.gallery-home .gallery-filter-summary::-webkit-details-marker { display: none; }
.gallery-home .gallery-filter-mark { font-size: 19px; font-weight: 400; line-height: 1; }
.gallery-home .gallery-filter-details[open] .gallery-filter-summary { background: #f8edc6; border-color: #b4ac92; }
.gallery-home .gallery-filter-content { position: absolute; z-index: 15; inset: calc(100% - 8px) auto auto 0; width: min(720px, 100%); max-height: min(70vh, 620px); overflow: auto; padding: 24px; background: #fffdf8; color: #292c26; border: 1px solid #d9d8cd; border-radius: 18px; box-shadow: var(--shadow); }
.gallery-home .gallery-filter-content h3 { font-size: 15px; margin: 20px 0 12px; }
.gallery-home .gallery-filter-content .category-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.gallery-home .category-button { min-height: 44px; color: #292c26; background: transparent; border: 1px solid transparent; border-radius: 9px; font-size: 12px; }
.gallery-home .category-button:hover { background: #eeeade; }
.gallery-home .category-button.active { background: #f8edc6; color: #292c26; border-color: #d7c68a; }
.gallery-home .category-count, .gallery-home .world-count, .gallery-home .category-button.active .category-count { color: #696b61; }
.gallery-home .filter-help { border-color: #d9d8cd; background: #f6f3eb; border-radius: 12px; margin-top: 20px; }
.gallery-home .filter-help :is(a, h4) { color: #292c26; }
.gallery-home .filter-help p { color: #696b61; }
.gallery-home .sort-label { display: flex; align-items: center; gap: 8px; margin: 0; color: #696b61; font-size: 12px; }
.gallery-home .sort-label select { min-height: 44px; max-width: 100%; padding: 9px 26px 9px 12px; border: 1px solid #c6c7b9; border-radius: 999px; color: #292c26; background-color: #fffdf8; font: inherit; }
.gallery-home .reset-button { color: #6d551a; }

/* Photographs fill their cards; catalogue data and action hooks stay untouched. */
.gallery-home .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.gallery-home .product-card { padding: 0 0 20px; color: #292c26; background: transparent; border: 0; border-bottom: 1px solid #deddd2; border-radius: 0; box-shadow: none; }
.gallery-home .product-card:hover { border-color: #b9b8a9; background: transparent; transform: none; box-shadow: none; }
.gallery-home .product-image-wrap { aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #eeeade; margin: 0 0 17px; }
.gallery-home .product-open { display: block; width: 100%; height: 100%; padding: 0; }
.gallery-home .product-image, .gallery-home .product-card:hover .product-image { width: 100%; height: 100%; padding: 0; object-fit: contain; object-position: center; border-radius: 18px; mix-blend-mode: normal; transform: none; }
.gallery-home .favorite-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; top: 10px; right: 10px; color: #292c26; background: transparent; border: 0; border-radius: 50%; box-shadow: none; }
.gallery-home .favorite-button svg { width: 25px; height: 25px; filter: drop-shadow(0 1px 1px #fffdf8) drop-shadow(0 0 2px #fffdf8); stroke-width: 1.6; }
.gallery-home .favorite-button:hover, .gallery-home .favorite-button.active, .gallery-home .favorite-button.selected, .gallery-home .favorite-button[aria-pressed=true] { color: #574111; background: transparent; border: 0; }
.gallery-home .favorite-button[aria-pressed=true] svg { fill: #f2ce55; }
.gallery-home .product-category { color: #77786d; font-size: 10px; letter-spacing: .06em; margin-bottom: 8px; }
.gallery-home .product-name { display: block; color: #292c26; font-size: 18px; line-height: 1.4; font-weight: 550; letter-spacing: -.02em; }
.gallery-home .product-name:hover { color: #72581b; }
.gallery-home .product-sku, .gallery-home .price-configuration { color: #696b61; font-size: 11px; }
.gallery-home .product-cover-note { line-height: 1.5; }
.gallery-home .product-details-link { color: #626451; font-size: 11px; }
.gallery-home .product-bottom { margin-top: 15px; gap: 10px; }
.gallery-home .product-bottom > span { color: #696b61; font-size: 10px; }
.gallery-home .product-price { color: #292c26; font-size: 23px; font-weight: 600; line-height: 1.4; }
.gallery-home .add-button { color: #292c26; background: #f2ce55; border: 1px solid #f2ce55; font-size: 12px; padding: 11px 17px; }
.gallery-home .add-button:hover { color: #292c26; background: #e8bf3d; border-color: #e8bf3d; }
.gallery-home .add-button.added, .gallery-home .add-button.in-cart { color: #414a36; background: #e5ebd6; border-color: #c4ceae; }
.gallery-home .compare-toggle { color: #606455; background: transparent; border-color: #b8bbad; border-radius: 999px; }
.gallery-home .compare-toggle.selected { color: #57502e; background: #f5eccb; border-color: #c5b675; }
.gallery-home .load-more { margin-top: 30px; }
.gallery-home .catalog-note, .gallery-home .feature-help { color: #696b61; }

/* Palette compatibility for all existing R47 native dialogs and auxiliary flows. */
.gallery-home :is(dialog, .feature-dialog, .orbita-welcome-dialog) { color-scheme: light; color: #292c26; background: #fffdf8; border: 1px solid #d9d8cd; border-radius: 20px; box-shadow: 0 24px 90px rgb(41 39 27 / 25%); }
.gallery-home dialog::backdrop { background: rgb(41 39 27 / 45%); }
.gallery-home .dialog-close { color: #292c26; background: #eeeade; border-color: #d9d8cd; border-radius: 50%; }
.gallery-home :is(.detail-main-image, .cart-image, .gallery-thumb, .comparison-scroll, .gift-card, .comparison-table img) { background: #eeeade; border-color: #d9d8cd; border-radius: 12px; }
.gallery-home :is(.detail-title, .detail-order strong, .cart-price, .cart-line-total, .cart-info > strong, .detail-confirmation strong, .comparison-product, .gift-card > button[data-feature-product], .detail-confirmation a, .detail-source, .detail-feature-actions a) { color: #292c26; }
.gallery-home :is(.detail-description, .detail-section .detail-description, .detail-highlights, .detail-note, .detail-confirmation p, .cart-info p, .cart-info small, .cart-info > span, .gift-card small, .gift-card > span, .order-summary p, .cart-heading h2 > span) { color: #696b61; }
.gallery-home :is(.detail-confirmation, .order-summary, .comparison-bar, .quantity-control, .empty-state) { background: #f0ecdf; color: #292c26; border-color: #d9d8cd; border-radius: 12px; }
.gallery-home :is(.comparison-table th:first-child, .comparison-table td, .comparison-table th) { background: #fffdf8; color: #292c26; border-color: #d9d8cd; }
.gallery-home :is(#order-comment, .buy-filter-content input, .buy-filter-content select, .gift-form input, .gift-form select, .shelf-form input, .order-delivery, .variant-selector select, .selection-share-dialog input) { background: #fffdf8; color: #292c26; border: 1px solid #b9bdad; border-radius: 8px; }
.gallery-home :is(.buy-filter-content label, .gift-form > label, .shelf-form > label, .variant-selector) { color: #292c26; }
.gallery-home #order-comment::placeholder { color: #74766b; }
.gallery-home .remove-item { color: #756248; }
.gallery-home .detail-category { color: #7b672d; }
.gallery-home .dimension-track { background: #dddacb; }
.gallery-home .contact-banner { color: #292c26; background: #eae2cb; border-radius: 24px; }
.gallery-home .contact-banner h2, .gallery-home .contact-banner p, .gallery-home .phone-link { color: #292c26; }
.gallery-home :is(.how-section, .delivery-section, .purchase-faq, .category-directory, .site-footer) { border-color: #d9d8cd; color: #292c26; }
.gallery-home :is(.how-intro h2, .steps h3, .delivery-grid h3, .delivery-grid strong, .delivery-grid a, .purchase-faq a, .category-directory a, .site-footer a) { color: #292c26; }
.gallery-home :is(.steps p, .how-intro p, .delivery-grid p, .site-footer p, .footer-bottom) { color: #696b61; }
.gallery-home .delivery-grid article { background: #eeeade; border-color: #d9d8cd; border-radius: 16px; }
.gallery-home .mobile-nav { color: #292c26; background: #f6f3eb; border-color: #d9d8cd; }
.gallery-home .mobile-nav :is(a, button) { color: #505448; }
.gallery-home .mobile-nav b { color: #292c26; background: #f2ce55; }
.gallery-home .toast { color: #fffdf8; background: #343a2d; }
.gallery-home .gallery-search-toggle { display: none; }
.gallery-home .gallery-search-toggle svg { width: 22px; height: 22px; }

/* Final composition and legacy-dialog cascade, verified against actual R47 DOM. */
.gallery-home .announcement { display: none; }
.gallery-home .header-inner { min-height: 76px; }
.gallery-home .quick-nav { min-height: 48px; gap: 24px; }
.gallery-home .quick-nav > .catalog-toggle { display: inline-flex; flex: 0 0 auto; min-height: 40px; padding: 8px 22px; }
.gallery-home .quick-nav .catalog-toggle { display: inline-flex; flex: 0 0 auto; min-height: 40px; padding: 8px 22px; }
.gallery-home #worlds.worlds-section { padding-top: 14px; }
.gallery-home #worlds .section-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.gallery-home #worlds .section-heading:focus-within { position: static; width: auto; height: auto; margin: 0 0 10px; overflow: visible; clip-path: none; }
.gallery-home #worlds .section-heading h2 { font-size: 22px; }
.gallery-home #worlds .worlds-grid { overflow-anchor: none; }
.gallery-home .feedback-arrow { background: rgb(255 253 248 / 88%); border-color: #d0c6af; color: #292c26; }
.gallery-home .feedback-slide > figcaption { align-self: flex-end; padding: 3px 8px; margin: 2px 14px; border-radius: 6px; color: #5b4b35; background: rgb(255 253 248 / 88%); font-size: 10px; }
.gallery-home .home-topic-collections { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; padding: 0; border: 0; }
.gallery-home .home-topic-collections a { flex: 0 1 auto; padding: 8px 14px; min-height: 38px; border: 1px solid #d9d8cd; border-radius: 999px; background: transparent; color: #505249; }
.gallery-home .home-topic-collections :is(strong, span) { display: inline; color: inherit; font-size: 12px; }
.gallery-home .home-topic-collections span { margin-left: 7px; font-size: 10px; }
.gallery-home #worlds .world-image img { object-fit: cover; object-position: center 22%; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-close,
.gallery-home #orbita-welcome-dialog .orbita-welcome-brand,
.gallery-home #orbita-welcome-dialog .orbita-welcome-guest { color: #292c26; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-document { color: #292c26; background: #f3eee2; border-color: #ddd5c4; border-radius: 12px; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-document a { color: #665013; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-continue { color: #292c26; background: #f2ce55; border-radius: 999px; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-continue:disabled { color: #64665e; background: #e0ded5; opacity: 1; }
.gallery-home #orbita-welcome-dialog .orbita-welcome-guest { border-color: #b4b5a8; border-radius: 999px; }
@media (min-width: 701px) {
  .gallery-home .feedback-hero { margin-top: 22px; }
  .gallery-home .feedback-carousel { display: flex; flex-direction: column; height: 400px; }
  .gallery-home .gallery-intro { padding-top: 24px; padding-bottom: 28px; }
  .gallery-home .gallery-subtitle { max-width: 320px; font-size: 17px; line-height: 1.4; margin-top: 18px; margin-bottom: 20px; }
  .gallery-home #home[data-gallery-wide=true].gallery-colosseum-active::before { background-size: cover, auto 115%; background-position: center, right center; background-repeat: no-repeat; }
  .gallery-home .feedback-slides { flex: 1 1 auto; min-height: 0; }
  .gallery-home .feedback-slide { display: flex; flex-direction: column; height: 100%; }
  .gallery-home .feedback-model { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }
  .gallery-home .feedback-model-image { aspect-ratio: auto; min-height: 0; }
  .gallery-home .feedback-model-copy { padding-top: 6px; padding-bottom: 4px; }
  .gallery-home .feedback-carousel-controls { flex: 0 0 54px; min-height: 54px; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-home .world-image img, .gallery-home .product-image { transition: transform 200ms ease; }
  .gallery-home .world-card:hover .world-image img, .gallery-home .product-card:hover .product-image { transform: scale(1.025); }
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-home .gallery-revealed { animation: gallery-photo-in 500ms ease both; }
  @keyframes gallery-photo-in { from { opacity: .45; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1000px) {
  .gallery-home .shell { width: calc(100% - 48px); }
  .gallery-home .header-inner { gap: 14px; }
  .gallery-home .feedback-hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
  .gallery-home .feedback-hero-heading h1 { font-size: 49px; }
  .gallery-home .gallery-intro { padding-left: 26px; }
  .gallery-home .gallery-subtitle { font-size: 16px; }
  .gallery-home .feedback-model-copy { padding: 12px 16px 4px; }
  .gallery-home .feedback-model-copy h2 { font-size: 16px; }
  .gallery-home .feedback-model-price { font-size: 16px; }
  .gallery-home #worlds .worlds-grid { grid-auto-columns: calc((100% - 40px) / 3); }
  .gallery-home .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 700px) {
  .gallery-home .shell { width: calc(100% - 32px); }
  .gallery-home .announcement { font-size: 9px; padding-inline: 16px; }
  .gallery-home .header-inner { display: flex; flex-wrap: wrap; min-height: 72px; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .gallery-home .brand { margin-right: auto; }
  .gallery-home .header-inner .search-wrap { display: none; flex: 0 0 100%; order: 5; }
  .gallery-home .header-inner.gallery-search-open .search-wrap { display: flex; }
  .gallery-home .gallery-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 44px; padding: 0; border: 0; background: transparent; color: #292c26; }
  .gallery-home .brand-text { font-size: 24px; }
  .gallery-home .brand-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
  .gallery-home .search-wrap { min-height: 44px; }
  .gallery-home .header-action { min-width: 38px; }
  .gallery-home .quick-nav { gap: 22px; font-size: 11px; min-height: 42px; }
  .gallery-home .feedback-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 24px; padding-top: 0; background: transparent; border-radius: 0; overflow: visible; }
  .gallery-home .gallery-intro { order: 1; padding: 16px 0 18px; }
  .gallery-home .feedback-carousel { order: 0; }
  .gallery-home .feedback-hero-heading h1 { font-size: clamp(36px, 9.8vw, 44px); max-width: 360px; line-height: 1.06; }
  .gallery-home .gallery-subtitle { max-width: 290px; font-size: 14px; line-height: 1.45; margin: 12px 0 16px; }
  .gallery-home .gallery-catalog-cta { font-size: 13px; padding: 12px 20px; gap: 36px; }
  .gallery-home .feedback-carousel, .gallery-home .feedback-slides { border-radius: 20px; background: #ede7d9; }
  .gallery-home .feedback-model-image { aspect-ratio: 1.5; }
  .gallery-home .feedback-slide:first-child .feedback-model-image img { object-fit: cover; object-position: center 42%; }
  .gallery-home .feedback-model-copy { display: none; }
  .gallery-home .feedback-model-copy { gap: 4px 12px; padding: 13px 16px 3px; }
  .gallery-home .feedback-model-copy h2 { font-size: 17px; }
  .gallery-home .feedback-model-price { font-size: 17px; }
  .gallery-home .feedback-model-action { margin-top: 3px; }
  .gallery-home .feedback-carousel-controls { min-height: 46px; padding-bottom: 4px; gap: 8px; }
  .gallery-home #worlds.worlds-section { padding-top: 14px; }
  .gallery-home .section-heading { margin-bottom: 19px; gap: 14px; }
  .gallery-home .section-heading h2 { font-size: 25px; }
  .gallery-home .text-link { font-size: 11px; }
  .gallery-home #worlds .worlds-grid { grid-auto-columns: calc((100% - 14px) / 2.05); gap: 14px; }
  .gallery-home #worlds .worlds-grid .world-card:nth-child(n) { height: 100px; border-radius: 14px; }
  .gallery-home #worlds .world-image { aspect-ratio: auto; border-radius: 14px; }
  .gallery-home #worlds .world-title { font-size: 14px; }
  .gallery-home #worlds .world-count { font-size: 10px; }
  .gallery-home .catalog-section { margin-top: 22px; }
  .gallery-home .selection-tools { gap: 9px; padding-bottom: 15px; }
  .gallery-home .selection-tools .button { padding: 10px 12px; font-size: 11px; }
  .gallery-home .catalog-toolbar { gap: 11px; padding: 14px 0; margin-bottom: 20px; }
  .gallery-home .active-filter { flex-basis: calc(100% - 142px); font-size: 11px; }
  .gallery-home .sort-label { width: 100%; justify-content: space-between; }
  .gallery-home .sort-label select { flex: 1; min-width: 0; max-width: 235px; font-size: 12px; }
  .gallery-home .gallery-filter-content { padding: 17px; width: 100%; }
  .gallery-home .gallery-filter-content .category-filters { grid-template-columns: 1fr; }
  .gallery-home .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .gallery-home .product-image-wrap { border-radius: 14px; margin-bottom: 12px; }
  .gallery-home .product-image, .gallery-home .product-card:hover .product-image { border-radius: 14px; }
  .gallery-home .favorite-button { top: 2px; right: 2px; }
  .gallery-home .product-name { font-size: 14px; line-height: 1.4; }
  .gallery-home .product-category { font-size: 9px; margin-bottom: 5px; }
  .gallery-home .product-sku, .gallery-home .product-cover-note, .gallery-home .product-details-link { font-size: 10px; }
  .gallery-home .product-price { font-size: 19px; }
  .gallery-home .product-bottom { align-items: start; margin-top: 11px; gap: 9px; }
  .gallery-home .product-bottom .add-button { width: 100%; padding: 10px 12px; font-size: 11px; }
  .gallery-home .compare-toggle { font-size: 10px; min-height: 40px; }
  .gallery-home .contact-banner { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-home *, .gallery-home *::before, .gallery-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .gallery-home .product-card:hover .product-image, .gallery-home .world-card:hover .world-image img { transform: none !important; }
}
