/* Stitches S1 — categories fly-out, search, language, shop chrome */

.s1-header .top-bar { font-size: 13px; }
.s1-currency { align-self: center; font-weight: 600; color: #555; }

.s1-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 8px 0;
}

.s1-cats-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #222;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
}
.s1-cats-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.s1-cats-bars span {
  display: block;
  height: 2px;
  background: #fff;
}

.s1-desktop-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-left: auto;
}
.s1-desktop-links .nav-link {
  padding: 6px 10px !important;
  font-weight: 600;
  white-space: nowrap;
}

.s1-search {
  display: flex;
  height: 40px;
  min-width: 160px;
  max-width: 280px;
  flex: 1 1 180px;
}
.s1-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 10px;
  font-size: 13px;
}
.s1-search button {
  flex: 0 0 auto;
  height: 40px;
  border-radius: 0 4px 4px 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}
.s1-search-sidebar {
  max-width: none;
  width: 100%;
  margin-bottom: 12px;
}

.s1-site-chips {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.s1-site-chips a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  color: #222;
  white-space: nowrap;
  background: #fff;
}
.s1-site-chips a:hover,
.s1-lang-active a {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Drawer */
.s1-cats-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10050;
}
.s1-cats-overlay.is-visible { display: block; }
.s1-cats-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 10060;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  box-shadow: 2px 0 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}
.s1-cats-drawer.is-open { transform: translateX(0); }
.s1-cats-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #1a1a1a;
  color: #fff;
}
.s1-cats-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.s1-cats-drawer-body {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.s1-mnav { list-style: none; margin: 0; padding: 0; }
.s1-mnav > li > a,
.s1-mnav-toggle {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  color: #222;
  cursor: pointer;
}
.s1-mnav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
}
.s1-mnav-sub a {
  display: block;
  padding: 10px 16px 10px 28px;
  border-bottom: 1px solid #ececec;
  color: #333;
  font-size: 13px;
  text-decoration: none;
}
body.s1-cats-open { overflow: hidden; }

/* Sidebar on shop uses same tree compact */
.s1-sidebar-cats .s1-mnav-toggle,
.s1-sidebar-cats .s1-mnav > li > a {
  font-size: 13px;
  padding: 10px 8px;
}

.s1-pagination .page-link {
  color: #222;
}
.s1-pagination .page-item.active .page-link {
  background: #111;
  border-color: #111;
}

.s1-lang-menu {
  max-height: 70vh;
  overflow-y: auto;
  min-width: 160px;
}

@media (min-width: 992px) {
  .s1-site-chips { display: none !important; }
}
@media (max-width: 991px) {
  .s1-desktop-links { display: none !important; }
  .s1-site-chips { display: flex; }
  .s1-search { max-width: none; order: 5; flex: 1 1 100%; }
  .s1-cats-btn { margin-left: auto; }
}
