/* SOBAE single-row desktop header with a compact mobile shell. */

:root {
  --sobae-cart-action-radius: 0px;
  --sobae-cart-ink: #161616;
  --sobae-cart-paper: #fff;
}

[data-header*="type-1"] {
  --sobae-header-ink: #161616;
  --sobae-header-muted: #6b6b66;
  --sobae-header-line: #e8e6e0;
  --sobae-header-accent: #161616;
  --sobae-header-sans: var(--sobae-font-sans);
  --sobae-header-top: 64px;
  --sobae-header-nav: 0px;
  --header-height: var(--sobae-header-top) !important;
}

/* —— Announcement —— */
.sobae-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 20px;
  background: #161616;
  color: #f7f7f4;
  text-align: center;
}

.sobae-announcement__track {
  display: grid;
  min-height: 16px;
  place-items: center;
}

.sobae-announcement p {
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--sobae-header-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sobae-announcement p[hidden] {
  display: none;
}

/* —— Shell —— */
[data-header*="type-1"] header.ct-header {
  position: sticky;
  top: var(--admin-bar, 0px);
  z-index: 100;
  background: #fff;
  color: var(--sobae-header-ink);
  border-bottom: 1px solid var(--sobae-header-line);
  box-shadow: none;
}

#header.ct-header {
  position: sticky !important;
  top: var(--admin-bar, 0px) !important;
  z-index: 100 !important;
}

.home .entry-content > [id] {
  scroll-margin-top: calc(var(--header-height, 107px) + 16px);
}

[data-header*="type-1"] .ct-header .ct-container {
  width: min(calc(100% - 48px), 1492px);
  max-width: 1492px;
  padding-right: 0;
  padding-left: 0;
}

/* Desktop: logo | primary navigation | account, search and cart. */
[data-header*="type-1"] .ct-header [data-row="top"] {
  --height: var(--sobae-header-top) !important;
  background: #fff;
  border-bottom: 1px solid var(--sobae-header-line);
  box-shadow: none;
}

[data-header*="type-1"] .ct-header [data-device="desktop"] [data-row="middle"] {
  --height: 0px !important;
  display: none;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

/* Keep the desktop row as a true 3-zone layout. */
[data-header*="type-1"] .ct-header [data-row="top"] .ct-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

[data-header*="type-1"] .ct-header [data-row="top"] [data-column="start"] {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 0 0 auto;
  min-width: 0;
  padding-left: 20px;
}

[data-header*="type-1"] .ct-header [data-row="top"] [data-column="middle"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

[data-header*="type-1"] .ct-header [data-row="top"] [data-column="end"] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  padding-right: 20px;
}

[data-header*="type-1"] .ct-header [data-row="middle"] .ct-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

[data-header*="type-1"] .ct-header [data-row="middle"] [data-column="start"] {
  flex: 1 1 auto;
  min-width: 0;
}

[data-header*="type-1"] .ct-header [data-row="middle"] [data-column="end"] {
  flex: 0 0 auto;
}

/* —— Logo —— */
[data-header*="type-1"] .ct-header [data-id="logo"] {
  margin: 0;
  flex: 0 0 auto;
}

[data-header*="type-1"] .ct-header [data-id="logo"][data-logo] .site-title-container {
  display: none;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 128px;
  height: 40px;
  overflow: hidden;
}

[data-header*="type-1"] .ct-header [data-id="logo"] img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 128px;
  max-width: none;
  height: auto;
  max-height: none;
  transform: translateY(-50%);
}

/* —— Utility menu (top secondary) —— */
[data-header*="type-1"] .ct-header [data-id="menu-secondary"] {
  margin: 0;
}

[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  color: var(--sobae-header-muted);
  font-family: var(--sobae-header-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
}

[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul > li > a:hover,
[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul > li > a:focus-visible,
[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul > li.current-menu-item > a {
  color: var(--sobae-header-ink);
}

/* Hide utility submenus if any */
[data-header*="type-1"] .ct-header [data-id="menu-secondary"] .sub-menu {
  display: none !important;
}

/* —— Primary navigation —— */
[data-header*="type-1"] .ct-header [data-device="desktop"] [data-id="menu"] {
  width: 100%;
}

[data-header*="type-1"] .ct-header [data-device="desktop"] [data-id="menu"] > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li {
  position: relative;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0;
  color: var(--sobae-header-ink);
  font-family: var(--sobae-header-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: inset 0 -2px transparent;
  transition: color 150ms ease, box-shadow 150ms ease;
}

[data-header*="type-1"] .ct-header .ct-toggle-dropdown-desktop .ct-icon {
  fill: currentColor !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:focus-visible,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a {
  color: var(--sobae-header-ink);
  box-shadow: inset 0 -2px var(--sobae-header-accent);
}

/* WordPress marks every same-page anchor as current; do not highlight several rows at once. */
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a[href*="#"] {
  box-shadow: inset 0 -2px transparent;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a[href*="#"]:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a[href*="#"]:focus-visible {
  box-shadow: inset 0 -2px var(--sobae-header-accent);
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:focus-visible,
[data-header*="type-1"] .ct-header [data-id="menu-secondary"] > ul > li > a:focus-visible,
[data-header*="type-1"] .ct-header [data-id="search"]:focus-visible,
[data-header*="type-1"] .ct-header [data-id="trigger"]:focus-visible,
[data-header*="type-1"] .ct-header [data-id="cart"] .ct-cart-item:focus-visible {
  outline: 2px solid var(--sobae-header-ink);
  outline-offset: 3px;
}

/* Dropdown — guided ritual shelf */
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
  top: calc(100% - 2px);
  left: 0;
  z-index: 50;
  min-width: 304px;
  margin: 0;
  padding: 10px 0 8px;
  border: 1px solid var(--sobae-header-line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 22, 22, 0.07);
  list-style: none;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 18px;
  color: var(--sobae-header-ink);
  font-family: var(--sobae-header-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .sobae-menu-label {
  display: block;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .sobae-menu-note {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sobae-header-muted);
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:focus-visible {
  background: #f6f6f4;
  color: var(--sobae-header-ink);
  outline: 2px solid var(--sobae-header-ink);
  outline-offset: -3px;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:hover .sobae-menu-note,
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:focus-visible .sobae-menu-note {
  color: var(--sobae-header-muted);
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .sobae-menu-view-all > a,
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu li.sobae-menu-view-all > a {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--sobae-header-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .sobae-menu-view-all > a:hover {
  color: var(--sobae-header-ink);
}

/* Icons */
[data-header*="type-1"] .ct-header [data-row="top"] [data-column="end"] [data-items="primary"] {
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-header*="type-1"] .ct-header [data-id="search"],
[data-header*="type-1"] .ct-header [data-id="trigger"],
[data-header*="type-1"] .ct-header [data-id="cart"] .ct-cart-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] .ct-header [data-id="search"]:hover,
[data-header*="type-1"] .ct-header [data-id="search"]:focus-visible,
[data-header*="type-1"] .ct-header [data-id="trigger"]:hover,
[data-header*="type-1"] .ct-header [data-id="trigger"]:focus-visible,
[data-header*="type-1"] .ct-header [data-id="cart"] .ct-cart-item:hover,
[data-header*="type-1"] .ct-header [data-id="cart"] .ct-cart-item:focus-visible {
  background: #f6f6f4;
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] .ct-header [data-id="search"] .ct-icon,
[data-header*="type-1"] .ct-header [data-id="cart"] .ct-icon-container svg,
[data-header*="type-1"] .ct-header [data-id="trigger"] .ct-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .ct-dynamic-count-cart {
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--sobae-header-accent);
  color: #fff;
  font-family: var(--sobae-header-sans);
  font-size: 9px;
  font-weight: 700;
  line-height: 11px;
  letter-spacing: 0;
}

/* Mini-cart: clear of the single header row, black/white commerce styling. */
[data-header*="type-1"] .ct-header [data-device="desktop"] [data-id="cart"] .ct-cart-content {
  top: calc(100% + 12px);
  right: -20px;
  z-index: 70;
  width: 340px;
  padding: 18px;
  border: 1px solid var(--sobae-header-line);
  border-radius: 0;
  background: #fff;
  color: var(--sobae-header-ink);
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.12);
}

/* Blocksy gives the mobile dropdown a dark panel while Woo item links retain
 * light-theme colors. Keep the popup as one readable SOBAE commerce surface. */
[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .ct-cart-content {
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100svh - 104px);
  padding: 16px;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid var(--sobae-header-line);
  border-radius: 0;
  background: #fff;
  color: var(--sobae-header-ink);
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.14);
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding-right: 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sobae-header-muted) transparent;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart-item:first-child {
  padding-top: 0;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart-item:last-child {
  padding-bottom: 14px;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation {
  display: block;
  margin: 6px 0 0;
  color: var(--sobae-header-muted);
  font-family: var(--sobae-header-sans);
  font-size: 10px;
  line-height: 1.4;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation dt,
[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation dd {
  display: block;
  float: none;
  clear: both;
  width: auto;
  margin: 0;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation dt {
  color: var(--sobae-header-ink);
  font-weight: 700;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation dd {
  margin-top: 2px;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .product-data .variation p {
  display: block;
  margin: 0;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart-item:has(.variation-Complimentarygift) .quantity {
  display: none;
}

[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart__total,
[data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="cart"] .woocommerce-mini-cart__buttons {
  flex: 0 0 auto;
  background: #fff;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--sobae-header-line);
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .ct-media-container {
  grid-column: 1;
  grid-row: 1;
  width: 56px;
  height: 56px;
  margin: 0;
  background: #f6f6f4;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .ct-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .product-data {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 4px;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .product-title {
  display: block;
  margin: 0 0 5px;
  color: var(--sobae-header-ink);
  font-family: var(--sobae-header-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .quantity {
  color: var(--sobae-header-muted);
  font-family: var(--sobae-header-sans);
  font-size: 12px;
  line-height: 1.4;
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .remove {
  position: static;
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sobae-header-muted);
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .remove:hover,
[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart-item .remove:focus-visible {
  background: #f6f6f4;
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] .ct-header [data-id="cart"] .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  color: var(--sobae-header-ink);
  font-family: var(--sobae-header-sans);
  font-size: 12px;
  line-height: 1.3;
  text-transform: none;
}

.ct-cart-content .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.ct-cart-content .woocommerce-mini-cart__buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--sobae-cart-ink);
  border-radius: var(--sobae-cart-action-radius) !important;
  background: var(--sobae-cart-paper);
  color: var(--sobae-cart-ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
}

.ct-cart-content .woocommerce-mini-cart__buttons .checkout {
  background: var(--sobae-cart-ink);
  color: var(--sobae-cart-paper);
}

.ct-cart-content .woocommerce-mini-cart__buttons .button:hover,
.ct-cart-content .woocommerce-mini-cart__buttons .button:focus-visible {
  border-radius: var(--sobae-cart-action-radius) !important;
  background: var(--sobae-cart-ink);
  color: var(--sobae-cart-paper);
}

.ct-cart-content .woocommerce-mini-cart__buttons .checkout:hover,
.ct-cart-content .woocommerce-mini-cart__buttons .checkout:focus-visible {
  border-radius: var(--sobae-cart-action-radius) !important;
  background: #343434;
  border-color: #343434;
}

/* Commit CTA — stronger than nav labels */
[data-header*="type-1"] .ct-header [data-id="button"] {
  margin: 0;
}

[data-header*="type-1"] .ct-header [data-id="button"] .ct-button,
[data-header*="type-1"] .ct-header [data-id="button"] .ct-button-ghost,
[data-header*="type-1"] .ct-header [data-id="button"] a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px !important;
  padding: 0 18px !important;
  border: 1px solid var(--sobae-header-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sobae-header-ink) !important;
  font-family: var(--sobae-header-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

[data-header*="type-1"] .ct-header [data-id="button"] .ct-button:hover,
[data-header*="type-1"] .ct-header [data-id="button"] .ct-button-ghost:hover,
[data-header*="type-1"] .ct-header [data-id="button"] a:hover,
[data-header*="type-1"] .ct-header [data-id="button"] .ct-button:focus-visible,
[data-header*="type-1"] .ct-header [data-id="button"] a:focus-visible {
  background: var(--sobae-header-ink) !important;
  border-color: var(--sobae-header-ink) !important;
  color: #fff !important;
}

/* Offcanvas */
[data-header*="type-1"] #offcanvas .ct-panel-inner {
  background: #fff !important;
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] a {
  color: var(--sobae-header-ink);
  font-family: var(--sobae-header-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] a:hover,
[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] a:focus-visible {
  color: var(--sobae-header-ink);
  outline: 2px solid var(--sobae-header-ink);
  outline-offset: 3px;
}

[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu,
[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu li {
  list-style: none;
}

[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

[data-header*="type-1"] #offcanvas .ct-toggle-close,
[data-header*="type-1"] #offcanvas .ct-toggle-dropdown-mobile {
  --theme-icon-color: var(--sobae-header-ink);
  color: var(--sobae-header-ink);
}

[data-header*="type-1"] #offcanvas .ct-toggle-close .ct-icon,
[data-header*="type-1"] #offcanvas .ct-toggle-dropdown-mobile .ct-icon {
  fill: currentColor;
}

@media (max-width: 999px) {
  .sobae-announcement {
    min-height: 26px;
    padding: 5px 14px;
  }

  .sobae-announcement p {
    font-size: 10px;
  }

  [data-header*="type-1"] {
    --sobae-header-top: 64px;
    --sobae-header-nav: 0px;
    --header-height: 64px !important;
  }

  [data-header*="type-1"] .ct-header [data-row="top"] {
    display: none;
  }

  [data-header*="type-1"] .ct-header [data-row="middle"] {
    --height: 64px !important;
    border-bottom: 1px solid var(--sobae-header-line);
  }

  [data-header*="type-1"] .ct-header [data-row="middle"] [data-id="menu"],
  [data-header*="type-1"] .ct-header [data-row="middle"] [data-id="button"] {
    display: none !important;
  }

  [data-header*="type-1"] .ct-header .ct-container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  [data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="logo"] .site-logo-container {
    display: none;
  }

  [data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="logo"] .site-title-container {
    display: flex !important;
    align-items: center;
    height: 44px;
  }

  [data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="logo"] .site-title {
    margin: 0;
    line-height: 1;
  }

  [data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="logo"] .site-title a {
    display: block;
    padding-left: 0.32em;
    color: var(--sobae-header-ink);
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.32em;
    text-decoration: none;
  }

  [data-header*="type-1"] .ct-header [data-id="search"],
  [data-header*="type-1"] .ct-header [data-id="trigger"],
  [data-header*="type-1"] .ct-header [data-id="cart"] .ct-cart-item {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  [data-header*="type-1"] #offcanvas {
    --side-panel-width: 100vw;
  }

  [data-header*="type-1"] #offcanvas .ct-panel-inner {
    width: 100vw;
    max-width: 100vw;
  }

  [data-header*="type-1"] #offcanvas .ct-panel-actions {
    display: flex;
    min-height: 72px;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--sobae-header-line);
  }

  [data-header*="type-1"] #offcanvas .ct-panel-actions::before {
    content: "SOBAE";
    color: var(--sobae-header-ink);
    font-family: var(--sobae-header-sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3em;
  }

  [data-header*="type-1"] #offcanvas .ct-toggle-close {
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid transparent;
    border-radius: 0;
  }

  [data-header*="type-1"] #offcanvas .ct-toggle-close:hover,
  [data-header*="type-1"] #offcanvas .ct-toggle-close:focus-visible {
    border-color: var(--sobae-header-ink);
    outline: 0;
  }

  [data-header*="type-1"] #offcanvas .ct-panel-content[data-device="mobile"],
  [data-header*="type-1"] #offcanvas .ct-panel-content[data-device="mobile"] .ct-panel-content-inner,
  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"],
  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul {
    width: 100%;
  }

  [data-header*="type-1"] #offcanvas .ct-panel-content[data-device="mobile"] .ct-panel-content-inner {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12px 24px 32px;
    overflow-y: auto;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--sobae-header-line);
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li > a,
  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li > .ct-sub-menu-parent {
    width: 100%;
    min-height: 52px;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li > a,
  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li > .ct-sub-menu-parent > a {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li:nth-child(6) {
    margin-top: 16px;
    border-top: 1px solid var(--sobae-header-ink);
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] > ul > li:nth-child(n + 6) > a {
    min-height: 44px;
    font-size: 12px;
    font-weight: 500;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .ct-toggle-dropdown-mobile {
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin-left: auto;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu {
    margin: 0;
    padding: 6px 14px 12px;
    border-top: 1px solid var(--sobae-header-line);
    background: #f7f7f4;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu a {
    display: grid;
    min-height: 54px;
    align-content: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--sobae-header-line);
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu li:last-child a {
    border-bottom: 0;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sobae-menu-label {
    font-size: 13px;
    font-weight: 600;
  }

  [data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sobae-menu-note {
    margin-top: 2px;
    color: #6f6f6a;
    font-size: 11px;
    line-height: 1.35;
  }
}

@media (max-width: 349px) {
  [data-header*="type-1"] .ct-header [data-device="mobile"] [data-id="logo"] .site-title a {
    padding-left: 0.28em;
    font-size: 22px;
    letter-spacing: 0.28em;
  }
}
