/*
 * Header 7 — Warm Care Studio pet shop header.
 * Scope: .bsp-h7 / .bsp-header--header-7 (vars injected via huda_pro_header_7_css_vars).
 */

.bsp-h7,
.bsp-header--header-7 {
  --bsp-container: 1600px;
  background: var(--bsp-h7-bg, #ffffff);
  color: var(--bsp-h7-text, #2c2a29);
  font-family: "Nunito Sans", system-ui, sans-serif;
}

.bsp-h7 .bsp-container {
  width: min(100% - 32px, var(--bsp-container, 1320px));
  margin-inline: auto;
}

/* ============ Announcement ============ */

.bsp-h7-announce {
  background: var(--bsp-h7-announce-bg, #3d6b5a);
  color: var(--bsp-h7-announce-text, #ffffff);
}

.bsp-h7-announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 40px 8px 16px;
  text-align: center;
}

.bsp-h7-announce__text {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.bsp-h7-announce__toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.bsp-h7-announce__toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.bsp-h7-announce.is-dismissed {
  display: none;
}

/* ============ Topbar ============ */

.bsp-h7-topbar {
  background: var(--bsp-h7-topbar-bg, #f7f3ee);
  border-bottom: 1px solid var(--bsp-h7-border, #e4ddd4);
  color: var(--bsp-h7-topbar-text, #5c574f);
}

.bsp-h7-topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bsp-h7-topbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bsp-h7-topbar__links a {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-h7-topbar__links a:hover {
  color: var(--bsp-h7-accent, #3d6b5a);
}

.bsp-h7-topbar__support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.bsp-h7-topbar__support i {
  color: var(--bsp-h7-primary, #e07a5f);
  font-size: 13px;
}

.bsp-h7-topbar__support:hover {
  color: var(--bsp-h7-accent, #3d6b5a);
}

/* ============ Sticky wrap ============ */

.bsp-h7 .bsp-header-sticky-wrap {
  background: var(--bsp-h7-bg, #ffffff);
  transition: box-shadow 0.25s ease;
}

body.bsp-sticky-header.bsp-header-stuck .bsp-h7 .bsp-header-sticky-wrap,
body.bsp-sticky-header.bsp-header-stuck .bsp-header--header-7 .bsp-header-sticky-wrap {
  box-shadow: 0 8px 28px rgba(44, 42, 41, 0.08);
}

/* ============ Main row ============ */

.bsp-h7-main {
  background: var(--bsp-h7-bg, #ffffff);
}

.bsp-h7-main__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.bsp-h7-mobile-toggle {
  display: none;
}

.bsp-h7-brand {
  flex-shrink: 0;
}

.bsp-h7-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bsp-h7-logo__image img,
.bsp-h7-logo__image .custom-logo {
  max-height: 46px;
  width: auto;
  display: block;
}

.bsp-h7-logo__title {
  color: var(--bsp-h7-text, #2c2a29);
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---- Search pill ---- */

.bsp-h7-search {
  flex: 1 1 320px;
  min-width: 220px;
}

.bsp-h7-search__form {
  display: flex;
  align-items: stretch;
  height: 48px;
  border: 1px solid var(--bsp-h7-border, #e4ddd4);
  border-radius: 999px;
  background: var(--bsp-h7-topbar-bg, #f7f3ee);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bsp-h7-search__form:focus-within {
  border-color: rgba(61, 107, 90, 0.45);
  box-shadow: 0 0 0 3px rgba(61, 107, 90, 0.12);
}

.bsp-h7-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--bsp-h7-text, #2c2a29);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.bsp-h7-search__input::placeholder {
  color: var(--bsp-h7-muted, #6f6a63);
}

.bsp-h7-search__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 100%;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--bsp-h7-primary, #e07a5f);
  color: var(--bsp-h7-primary-text, #ffffff);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, filter 0.2s ease;
}

.bsp-h7-search__submit:hover {
  filter: brightness(1.05);
  background: #c96a52;
}

.bsp-h7-search .bsp-live-search {
  top: calc(100% + 10px);
  border-radius: 16px;
  border-color: var(--bsp-h7-border, #e4ddd4);
  box-shadow: 0 16px 40px rgba(44, 42, 41, 0.12);
}

/* ---- Actions ---- */

.bsp-h7-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.bsp-h7-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bsp-h7-text, #2c2a29);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.bsp-h7-action:hover {
  color: var(--bsp-h7-accent, #3d6b5a);
}

.bsp-h7-action > i {
  font-size: 22px;
}

.bsp-h7-action__icon {
  position: relative;
  display: inline-flex;
}

.bsp-h7-action__icon > i {
  font-size: 22px;
}

.bsp-h7-action__count {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bsp-h7-badge-bg, #e07a5f);
  color: var(--bsp-h7-badge-text, #ffffff);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.bsp-h7-action__count[data-count="0"] {
  opacity: 0.55;
}

.bsp-h7-action__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.bsp-h7-action__text small {
  color: var(--bsp-h7-muted, #6f6a63);
  font-size: 11px;
  font-weight: 600;
}

.bsp-h7-action__text strong {
  font-size: 13px;
  font-weight: 700;
  color: inherit;
}

/* ============ Navbar ============ */

.bsp-h7-navbar {
  background: var(--bsp-h7-bg, #ffffff);
  border-top: 1px solid var(--bsp-h7-border, #e4ddd4);
}

.bsp-h7-navbar__inner {
  min-height: 52px;
  display: flex;
  align-items: stretch;
}

.bsp-h7-nav {
  width: 100%;
}

.bsp-h7-nav__menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 52px;
}

.bsp-h7-nav__menu > li {
  position: relative;
}

.bsp-h7-nav__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  color: var(--bsp-h7-text, #2c2a29);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-h7-nav__menu > li > a:hover,
.bsp-h7-nav__menu > li.current-menu-item > a,
.bsp-h7-nav__menu > li.current-menu-ancestor > a {
  color: var(--bsp-h7-nav-active, #3d6b5a);
}

.bsp-h7-nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--bsp-h7-primary, #e07a5f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.bsp-h7-nav__menu > li:hover > a::after,
.bsp-h7-nav__menu > li.current-menu-item > a::after,
.bsp-h7-nav__menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Submenus */
.bsp-h7-nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border: 1px solid var(--bsp-h7-border, #e4ddd4);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(44, 42, 41, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.bsp-h7-nav__menu li:hover > .sub-menu,
.bsp-h7-nav__menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h7-nav__menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--bsp-h7-text, #2c2a29);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.bsp-h7-nav__menu .sub-menu a:hover {
  background: var(--bsp-h7-topbar-bg, #f7f3ee);
  color: var(--bsp-h7-accent, #3d6b5a);
}

/* ============ Mobile toggle ============ */

.bsp-h7-mobile-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--bsp-h7-border, #e4ddd4);
  border-radius: 12px;
  background: var(--bsp-h7-topbar-bg, #f7f3ee);
  cursor: pointer;
}

.bsp-h7-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--bsp-h7-text, #2c2a29);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bsp-h7-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bsp-h7-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.bsp-h7-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Mobile / tablet ============ */

@media (max-width: 992px) {
  .bsp-h7-topbar {
    display: none;
  }

  .bsp-h7-mobile-toggle {
    display: flex;
    order: 1;
  }

  .bsp-h7-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bsp-h7-actions {
    order: 3;
    gap: 14px;
    margin-left: auto;
  }

  .bsp-h7-search {
    order: 4;
    flex: 0 0 100%;
    min-width: 0;
    padding-bottom: 4px;
  }

  .bsp-h7-main__inner {
    gap: 12px 14px;
    min-height: 0;
    padding: 12px 0 10px;
  }

  .bsp-h7-action--account .bsp-h7-action__text {
    display: none;
  }

  .bsp-h7-navbar {
    border-top: 0;
  }

  .bsp-h7-navbar__inner {
    min-height: 0;
  }

  .bsp-h7-nav:not(.is-open) {
    display: none;
  }

  .bsp-h7-nav.is-open {
    display: block;
    padding-bottom: 16px;
  }

  .bsp-h7-nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 8px 0;
    border-top: 1px solid var(--bsp-h7-border, #e4ddd4);
  }

  .bsp-h7-nav__menu > li > a {
    width: 100%;
    padding: 12px 0;
  }

  .bsp-h7-nav__menu > li > a::after {
    display: none;
  }

  .bsp-h7-nav__menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    background: transparent;
  }
}

@media (max-width: 480px) {
  .bsp-h7-logo__title {
    font-size: 22px;
  }

  .bsp-h7-search__submit {
    min-width: 48px;
    padding: 0 14px;
  }
}

/* Homepage 7 playful pet-market header */
.bsp-header--header-7 {
  --bsp-h7-purple-dark: #4c2366;
  box-shadow: 0 3px 20px rgba(65, 35, 78, .06);
}

.bsp-header--header-7 .bsp-h7-announce {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 40%, rgba(255,255,255,.11) 0 3px, transparent 4px),
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.1) 0 2px, transparent 3px),
    var(--bsp-h7-announce-bg);
  background-size: 80px 80px, 80px 80px, auto;
}

.bsp-header--header-7 .bsp-h7-announce__text {
  font-weight: 800;
}

.bsp-header--header-7 .bsp-h7-topbar {
  background: var(--bsp-h7-topbar-bg);
}

.bsp-header--header-7 .bsp-h7-main__inner {
  min-height: 88px;
}

.bsp-header--header-7 .bsp-h7-logo__title {
  color: var(--bsp-h7-accent);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.bsp-header--header-7 .bsp-h7-logo__title::before {
  content: "\f1b0";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin-right: 9px;
  border-radius: 50% 50% 46% 54%;
  color: #fff;
  background: var(--bsp-h7-primary);
  font-family: "Font Awesome 6 Free";
  font-size: 18px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.bsp-header--header-7 .bsp-h7-search {
  overflow: hidden;
  border: 2px solid #f0e9f2;
  border-radius: 999px;
  background: #f8f5fa;
  box-shadow: none;
}

.bsp-header--header-7 .bsp-h7-search:focus-within {
  border-color: color-mix(in srgb, var(--bsp-h7-accent) 55%, #fff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bsp-h7-accent) 10%, transparent);
}

.bsp-header--header-7 .bsp-h7-search__submit {
  width: 58px;
  min-width: 58px;
  margin: 4px;
  border-radius: 999px;
  background: var(--bsp-h7-accent);
}

.bsp-header--header-7 .bsp-h7-search__submit:hover {
  background: var(--bsp-h7-primary);
}

.bsp-header--header-7 .bsp-h7-action__icon,
.bsp-header--header-7 .bsp-h7-account__icon {
  border-radius: 50%;
  background: #f7f2fa;
  color: var(--bsp-h7-accent);
}

.bsp-header--header-7 .bsp-h7-action:hover .bsp-h7-action__icon,
.bsp-header--header-7 .bsp-h7-account:hover .bsp-h7-account__icon {
  color: #fff;
  background: var(--bsp-h7-accent);
}

.bsp-header--header-7 .bsp-h7-action__count {
  background: var(--bsp-h7-primary);
  box-shadow: 0 0 0 3px #fff;
}

.bsp-header--header-7 .bsp-h7-navbar {
  border-top: 1px solid var(--bsp-h7-border);
  border-bottom: 0;
  background: #fff;
}

.bsp-header--header-7 .bsp-h7-nav__menu {
  justify-content: center;
  gap: 36px;
}

.bsp-header--header-7 .bsp-h7-nav__menu > li > a {
  min-height: 54px;
  font-size: 14px;
  font-weight: 800;
}

.bsp-header--header-7 .bsp-h7-nav__menu > li > a::after {
  bottom: 7px;
  height: 3px;
  border-radius: 999px;
  background: var(--bsp-h7-primary);
}

.bsp-header--header-7 .bsp-h7-nav__menu .sub-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(65,35,78,.16);
}

@media (max-width: 900px) {
  .bsp-header--header-7 .bsp-h7-main__inner {
    min-height: auto;
  }

  .bsp-header--header-7 .bsp-h7-mobile-toggle {
    color: var(--bsp-h7-accent);
  }

  .bsp-header--header-7 .bsp-h7-nav__menu {
    gap: 0;
  }
}

/* ==========================================================================
   Header 7 — Ziggy reference structure
   ========================================================================== */

.bsp-header--header-7 {
  background: #fff;
  box-shadow: none;
}

.bsp-header--header-7 .bsp-h7-topbar {
  display: block;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #7338d2, #6230c4);
}

.bsp-header--header-7 .bsp-h7-topbar__inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  min-height: 50px;
  gap: 20px;
}

.bsp-header--header-7 .bsp-h7-topbar__links {
  display: grid;
  gap: 1px;
  justify-self: start;
}

.bsp-header--header-7 .bsp-h7-topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.bsp-header--header-7 .bsp-h7-topbar__links a:hover {
  color: #fff;
  opacity: .82;
}

.bsp-header--header-7 .bsp-h7-topbar__links i {
  width: 14px;
  color: #fff;
  text-align: center;
}

.bsp-header--header-7 .bsp-h7-topbar__offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-h7-topbar__offer strong {
  padding: 5px 13px;
  border-radius: 999px;
  color: #fff;
  background: #ff7338;
  font-size: 12px;
  font-weight: 900;
}

.bsp-header--header-7 .bsp-h7-topbar__meta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 25px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.bsp-header--header-7 .bsp-h7-topbar__meta a,
.bsp-header--header-7 .bsp-h7-topbar__meta span,
.bsp-header--header-7 .bsp-h7-topbar__currency,
.bsp-header--header-7 .bsp-h7-topbar__currency * {
  color: #fff;
  text-decoration: none;
}

.bsp-header--header-7 .bsp-header-sticky-wrap,
.bsp-header--header-7 .bsp-h7-main {
  background: #fff;
}

.bsp-header--header-7 .bsp-h7-main__inner {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(320px, 1fr) minmax(220px, 310px) auto;
  align-items: center;
  gap: clamp(22px, 2.6vw, 42px);
  min-height: 112px;
  padding: 18px 0;
  flex-wrap: nowrap;
}

.bsp-header--header-7 .bsp-h7-brand {
  min-width: 170px;
}

.bsp-header--header-7 .bsp-h7-logo__image img,
.bsp-header--header-7 .bsp-h7-logo__image .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 70px;
}

.bsp-header--header-7 .bsp-h7-logo__title {
  color: #19131d;
  font-size: 25px;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-h7-nav {
  width: auto;
  min-width: 0;
}

.bsp-header--header-7 .bsp-h7-nav__menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(22px, 2.1vw, 36px);
  min-height: 0;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-h7-nav__menu > li > a {
  min-height: 44px;
  padding: 12px 0;
  color: #17121a;
  font-size: 14px;
  font-weight: 800;
}

.bsp-header--header-7 .bsp-h7-nav__menu > li > a:hover,
.bsp-header--header-7 .bsp-h7-nav__menu > li.current-menu-item > a,
.bsp-header--header-7 .bsp-h7-nav__menu > li.current-menu-ancestor > a {
  color: #ff7338;
}

.bsp-header--header-7 .bsp-h7-nav__menu > li > a::after {
  bottom: 3px;
  height: 2px;
  background: #ff7338;
}

.bsp-header--header-7 .bsp-h7-search {
  width: 100%;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.bsp-header--header-7 .bsp-h7-search__form {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f7f5f7;
}

.bsp-header--header-7 .bsp-h7-search__form:focus-within {
  border: 0;
  box-shadow: 0 0 0 3px rgba(106, 50, 203, .13);
}

.bsp-header--header-7 .bsp-h7-search__input {
  padding-left: 20px;
  font-size: 13px;
}

.bsp-header--header-7 .bsp-h7-search__submit {
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin: 3px;
  padding: 0;
  border-radius: 50%;
  background: #6c32cb;
}

.bsp-header--header-7 .bsp-h7-search__submit:hover {
  background: #ff7338;
}

.bsp-header--header-7 .bsp-h7-actions {
  gap: 19px;
  margin-left: 0;
}

.bsp-header--header-7 .bsp-h7-action {
  position: relative;
  gap: 8px;
  color: #17121a;
}

.bsp-header--header-7 .bsp-h7-action > i,
.bsp-header--header-7 .bsp-h7-action__icon > i {
  font-size: 21px;
}

.bsp-header--header-7 .bsp-h7-action__icon {
  color: #17121a;
  background: transparent;
  box-shadow: none;
}

.bsp-header--header-7 .bsp-h7-action:hover,
.bsp-header--header-7 .bsp-h7-action:hover .bsp-h7-action__icon {
  color: #ff7338;
  background: transparent;
}

.bsp-header--header-7 .bsp-h7-action__count {
  top: -9px;
  right: -10px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  color: #fff;
  background: #ff7338;
  font-size: 9px;
  box-shadow: 0 0 0 2px #fff;
  opacity: 1;
}

.bsp-header--header-7 .bsp-h7-action__count[data-count="0"] {
  opacity: 1;
}

.bsp-header--header-7 .bsp-h7-action__text {
  display: none;
}

.bsp-header--header-7 .bsp-h7-action__total {
  color: #17121a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-h7-action__total .woocommerce-Price-amount {
  color: inherit;
}

@media (max-width: 1180px) {
  .bsp-header--header-7 .bsp-h7-main__inner {
    grid-template-columns: auto minmax(300px, 1fr) minmax(190px, 250px) auto;
    gap: 20px;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu {
    gap: 20px;
  }

  .bsp-header--header-7 .bsp-h7-action__total {
    display: none;
  }
}

@media (max-width: 992px) {
  .bsp-header--header-7 .bsp-h7-topbar {
    display: none;
  }

  .bsp-header--header-7 .bsp-h7-main__inner {
    display: flex;
    min-height: auto;
    gap: 12px 14px;
    padding: 12px 0 10px;
    flex-wrap: wrap;
  }

  .bsp-header--header-7 .bsp-h7-mobile-toggle {
    display: flex;
    order: 1;
  }

  .bsp-header--header-7 .bsp-h7-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bsp-header--header-7 .bsp-h7-actions {
    order: 3;
    gap: 14px;
    margin-left: auto;
  }

  .bsp-header--header-7 .bsp-h7-search {
    order: 4;
    flex: 0 0 100%;
    padding-bottom: 4px;
  }

  .bsp-header--header-7 .bsp-h7-nav {
    order: 5;
    flex: 0 0 100%;
  }

  .bsp-header--header-7 .bsp-h7-nav:not(.is-open) {
    display: none;
  }

  .bsp-header--header-7 .bsp-h7-nav.is-open {
    display: block;
    padding: 5px 0 15px;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid var(--bsp-h7-border);
    white-space: normal;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu > li > a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .bsp-header--header-7 .bsp-h7-logo__image img,
  .bsp-header--header-7 .bsp-h7-logo__image .custom-logo {
    max-width: 160px;
    max-height: 48px;
  }

  .bsp-header--header-7 .bsp-h7-actions {
    gap: 11px;
  }

  .bsp-header--header-7 .bsp-h7-action--account {
    display: none;
  }
}

/* Final tablet/mobile layout */
@media (max-width: 992px) {
  .bsp-header--header-7 .bsp-container {
    width: min(100% - 32px, var(--bsp-container, 1320px));
  }

  .bsp-header--header-7 .bsp-h7-main__inner {
    align-items: center;
  }

  .bsp-header--header-7 .bsp-h7-mobile-toggle,
  .bsp-header--header-7 .bsp-h7-action {
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
  }

  .bsp-header--header-7 .bsp-h7-search__form {
    height: 46px;
  }

  .bsp-header--header-7 .bsp-h7-nav.is-open {
    margin-top: 2px;
    padding: 0 16px 14px;
    border: 1px solid var(--bsp-h7-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(65, 35, 78, .12);
  }

  .bsp-header--header-7 .bsp-h7-nav__menu {
    padding-top: 6px;
    border-top: 0;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu > li > a {
    min-height: 46px;
    padding: 11px 2px;
    border-bottom: 1px solid color-mix(in srgb, var(--bsp-h7-border) 70%, transparent);
  }

  .bsp-header--header-7 .bsp-h7-nav__menu > li:last-child > a {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .bsp-header--header-7 .bsp-container {
    width: calc(100% - 24px);
  }

  .bsp-header--header-7 .bsp-h7-main__inner {
    gap: 10px;
    padding: 10px 0;
  }

  .bsp-header--header-7 .bsp-h7-mobile-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 11px;
  }

  .bsp-header--header-7 .bsp-h7-brand {
    overflow: hidden;
  }

  .bsp-header--header-7 .bsp-h7-logo {
    max-width: 100%;
  }

  .bsp-header--header-7 .bsp-h7-logo__title {
    display: block;
    overflow: hidden;
    max-width: 100%;
    font-size: clamp(18px, 5.7vw, 22px);
    line-height: 36px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bsp-header--header-7 .bsp-h7-logo__title::before {
    width: 32px;
    height: 32px;
    margin-right: 7px;
    font-size: 15px;
    vertical-align: middle;
  }

  .bsp-header--header-7 .bsp-h7-actions {
    gap: 3px;
  }

  .bsp-header--header-7 .bsp-h7-action {
    width: 38px;
    min-width: 38px;
    height: 40px;
    min-height: 40px;
  }

  .bsp-header--header-7 .bsp-h7-action > i,
  .bsp-header--header-7 .bsp-h7-action__icon > i {
    font-size: 20px;
  }

  .bsp-header--header-7 .bsp-h7-search {
    padding-bottom: 0;
  }

  .bsp-header--header-7 .bsp-h7-search__input {
    padding-left: 16px;
  }
}

.bsp-header--header-7 .bsp-h7-nav .bsp-submenu-toggle {
  display: none;
}

@media (max-width: 992px) {
  .bsp-header--header-7 .bsp-h7-nav .bsp-has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }

  .bsp-header--header-7 .bsp-h7-nav .bsp-has-dropdown > a {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .bsp-header--header-7 .bsp-h7-nav .bsp-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 6px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f7f2fa;
    color: var(--bsp-h7-accent);
    cursor: pointer;
    appearance: none;
  }

  .bsp-header--header-7 .bsp-h7-nav .bsp-submenu-toggle__icon {
    display: block;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform .2s ease;
  }

  .bsp-header--header-7 .bsp-h7-nav .bsp-submenu-toggle[aria-expanded="true"] .bsp-submenu-toggle__icon {
    transform: rotate(180deg);
  }

  .bsp-header--header-7 .bsp-h7-nav__menu .bsp-has-dropdown > .sub-menu {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    padding: 5px 0 8px 14px;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu .bsp-has-dropdown.is-submenu-open > .sub-menu,
  .bsp-header--header-7 .bsp-h7-nav__menu .bsp-has-dropdown > .bsp-submenu-toggle[aria-expanded="true"] + .sub-menu {
    display: block;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu .sub-menu a {
    padding: 10px 12px;
    border-radius: 8px;
  }
}

/* Final header interactions */
header.bsp-header--header-7 {
  position: relative;
  z-index: 1000;
}

.bsp-header--header-7 .bsp-header-sticky-wrap,
.bsp-header--header-7 .bsp-h7-main,
.bsp-header--header-7 .bsp-h7-main__inner,
.bsp-header--header-7 .bsp-h7-search,
.bsp-header--header-7 .bsp-h7-search__form {
  overflow: visible;
}

.bsp-header--header-7 .bsp-h7-search,
.bsp-header--header-7 .bsp-h7-search__form {
  position: relative;
}

.bsp-header--header-7 .bsp-h7-search .bsp-live-search {
  top: calc(100% + 8px);
  z-index: 80;
  max-height: min(430px, calc(100vh - 140px));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #ece5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(65, 35, 78, .2);
}

.bsp-header--header-7 .bsp-live-search__item a {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 10px 13px;
}

.bsp-header--header-7 .bsp-live-search__item a:hover,
.bsp-header--header-7 .bsp-live-search__item a:focus-visible {
  background: #f8f3fb;
}

.bsp-header--header-7 .bsp-live-search__thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.bsp-header--header-7 .bsp-live-search__name {
  overflow: hidden;
  color: #24182c;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-live-search__price {
  color: var(--bsp-h7-primary);
  font-weight: 800;
  white-space: nowrap;
}

.bsp-header--header-7 .bsp-live-search__all {
  border-top: 1px solid #ece5f0;
  color: var(--bsp-h7-accent);
  font-weight: 800;
  text-align: center;
}

.bsp-header--header-7 .bsp-h7-topbar__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

@media (min-width: 993px) {
  .bsp-header--header-7 .bsp-h7-nav__menu > .menu-item-has-children > a::before,
  .bsp-header--header-7 .bsp-h7-nav__menu > .bsp-has-dropdown > a::before {
    content: "";
    order: 2;
    width: 7px;
    height: 7px;
    margin: -3px 0 0 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: .65;
    transform: rotate(45deg);
    transition: opacity .2s ease, transform .2s ease;
  }

  .bsp-header--header-7 .bsp-h7-nav__menu > .menu-item-has-children:hover > a::before,
  .bsp-header--header-7 .bsp-h7-nav__menu > .menu-item-has-children:focus-within > a::before,
  .bsp-header--header-7 .bsp-h7-nav__menu > .bsp-has-dropdown:hover > a::before,
  .bsp-header--header-7 .bsp-h7-nav__menu > .bsp-has-dropdown:focus-within > a::before {
    opacity: 1;
    transform: translateY(3px) rotate(225deg);
  }
}

@media (max-width: 992px) {
  .bsp-header--header-7 .bsp-h7-search .bsp-live-search {
    max-height: min(380px, calc(100vh - 170px));
  }
}

@media (max-width: 520px) {
  .bsp-header--header-7 .bsp-live-search__item a {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 9px 11px;
  }

  .bsp-header--header-7 .bsp-live-search__thumb {
    width: 44px;
    height: 44px;
  }

  .bsp-header--header-7 .bsp-live-search__price {
    grid-column: 2;
    font-size: 11px;
  }
}
