.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 218, 220, .82);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 8px 30px rgba(40, 24, 27, .035);
}
[data-site-header]:not([data-shared-header="true"]) { min-height: 78px; visibility: hidden; }
.site-header__inner { width: min(100% - 2rem, 1280px); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__identity { display: flex; align-items: center; }
.site-header__brand { min-width: 0; display: inline-flex; align-items: center; color: #171315; text-decoration: none; }
.site-header__brand img { width: 76px; height: 76px; object-fit: contain; margin-right: -14px; }
.site-header__brand span { font-size: clamp(1.05rem, 2.1vw, 1.7rem); font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.site-header__nav { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.7rem); }
.site-header__nav a { position: relative; padding: 1.75rem 0; color: #5f575b; font-size: .76rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; transition: color .18s ease; }
.site-header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.15rem; height: 2px; border-radius: 10px; background: #f20d0d; transform: scaleX(0); transition: transform .18s ease; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: #f20d0d; }
.site-header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: .25rem; }
.site-header__icon { position: relative; width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #686064; background: transparent; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.site-header__icon:hover { color: #f20d0d; background: #fff0f0; transform: translateY(-1px); }
.site-header__icon .material-icons-outlined { font-size: 25px; }
.site-header .cart-count-badge { position: absolute; top: 0; right: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #f20d0d; font-size: 9px; font-weight: 800; }
.site-header__menu-button { display: none; }
.site-header__mobile { display: none; border-top: 1px solid #eee6e8; padding: .55rem 1rem 1rem; background: #fff; }
.site-header__mobile a,
.site-header__mobile-search { width: 100%; min-height: 44px; display: flex; align-items: center; gap: .65rem; border: 0; border-radius: 10px; padding: .72rem .85rem; color: #554d51; background: transparent; font: inherit; font-size: .85rem; font-weight: 750; text-align: left; text-decoration: none; }
.site-header__mobile a:hover,
.site-header__mobile a[aria-current="page"],
.site-header__mobile-search:hover { color: #f20d0d; background: #fff2f2; }
.site-header__mobile:not(.hidden) { display: block; }

body.search-open { overflow: hidden; }
.site-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow-y: auto;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(23, 19, 21, .66);
  backdrop-filter: blur(10px);
}
.site-search-overlay.hidden { display: none; }
.site-search-panel {
  width: min(100%, 680px);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin-top: min(12vh, 6rem);
  overflow: hidden;
  border: 1px solid #eadfe1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(28, 18, 21, .28);
}
.site-search-row { min-height: 68px; display: flex; align-items: center; gap: .65rem; border-bottom: 1px solid #eee6e8; padding: .7rem; }
.site-search-row > .material-icons-outlined { flex: 0 0 auto; color: #f20d0d; }
.site-search-row input { min-width: 0; min-height: 48px; flex: 1; border: 0; padding: .65rem .25rem; color: #171315; background: #fff; font-size: 1rem; outline: none; }
.site-search-close { width: 48px; min-width: 48px; height: 48px; border: 0; border-radius: 12px; color: #625a5e; background: #f6f2f3; font-size: 1.75rem; line-height: 1; touch-action: manipulation; }
.site-search-close:hover { color: #f20d0d; background: #fff0f0; }
.site-search-results { max-height: min(60vh, 480px); max-height: min(60dvh, 480px); overflow-y: auto; padding: .6rem; overscroll-behavior: contain; }
.site-search-results a { min-height: 62px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; border-radius: 12px; padding: .7rem .85rem; color: #171315; text-decoration: none; }
.site-search-results a:hover,
.site-search-results a:focus-visible { color: #f20d0d; background: #fff4f4; outline: none; }
.site-search-results strong { font-size: .9rem; }
.site-search-results span,
.site-search-results p { color: #766d71; font-size: .78rem; line-height: 1.45; }
.site-search-results p { padding: 1rem; text-align: center; }

/* Shared public forms and mobile modal controls. */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
[data-gs-shared-footer="true"] .newsletter-form input:not(.hp-field),
[data-gs-shared-footer="true"] .newsletter-form button { min-height: 44px; }
[data-gs-shared-footer="true"] li > a,
[data-gs-shared-footer="true"] a[href="contact"] { min-height: 44px; display: inline-flex; align-items: center; }
.gs-configurator-panel { max-height: 100vh !important; max-height: 100dvh !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.gs-configurator-close { top: max(1rem, env(safe-area-inset-top)) !important; right: max(1rem, env(safe-area-inset-right)) !important; width: 48px !important; min-width: 48px; height: 48px !important; z-index: 2; touch-action: manipulation; }
.stone-swatch { width: 44px !important; min-width: 44px; height: 44px !important; touch-action: manipulation; }
.snipcart-add-item { min-height: 48px; }
.product-card-action { width: 44px !important; min-width: 44px; height: 44px !important; min-height: 44px; touch-action: manipulation; }
.bezel-card button,
.tool-card button { min-height: 46px; touch-action: manipulation; }

@media (max-width: 980px) {
  .site-header__nav { display: none; }
  .site-header__menu-button { display: grid; }
}
@media (max-width: 520px) {
  .site-header__inner { width: min(100% - 1rem, 1280px); min-height: 68px; }
  .site-header__brand img { width: 60px; height: 60px; margin-right: -11px; }
  .site-header__brand span { max-width: 150px; white-space: normal; line-height: 1; }
  .site-header__icon { width: 44px; height: 44px; flex-basis: 44px; }
  .site-header__search { display: none; }
  .gs-configurator-panel { border-radius: 1rem 1rem 0 0; }
  .site-search-panel { margin-top: 0; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .site-header * { transition: none !important; } }
