/* TEMPORARY STYLES FOR OLD INDEX */
.home-top_new_text .add_to_cart_button {
  background-color: #f54336 !important;
  color: #fff !important;
  padding: 10px 20px !important;
  height: auto !important;
}

.register_box-btm .add_to_cart_button {
  padding: 10px 20px !important;
  height: auto !important;
  color: #fff !important;
  border: none !important;
}

.container {
  width: 100%;
  max-width: var(--container-width, 1110px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 20px);
  position: relative;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   NEW HEADER STYLES (Based on Figma)
   Mobile First Approach
   ========================================================================== */

.new-hdr {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--color-white, #fff);
  transition: transform 0.3s ease;
}

body {
  padding-top: 80px;

  @media screen and (min-width: 991px) {
    padding-top: 116px;
  }
}

/* On desktop, when scrolling down past 600px, hide the top panel by translating the whole header up */
.new-hdr.is-sticky-hidden {
  @media screen and (min-width: 991px) {
    transform: translateY(-37px); /* 36px height + 1px border of top panel */
  }
}

.new-hdr__container {
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- TOP PANEL --- */
.new-hdr__top {
  background: var(--color-bg-secondary, #fafafa);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  display: none; /* Hidden on mobile by default */

  @media screen and (min-width: 991px) {
    display: block;
  }
}

.new-hdr__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.new-hdr__top-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.new-hdr__top-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
}

.new-hdr__top-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary, #485664);
  font-size: var(--text-label, 13px);
  font-weight: 500;
  text-decoration: none;
  line-height: var(--text-label-lh, 16px);
  transition: color 0.2s;
}

.new-hdr__top-link:hover {
  color: var(--color-accent, #004b8c);
}

.new-hdr__top-link:hover .new-hdr__top-icon svg path {
  stroke: var(--color-accent, #004b8c);
}

.new-hdr__top-link .new-hdr__top-icon {
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}

.new-hdr__top-link .new-hdr__top-icon svg path {
  transition: stroke 0.2s;
}

.new-hdr__top-item.current-menu-item > .new-hdr__top-link {
  color: var(
    --color-accent-2,
    #004b8c
  ); /* Замініть на правильний токен, якщо він інший */
}

.new-hdr__top-item.current-menu-item
  > .new-hdr__top-link
  .new-hdr__top-icon
  svg
  path {
  stroke: var(--color-accent-2, #004b8c);
}

.new-hdr__top-item:hover > .new-hdr__top-link .new-hdr__top-icon {
  transform: rotate(180deg);
}

.new-hdr__top-sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white, #fff);
  min-width: 200px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm, 8px);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 100;
}

.new-hdr__top-item:hover > .new-hdr__top-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.new-hdr__top-sub-item {
  position: relative;
}

.new-hdr__top-sub-item.current-menu-item > .new-hdr__top-sub-link {
  color: var(--color-accent-2, #004b8c);
}

.new-hdr__top-sub-item.current-menu-item
  > .new-hdr__top-sub-link
  .new-hdr__top-icon
  svg
  path {
  stroke: var(--color-accent-2, #004b8c);
}

.new-hdr__top-sub-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  color: var(--color-text-secondary, #485664);
  font-size: var(--text-label, 13px);
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.new-hdr__top-sub-link:hover {
  background: var(--color-bg-secondary, #fafafa);
  color: var(--color-accent, #004b8c);
}

.new-hdr__top-sub-link:hover .new-hdr__top-icon svg path {
  stroke: var(--color-accent, #004b8c);
}

.new-hdr__top-sub-link .new-hdr__top-icon {
  display: flex;
  align-items: center;
  transform: rotate(-90deg); /* Стрілка вправо для вкладених меню */
  transition: transform 0.2s;
}

.new-hdr__top-sub-link .new-hdr__top-icon svg path {
  transition: stroke 0.2s;
}

/* Вкладене меню 3-го рівня (і далі) */
.new-hdr__top-sub .new-hdr__top-sub {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

.new-hdr__top-sub-item:hover > .new-hdr__top-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.new-hdr__lang {
  display: flex;
  align-items: center;
}

.new-hdr__lang-item {
  color: var(--color-text-tertiary, #6a7282);
  font-size: var(--text-label, 13px);
  font-weight: 500;
  text-decoration: none;
}

.new-hdr__lang-item--active {
  color: var(--color-text, #1a1e26);
}

.new-hdr__lang-div {
  width: 1px;
  height: 12px;
  background: var(--color-border);
  margin: 0 12px;
}

/* --- MAIN PANEL --- */
.new-hdr__main {
  background: var(--color-white, #fff);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.new-hdr__main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.new-hdr__logo img {
  display: block;
  height: 48px;
  width: 160px;
  object-fit: contain;

  @media screen and (min-width: 991px) {
    width: 180px;
    height: 40px;
  }
}

/* --- CART --- */
.new-hdr__cart {
  margin-left: auto;
  margin-right: 16px;

  @media screen and (min-width: 991px) {
    margin: 0;
  }
}

.new-hdr__cart-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text, #1a1e26);
  font-weight: 600;
  font-size: var(--text-body, 16px);
  position: relative;

  @media screen and (min-width: 991px) {
    font-size: var(--text-body-sm, 14px);
  }

  &:hover {
    font-weight: 600;
  }
}

.new-hdr__cart-count {
  background: var(--color-error, #f54336);
  color: var(--color-white, #fff);
  border-radius: 50px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  top: -4px;
  left: 16px;
}

/* --- MOBILE TOGGLE --- */
.new-hdr__mob-toggle {
  display: block;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;

  @media screen and (min-width: 991px) {
    display: none;
  }
}

.new-hdr__mob-toggle-line1,
.new-hdr__mob-toggle-line2 {
  transition: transform 0.3s ease;
  transform-origin: 12px 12px;
}

.new-hdr__mob-toggle.active .new-hdr__mob-toggle-line1 {
  transform: translateY(2px) rotate(45deg);
}

.new-hdr__mob-toggle.active .new-hdr__mob-toggle-line2 {
  transform: translateY(-5px) rotate(-45deg);
}

/* --- NAVIGATION --- */
.new-hdr__nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-white, #fff);
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08);
  border-radius: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  z-index: 99;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;

  padding-bottom: 16px;

  &.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  @media screen and (min-width: 991px) {
    position: static;
    width: auto;
    box-shadow: none;
    border-radius: 0;
    flex-direction: row;
    align-items: center;
    max-height: none;
    overflow-y: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;

    padding-bottom: 0;
  }
}

.new-hdr__nav:has(.new-hdr__mob-eligibility) {
  padding-bottom: 0;
}

.new-hdr__nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  width: 100%;

  @media screen and (min-width: 991px) {
    flex-direction: row;
    width: auto;
  }
}

.new-hdr__nav-item {
  position: relative;
}

/* На десктопі ховаємо пункти, що є лише у верхній панелі */
.new-hdr__nav-item--top-only {
  @media screen and (min-width: 991px) {
    display: none;
  }
}

/* --- SUB MENU (звичайне підменю — не мегаменю) --- */
.new-hdr__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 16px 16px;
  display: none;
  flex-direction: column;

  @media screen and (min-width: 991px) {
    padding: 0;
  }
}

.new-hdr__nav-item.has-submenu.open > .new-hdr__sub,
.new-hdr__sub-item.has-submenu.open > .new-hdr__sub {
  display: flex;
}

.new-hdr__sub-item {
  position: relative;
}

.new-hdr__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  height: 48px;
  color: var(--color-text, #1a1e26);
  font-weight: 600;
  font-size: var(--text-body, 16px);
  text-decoration: none;
  transition: color 0.2s;
}

.new-hdr__sub-link:hover {
  color: var(--color-accent, #004b8c);
}

.new-hdr__sub-link .new-hdr__nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.new-hdr__sub-item.has-submenu.open > .new-hdr__sub-link .new-hdr__nav-icon {
  transform: rotate(180deg);
}

/* Вкладений 3-й рівень — трохи інші відступи */
.new-hdr__sub .new-hdr__sub {
  margin-left: 12px;
  border-left-color: var(--color-accent, #004b8c);
  opacity: 0.7;
}

.new-hdr__sub .new-hdr__sub-link {
  font-size: var(--text-body-sm, 14px);
  font-weight: 500;
  color: var(--color-text-secondary, #485664);
  height: auto;
  padding: 8px 16px;
}

@media screen and (min-width: 991px) {
  /* На десктопі sub-menu — абсолютний dropdown */
  .new-hdr__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white, #fff);
    border-left: none;
    border-radius: var(--radius-sm, 8px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-left: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity 0.2s,
      visibility 0.2s,
      transform 0.2s;
  }

  .new-hdr__nav-item.has-submenu:hover > .new-hdr__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Не показуємо для .open на десктопі — там hover */
  .new-hdr__nav-item.has-submenu.open > .new-hdr__sub {
    display: block;
  }

  /* 3-й рівень — праворуч */
  .new-hdr__sub .new-hdr__sub {
    top: 0;
    left: 100%;
    margin-left: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition:
      opacity 0.2s,
      visibility 0.2s,
      transform 0.2s;
  }

  .new-hdr__sub-item.has-submenu:hover > .new-hdr__sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .new-hdr__sub-link {
    font-size: var(--text-body-sm, 14px);
    font-weight: 500;
    color: var(--color-text-secondary, #485664);
    height: auto;
    padding: 10px 20px;
  }

  .new-hdr__sub-link:hover {
    background: var(--color-bg-secondary, #fafafa);
    color: var(--color-accent, #004b8c);
  }

  .new-hdr__sub .new-hdr__sub-link {
    font-size: var(--text-body-sm, 14px);
  }
}

.new-hdr__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  height: 48px;
  color: var(--color-text, #1a1e26);
  font-weight: 600;
  font-size: var(--text-body, 16px);
  text-decoration: none;
  transition: color 0.2s;

  &:hover {
    color: var(--color-accent, #004b8c);
    font-weight: 600;
  }

  svg {
    transition: transform 0.2s;
  }

  @media screen and (min-width: 991px) {
    justify-content: flex-start;
    padding: 10px 16px;
    height: auto;
    font-size: var(--text-body-sm, 14px);
  }
}

.new-hdr__nav-item:hover > .new-hdr__nav-link svg,
.new-hdr__nav-item--mega.is-hover > .new-hdr__nav-link svg {
  @media screen and (min-width: 991px) {
    transform: rotate(180deg);
  }
}

.new-hdr__nav-item.open > .new-hdr__nav-link svg {
  transform: rotate(180deg);
}

.new-hdr__nav-item.open {
  @media screen and (max-width: 991px) {
    color: var(--color-accent, #004b8c);
    background: rgba(0, 75, 140, 0.04);
    font-weight: 600;
  }
}

.new-hdr__mega-cat {
  @media screen and (max-width: 991px) {
    padding: 0 16px 0 32px;
  }
}

/* --- MEGA MENU --- */
.new-hdr__mega {
  display: none;
  position: static;
  width: 100%;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  background: var(--color-white, #fff);

  @media screen and (min-width: 991px) {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 810px;
    border-radius: var(--radius-lg, 16px);
    box-shadow:
      0px 12px 16px 0px rgba(10, 13, 18, 0.04),
      0px 4px 6px 0px rgba(10, 13, 18, 0.03);
    z-index: 100;
    margin-top: 20px;
    height: 410px;
    opacity: 0;
    /* Fallback for browsers without transition-behavior */
    transition:
      opacity 0.2s,
      transform 0.2s;
    /* Modern: animate display + opacity + transform together */
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      display 0.22s allow-discrete;
  }
}

/* Mobile accordion open */
.new-hdr__nav-item.open > .new-hdr__mega {
  display: block;
}

/* Desktop hover open (JS adds .is-hover with intent delay) */
.new-hdr__nav-item--mega.is-hover .new-hdr__mega {
  @media screen and (min-width: 991px) {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Entry animation start state (transition-behavior: allow-discrete needs this) */
@starting-style {
  .new-hdr__nav-item--mega.is-hover .new-hdr__mega {
    @media screen and (min-width: 991px) {
      opacity: 0;
      transform: translateX(-50%) translateY(8px);
    }
  }
}

.new-hdr__mega-inner {
  display: flex;
  flex-direction: column;

  @media screen and (min-width: 991px) {
    flex-direction: row;
  }
}

.new-hdr__mega-cats {
  width: 100%;
  border-right: none;
  display: flex;
  flex-direction: column;

  @media screen and (min-width: 991px) {
    width: 306px;
    border-right: 1px solid var(--color-border, #e5e7eb);
  }
}

.new-hdr__mega-cat {
  border-bottom: 1px solid var(--color-border, #e5e7eb);

  &:last-child {
    @media screen and (min-width: 991px) {
      border-bottom: none;
    }
  }

  &.active {
    @media screen and (min-width: 991px) {
      background: var(--color-bg-secondary, #fafafa);
    }
  }
}

.new-hdr__mega-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  height: 48px;
  color: var(--color-text-alt, #041c31);
  font-weight: 600;
  font-size: var(--text-body, 16px);
  text-decoration: none;

  &:hover {
    font-weight: 600;
  }

  @media screen and (min-width: 991px) {
    font-weight: 500;
    padding: 20px;
    height: auto;

    &:hover {
      font-weight: 500;
    }
  }
}

.new-hdr__mega-cat.active .new-hdr__mega-cat-link {
  @media screen and (min-width: 991px) {
    color: var(--color-accent, #004b8c);
  }
}

.new-hdr__mega-cat .new-hdr__mega-cat-link svg {
  transform: rotate(90deg);

  width: 20px;
  height: auto;

  @media screen and (min-width: 991px) {
    transform: rotate(0);
  }
}

.new-hdr__mega-cat.open .new-hdr__mega-cat-link {
  color: var(--color-accent, #004b8c);
  background: rgba(0, 75, 140, 0.04);
  font-weight: 600;
}

.new-hdr__mega-cat .new-hdr__mega-cat-link {
  @media screen and (max-width: 991px) {
    font-size: var(--text-body-sm, 14px);
  }
}

.new-hdr__mega-cat.open .new-hdr__mega-cat-link {
  @media screen and (max-width: 991px) {
    color: var(--color-text-alt, #041c31);
    background: none;
  }
}

.new-hdr__mega-cat.open .new-hdr__mega-cat-link svg {
  transform: rotate(-90deg);

  @media screen and (min-width: 991px) {
    transform: rotate(180deg);
  }
}

/* --- PRODUCTS --- */
.new-hdr__mega-prods-desktop {
  display: none; /* Hide desktop grid on mobile */

  @media screen and (min-width: 991px) {
    display: block;
    position: relative;
    flex: 1;
    padding: 20px;
    max-height: 410px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.new-hdr__mega-prods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  @media screen and (min-width: 991px) {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }
}

.new-hdr__mega-prods-grid.active {
  @media screen and (min-width: 991px) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    overflow: visible;
  }
}

.new-hdr__mega-prods-mobile,
.new-hdr__mega-prods-mobile .new-hdr__sub {
  display: none;
  padding: 16px;
  background: var(--color-white, #fff);
  flex-direction: column;
  gap: 16px;

  @media screen and (min-width: 991px) {
    display: none !important;
  }
}

.new-hdr__mega-prods-mobile .new-hdr__sub .new-hdr__prod-title-link {
  font-weight: 600;

  &:hover {
    font-weight: 600;
  }
}

.new-hdr__mega-cat.open .new-hdr__mega-prods-mobile,
.new-hdr__mega-cat.open .new-hdr__mega-prods-mobile .new-hdr__sub {
  display: flex;
}

.new-hdr__mega-prods-mobile .new-hdr__sub {
  @media screen and (max-width: 991px) {
    padding: 0;
  }
}

.new-hdr__mega-prods-mobile {
  @media screen and (max-width: 991px) {
    padding: 12px 0 24px 0;
  }
}

.new-hdr__prod-card {
  display: flex;
  gap: 8px;
  background: var(--color-bg-secondary, #fafafa);
  border: 1px solid transparent;
  border-radius: var(--radius-lg, 16px);
  padding: 12px;
  transition: border-color 0.2s;
  align-items: center;

  @media screen and (min-width: 991px) {
    gap: 12px;
    padding: 16px;
  }
}

.new-hdr__prod-card:hover {
  border-color: var(--color-accent, #004b8c);
}

/* Фото = посилання на товар */
.new-hdr__prod-img-wrap {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xs, 6px);
  overflow: hidden;
  flex-shrink: 0;
  transition: opacity 0.2s;

  @media screen and (min-width: 991px) {
    width: 76px;
    height: 76px;
  }
}

.new-hdr__prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-hdr__prod-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;

  @media screen and (min-width: 991px) {
    gap: 12px;
  }
}

.new-hdr__prod-title {
  margin: 0;
  font-size: var(--text-body-sm, 14px);
  font-weight: 600;
  color: var(--color-text-alt, #041c31);
  line-height: 22px;

  @media screen and (min-width: 991px) {
    font-size: var(--text-body, 16px);
    line-height: 24px;
  }
}

.new-hdr__prod-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.new-hdr__prod-title-link:hover {
  color: var(--color-accent, #004b8c);
  font-weight: 600;
}

.new-hdr__prod-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-hdr__prod-price {
  display: flex;
  align-items: baseline;
  gap: 12px;

  ins {
    text-decoration: none;
  }

  bdi {
    color: var(--color-text, #1a1e26);
    font-size: var(--text-h3, 18px);
    font-weight: 600;

    @media screen and (min-width: 991px) {
      font-size: var(--text-h2, 22px);
    }
  }
}

.new-hdr__prod-price del bdi {
  color: var(--color-icon-gray, #9ca2ad);
  font-size: var(--text-body-sm, 14px);
  font-weight: 500;

  @media screen and (min-width: 991px) {
    font-size: var(--text-body, 16px);
  }
}

.new-hdr__prod-price ins bdi {
  color: var(--color-text, #1a1e26);
  font-size: var(--text-h3, 18px);
  font-weight: 600;

  @media screen and (min-width: 991px) {
    font-size: var(--text-h2, 22px);
  }
}

.new-hdr__prod-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.new-hdr__prod-actions .added_to_cart {
  display: none !important;
}

.new-hdr__prod-view {
  display: none; /* Hidden on mobile product card */

  @media screen and (min-width: 991px) {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary, #485664);
    font-size: var(--text-body-sm, 14px);
    font-weight: 600;
    text-decoration: none;

    &:hover {
      font-weight: 600;
    }
  }
}

.new-hdr__prod-view svg {
  width: 16px;
  height: auto;
}

.new-hdr__prod-view span {
  display: inline-block;
  border-bottom: 1px solid var(--color-text-secondary, #485664);
  padding-bottom: 2px;
}

.new-hdr__prod-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--color-accent-2, #f54336);
  color: var(--color-accent-2, #1a1e26);
  background: var(--color-white, #fff);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}

.new-hdr__prod-cart:hover {
  background: var(--color-accent-2, #f54336);
  color: var(--color-white, #fff);
}

.new-hdr__prod-cart.loading {
  opacity: 0.5;
  pointer-events: none;
}

.new-hdr__prod-cart.added {
  background: var(--color-success, #00c950);
  border-color: var(--color-success, #00c950);
  color: var(--color-white, #fff);
}

/* --- MOBILE ELIGIBILITY CHECK --- */
.new-hdr__mob-eligibility {
  position: sticky;
  bottom: 0;
  background: var(--color-white, #fff);
  display: block;
  padding: 24px 16px;
  border-top: 1px solid var(--color-border, #e5e7eb);

  @media screen and (min-width: 991px) {
    display: none;
  }
}

.new-hdr__eligibility-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-secondary, #fafafa);
  padding: 16px;
  border-radius: var(--radius-xl, 20px);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.new-hdr__eligibility-bg {
  position: absolute;
  top: 0;
  right: 34px;
  width: 60px;
  height: 50px;
  pointer-events: none;
  z-index: 0;
}

.new-hdr__eligibility-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.new-hdr__eligibility-text {
  color: var(--color-text, #1a1e26);
  font-weight: 600;
  font-size: var(--text-h3, 18px);
  flex-grow: 1;
}

.new-hdr__eligibility-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CART NOTIFICATION TOAST
   ========================================================================== */

.cart-notify {
  position: fixed;
  z-index: 10001;
  font-family: var(--font-family, 'Montserrat', sans-serif);
  background: var(--color-bg-secondary, #fafafa);
  border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
  box-shadow:
    0px 12px 16px 0px rgba(10, 13, 18, 0.04),
    2px -1px 6px 0px rgba(10, 13, 18, 0.04);
  padding: 16px;
  overflow: hidden;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(110%);
  transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;

  @media screen and (min-width: 991px) {
    /* position is set dynamically by JS below the cart icon */
    bottom: auto;
    left: auto;
    right: 24px; /* fallback if JS hasn't run */
    top: 80px; /* fallback */
    width: 320px;
    border-radius: var(--radius-lg, 16px);
    padding: 20px;
    box-shadow:
      0px 12px 16px 0px rgba(10, 13, 18, 0.04),
      0px 4px 6px 0px rgba(10, 13, 18, 0.03);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.25s ease,
      transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  }
}

.cart-notify.is-visible {
  transform: translateY(0);
  pointer-events: auto;

  @media screen and (min-width: 991px) {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── Flying product thumbnail (add-to-cart animation) ─────────────────────── */
.cart-flyer {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* ── Cart badge bounce on item land ───────────────────────────────────────── */
@keyframes cart-badge-bounce {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.55);
  }
  65% {
    transform: scale(0.88);
  }
  85% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.new-hdr__cart-count.is-bounce {
  animation: cart-badge-bounce 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97)
    forwards;
}

/* --- Progress bar --- */
.cart-notify__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border, #e5e7eb);
  border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
  overflow: hidden;
}

.cart-notify__progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  transition: background 0.2s;
}

.cart-notify.is-success .cart-notify__progress-fill {
  background: var(--color-success, #00c950);
}

.cart-notify.is-error .cart-notify__progress-fill {
  background: var(--color-error, #f54336);
}

.cart-notify.is-running .cart-notify__progress-fill {
  animation: cart-notify-progress var(--cart-notify-duration, 4000ms) linear
    forwards;
}

@keyframes cart-notify-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* --- Close button --- */
.cart-notify__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-secondary, #485664);
  padding: 0;
  transition:
    background 0.2s,
    color 0.2s;

  &:hover {
    background: var(--color-border, #e5e7eb);
    color: var(--color-text, #1a1e26);
  }
}

/* --- Head row: icon + title --- */
.cart-notify__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 24px;
}

.cart-notify__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;

  @media screen and (min-width: 991px) {
    width: 28px;
    height: 28px;
  }

  svg {
    width: 100%;
    height: 100%;
  }
}

.cart-notify__title {
  margin: 0;
  font-size: var(--text-h3, 18px);
  font-weight: 600;
  line-height: var(--text-h3-lh, 22px);
  color: var(--color-text, #1a1e26);
}

/* --- Product card (success state) --- */
.cart-notify__product {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-notify__img-wrap {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--radius-xs, 6px);
  overflow: hidden;
}

.cart-notify__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
}

.cart-notify__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-notify__info-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-notify__name {
  margin: 0;
  font-size: var(--text-body, 16px);
  font-weight: 600;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text-alt, #041c31);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-notify__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cart-notify__attr {
  font-size: var(--text-label, 13px);
  line-height: var(--text-label-lh, 16px);
}

.cart-notify__attr-label {
  font-weight: 600;
  color: var(--color-text-secondary, #485664);
}

.cart-notify__attr-value {
  font-weight: 500;
  color: var(--color-text-tertiary, #6a7282);
}

.cart-notify__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-notify__qty {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text-secondary, #485664);
}

.cart-notify__price {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text, #1a1e26);

  bdi {
    font-weight: 500;
    font-size: inherit;
  }
  del {
    display: none;
  }
  ins {
    text-decoration: none;
  }
}

/* --- Error message line --- */
.cart-notify__message {
  margin: 0;
  font-size: var(--text-body-sm, 14px);
  font-weight: 500;
  line-height: 22px;
  color: var(--color-text-secondary, #485664);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */

/* Anchor point — absolute child needs relative parent on desktop */
.new-hdr__cart {
  position: relative;
}

/* ── Overlay wrapper ──────────────────────────────────────────────────────── */

/* Mobile: full-screen overlay */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(10, 13, 18, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  @media screen and (min-width: 991px) {
    /* Desktop: dropdown anchored to the cart button, no overlay */
    position: absolute;
    inset: auto;
    top: calc(100% + 12px);
    right: 0;
    width: 500px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }
}

.cart-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  @media screen and (min-width: 991px) {
    transform: translateY(0);
  }
}

/* ── Panel ────────────────────────────────────────────────────────────────── */

.cart-drawer__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary, #fafafa);
  border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);

  @media screen and (min-width: 991px) {
    position: static;
    transform: none;
    border-radius: var(--radius-lg, 16px);
    max-height: 656px;
    box-shadow:
      0px 12px 16px 0px rgba(10, 13, 18, 0.04),
      0px 4px 6px 0px rgba(10, 13, 18, 0.03);
  }
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateY(0);

  @media screen and (min-width: 991px) {
    transform: none;
  }
}

/* ── Inner layout (flex column filling panel height) ─────────────────────── */

.cart-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Main section: head + scrollable body + total */
.cart-drawer__main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: var(--gap-sm, 12px);
  padding: 20px 20px 0;
  overflow: hidden;

  @media screen and (min-width: 991px) {
    gap: var(--gap-sm, 16px);
  }
}

/* ── Head ─────────────────────────────────────────────────────────────────── */

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer__title {
  margin: 0;
  font-size: var(--text-body-sm, 14px);
  font-weight: 600;
  line-height: var(--text-body-sm-lh, 22px);
  color: var(--color-text, #1a1e26);

  strong {
    font-weight: 600;
  }
}

.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-secondary, #485664);
  padding: 0;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;

  &:hover {
    background: var(--color-border, #e5e7eb);
    color: var(--color-text, #1a1e26);
  }

  @media screen and (min-width: 991px) {
    display: none;
  }
}

/* ── Items body (scrollable) ─────────────────────────────────────────────── */

.cart-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-drawer__divider {
  border: none;
  border-top: 1px solid var(--color-border, #e5e7eb);
  margin: 0;
  flex-shrink: 0;
}

/* ── Item card ───────────────────────────────────────────────────────────── */

.cart-drawer__item {
  display: flex;
  gap: var(--gap-sm, 12px);
  align-items: center;
  padding: var(--gap-sm, 12px) 0;
  transition: opacity 0.2s;
  flex-shrink: 0;

  &.is-removing {
    opacity: 0.4;
    pointer-events: none;
  }
}

.cart-drawer__item-img-wrap {
  display: block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;

  @media screen and (min-width: 991px) {
    width: 76px;
    height: 76px;
  }
}

.cart-drawer__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
}

.cart-drawer__item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs, 8px);
}

.cart-drawer__item-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-drawer__item-name-row {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm, 12px);
}

.cart-drawer__item-name {
  flex: 1;
  min-width: 0;
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text-alt, #041c31);
  text-decoration: none;
  display: block;

  &:hover {
    color: var(--color-accent, #004b8c);
  }
}

.cart-drawer__item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-icon-gray, #9ca2ad);
  transition: color 0.2s;

  &:hover {
    color: var(--color-error, #f54336);
  }

  &:disabled {
    opacity: 0.4;
    pointer-events: none;
  }
}

.cart-drawer__item-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cart-drawer__item-attr {
  font-size: var(--text-label, 13px);
  line-height: var(--text-label-lh, 16px);
}

.cart-drawer__item-attr-label {
  text-transform: capitalize;
  font-weight: 600;
  color: var(--color-text-secondary, #485664);
}

.cart-drawer__item-attr-val {
  font-weight: 500;
  color: var(--color-text-tertiary, #6a7282);
}

.cart-drawer__item-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__qty-selector {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /*height: 32px;
  padding: 4px 8px;
  border-radius: 100px;
  border: 1px solid var(--color-border, #e5e7eb);
  background: var(--color-white, #fff); */
}

.cart-drawer__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-text, #1a1e26);
  transition: opacity 0.2s;
}

.cart-drawer__qty-btn:hover {
  opacity: 0.7;
}

.cart-drawer__qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-drawer__qty-val {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: 1;
  color: var(--color-text, #1a1e26);
  min-width: 12px;
  text-align: center;
}

.cart-drawer__item-qty {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text-secondary, #485664);
}

.cart-drawer__item-price {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text, #1a1e26);

  /* WooCommerce price HTML */
  bdi {
    font-weight: 500;
    font-size: inherit;
  }
  del {
    display: none;
  }
  ins {
    text-decoration: none;
  }
}

/* ── Total row ───────────────────────────────────────────────────────────── */

.cart-drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: var(--gap-sm, 12px);
  flex-shrink: 0;
  padding: var(--gap-sm, 12px) 0 var(--gap-md, 16px);
}

.cart-drawer__total-label {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);
  color: var(--color-text-secondary, #485664);
}

.cart-drawer__total-amount {
  font-size: var(--text-h3, 18px);
  font-weight: 600;
  line-height: var(--text-h3-lh, 22px);
  color: var(--color-text, #1a1e26);

  /* WooCommerce price HTML */
  bdi {
    font-weight: 600;
    font-size: inherit;
    color: var(--color-text, #1a1e26);
  }
  del {
    display: none;
  }
  ins {
    text-decoration: none;
  }
}

/* ── Promo progress bars ─────────────────────────────────────────────────── */

.cart-drawer__promos {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm, 12px);
  padding: 0 20px;
  flex-shrink: 0;
}

.cart-drawer__promo {
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  padding: var(--gap-sm, 12px);
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs, 8px);
}

.cart-drawer__promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm, 12px);
}

.cart-drawer__promo-label {
  display: flex;
  align-items: center;
  gap: var(--gap-xs, 8px);
  font-size: var(--text-label, 13px);
  font-weight: 600;
  line-height: var(--text-label-lh, 16px);
  color: var(--color-text, #1a1e26);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  svg {
    flex-shrink: 0;
  }
}

/* Unlocked state — icon + label turn green */
.cart-drawer__promo--done .cart-drawer__promo-label {
  color: var(--color-success, #00c950);

  svg {
    color: var(--color-success, #00c950);
  }
}

.cart-drawer__promo-meta {
  font-size: var(--text-label, 13px);
  font-weight: 500;
  line-height: var(--text-label-lh, 16px);
  color: var(--color-text-tertiary, #6a7282);
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-drawer__promo-track {
  height: 4px;
  background: var(--color-border, #e5e7eb);
  border-radius: 999px;
  overflow: hidden;
}

.cart-drawer__promo-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--color-error, #f54336); /* default: in-progress = red */
  width: 0;
  transition: width 0.4s ease;
}

/* Unlocked: full green bar */
.cart-drawer__promo--done .cart-drawer__promo-fill {
  width: 100%;
  background: var(--color-success, #00c950);
}

/* ── CTA button ──────────────────────────────────────────────────────────── */

.cart-drawer__actions {
  padding: 20px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.cart-drawer__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs, 8px);
  height: 48px;
  padding: 0 var(--space-md, 16px);
  width: 100%;
  background: var(--color-error, #f54336);
  color: var(--color-white, #fff);
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  font-size: var(--text-body, 16px);
  font-weight: 700;
  line-height: var(--text-btn-lh, 20px);
  transition:
    background 0.2s,
    opacity 0.2s;

  svg {
    flex-shrink: 0;
  }

  &:hover {
    background: #d93b2f;
    color: var(--color-white, #fff);
    font-weight: 700;
  }

  @media screen and (min-width: 991px) {
    width: fit-content;
  }
}

/* ── Empty state ─────────────────────────────────────────────────────────── */

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm, 12px);
  padding: var(--gap-lg, 32px) 20px;
  color: var(--color-icon-gray, #9ca2ad);

  p {
    margin: 0;
    font-size: var(--text-body, 16px);
    font-weight: 500;
    color: var(--color-text-secondary, #485664);
  }
}

.cart-drawer__shop-link {
  font-size: var(--text-body-sm, 14px);
  font-weight: 600;
  color: var(--color-accent, #004b8c);
  text-decoration: none;
  border-bottom: 1px solid currentColor;

  &:hover {
    color: var(--color-text-alt, #041c31);
    font-weight: 600;
  }
}

/* ── Loading state ───────────────────────────────────────────────────────── */

.cart-drawer__inner.is-loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ==========================================================================
   CART STICKY PANEL
   Mobile First Approach
   ========================================================================== */

.cart-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--color-white, #fff);
  border-top: 1px solid var(--color-border, #e5e7eb);
  box-shadow: 0 -1px 20px 0 rgba(0, 0, 0, 0.04);
  font-family: var(--font-family, 'Montserrat', sans-serif);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  pointer-events: none;

  &.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
}

.cart-sticky__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 16px);
  padding: var(--space-md, 16px);

  @media screen and (min-width: 991px) {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
}

/* Product Info */
.cart-sticky__product-info {
  display: flex;
  align-items: center;
  gap: var(--space-md, 16px);
  width: 100%;
  position: relative;

  @media screen and (min-width: 991px) {
    width: auto;
    flex: 1 0 0;
    gap: var(--gap-md, 24px);
    padding: var(--space-md, 16px) var(--gap-md, 24px);
  }
}

.cart-sticky__product-details {
  display: flex;
  align-items: center;
  gap: var(--gap-xs, 8px);
  flex: 1 0 0;
  min-width: 0;
  white-space: nowrap;

  @media screen and (min-width: 991px) {
    gap: var(--gap-sm, 12px);
  }
}

.cart-sticky__product-name {
  font-size: var(--text-body-xs, 12px);
  font-weight: 500;
  line-height: var(--text-body-xs-lh, 16px);
  color: var(--color-text-tertiary, #6a7282);
  overflow: hidden;
  text-overflow: ellipsis;

  @media screen and (min-width: 991px) {
    font-size: var(--text-body, 16px);
    line-height: var(--text-body-lh, 24px);
    color: var(--color-text-secondary, #485664);
  }
}

.cart-sticky__product-price {
  font-size: var(--text-body-sm, 14px);
  font-weight: 600;
  line-height: var(--text-body-sm-lh, 22px);
  color: var(--color-text, #1a1e26);
  flex-shrink: 0;

  bdi,
  .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
  }
  ins {
    text-decoration: none;
  }
  del {
    display: none;
  }

  @media screen and (min-width: 991px) {
    font-size: var(--text-h3, 18px);
  }
}

.cart-sticky__register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius-sm, 8px);
  flex-shrink: 0;
  text-decoration: none;

  span {
    font-size: var(--text-body-sm, 14px);
    font-weight: 600;
    line-height: var(--text-btn-lh, 20px);
    color: var(--color-accent-blue, #004b8c);
    border-bottom: 1px solid var(--color-accent-blue, #004b8c);
    padding-bottom: 2px;
  }

  &:hover,
  &:focus {
    text-decoration: none;
    opacity: 0.88;
  }
}

.cart-sticky__divider {
  height: 1px;
  width: 100%;
  background: var(--color-border, #e5e7eb);
  flex-shrink: 0;

  @media screen and (min-width: 991px) {
    width: 1px;
    height: auto;
    align-self: stretch;
  }
}

/* Checkout Info */
.cart-sticky__checkout-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 16px);
  width: 100%;

  @media screen and (min-width: 991px) {
    flex-direction: row;
    align-items: stretch;
    width: auto;
    flex: 1 0 0;
    gap: 0;
  }
}

.cart-sticky__info {
  display: flex;
  align-items: center;
  gap: var(--space-md, 16px);

  @media screen and (min-width: 991px) {
    flex: 1 0 0;
    padding: var(--space-md, 16px) var(--gap-md, 24px);
  }
}

.cart-sticky.is-product-page .cart-sticky__info {
  display: none;

  @media screen and (min-width: 991px) {
    display: flex;
  }
}

.cart-sticky__total {
  display: flex;
  align-items: center;
  gap: var(--gap-xs, 8px);
  color: var(--color-text, #1a1e26);
  flex-shrink: 0;
}

.cart-sticky__label {
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: var(--text-body-lh, 24px);

  .cart-sticky.is-product-page & {
    color: var(--color-text-secondary, #485664);
  }
}

.cart-sticky__price {
  font-size: var(--text-h3, 18px);
  font-weight: 600;
  line-height: var(--text-h3-lh, 22px);

  bdi,
  .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
  }

  ins {
    text-decoration: none;
  }

  del {
    display: none;
  }
}

.cart-sticky__count {
  font-size: var(--text-body-sm, 14px);
  font-weight: 500;
  line-height: var(--text-body-sm-lh, 22px);
  color: var(--color-text-tertiary, #6a7282);
  white-space: nowrap;

  .cart-sticky.is-product-page & {
    color: var(--color-text-tertiary-light, #9ca2ad);
  }
}

.cart-sticky__actions {
  flex-shrink: 0;

  @media screen and (min-width: 991px) {
    padding: var(--space-md, 16px) var(--gap-md, 24px);
  }
}

.cart-sticky__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs, 8px);
  height: 48px;
  width: 100%;
  padding: 0 var(--gap-xs, 8px) 0 var(--space-md, 16px);
  background: var(--color-accent-2, #f54336);
  color: var(--color-white, #fff);
  border-radius: var(--radius-sm, 8px);
  font-size: var(--text-body, 16px);
  font-weight: 700;
  line-height: var(--text-btn-lh, 20px);
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;

  svg {
    flex-shrink: 0;
  }

  &:hover,
  &:focus {
    opacity: 0.88;
    color: var(--color-white, #fff);
    text-decoration: none;
    font-weight: 700;
  }

  @media screen and (min-width: 991px) {
    width: auto;
  }
}

.cart-sticky__btn-text-mobile {
  display: none;
}

.cart-sticky.is-product-page .cart-sticky__btn-text-desktop {
  display: none;
}
.cart-sticky.is-product-page .cart-sticky__btn-text-mobile {
  display: inline;
}

@media screen and (min-width: 991px) {
  .cart-sticky.is-product-page .cart-sticky__btn-text-desktop {
    display: inline;
  }
  .cart-sticky.is-product-page .cart-sticky__btn-text-mobile {
    display: none;
  }
}
