/*
 * Bridge for the separate shop app (/shop, /no/butikk/*).
 * Added to shop pages by nginx (sub_filter) until the shop is rebuilt with the
 * main site's styles. File name carries the date because static CSS is cached
 * for a year: change the name (and the nginx line) when this file changes.
 */

/* 1. Buttons: same shape as the main site's button system */
.shop-button.shop-button.shop-button,
.garage-secondary-button.garage-secondary-button.garage-secondary-button,
.house-gallery-model-button.house-gallery-model-button.house-gallery-model-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  /* garage pages use longer selectors; the shape is the one thing that must match */
  border-radius: 8px !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* secondary = thin outline, primary = filled (as on the main site) */
.shop-button.shop-button.shop-button:not(.shop-button-primary),
.garage-secondary-button.garage-secondary-button.garage-secondary-button {
  border: 1px solid var(--color-text, #0e1011);
  background: transparent;
  color: var(--color-text, #0e1011);
}

.shop-button.shop-button.shop-button:not(.shop-button-primary):hover,
.garage-secondary-button.garage-secondary-button.garage-secondary-button:hover {
  background: var(--color-text, #0e1011);
  color: var(--color-bg, #ffffff);
}

.shop-button.shop-button.shop-button.shop-button-primary {
  border: 1px solid var(--color-text, #0e1011);
  background: var(--color-text, #0e1011);
  color: var(--color-bg, #ffffff);
}

/* 2. Assistant: same shapes as on the main site */
.has-ai__send.has-ai__send {
  border-radius: 8px;
}

/* 3. SHOP HIDDEN (Peter, 12 Nov 2026): no menu entry and no search icon that
      does not search. Delete this block when the shop is published. */
.nav-link[href="/shop"],
.nav-link[href="/no/butikk"],
.mobile-menu-link[href="/shop"],
.mobile-menu-link[href="/no/butikk"],
.shop-search-link {
  display: none !important;
}

.site-footer-column li:has(> a[href="/shop"]),
.site-footer-column li:has(> a[href="/no/butikk"]) {
  display: none;
}
