/* STOCKDIVAR_GLOBAL_HEADER_V7627_R1 */

:root {
  --sd-gh-red-v7627: #bd1f25;
  --sd-gh-red-deep-v7627: #941820;
  --sd-gh-red-soft-v7627: rgba(189, 31, 37, .09);
  --sd-gh-ink-v7627: #172033;
  --sd-gh-muted-v7627: #667085;
  --sd-gh-line-v7627: #e4e7ec;
  --sd-gh-surface-v7627: #ffffff;
  --sd-gh-soft-v7627: #f5f6f8;
  --sd-gh-control-v7627: 44px;
}

html[data-theme="dark"] {
  --sd-gh-ink-v7627: #f8fafc;
  --sd-gh-muted-v7627: #a8b1bf;
  --sd-gh-line-v7627: #2b3545;
  --sd-gh-surface-v7627: #182130;
  --sd-gh-soft-v7627: #111827;
}

/* One desktop header language for every public page that owns a site header. */
@media (min-width: 901px) {
  body.sd-global-header-v7627 .site-header {
    background: color-mix(in srgb, var(--sd-gh-surface-v7627) 94%, transparent) !important;
    border-bottom-color: var(--sd-gh-line-v7627) !important;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .055) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  body.sd-global-header-v7627 .site-header .header-inner {
    min-height: 66px !important;
    display: grid !important;
    grid-template-columns: auto minmax(230px, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body.sd-global-header-v7627 .site-header .desktop-nav {
    display: none !important;
  }

  body.sd-global-header-v7627 .site-header :is(.header-start, .brand) {
    min-width: max-content;
  }

  body.sd-global-header-v7627 .site-header .brand strong {
    color: var(--sd-gh-ink-v7627);
  }

  body.sd-global-header-v7627 .site-header .brand small {
    color: var(--sd-gh-muted-v7627);
  }

  body.sd-global-header-v7627 .site-header .header-search {
    width: 100% !important;
    max-width: none !important;
    min-height: var(--sd-gh-control-v7627) !important;
    height: var(--sd-gh-control-v7627) !important;
    margin: 0 !important;
    border: 1px solid color-mix(in srgb, var(--sd-gh-line-v7627) 75%, transparent) !important;
    border-radius: 14px !important;
    background: var(--sd-gh-soft-v7627) !important;
    color: var(--sd-gh-muted-v7627) !important;
    box-shadow: none !important;
  }

  body.sd-global-header-v7627 .site-header .header-search:focus-within {
    border-color: rgba(189, 31, 37, .34) !important;
    background: var(--sd-gh-surface-v7627) !important;
    box-shadow: 0 0 0 4px rgba(189, 31, 37, .08) !important;
  }

  body.sd-global-header-v7627 .site-header .header-search input {
    color: var(--sd-gh-ink-v7627) !important;
  }

  body.sd-global-header-v7627 .site-header .sd-header-actions-v7627 {
    min-width: max-content !important;
    display: flex !important;
    direction: rtl;
    align-items: center !important;
    gap: 8px !important;
  }

  body.sd-global-header-v7627 .sd-header-publish-v7627 {
    position: relative;
    isolation: isolate;
    height: var(--sd-gh-control-v7627);
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(117, 14, 23, .12);
    border-radius: 13px;
    background: var(--sd-gh-red-v7627);
    box-shadow: 0 8px 20px rgba(148, 24, 32, .18);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  }

  body.sd-global-header-v7627 .sd-header-publish-v7627::after,
  body.sd-global-header-v7627 .sd-header-category-v7627::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -90% auto -90% -24%;
    width: 18%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: rotate(16deg) translateX(0);
    animation: sdGlobalHeaderShineV7627 7s ease-in-out infinite;
    pointer-events: none;
  }

  body.sd-global-header-v7627 .sd-header-publish-v7627:hover,
  body.sd-global-header-v7627 .sd-header-category-v7627:hover {
    background: var(--sd-gh-red-deep-v7627) !important;
    box-shadow: 0 11px 24px rgba(148, 24, 32, .24);
    transform: translateY(-1px);
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627 {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    color: #fff !important;
    background: transparent;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .18s ease;
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627 + .sd-header-publish-item-v7627 {
    border-inline-start: 1px solid rgba(255, 255, 255, .42);
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627:hover {
    background: rgba(117, 14, 23, .22);
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627 svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.sd-global-header-v7627 .sd-header-category-v7627 {
    position: relative;
    isolation: isolate;
    min-height: var(--sd-gh-control-v7627) !important;
    height: var(--sd-gh-control-v7627) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: var(--sd-gh-red-v7627) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(148, 24, 32, .16);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  }

  body.sd-global-header-v7627 .sd-header-category-v7627 .hamburger-mini i {
    width: 15px;
    background: currentColor;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 {
    height: var(--sd-gh-control-v7627);
    display: inline-flex;
    direction: rtl;
    align-items: stretch;
    overflow: visible;
    border: 1px solid var(--sd-gh-line-v7627);
    border-radius: 13px;
    background: var(--sd-gh-surface-v7627);
    box-shadow: 0 5px 15px rgba(15, 23, 42, .05);
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .auth-actions {
    height: 100%;
    display: inline-flex !important;
    align-items: stretch;
    gap: 0;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 :is(.login-btn, .public-account-trigger, .theme-toggle) {
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--sd-gh-ink-v7627) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 :is(.login-btn, .public-account-trigger) {
    padding-inline: 10px;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .login-btn {
    min-width: 70px;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .login-btn::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 1.8px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 -6px 0 -4px currentColor;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .signup-link {
    display: none !important;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .theme-toggle {
    min-width: 66px;
    padding: 0 10px !important;
    border-inline-start: 1px solid var(--sd-gh-line-v7627) !important;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 :is(.login-btn, .public-account-trigger, .theme-toggle):hover {
    background: var(--sd-gh-red-soft-v7627) !important;
    color: var(--sd-gh-red-deep-v7627) !important;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .public-account-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    box-shadow: none;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .public-account-dropdown {
    top: calc(100% + 12px);
    left: 0;
    z-index: 100;
  }

  body.sd-global-header-v7627 .site-header :is(.sd-header-publish-item-v7627, .sd-header-category-v7627, .sd-header-utility-v7627 a, .sd-header-utility-v7627 button):focus-visible {
    position: relative;
    z-index: 3;
    outline: 3px solid rgba(37, 99, 235, .45) !important;
    outline-offset: 2px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  body.sd-global-header-v7627 .site-header .header-inner {
    gap: 8px !important;
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627,
  body.sd-global-header-v7627 .sd-header-category-v7627 {
    padding-inline: 10px !important;
  }

  body.sd-global-header-v7627 .sd-header-publish-item-v7627 svg,
  body.sd-global-header-v7627 .sd-header-utility-v7627 :is(.public-account-label, .public-account-arrow, .theme-text) {
    display: none !important;
  }

  body.sd-global-header-v7627 .sd-header-utility-v7627 .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0 !important;
  }
}

@media (min-width: 901px) and (max-width: 1030px) {
  body.sd-global-header-v7627 .site-header .brand small,
  body.sd-global-header-v7627 .sd-header-category-v7627 > span:last-child {
    display: none !important;
  }

  body.sd-global-header-v7627 .sd-header-category-v7627 {
    width: 42px;
    min-width: 42px;
    padding: 0 !important;
  }
}

/* Mobile: a symmetric top row and one two-part account/theme control. */
@media (max-width: 900px) {
  html[data-theme="light"] {
    color-scheme: light !important;
    --sd-app-bg-v772: #ffffff !important;
    --sd-app-text-v772: #172033 !important;
    --sd-app-muted-v772: #667085 !important;
    --sd-app-line-v772: #e4e7ec !important;
    --sd-theme-control-bg-v776: #ffffff !important;
    --sd-theme-control-icon-v776: #566074 !important;
  }

  html[data-theme="dark"] {
    color-scheme: dark !important;
    --sd-app-bg-v772: #111827 !important;
    --sd-app-text-v772: #f8fafc !important;
    --sd-app-muted-v772: #a8b1bf !important;
    --sd-app-line-v772: #2b3545 !important;
    --sd-theme-control-bg-v776: #182130 !important;
    --sd-theme-control-icon-v776: #f8c95c !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-header-row-v772 {
    grid-template-columns: 82px minmax(0, 1fr) 82px !important;
    grid-template-areas: "actions brand back";
    gap: 7px !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-back-v772 {
    grid-area: back;
    justify-self: end;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-brand-v772 {
    grid-area: brand;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 {
    grid-area: actions;
    justify-self: start;
    width: 82px !important;
    min-width: 82px !important;
    height: 42px !important;
    display: flex !important;
    direction: ltr;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid var(--sd-app-line-v772) !important;
    border-radius: 14px !important;
    background: var(--sd-app-bg-v772) !important;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .06) !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-theme-v776,
  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 [data-sd-theme-v776],
  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-account-v772,
  html.sd-native-app-v772 body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-theme-v776[data-sd-theme-v776] {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    display: grid !important;
    place-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--sd-app-text-v772) !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-account-v772 {
    border-inline-start: 1px solid var(--sd-app-line-v772) !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 :is(.sd-mobile-theme-v776, .sd-mobile-account-v772):hover {
    background: var(--sd-gh-red-soft-v7627) !important;
    color: var(--sd-gh-red-deep-v7627) !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-theme-v776:active,
  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-account-v772:active {
    transform: scale(.92);
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-header-v772,
  html.sd-native-app-v772[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-header-v772 {
    background: color-mix(in srgb, #111827 95%, transparent) !important;
    color: #f8fafc !important;
    border-bottom-color: #2b3545 !important;
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 :is(.sd-mobile-search-v772, .sd-mobile-back-v772, .sd-mobile-logo-v772),
  html.sd-native-app-v772[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 :is(.sd-mobile-search-v772, .sd-mobile-back-v772, .sd-mobile-logo-v772) {
    background: #182130 !important;
    color: #f8fafc !important;
    border-color: #2b3545 !important;
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776,
  html.sd-native-app-v772[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 {
    background: #182130 !important;
    border-color: #2b3545 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2) !important;
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 :is(.sd-mobile-theme-v776, .sd-mobile-account-v772),
  html.sd-native-app-v772[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 :is(.sd-mobile-theme-v776, .sd-mobile-account-v772) {
    color: #f8fafc !important;
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 .sd-mobile-theme-v776 {
    color: #f8c95c !important;
  }

  html[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-bottom-nav-v772,
  html.sd-native-app-v772[data-theme="dark"] body.stockdivar-mobile-app-shell-v772 .sd-bottom-nav-v772 {
    background: color-mix(in srgb, #111827 96%, transparent) !important;
    color: #f8fafc !important;
    border-top-color: #2b3545 !important;
  }

  /* The isolated product-detail header follows the same mobile geometry. */
  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-inner {
    width: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 82px !important;
    grid-template-areas:
      "actions brand back"
      "search search search";
    gap: 8px !important;
    padding: max(8px, env(safe-area-inset-top)) 12px 10px !important;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-back-button {
    grid-area: back;
    justify-self: end;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-brand {
    grid-area: brand;
    justify-self: center;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-search {
    grid-area: search;
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 15px !important;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-actions {
    grid-area: actions;
    justify-self: start;
    width: 82px;
    height: 42px;
    display: flex !important;
    direction: ltr;
    align-items: stretch;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid var(--sd-line, #e4e7ec);
    border-radius: 14px;
    background: var(--sd-card, #fff);
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-actions .sd-icon-button {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: grid !important;
    flex: 0 0 40px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-actions .sd-icon-button[href] {
    border-inline-start: 1px solid var(--sd-line, #e4e7ec) !important;
  }

  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-post-button {
    display: none !important;
  }
}

@media (max-width: 360px) {
  body.stockdivar-mobile-app-shell-v772 .sd-mobile-header-row-v772,
  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-inner {
    grid-template-columns: 72px minmax(0, 1fr) 72px !important;
    gap: 5px !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776,
  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-actions {
    width: 72px !important;
    min-width: 72px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }

  body.stockdivar-mobile-app-shell-v772 .sd-mobile-actions-v776 :is(.sd-mobile-theme-v776, [data-sd-theme-v776], .sd-mobile-account-v772),
  body.sd-global-header-v7627 .sd-header.sd-global-product-header-v7627 .sd-header-actions .sd-icon-button {
    width: 35px !important;
    min-width: 35px !important;
    height: 36px !important;
    flex-basis: 35px !important;
  }
}

@keyframes sdGlobalHeaderShineV7627 {
  0%, 62% { transform: rotate(16deg) translateX(0); }
  80%, 100% { transform: rotate(16deg) translateX(860%); }
}

@media (prefers-reduced-motion: reduce) {
  body.sd-global-header-v7627 .sd-header-publish-v7627,
  body.sd-global-header-v7627 .sd-header-category-v7627,
  body.sd-global-header-v7627 .sd-header-publish-item-v7627,
  body.sd-global-header-v7627 .sd-mobile-actions-v776 :is(a, button) {
    transition: none !important;
  }

  body.sd-global-header-v7627 .sd-header-publish-v7627::after,
  body.sd-global-header-v7627 .sd-header-category-v7627::after {
    animation: none !important;
  }
}
