/* Kolya's 23 October corrections. Load after GalleryHome; no catalogue data. */
.gallery-home .brand-text {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .96;
}
.gallery-home .brand-text > span {
  display: block;
  margin-top: 3px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1;
}

.gallery-home .gallery-catalog-cta {
  color: #292c26;
  background: transparent;
  border: 1px solid currentColor;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.gallery-home .gallery-catalog-cta:hover { background: rgb(255 253 248 / 35%); }
.gallery-home .gallery-catalog-cta:active,
.gallery-home .gallery-catalog-cta.is-activated {
  color: #292c26;
  background: #f2ce55;
  border-color: #f2ce55;
}
.gallery-home .gallery-catalog-cta > [aria-hidden="true"] { display: none; }

.gallery-home :is(#cart-toggle, #mobile-cart) svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-home :is(#cart-toggle, #mobile-cart) svg * { fill: none; }
.gallery-home #mobile-cart svg { display: block; margin-inline: auto; }
.gallery-home .favorite-button,
.gallery-home .favorite-button:is(:hover, .selected, [aria-pressed="true"]) {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.gallery-home .favorite-button svg,
.gallery-home .favorite-button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.gallery-home .favorite-button:is(.selected, [aria-pressed="true"]) svg path {
  fill: #f2ce55;
  stroke: #574111;
}
.gallery-home .favorite-button svg { width: 25px; height: 25px; }
.gallery-home .product-image-wrap { aspect-ratio: 3 / 4; margin-bottom: 12px; }
.gallery-home .product-image,
.gallery-home .product-card:hover .product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transform: none;
}

.gallery-home :is(.dialog-close, .orbita-welcome-close) {
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #292c26;
  min-width: 44px;
  min-height: 44px;
}
.gallery-home :is(.dialog-close, .orbita-welcome-close):hover {
  background: rgb(41 44 38 / 5%);
  color: #292c26;
}
/* showModal's automatic first focus must not create a touch-only ring.
   Keyboard Tab/Enter restores the visible focus treatment immediately. */
.gallery-home[data-kolya-input="pointer"] :is(.dialog-close, .orbita-welcome-close):focus {
  outline: none;
}
.gallery-home[data-kolya-input="pointer"] #orbita-welcome-title[tabindex="-1"]:focus {
  outline: none;
}
.gallery-home[data-kolya-input="keyboard"] :is(.dialog-close, .orbita-welcome-close):focus-visible {
  outline: 3px solid #86661a;
  outline-offset: 3px;
}

.gallery-home .catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 16px;
}
.gallery-home .gallery-filter-summary,
.gallery-home .active-filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #d9d8cd;
  border-radius: 12px;
  background: #eeeade;
  color: #292c26;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.gallery-home .gallery-filter-summary { gap: 20px; }
.gallery-home .active-filter { margin: 0 auto 0 0; }
.gallery-home .sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #292c26;
  font-size: 15px;
  font-weight: 600;
}
.gallery-home .sort-label select {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #d9d8cd;
  border-radius: 12px;
  background-color: #eeeade;
  font: inherit;
  font-weight: 400;
}
.gallery-home .reset-button { min-height: 44px; font-size: 13px; }
.gallery-home .gallery-filter-content { top: calc(100% - 4px); }
.gallery-home .kolya-selection-details {
  margin: 0;
  border-block: 1px solid #deddd2;
  font-size: 13px;
}
.gallery-home .kolya-selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 0;
  list-style: none;
  cursor: pointer;
  color: #57594f;
}
.gallery-home .kolya-selection-summary::-webkit-details-marker { display: none; }
.gallery-home .kolya-selection-summary::after { content: "+"; font-size: 18px; }
.gallery-home .kolya-selection-details[open] .kolya-selection-summary::after { content: "−"; }
.gallery-home .kolya-selection-details .selection-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0 0 14px;
  border: 0;
}
.gallery-home .kolya-selection-details .selection-tools .button {
  min-height: 44px;
  width: auto;
  flex: 0 1 auto;
  padding: 10px 14px;
  font-size: 13px;
}
.gallery-home .kolya-selection-details .selection-tools > span {
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .gallery-home .brand-text { font-size: 27px; }
  .gallery-home .brand-text > span { font-size: 17px; }
  .gallery-home .catalog-toolbar { gap: 8px; margin-bottom: 12px; }
  .gallery-home .catalog-toolbar > .filter-panel { flex: 0 0 auto; }
  .gallery-home .active-filter { flex: 1; min-width: 0; font-size: 13px; }
  .gallery-home .gallery-filter-summary { gap: 16px; font-size: 13px; }
  .gallery-home .sort-label { width: 100%; justify-content: space-between; font-size: 15px; }
  .gallery-home .sort-label select { flex: 1; min-width: 0; max-width: 68%; font-size: 14px; }
  .gallery-home .product-grid { gap: 24px 10px; }
  .gallery-home .product-image-wrap { aspect-ratio: 3 / 4; border-radius: 12px; }
  .gallery-home .product-image { border-radius: 12px; }
  .gallery-home .favorite-button { top: 2px; right: 2px; }
  .gallery-home .product-name { font-size: 14px; }
  .gallery-home .product-bottom { margin-top: 10px; }
  .gallery-home .gallery-filter-content { max-height: 64dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-home .gallery-catalog-cta { transition: none; }
}
