/*
 * Header polish
 *
 * This file is loaded after site.css. Keep the selectors scoped to the
 * header (or to the small image boxes called out below) so the storefront's
 * existing page layouts remain unchanged.
 */

.site-header {
  position: relative;
  z-index: 20;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.site-header .header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
  width: min(100%, 1440px);
  min-height: 118px;
  margin: 0 auto;
  padding: 18px clamp(16px, 5.55vw, 80px);
  overflow: visible;
}

.site-header .main-nav.header-nav {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: start;
  gap: clamp(10px, 1.55vw, 23px);
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.site-header .nav-home,
.site-header .nav-category-menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-header .nav-home {
  flex: none;
  padding: 0 2px;
  transition: color 180ms ease;
}

.site-header .nav-home:hover,
.site-header .nav-home:focus-visible {
  color: var(--orange);
}

.site-header .brand--header {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1;
  white-space: nowrap;
}

.site-header .brand--header .brand__mark {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-header .brand--header > span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .brand--header > span > span {
  color: var(--orange);
}

.site-header .brand--header .brand__image--custom {
  display: block;
  flex: none;
  width: clamp(180px, 21vw, 270px);
  height: auto;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Category dropdown ----------------------------------------------------- */

.site-header .nav-category-menu {
  position: relative;
  flex: none;
  min-width: 0;
}

.site-header .nav-category-menu > summary {
  gap: 8px;
  padding: 0 3px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-header .nav-category-menu > summary::-webkit-details-marker {
  display: none;
}

.site-header .nav-category-menu > summary::marker {
  content: "";
}

.site-header .nav-category-menu > summary:hover,
.site-header .nav-category-menu[open] > summary,
.site-header .nav-category-menu > summary:focus-visible {
  color: var(--orange);
}

.site-header .nav-category-menu > summary .category-grid-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .nav-category-menu > summary .category-label {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.site-header .nav-category-menu > summary .category-chevron {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.site-header .nav-category-menu[open] > summary .category-chevron {
  transform: rotate(180deg);
}

.site-header .nav-category-menu__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 15px;
  width: min(370px, calc(100vw - 32px));
  max-height: min(70dvh, 500px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 46px rgba(25, 28, 27, 0.16);
  color: var(--text);
  scrollbar-width: thin;
}

.site-header .category-menu-heading {
  display: grid;
  gap: 4px;
  padding: 1px 3px 11px;
  border-bottom: 1px solid var(--border);
}

.site-header .category-menu-heading span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.2;
}

.site-header .category-menu-heading strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.site-header .category-menu-links {
  display: grid;
  gap: 3px;
}

.site-header .category-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .category-menu-links a > .category-link-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .category-menu-links a > span:last-child {
  flex: none;
  color: var(--orange);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.site-header .category-menu-links a:hover,
.site-header .category-menu-links a:focus-visible {
  background: var(--surface-2);
  color: var(--orange);
  transform: translateX(2px);
}

/* Right-hand controls --------------------------------------------------- */

.site-header .header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.site-header .header-search {
  position: relative;
  flex: none;
}

.site-header .header-search-toggle,
.site-header .theme-toggle,
.site-header .header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .header-search-toggle:hover,
.site-header .header-search-toggle:focus-visible,
.site-header .theme-toggle:hover,
.site-header .theme-toggle:focus-visible,
.site-header .header-cart:hover,
.site-header .header-cart:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.site-header .header-search-toggle {
  gap: 8px;
  min-width: 72px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.site-header .header-search-toggle svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .theme-toggle {
  width: 40px;
  height: 40px;
  flex: none;
  padding: 0;
  border-radius: 50%;
  font-size: 17px;
}

.site-header .theme-toggle > span {
  display: grid;
  place-items: center;
  line-height: 1;
}

.site-header .header-cart {
  position: relative;
  gap: 8px;
  min-width: 40px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .header-cart svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .header-cart b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.site-header .header-search-panel {
  position: absolute;
  z-index: 45;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 46px rgba(25, 28, 27, 0.16);
  color: var(--text);
}

.site-header .header-search-panel[hidden] {
  display: none;
}

.site-header .header-search-panel > label {
  color: var(--muted-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-header .header-search-panel > div {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.site-header .header-search-panel input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.site-header .header-search-panel input[type="search"]::placeholder {
  color: var(--muted-text);
}

.site-header .header-search-panel input[type="search"]:focus {
  box-shadow: inset 0 0 0 1px var(--orange);
}

.site-header .header-search-panel button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 6px;
  min-width: 68px;
  padding: 0 12px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.site-header .header-search-panel button[type="submit"] svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .header-search-panel button[type="submit"]:hover,
.site-header .header-search-panel button[type="submit"]:focus-visible {
  background: #df5d1a;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* The existing mobile rules hide .main-nav at 820px. This later rule keeps
 * this header's intentional two-row navigation visible without adding a
 * hamburger menu. */
@media (max-width: 1100px) {
  .site-header .header-inner {
    gap: clamp(14px, 2.4vw, 28px);
    padding-inline: clamp(24px, 4vw, 56px);
  }

  .site-header .brand--header .brand__mark {
    width: 50px;
    height: 50px;
  }

  .site-header .brand--header {
    font-size: clamp(24px, 2.8vw, 29px);
  }

  .site-header .brand--header .brand__image--custom {
    width: clamp(180px, 22vw, 235px);
    max-height: 68px;
  }

  .site-header .header-actions {
    gap: 8px;
  }
}

@media (max-width: 960px) and (min-width: 761px) {
  .site-header .header-search-toggle {
    min-width: 40px;
    padding-inline: 11px;
  }

  .site-header .header-search-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "nav"
      "actions";
    row-gap: 8px;
    min-height: 0;
    padding: 16px clamp(16px, 5vw, 28px) 14px;
  }

  .site-header .brand--header {
    grid-area: brand;
    font-size: clamp(24px, 6vw, 29px);
  }

  .site-header .brand--header .brand__mark {
    width: 50px;
    height: 50px;
  }

  .site-header .brand--header .brand__image--custom {
    width: clamp(170px, 48vw, 245px);
    max-height: 64px;
  }

  .site-header .main-nav.header-nav {
    position: static;
    z-index: auto;
    grid-area: nav;
    display: flex;
    align-self: center;
    justify-self: center;
    width: 100%;
    gap: 9px;
    min-width: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    justify-content: center;
  }

  .site-header .nav-category-menu {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .nav-category-menu > summary {
    min-width: 0;
    gap: 6px;
    padding-inline: 2px;
  }

  .site-header .nav-category-menu__panel {
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    width: auto;
    max-height: min(70dvh, calc(100dvh - 160px));
  }

  .site-header .header-actions {
    grid-area: actions;
    align-self: center;
    justify-self: center;
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-left: 0;
  }

  .site-header .header-search-toggle {
    min-width: 40px;
    padding-inline: 11px;
  }

  .site-header .header-search {
    position: static;
  }

  .site-header .header-search-panel {
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    width: auto;
  }

  .site-header .header-cart {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .site-header .header-inner {
    padding-inline: 16px;
  }

  .site-header .brand--header .brand__mark {
    width: 46px;
    height: 46px;
  }

  .site-header .brand--header {
    font-size: clamp(22px, 7vw, 27px);
  }

  .site-header .brand--header .brand__image--custom {
    width: min(220px, 58vw);
    max-height: 58px;
  }

  .site-header .nav-home,
  .site-header .nav-category-menu > summary {
    min-height: 38px;
    font-size: 11px;
  }

  .site-header .nav-category-menu > summary .category-grid-icon {
    width: 17px;
    height: 17px;
  }

  .site-header .header-search-toggle,
  .site-header .theme-toggle,
  .site-header .header-cart {
    min-height: 38px;
  }

  .site-header .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .site-header .header-search-panel {
    width: auto;
  }
}

@media (max-width: 380px) {
  .site-header .header-inner {
    padding-inline: 14px;
    row-gap: 11px;
  }

  .site-header .main-nav.header-nav {
    gap: 6px;
  }

  .site-header .nav-category-menu > summary {
    gap: 5px;
    font-size: 10.5px;
  }

  .site-header .nav-category-menu > summary .category-grid-icon {
    width: 16px;
    height: 16px;
  }

  .site-header .nav-category-menu > summary .category-chevron {
    width: 12px;
    height: 12px;
  }

  .site-header .header-actions {
    gap: 6px;
  }

  .site-header .header-search-toggle,
  .site-header .theme-toggle,
  .site-header .header-cart {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .site-header .header-search-toggle > span,
  .site-header .header-cart > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header .header-search-toggle {
    position: relative;
  }

  .site-header .header-cart {
    overflow: visible;
  }

  .site-header .header-cart b {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 17px;
    height: 17px;
    font-size: 9px;
  }

  .site-header .nav-category-menu__panel {
    left: 14px;
    right: 14px;
    width: auto;
    max-height: min(68dvh, calc(100dvh - 145px));
    padding: 15px;
  }

  .site-header .header-search-panel {
    left: 14px;
    right: 14px;
    width: auto;
  }
}

/* Logo-bearing content boxes should contain custom artwork rather than crop it. */
.studio-note__symbol img {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  max-width: calc(100% - 18px);
  max-height: calc(100% - 18px);
  object-fit: contain;
}

.empty-products__mark img {
  width: 72%;
  height: 72%;
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  border-radius: 50%;
}

.brand--footer .brand__image--custom {
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 64px;
  object-fit: contain;
}

/* Merkez logo vurgusu: iki yan grubun boyutu ve yerleşimi değişmez. */
.site-header .brand--header {
  transform: scale(1.5);
  transform-origin: center;
}
@media (max-width: 760px) {
  .site-header .brand--header {
    transform: scale(1.4);
  }
}

.site-header .store-link { gap: 6px; }
.site-header .store-link__icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header .category-menu-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: contain;
}
@media (max-width: 380px) {
  .site-header .store-link { gap: 4px; }
  .site-header .store-link__icon { width: 13px; height: 13px; }
}


.site-header .brand--header > .brand__image-set{display:inline-grid;flex:none;place-items:center;min-width:0;overflow:visible;line-height:0}.site-header .brand--header .brand__image-set>.brand__image--custom{grid-area:1/1}


.floating-cart{position:fixed;z-index:46;right:clamp(13px,2.4vw,32px);bottom:clamp(24px,7vh,56px);display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 12px 0 15px;border:1px solid var(--theme-border);border-radius:999px;background:var(--theme-header-bg);box-shadow:0 14px 36px color-mix(in srgb,var(--theme-shadow) 24%,transparent);color:var(--theme-header-text);font-size:11px;font-weight:800;transition:transform .2s,border-color .2s,color .2s,box-shadow .2s;animation:floating-cart-in .22s ease both}.floating-cart[hidden]{display:none!important}.floating-cart:hover{transform:translateY(-3px);border-color:var(--theme-accent);color:var(--theme-accent);box-shadow:0 18px 42px color-mix(in srgb,var(--theme-shadow) 31%,transparent)}.floating-cart svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.floating-cart b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--theme-accent);color:var(--theme-accent-text);font-size:9px;font-weight:800}.floating-cart:focus-visible{outline:2px solid var(--theme-accent);outline-offset:4px}@keyframes floating-cart-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.floating-cart{right:14px;bottom:calc(18px + env(safe-area-inset-bottom));min-height:48px;padding-inline:13px;font-size:10px}}@media(prefers-reduced-motion:reduce){.floating-cart{animation:none;transition:none}}
.floating-cart{font-family:inherit;cursor:pointer;text-align:left}

/* Reference-inspired, brand-first header and promise ribbon. */
.header-benefit-bar{display:flex;align-items:center;justify-content:center;gap:0;min-height:37px;padding:0 clamp(18px,5vw,64px);background:var(--header-benefit-bg-light,#f2e7dc);color:var(--theme-text,#3b3029);border-bottom:1px solid color-mix(in srgb,var(--theme-border,#dedbd4) 70%,transparent)}
:root[data-theme="dark"] .header-benefit-bar{background:var(--header-benefit-bg-dark,#242827);color:var(--theme-text,#e6e2db)}
.header-benefit{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;padding:0 clamp(12px,2.2vw,32px);color:inherit}
.header-benefit+.header-benefit{border-left:1px solid color-mix(in srgb,currentColor 22%,transparent)}
.header-benefit svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.header-benefit__text{font-size:var(--presentation-size-benefits,11px);line-height:1.3;white-space:nowrap;color:inherit}
.site-header{position:relative;z-index:40;background:var(--theme-header-bg,#faf8f2);border-bottom:1px solid var(--theme-border,#dedbd4)}
.site-header .header-inner{display:block;width:min(100% - 48px,1180px);max-width:1180px;margin:0 auto;padding:0}
.header-primary-row{display:grid;grid-template-columns:minmax(170px,220px) minmax(240px,1fr) auto;align-items:center;gap:clamp(18px,3vw,42px);min-height:112px}
.brand--header{grid-column:auto;grid-row:auto;justify-self:start;display:flex;align-items:center;justify-content:flex-start;width:auto;min-width:0;max-width:220px;min-height:84px}
.brand--header img{display:block;max-width:100%;width:auto;height:auto;max-height:80px;object-fit:contain}
.header-search--inline{position:relative;display:flex;align-items:center;width:100%;height:46px;border:1px solid var(--theme-border,#dedbd4);border-radius:28px;background:color-mix(in srgb,var(--theme-surface,#fbf9f4) 78%,transparent);overflow:hidden}
.header-search--inline input[type="search"]{width:100%;min-width:0;height:100%;padding:0 18px;border:0!important;border-radius:28px;background:transparent!important;color:var(--theme-text,#303335);font-size:13px;outline:none}
.header-search--inline input[type="search"]::-webkit-search-cancel-button{cursor:pointer}
.header-search--inline button{display:grid;place-items:center;width:52px;height:100%;flex:none;padding:0;border:0;background:transparent;color:var(--theme-header-text,#303335);cursor:pointer}
.header-search--inline button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.4vw,20px);grid-column:auto;grid-row:auto;min-width:max-content}
.header-action{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;color:var(--theme-header-text,#303335);font-size:12px;text-decoration:none;white-space:nowrap}
.header-action svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.header-action:hover{color:var(--theme-accent,#f36b21)}
.header-action b{position:absolute;top:-1px;left:14px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:var(--theme-accent,#f36b21);color:var(--theme-accent-text,#fff);font-size:9px;font-weight:700}
.header-actions .theme-toggle{order:0;display:grid;place-items:center;width:34px;height:38px;padding:0;border:0;background:transparent;color:var(--theme-header-text,#303335);font-size:19px;cursor:pointer}
.header-category-row{display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,4vw,58px);min-height:47px;overflow-x:auto;border-top:1px solid color-mix(in srgb,var(--theme-border,#dedbd4) 65%,transparent);scrollbar-width:none}
.header-category-row::-webkit-scrollbar{display:none}
.header-category-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:45px;color:var(--theme-header-text,#303335);font-size:12px;text-decoration:none;white-space:nowrap;transition:color .18s ease}
.header-category-link:hover,.header-category-link--all{color:var(--theme-accent,#f36b21)}
.header-category-link .category-menu-icon{width:17px;height:17px;object-fit:contain}
@media(max-width:900px){.site-header .header-inner{width:calc(100% - 32px)}.header-primary-row{grid-template-columns:minmax(130px,175px) minmax(180px,1fr) auto;gap:16px;min-height:95px}.brand--header{max-width:175px}.brand--header img{max-height:68px}.header-actions{gap:10px}.header-action{gap:5px}.header-category-row{justify-content:flex-start;gap:34px}}
@media(max-width:650px){.header-benefit-bar{justify-content:space-between;min-height:34px;padding:0 10px}.header-benefit{gap:5px;padding:0 7px}.header-benefit svg{width:15px;height:15px}.header-benefit__text{font-size:9px;white-space:normal;text-align:center}.header-benefit+.header-benefit{border-left:1px solid color-mix(in srgb,currentColor 20%,transparent)}.site-header .header-inner{width:calc(100% - 28px)}.header-primary-row{grid-template-columns:minmax(95px,130px) 1fr;grid-template-areas:"brand actions" "search search";gap:10px 14px;padding:13px 0 12px;min-height:0}.brand--header{grid-area:brand;max-width:130px;min-height:46px}.brand--header img{max-height:48px}.header-primary-row>.header-search{grid-area:search}.header-search--inline{height:42px}.header-search--inline input[type="search"]{font-size:12px}.header-actions{grid-area:actions;gap:10px}.header-action{min-height:35px}.header-action span{font-size:10px}.header-action svg{width:21px;height:21px}.header-actions .theme-toggle{width:28px;height:34px;font-size:17px}.header-category-row{min-height:42px;gap:25px}.header-category-link{min-height:41px;font-size:11px}}
@media(max-width:390px){.header-benefit{padding:0 4px}.header-benefit__text{font-size:8px}.header-benefit svg{width:13px;height:13px}.site-header .header-inner{width:calc(100% - 22px)}.header-primary-row{grid-template-columns:minmax(82px,105px) 1fr;gap:9px}.brand--header img{max-height:40px}.header-actions{gap:7px}.header-action{gap:3px}.header-action span{font-size:9px}.header-action svg{width:19px;height:19px}}


/* Keep the full brand wordmark visible on narrow screens. */
@media (max-width: 650px) {
  .header-primary-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "search search";
    gap: 10px;
  }
  .brand--header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
    transform-origin: left center;
  }
  .brand--header > span {
    min-width: 0;
    max-width: 100%;
  }
  .header-actions {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: end;
    gap: 8px;
  }
  .header-actions .header-action > span { display: none; }
  .header-actions .header-action {
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }
  .header-actions .header-action svg { width: 21px; height: 21px; }
  .header-actions .theme-toggle { width: 32px; min-width: 32px; }
}
@media (max-width: 390px) {
  .header-primary-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .header-actions { gap: 5px; }
  .header-actions .header-action {
    width: 31px;
    min-width: 31px;
  }
  .header-actions .header-action svg { width: 19px; height: 19px; }
  .header-actions .theme-toggle { width: 29px; min-width: 29px; }
}

@media (max-width: 650px) {
  .site-header .brand--header {
    transform: none;
    transform-origin: left center;
  }
}
