/* =========================================================
   SPRINTSHIRT — HEADER / MENU / BENEFITS BAR
   Shared across all pages.
========================================================= */

/* ===================================================== */
/* SPRINTSHIRT HEADER FINAL CSS */
/* ===================================================== */

#header {
  position: relative;
  z-index: 50;
  background: #fff !important;
  border-top: 2px solid #1f1f1f;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.035);
}

/* ===================================================== */
/* TOP BAR */
/* ===================================================== */

#header .header-nav {
  height: 38px !important;
  min-height: 38px !important;
  background: #fff !important;
  border-bottom: 1px solid #f1f1f1 !important;
  font-size: 13px !important;
}

#header .header-nav .container {
  max-width: 1500px !important;
  width: 100% !important;
}

#header .header-nav-inside,
#header .left-nav,
#header .right-nav {
  height: 38px !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
}

#header .header-nav-inside {
  justify-content: space-between !important;
}

#header .left-nav {
  justify-content: flex-start !important;
}

#header .right-nav {
  justify-content: flex-end !important;
  gap: 34px !important;
}

/* Phone + email */

#contact-link {
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
}

#contact-link a,
#contact-link .contact-hours {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: none !important;
  white-space: nowrap !important;
}

#contact-link .contact-hours {
  color: #000 !important;
  opacity: 1 !important;
}

#contact-link a[href^="tel"]::before {
  content: "☎";
  color: #e60072;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}

#contact-link a[href^="mailto"]::before {
  content: "✉";
  color: #ff8200;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}

#contact-link a[href^="tel"] svg,
#contact-link a[href^="mailto"] img {
  display: none !important;
}

/* Account */

#_desktop_user_info {
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  border: none !important;
}

#_desktop_user_info a,
#_desktop_user_info button {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

#_desktop_user_info .account.hidden-lg-up {
  display: none !important;
}

/* Profile icon */

#_desktop_user_info .signin button::before,
#_desktop_user_info .account::before {
  content: "👤";
  display: inline-block !important;
  margin-right: 7px !important;
  color: #e60072 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

/* ===================================================== */
/* WISHLIST - ONLY ONE TEXT */
/* ===================================================== */

#_desktop_an_wishlist {
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  border: none !important;
}

#_desktop_an_wishlist > a {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Hide original Wishlist / count / duplicated text */
#_desktop_an_wishlist > a > span,
#_desktop_an_wishlist > a > span *,
#_desktop_an_wishlist > a > span::before,
#_desktop_an_wishlist > a > span::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  content: none !important;
}

#_desktop_an_wishlist > a > svg {
  display: none !important;
}

#_desktop_an_wishlist > a::before {
  content: "♡" !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #e60072 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

#_desktop_an_wishlist > a::after {
  content: "Ulubione" !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

/* ===================================================== */
/* CART */
/* ===================================================== */

#_desktop_cart {
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  border: none !important;
}

#_desktop_cart a {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

#_desktop_cart svg {
  width: 14px !important;
  height: 16px !important;
  margin-right: 2px !important;
}

#_desktop_cart svg path {
  fill: #111 !important;
}

#header .header-nav a:hover,
#header .header-nav button:hover {
  color: #e60072 !important;
}

/* ===================================================== */
/* MAIN HEADER */
/* ===================================================== */

#header .header-top {
  background: #fff !important;
  padding: 22px 0 14px !important;
}

#header .header-top .container {
  max-width: 1500px !important;
  width: 100% !important;
}

#header .header-top-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Logo */

#_desktop_logo {
  display: flex !important;
  align-items: center !important;
}

#_desktop_logo .logo {
  max-width: 250px !important;
  width: 100% !important;
  height: auto !important;
}

/* Menu center */

.header-middle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.anmm-menu-wrapper,
.anmm-menu-sticky-container,
.anmm-menu,
.anmm-list {
  width: 100% !important;
}

.anmm-list {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Regular menu links */

.anmm-menu-item.anmm-menu-1 .anmm-link {
  color: #000 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  padding: 5px 0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.anmm-menu-item.anmm-menu-1 .anmm-link:hover {
  color: #e60072 !important;
}

/* Big buttons */

.custom-menu-button-sklep,
.custom-menu-button-projektuj {
  order: -1 !important;
  margin-bottom: 4px !important;
}

.custom-menu-button-sklep .anmm-link,
.custom-menu-button-projektuj .anmm-link {
  min-width: 150px !important;
  height: 48px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 0 20px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.11) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.custom-menu-button-sklep .anmm-link {
  background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
}

.custom-menu-button-projektuj .anmm-link {
  background: linear-gradient(135deg, #ff9c00 0%, #ff7800 100%) !important;
}

.custom-menu-button-sklep .anmm-link:hover,
.custom-menu-button-projektuj .anmm-link:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15) !important;
}

.custom-menu-button-sklep .anmm-link-icon,
.custom-menu-button-projektuj .anmm-link-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

/* ===================================================== */
/* SEARCH - RASPBERRY */
/* ===================================================== */

.header-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#_desktop_search {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
}

#search_widget {
  width: 100% !important;
  max-width: 245px !important;
}

#search_widget form {
  position: relative !important;
  width: 100% !important;
}

#search_widget input[type="text"],
#search_widget input[name="s"] {
  width: 100% !important;
  height: 44px !important;
  border: 2px solid #e60072 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 0 46px 0 17px !important;
  font-size: 14px !important;
  color: #111 !important;
  line-height: 44px !important;
  box-shadow: none !important;
  outline: none !important;
}

#search_widget input[type="text"]:focus,
#search_widget input[name="s"]:focus {
  border-color: #e60072 !important;
  box-shadow: 0 0 0 3px rgba(230, 0, 114, 0.12) !important;
}

#search_widget input[type="text"]::placeholder,
#search_widget input[name="s"]::placeholder {
  color: #b8b8b8 !important;
  opacity: 1 !important;
}
#search_widget button {
  position: absolute !important;
  top: 50% !important;
  right: 15px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 21px !important;
  height: 21px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#search_widget button svg {
  width: 17px !important;
  height: 17px !important;
}

#search_widget button svg path {
  fill: #e60072 !important;
}

/* ===================================================== */
/* BENEFITS BAR - CLEAN SPACING WITHOUT ESCAPES */
/* ===================================================== */

.an-sfsl {
  background: #fff !important;
  border-top: 1px solid #f1f1f1 !important;
  border-bottom: 1px solid #f1f1f1 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.an-sfsl p {
  max-width: 1180px !important;
  min-height: 44px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  color: #1b1b1b !important;
  font-size: 0 !important;
  font-weight: 700 !important;
  line-height: 44px !important;
  text-align: center !important;
  white-space: normal !important;
}

/* Главное: обычные пробелы + white-space: pre */
.an-sfsl p::before {
  content: "🛍️ Zamów już od 1 sztuki!        ✓ Produkujemy w 1–3 dni robocze!        🚚 Wysyłamy na adres lub do Paczkomatów!        ♡ Tysiące zadowolonych klientów";
  display: inline-block !important;
  font-size: 14px !important;
  line-height: 44px !important;
  letter-spacing: -0.01em !important;
  white-space: pre !important;
}

/* Tablet */
@media (max-width: 991px) {
  .an-sfsl p {
    max-width: 100% !important;
    min-height: auto !important;
    padding: 10px 18px !important;
    line-height: 1.45 !important;
  }

  .an-sfsl p::before {
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .an-sfsl p::before {
    content: "🛍️ Od 1 sztuki! ✓ 1–3 dni robocze! 🚚 Dostawa na adres lub Paczkomat!";
  }
}
/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 1199px) {
  #_desktop_logo .logo {
    max-width: 220px !important;
  }

  .anmm-list {
    gap: 10px 18px !important;
  }

  .custom-menu-button-sklep .anmm-link,
  .custom-menu-button-projektuj .anmm-link {
    min-width: 132px !important;
    height: 46px !important;
    font-size: 14px !important;
  }

  #search_widget {
    max-width: 220px !important;
  }

  #header .right-nav {
    gap: 24px !important;
  }

  #contact-link {
    gap: 12px !important;
  }
}

@media (max-width: 991px) {
  #header {
    border-top-width: 1px !important;
  }

  #header .header-nav {
    display: none !important;
  }

  #header .header-top {
    padding: 12px 0 !important;
  }

  .mobile-header {
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
  }

  .top-logo img,
  #_mobile_logo img {
    max-width: 200px !important;
  }

  .an-sfsl p {
    max-width: 100% !important;
    min-height: auto !important;
    line-height: 1.45 !important;
    padding: 10px 18px !important;
  }

  .an-sfsl p::before {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-cta-btn {
    border-radius: 8px !important;
    font-weight: 700 !important;
  }

  .mobile-cta-sklep {
    background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
    color: #fff !important;
  }

  .mobile-cta-projektuj {
    background: linear-gradient(135deg, #ff9c00 0%, #ff7800 100%) !important;
    color: #fff !important;
  }
}

@media (max-width: 575px) {
  .an-sfsl p::before {
    content: "🛍️ Od 1 sztuki! ✓ 1–3 dni robocze! 🚚 Dostawa na adres lub Paczkomat!";
  }
}
/* ===================================================== */
/* HERO SLIDER FINAL WITH REAL BUTTONS */
/* ===================================================== */

body#index .an_homeslider-block {
  max-width: 1500px !important;
  margin: 34px auto 36px !important;
  padding: 0 20px !important;
  border-radius: 28px !important;
  overflow: visible !important;
}

body#index .an_homeslider {
  position: relative !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #fff7f3 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06) !important;
}

body#index .an_homeslider .owl-stage-outer {
  border-radius: 28px !important;
  overflow: hidden !important;
}

body#index .an_homeslider-item {
  position: relative !important;
  display: block !important;
  min-height: 520px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #fff7f3 !important;
}

body#index .an_homeslider-item > img {
  width: 100% !important;
  height: 520px !important;
  object-fit: cover !important;
  object-position: center right !important;
  display: block !important;
}

/* Text layer */
body#index .an_homeslider-desc {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none !important;
}

body#index .an_homeslider-desc .container {
  position: relative !important;
  max-width: 1500px !important;
  width: 100% !important;
  padding: 0 86px !important;
  transform: translateY(-8px);
}

body#index .an_homeslider-desc .h2 {
  max-width: 560px !important;
  margin: 0 0 22px !important;
  color: #050505 !important;
  font-size: 52px !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
}

body#index .an_homeslider-desc .h2 strong,
body#index .an_homeslider-desc .h2 span {
  color: #e60072 !important;
}

body#index .an_homeslider-desc p,
body#index .an_homeslider-desc section,
body#index .an_homeslider-desc .dtf-box {
  max-width: 520px !important;
  margin: 0 !important;
  color: #202020 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* Убираем старые псевдо-кнопки */
body#index .an_homeslider-desc p::before,
body#index .an_homeslider-desc p::after,
body#index .an_homeslider-desc section::before,
body#index .an_homeslider-desc section::after,
body#index .an_homeslider-desc .dtf-box::before,
body#index .an_homeslider-desc .dtf-box::after,
body#index .an_homeslider-desc .container::before,
body#index .an_homeslider-desc .container::after {
  content: none !important;
  display: none !important;
}

/* Real hero buttons */
body#index .ss-hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-top: 28px !important;
  pointer-events: auto !important;
}

body#index .ss-hero-btn {
  min-width: 215px !important;
  height: 58px !important;
  border-radius: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}

body#index .ss-hero-btn-primary {
  background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(230, 0, 114, 0.22) !important;
}

body#index .ss-hero-btn-secondary {
  background: #fff !important;
  border: 2px solid #d9d9d9 !important;
  color: #1b1b1b !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
}

body#index .ss-hero-btn:hover {
  transform: translateY(-2px) !important;
}

body#index .ss-hero-btn-primary:hover {
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(230, 0, 114, 0.28) !important;
}

body#index .ss-hero-btn-secondary:hover {
  color: #111 !important;
  border-color: #e60072 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* Dots */
body#index .an_homeslider .owl-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 34px !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#index .an_homeslider .owl-dot {
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  background: rgba(230, 0, 114, 0.16) !important;
  border: none !important;
  margin: 0 !important;
}

body#index .an_homeslider .owl-dot span {
  display: none !important;
}

body#index .an_homeslider .owl-dot.active {
  background: #e60072 !important;
}

body#index .an_homeslider .owl-nav.disabled {
  display: none !important;
}

/* ===================================================== */
/* RESPONSIVE HERO */
/* ===================================================== */

@media (max-width: 1199px) {
  body#index .an_homeslider-item {
    min-height: 470px !important;
  }

  body#index .an_homeslider-item > img {
    height: 470px !important;
  }

  body#index .an_homeslider-desc .container {
    padding: 0 58px !important;
  }

  body#index .an_homeslider-desc .h2 {
    max-width: 470px !important;
    font-size: 46px !important;
  }

  body#index .an_homeslider-desc p,
  body#index .an_homeslider-desc section,
  body#index .an_homeslider-desc .dtf-box {
    max-width: 450px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 991px) {
  body#index .an_homeslider-block {
    margin: 22px auto 28px !important;
    padding: 0 14px !important;
  }

  body#index .an_homeslider-item {
    min-height: 440px !important;
  }

  body#index .an_homeslider-item > img {
    height: 440px !important;
    object-position: 68% center !important;
    opacity: 0.55 !important;
  }

  body#index .an_homeslider-desc .container {
    padding: 0 34px !important;
    transform: translateY(-4px);
  }

  body#index .an_homeslider-desc .h2 {
    max-width: 420px !important;
    font-size: 40px !important;
  }

  body#index .an_homeslider-desc p,
  body#index .an_homeslider-desc section,
  body#index .an_homeslider-desc .dtf-box {
    max-width: 400px !important;
    font-size: 15px !important;
  }

  body#index .ss-hero-btn {
    min-width: 180px !important;
    height: 52px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 575px) {
  body#index .an_homeslider,
  body#index .an_homeslider .owl-stage-outer,
  body#index .an_homeslider-item {
    border-radius: 20px !important;
  }

  body#index .an_homeslider-item {
    min-height: 500px !important;
  }

  body#index .an_homeslider-item > img {
    height: 500px !important;
    object-position: 72% center !important;
    opacity: 0.35 !important;
  }

  body#index .an_homeslider-desc .container {
    padding: 0 24px !important;
  }

  body#index .an_homeslider-desc .h2 {
    max-width: 320px !important;
    font-size: 34px !important;
  }

  body#index .an_homeslider-desc p,
  body#index .an_homeslider-desc section,
  body#index .an_homeslider-desc .dtf-box {
    max-width: 310px !important;
    font-size: 14px !important;
  }

  body#index .ss-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 22px !important;
    max-width: 310px !important;
  }

  body#index .ss-hero-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* ===================================================== */
/* MOBILE HEADER FIX */
/* ===================================================== */

@media (max-width: 991px) {
  /* убираем огромную пустоту */
  #header,
  #header .header-top,
  #header .header-top .container,
  #header .header-top-wrapper,
  #header .mobile,
  #header .mobile-header {
    min-height: 0 !important;
    height: auto !important;
  }

  #header .header-top {
    padding: 10px 0 !important;
    background: #fff !important;
  }

  #header .header-top .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* мобильная верхняя строка */
  #header .mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px !important;
    padding: 0 !important;
  }

  /* логотип */
  #_mobile_logo,
  .top-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    order: 1 !important;
  }

  #_mobile_logo img,
  .top-logo img,
  #header .mobile-header .logo {
    max-width: 185px !important;
    width: auto !important;
    height: auto !important;
  }

  /* бургер */
  #menu-icon {
    order: 3 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
    background: #f7f7f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 0 !important;
  }

  #menu-icon::after {
    content: "MENU";
    margin-left: 6px;
    font-size: 0;
  }

  #menu-icon svg {
    width: 22px !important;
    height: 18px !important;
  }

  #menu-icon svg path {
    fill: #111 !important;
  }

  /* мобильные иконки корзины/профиля/избранного компактно */
  #_mobile_cart,
  #_mobile_an_wishlist,
  #_mobile_user_info {
    order: 2 !important;
    float: none !important;
    margin: 0 8px 0 0 !important;
  }

  /* убираем пустые держатели высоты */
  .mobile-header-holder,
  .header-top-holder {
    height: 0 !important;
    min-height: 0 !important;
    display: none !important;
  }

  /* поиск не должен висеть отдельным блоком слева */
  #_mobile_search {
    width: 100% !important;
    order: 4 !important;
    margin-top: 10px !important;
  }

  #_mobile_search #search_widget,
  #search_widget {
    max-width: 100% !important;
    width: 100% !important;
  }

  #_mobile_search #search_widget form,
  #search_widget form {
    width: 100% !important;
  }

  #_mobile_search #search_widget input[type="text"],
  #_mobile_search #search_widget input[name="s"] {
    width: 100% !important;
    height: 42px !important;
    border: 2px solid #e60072 !important;
    border-radius: 9px !important;
    padding: 0 44px 0 16px !important;
    font-size: 14px !important;
  }

  #_mobile_search #search_widget button {
    right: 14px !important;
  }

  #_mobile_search #search_widget button svg path {
    fill: #e60072 !important;
  }

  /* фикс для кнопок снизу */
  .mobile-cta-bar {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    background: #fff !important;
    border-top: 1px solid #f1f1f1 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  }

  .mobile-cta-btn {
    height: 58px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  .mobile-cta-sklep {
    background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
  }

  .mobile-cta-projektuj {
    background: linear-gradient(135deg, #ff9c00 0%, #ff7800 100%) !important;
  }

  .mobile-cta-btn img {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1) !important;
  }

  /* benefits bar compact */
  .an-sfsl {
    margin: 0 !important;
  }

  .an-sfsl p {
    min-height: auto !important;
    padding: 9px 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .an-sfsl p::before {
    content: "🛍️ Od 1 sztuki! ✓ 1–3 dni robocze! 🚚 Dostawa na adres lub Paczkomat!" !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  /* убираем лишний отступ перед контентом */
  #wrapper {
    padding-top: 0 !important;
  }
}

/* совсем маленькие телефоны */
@media (max-width: 575px) {
  #header .header-top {
    padding: 8px 0 !important;
  }

  #_mobile_logo img,
  .top-logo img,
  #header .mobile-header .logo {
    max-width: 165px !important;
  }

  .mobile-cta-bar {
    gap: 8px !important;
    padding: 9px 10px !important;
  }

  .mobile-cta-btn {
    height: 56px !important;
    font-size: 13px !important;
  }

  .mobile-cta-btn img {
    width: 20px !important;
    height: 20px !important;
  }
}
/* ===================================================== */
/* HARD MOBILE HEADER FIX */
/* ===================================================== */

@media (max-width: 991px) {
  /* полностью убираем десктопную структуру */
  #header .header-nav,
  #header .header-middle,
  #header .header-right,
  #_desktop_logo,
  #_desktop_search,
  .anmm-menu-placeholder,
  .header-top-holder,
  .mobile-header-holder {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* сам header */
  #header {
    background: #fff !important;
    border-top: 2px solid #222 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
  }

  #header .header-top {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 0 !important;
    background: #fff !important;
  }

  #header .header-top .container,
  #header .header-top-wrapper,
  #header .mobile {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 12px !important;
    margin: 0 !important;
  }

  /* мобильная строка: лого слева, меню справа */
  #header .mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }

  /* лого */
  #_mobile_logo,
  #header .top-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    order: 1 !important;
  }

  #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    display: block !important;
    max-width: 170px !important;
    height: auto !important;
  }

  /* бургер */
  #menu-icon {
    order: 2 !important;
    float: none !important;
    width: auto !important;
    min-width: 92px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    background: #f7f7f7 !important;
    color: #333 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  #menu-icon::after {
    content: "MENU" !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  #menu-icon svg {
    width: 18px !important;
    height: 15px !important;
  }

  #menu-icon svg path {
    fill: #333 !important;
  }

  /* скрываем пустые мобильные иконки, если они создают место */
  #_mobile_cart,
  #_mobile_an_wishlist,
  #_mobile_user_info {
    display: none !important;
  }

  /* мобильный поиск делаем нормальной строкой под лого */
  #_mobile_search {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #_mobile_search #search_widget {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #_mobile_search #search_widget form {
    position: relative !important;
    width: 100% !important;
  }

  #_mobile_search #search_widget input[type="text"],
  #_mobile_search #search_widget input[name="s"] {
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    border: 2px solid #e60072 !important;
    border-radius: 9px !important;
    background: #fff !important;
    padding: 0 44px 0 15px !important;
    color: #111 !important;
    font-size: 14px !important;
    line-height: 42px !important;
    box-shadow: none !important;
  }

  #_mobile_search #search_widget button {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #_mobile_search #search_widget button svg path {
    fill: #e60072 !important;
  }

  /* убираем огромную пустую высоту, которую тема может задавать inline */
  #header [style*="height"] {
    min-height: 0 !important;
  }

  /* CTA кнопки */
  .mobile-cta-bar {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    background: #fff !important;
    border-top: 1px solid #f1f1f1 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  }

  .mobile-cta-btn {
    height: 56px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  .mobile-cta-sklep {
    background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
  }

  .mobile-cta-projektuj {
    background: linear-gradient(135deg, #ff9c00 0%, #ff7800 100%) !important;
  }

  .mobile-cta-btn img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1) !important;
  }

  /* benefits */
  .an-sfsl p {
    min-height: auto !important;
    padding: 9px 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .an-sfsl p::before {
    content: "🛍️ Od 1 sztuki! ✓ 1–3 dni robocze! 🚚 Dostawa na adres lub Paczkomat!" !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  #wrapper {
    padding-top: 0 !important;
  }
}
/* ===================================================== */
/* RESTORE MOBILE MENU BUTTON */
/* ===================================================== */

@media (max-width: 991px) {
  /* Возвращаем header-nav, потому что внутри него мобильное меню */
  #header .header-nav {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #f1f1f1 !important;
  }

  #header .header-nav .container,
  #header .header-nav .row {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 0 auto !important;
  }

  /* Скрываем только десктопную верхнюю панель */
  #header .header-nav .hidden-md-down,
  #header .header-nav-inside.hidden-md-down,
  #header .left-nav,
  #header .right-nav {
    display: none !important;
  }

  /* Показываем мобильную строку */
  #header .header-nav .hidden-lg-up.mobile,
  #header .mobile {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #header .mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }

  /* Логотип слева */
  #_mobile_logo,
  #header .top-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    order: 1 !important;
  }

  #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    display: block !important;
    max-width: 170px !important;
    width: auto !important;
    height: auto !important;
  }

  /* Кнопка меню справа */
  #menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    order: 2 !important;
    float: none !important;
    width: auto !important;
    min-width: 92px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    background: #f7f7f7 !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  #menu-icon::after {
    content: "MENU" !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  #menu-icon svg {
    width: 18px !important;
    height: 15px !important;
  }

  #menu-icon svg path {
    fill: #333 !important;
  }

  /* Убираем лишние мобильные иконки, если они пустые */
  #_mobile_cart,
  #_mobile_an_wishlist,
  #_mobile_user_info {
    display: none !important;
  }

  /* Убираем пустые holder'ы */
  .mobile-header-holder,
  .header-top-holder {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Поиск под меню */
  #_mobile_search {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 12px 10px !important;
  }

  #_mobile_search #search_widget {
    width: 100% !important;
    max-width: none !important;
  }

  #_mobile_search #search_widget input[type="text"],
  #_mobile_search #search_widget input[name="s"] {
    width: 100% !important;
    height: 42px !important;
    border: 2px solid #e60072 !important;
    border-radius: 9px !important;
    padding: 0 44px 0 15px !important;
  }
}
/* ===================================================== */
/* MOBILE OFFCANVAS MENU - CLEAN AND SYMMETRIC */
/* ===================================================== */

@media (max-width: 991px) {
  /* затемнение фона */
  .amegamenu_mobile-cover,
  .anmm-menu-mobile-cover {
    background: rgba(0, 0, 0, 0.55) !important;
  }

  /* панель меню */
  .amegamenu_mobile-modal,
  #mobile_top_menu_wrapper {
    width: 78vw !important;
    max-width: 320px !important;
    min-width: 280px !important;
    background: #fff !important;
  }

  #mobile_top_menu_wrapper {
    padding: 0 !important;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.16) !important;
  }

  /* верх меню */
  #mobile_top_menu_wrapper .mobile-menu-header {
    height: 66px !important;
    min-height: 66px !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-close {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #f7f7f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-close svg {
    width: 16px !important;
    height: 16px !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-close svg path {
    fill: #111 !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-back {
    display: none !important;
  }

  /* область пунктов */
  #mobile_top_menu_wrapper .js-top-menu-bottom,
  #mobile_top_menu_wrapper .mobile-menu-fixed {
    padding: 18px 18px 22px !important;
    background: #fff !important;
  }

  #mobile_top_menu_wrapper .anmm-list-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile_top_menu_wrapper .anmm-list-mobile li,
  #mobile_top_menu_wrapper .anmm-list-mobile .anmm-menu-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* обычные ссылки */
  #mobile_top_menu_wrapper .anmm-list-mobile .anmm-menu-1 .anmm-link {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  #mobile_top_menu_wrapper .anmm-list-mobile .anmm-menu-1 .anmm-link:hover {
    background: #f8f8f8 !important;
    color: #e60072 !important;
  }

  /* кнопки Strona główna / Projektuj */
  #mobile_top_menu_wrapper .anmm-list-mobile .custom-menu-button-sklep,
  #mobile_top_menu_wrapper .anmm-list-mobile .custom-menu-button-projektuj {
    margin-top: 8px !important;
  }

  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-sklep
    .anmm-link,
  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-projektuj
    .anmm-link {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 9px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-sklep
    .anmm-link {
    background: linear-gradient(135deg, #e60072 0%, #df166a 100%) !important;
  }

  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-projektuj
    .anmm-link {
    background: linear-gradient(135deg, #ff9c00 0%, #ff7800 100%) !important;
  }

  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-sklep
    .anmm-link-icon,
  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-projektuj
    .anmm-link-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
  }

  /* контакт */
  #mobile_top_menu_wrapper #_mobile_contactslink {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f0f0f0 !important;
  }

  #mobile_top_menu_wrapper #_mobile_contactslink a {
    width: 100% !important;
    height: 44px !important;
    border-radius: 9px !important;
    background: #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  #mobile_top_menu_wrapper #_mobile_contactslink a:hover {
    color: #e60072 !important;
  }

  /* убираем серую пустую полосу снизу */
  #mobile_top_menu_wrapper .mobile-lang-and-cur {
    display: none !important;
  }

  /* если внутри меню есть лишний серый блок */
  #mobile_top_menu_wrapper .js-top-menu,
  #mobile_top_menu_wrapper #_mobile_top_menu {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* ===================================================== */
/* MOBILE MENU LOGO + REMOVE EMPTY SPACE */
/* ===================================================== */

@media (max-width: 991px) {
  /* Верхняя часть меню */
  #mobile_top_menu_wrapper .mobile-menu-header {
    height: 74px !important;
    min-height: 74px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
    position: relative !important;
  }

  /* Логотип слева в меню */
  #mobile_top_menu_wrapper .mobile-menu-header::before {
    content: "" !important;
    display: block !important;
    width: 180px !important;
    height: 44px !important;
    background-image: url("/img/logo-1776850122.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
  }

  /* Кнопка закрытия справа */
  #mobile_top_menu_wrapper .megamenu_mobile-btn-close {
    position: static !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    background: #f7f7f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-close svg {
    width: 15px !important;
    height: 15px !important;
  }

  #mobile_top_menu_wrapper .megamenu_mobile-btn-close svg path {
    fill: #111 !important;
  }

  /* Убираем кнопку "назад", если она занимает место */
  #mobile_top_menu_wrapper .megamenu_mobile-btn-back {
    display: none !important;
  }

  /* Убираем лишний верхний пустой блок/отступ */
  #mobile_top_menu_wrapper .js-top-menu-bottom,
  #mobile_top_menu_wrapper .mobile-menu-fixed {
    padding-top: 16px !important;
  }

  /* Кнопки сразу после логотипа без огромного отступа */
  #mobile_top_menu_wrapper .anmm-list-mobile {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-sklep:first-child,
  #mobile_top_menu_wrapper
    .anmm-list-mobile
    .custom-menu-button-projektuj:first-child {
    margin-top: 0 !important;
  }

  /* Если тема вставляет пустой блок сверху меню */
  #mobile_top_menu_wrapper #_mobile_top_menu,
  #mobile_top_menu_wrapper .js-top-menu {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* ===================================================== */
/* MOBILE MENU REMOVE EMPTY SPACE AFTER LOGO */
/* ===================================================== */

@media (max-width: 991px) {
  /* полностью убираем пустой контейнер между шапкой меню и кнопками */
  #mobile_top_menu_wrapper #_mobile_top_menu,
  #mobile_top_menu_wrapper .js-top-menu,
  #mobile_top_menu_wrapper .js-top-menu.mobile {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* убираем лишние отступы у области меню */
  #mobile_top_menu_wrapper .js-top-menu-bottom,
  #mobile_top_menu_wrapper .mobile-menu-fixed {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }

  /* кнопки сразу после логотипа */
  #mobile_top_menu_wrapper .anmm-list-mobile {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 10px !important;
  }

  #mobile_top_menu_wrapper .anmm-list-mobile .custom-menu-button-sklep {
    margin-top: 0 !important;
  }

  /* если пустоту дает первый пункт/псевдоэлемент */
  #mobile_top_menu_wrapper .anmm-list-mobile::before,
  #mobile_top_menu_wrapper .mobile-menu-fixed::before,
  #mobile_top_menu_wrapper .js-top-menu-bottom::before {
    content: none !important;
    display: none !important;
  }
  /* чуть компактнее верх с логотипом */
  #mobile_top_menu_wrapper .mobile-menu-header {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 18px !important;
  }
}

/* =====================================================
   MOBILE HEADER — FIX BROKEN SCROLL STATE
   стабильно на всех страницах при скролле
   ===================================================== */

@media (max-width: 991px) {
  /* основной header */
  #header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    background: #fff !important;
    border-top: 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    z-index: 100 !important;
  }

  /* отключаем sticky/fixed состояние темы */
  #header.is-sticky,
  #header.sticky,
  #header.fixed,
  #header.header-sticky,
  #header.header-is-sticky,
  .fixed-menu,
  .anmm-menu-sticky-container,
  .anmm-menu-wrapper.sticky,
  .anmm-menu-wrapper.fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
  }

  /* убираем пустые holder'ы, которые появляются при sticky */
  .header-top-holder,
  .mobile-header-holder,
  .anmm-menu-placeholder,
  .anmm-menu-sticky-holder,
  .sticky-wrapper,
  .sticky-placeholder {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* верхняя зона */
  #header .header-top,
  #header .header-nav {
    position: relative !important;
    top: auto !important;
    transform: none !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #header .header-top .container,
  #header .header-nav .container,
  #header .header-top-wrapper,
  #header .mobile {
    width: 100% !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    transform: none !important;
  }

  /* сама строка с логотипом и MENU */
  #header .mobile-header {
    position: relative !important;
    top: auto !important;
    transform: none !important;

    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    background: #fff !important;
    border-bottom: 1px solid #f1f1f1 !important;
    box-shadow: none !important;

    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* логотип */
  #_mobile_logo,
  #header .top-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    height: 68px !important;
    min-height: 68px !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
    order: 1 !important;
    flex: 1 1 auto !important;
  }

  #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    display: block !important;
    width: auto !important;
    max-width: 185px !important;
    max-height: 42px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* кнопка MENU */
  #menu-icon {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    order: 2 !important;
    flex: 0 0 auto !important;
    float: none !important;

    width: auto !important;
    min-width: 98px !important;
    height: 44px !important;
    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    background: #f7f7f7 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;

    color: #111 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    cursor: pointer !important;
  }

  #menu-icon::after {
    content: "MENU" !important;
    display: inline-block !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  #menu-icon svg {
    width: 20px !important;
    height: 16px !important;
    margin: 0 !important;
    display: block !important;
  }

  #menu-icon svg path {
    fill: #111 !important;
  }

  /* скрываем мобильные иконки, если они ломают ряд */
  #_mobile_cart,
  #_mobile_an_wishlist,
  #_mobile_user_info {
    display: none !important;
  }

  /* поиск не должен появляться поверх шапки при скролле */
  #_mobile_search {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 16px 12px !important;
    background: #fff !important;
  }

  /* убираем лишний отступ у страницы после header */
  #wrapper {
    padding-top: 0 !important;
  }
}

/* маленькие телефоны */
@media (max-width: 575px) {
  #header .mobile-header {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 0 14px !important;
  }

  #_mobile_logo,
  #header .top-logo {
    height: 64px !important;
    min-height: 64px !important;
  }

  #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    max-width: 170px !important;
    max-height: 40px !important;
  }

  #menu-icon {
    min-width: 92px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
  }
}
/* =========================================================
   SPRINTSHIRT — КНОПКА КОРЗИНЫ В МОБИЛЬНОЙ ШАПКЕ
   Возвращаем скрытую корзину и делаем красивую кнопку.
   Куда: Anvanto → Custom CSS, В САМЫЙ НИЗ.
   ========================================================= */

@media (max-width: 991px) {
  /* ПОКАЗЫВАЕМ корзину (раньше была display:none) */
  #header #_mobile_cart {
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;

    order: 2 !important; /* слева от MENU */
    float: none !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* MENU ставим правее корзины */
  #header #menu-icon {
    order: 3 !important;
  }

  /* зазор между логотипом / корзиной / MENU */
  #header .mobile-header {
    gap: 10px !important;
  }

  /* контейнеры внутри корзины — без своих фонов/отступов */
  #header #_mobile_cart .blockcart,
  #header #_mobile_cart .header {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* САМА КНОПКА-ССЫЛКА */
  #header #_mobile_cart .blockcart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px !important;

    background: linear-gradient(135deg, #e60072 0%, #ff7a00 100%) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 8px 20px rgba(230, 0, 114, 0.22) !important;

    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      filter 0.18s ease !important;
  }

  #header #_mobile_cart .blockcart-link:active {
    transform: translateY(1px) !important;
    filter: brightness(1.03) !important;
  }

  /* иконка корзины — белая */
  #header #_mobile_cart .blockcart-link svg {
    width: 16px !important;
    height: 18px !important;
    display: block !important;
    margin: 0 !important;
  }

  #header #_mobile_cart .blockcart-link svg path {
    fill: #ffffff !important;
  }

  /* сумма рядом с иконкой (тема прячет её на мобиле — показываем) */
  #header #_mobile_cart .blockcart-link-price {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;

    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }

  /* старую выпадашку корзины НЕ показываем — открывается боковая корзина */
  #header #_mobile_cart .cart-dropdown.js-cart-source {
    display: none !important;
  }
}

/* маленькие телефоны */
@media (max-width: 575px) {
  #header #_mobile_cart .blockcart-link {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 13px !important;
    border-radius: 10px !important;
  }

  #header #_mobile_cart .blockcart-link-price {
    font-size: 12px !important;
  }

  #header .mobile-header {
    gap: 8px !important;
  }
}
/* =========================================================
   SPRINTSHIRT — МОБИЛЬНАЯ ШАПКА: КНОПКИ МЕНЬШЕ + БЕЗ НАЛЁЗА
   Куда: Anvanto → Custom CSS, В САМЫЙ НИЗ.
   ========================================================= */

@media (max-width: 991px) {
  /* строка шапки: один ряд, по центру, с запасом снизу */
  #header .mobile-header {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 0 6px !important;
    overflow: visible !important;
  }

  /* логотип не должен распирать строку */
  #header #_mobile_logo,
  #header .top-logo {
    height: 56px !important;
    min-height: 56px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #header #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    max-width: 150px !important;
    max-height: 36px !important;
  }

  /* КОРЗИНА — компактнее */
  #header #_mobile_cart {
    flex: 0 0 auto !important;
  }

  #header #_mobile_cart .blockcart-link {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 11px !important;
    gap: 6px !important;
    border-radius: 9px !important;
    box-shadow: 0 6px 16px rgba(230, 0, 114, 0.2) !important;
  }

  #header #_mobile_cart .blockcart-link svg {
    width: 14px !important;
    height: 16px !important;
  }

  #header #_mobile_cart .blockcart-link-price {
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  /* MENU — компактнее */
  #header #menu-icon {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 11px !important;
    gap: 6px !important;
    border-radius: 9px !important;
  }

  #header #menu-icon::after {
    font-size: 13px !important;
  }

  #header #menu-icon svg {
    width: 17px !important;
    height: 14px !important;
  }

  /* поиск — отдельной строкой, без налёза на шапку */
  #header #_mobile_search {
    clear: both !important;
    margin-top: 4px !important;
    padding-top: 0 !important;
  }
}

/* совсем маленькие телефоны */
@media (max-width: 575px) {
  #header .mobile-header {
    gap: 6px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }

  #header #_mobile_logo img,
  #header .top-logo img,
  #header .mobile-header .logo {
    max-width: 132px !important;
    max-height: 34px !important;
  }

  #header #_mobile_cart .blockcart-link {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 9px !important;
  }

  #header #_mobile_cart .blockcart-link-price {
    font-size: 11px !important;
  }

  #header #menu-icon {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 9px !important;
  }

  #header #menu-icon::after {
    font-size: 12px !important;
  }
}
/* Mobile LCP optimization: keep top service strip, remove only pseudo-element */
@media (max-width: 767px) {
  .an-sfsl p::before,
  .an-sfsl p:before {
    content: none !important;
    display: none !important;
  }

  .an-sfsl {
    padding: 6px 8px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .an-sfsl p {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}
/* Mobile: keep service strip, but prevent it from dominating LCP */
@media (max-width: 767px) {
  .an-sfsl {
    padding: 3px 6px !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .an-sfsl p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .an-sfsl p::before,
  .an-sfsl p:before {
    content: none !important;
    display: none !important;
  }
}
@media (max-width: 767px) {
  .an_homecategories-item {
    min-height: auto !important;
    padding: 8px 6px !important;
  }

  .an_homecategories-image {
    margin-bottom: 4px !important;
  }

  .an_homecategories-image-main {
    width: 48px !important;
    height: 48px !important;
  }

  .an_homecategories-item-desc .h4,
  .an_homecategories-item-desc p {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }
}
