/* Persian RTL localization layer. Keeps the original visual theme intact. */
html[lang="fa"][dir="rtl"] {
  direction: rtl;
  text-rendering: optimizeLegibility;
}

html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] select,
html[lang="fa"] textarea {
  font-family: 'IvyToman', 'DanaFaNum', Tahoma, "Segoe UI", Arial, sans-serif !important;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  overflow-x: clip;
}

html[dir="rtl"] .text-left { text-align: right; }
html[dir="rtl"] .text-right { text-align: left; }
html[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .mr-auto { margin-right: 0; margin-left: auto; }

html[dir="rtl"] [class*="space-x-"] > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

html[dir="rtl"] input:not([type="email"]):not([type="tel"]),
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
}

html[dir="rtl"] .otp-inputs input {
  direction: ltr;
  text-align: center !important;
  unicode-bidi: isolate;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] .money,
html[dir="rtl"] [class*="price"] {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] [data-ref="backButton"] {
  left: auto !important;
  right: 1rem !important;
}

html[dir="rtl"] [data-ref="backButton"] > span {
  transform: rotate(90deg);
}

html[dir="rtl"] :focus-visible {
  outline-offset: 3px;
}
/* RTL carousel controls: previous is on the right, next is on the left. */
html[dir="rtl"] [data-slider-prev] {
  left: auto !important;
  right: 0 !important;
  background: linear-gradient(-90deg, rgb(255 255 255) 25%, rgb(255 255 255 / 0%) 100%) !important;
}

html[dir="rtl"] [data-slider-next] {
  right: auto !important;
  left: 0 !important;
  background: linear-gradient(90deg, rgb(255 255 255) 25%, rgb(255 255 255 / 0%) 100%) !important;
}

html[dir="rtl"] [data-slider-prev] svg,
html[dir="rtl"] [data-slider-next] svg {
  scale: -1 1;
}
.ivyfit-cart-toast {
  position: fixed;
  top: 4.5rem;
  left: 50%;
  z-index: 2147483647;
  padding: 0.8rem 1.4rem;
  border-radius: 0.25rem;
  background: #111;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ivyfit-cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* IVYFIT NAVIGATION UPGRADE */
@media (min-width: 1024px) {
  [data-component="desktop-navigation"] .header-slot-nav > nav,
  [data-component="desktop-navigation"] .header-slot-nav > nav > ul {
    overflow: visible;
  }

  [data-component="desktop-navigation"] .header-slot-nav > nav > ul {
    gap: clamp(0.7rem, 1.3vw, 1.25rem);
  }

  [data-component="desktop-navigation"] details.flyout {
    position: static;
  }

  [data-component="desktop-navigation"] .nav-item--dropdown details.flyout {
    position: relative;
  }

  [data-component="desktop-navigation"] details.flyout > summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 52px;
    padding-top: 0.95rem;
    padding-inline: 0.2rem;
    outline: none;
    list-style: none;
    cursor: pointer;
    font-size: 0.875rem;
    letter-spacing: 0;
    text-transform: none;
  }

  [data-component="desktop-navigation"] details.flyout > summary::-webkit-details-marker {
    display: none;
  }

  [data-component="desktop-navigation"] details.flyout > summary::marker {
    content: "";
  }

  [data-component="desktop-navigation"] details.flyout > summary::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #111;
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
  }

  [data-component="desktop-navigation"] details.flyout[open] > summary::after,
  [data-component="desktop-navigation"] details.flyout > summary:hover::after,
  [data-component="desktop-navigation"] details.flyout > summary:focus-visible::after {
    transform: scaleX(1);
  }

  [data-component="desktop-navigation"] details.flyout > .nav-dropdown-panel {
    animation: ivyfit-mega-menu-in 180ms ease-out both;
  }

  [data-component="desktop-navigation"] details.flyout > .mega-menu-panel {
    position: fixed;
    top: var(--mega-panel-top, 0px);
    right: 0;
    left: 0;
    z-index: 1100;
    pointer-events: auto;
    animation: ivyfit-mega-menu-fade 160ms ease-out both;
  }

  [data-component="desktop-navigation"] .header-slot-nav > nav > ul > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 52px;
    padding-top: 0.95rem;
    font-size: 0.875rem;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
  }

  [data-component="desktop-navigation"] .header-slot-nav > nav > ul > li > a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #111;
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
  }

  [data-component="desktop-navigation"] .header-slot-nav > nav > ul > li > a:hover::after,
  [data-component="desktop-navigation"] .header-slot-nav > nav > ul > li > a:focus-visible::after {
    transform: scaleX(1);
  }

  [data-component="desktop-navigation"] .navigation-container {
    width: 100% !important;
    max-width: 70% !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
    padding: 1.75rem 0 2.25rem !important;
  }

  [data-component="desktop-navigation"] .navigation-container > * {
    min-width: 0;
  }

  [data-component="desktop-navigation"] .navigation-container ul {
    gap: 0.15rem;
  }

  [data-component="desktop-navigation"] .navigation-container a span {
    padding-block: 0.4rem;
    line-height: 1.45;
    transition: opacity 150ms ease, transform 150ms ease;
  }

  [data-component="desktop-navigation"] .navigation-container a:hover span,
  [data-component="desktop-navigation"] .navigation-container a:focus-visible span {
    opacity: 0.62;
    transform: translateX(-3px);
  }

  [data-component="desktop-navigation"] .navigation-container img,
  [data-component="desktop-navigation"] .mega-promo img {
    border-radius: 0;
  }
}

@keyframes ivyfit-mega-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ivyfit-mega-menu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

body > .mega-menu-panel {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 4000 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  animation: ivyfit-mega-menu-fade 160ms ease-out both;
}

.mega-menu-hover-bridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
  pointer-events: auto;
  background: transparent;
}

:root {
  --header-row-height: 2.75rem;
  --header-search-row-height: 3.25rem;
  --header-nav-row-height: 3.65rem;
  --header-height: calc(var(--header-row-height) + var(--header-search-row-height));
  --announcement-bar-height: 2.75rem;
}
@media (min-width: 1024px) {
  :root {
    --header-row-height: 3.5rem;
    --header-height: var(--header-nav-row-height);
  }
}

#site-announcement {
  --announcement-bar-height: 2.75rem;
}
#site-announcement [aria-label="نوار اطلاع‌رسانی"] {
  font-size: 0.875rem;
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "toggle logo actions"
    "search search search";
  grid-template-rows: var(--header-row-height) var(--header-search-row-height);
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: 1rem;
  overflow: visible;
}

.header-slot-toggle { grid-area: toggle; justify-self: start; }
.header-menu-toggle {
  position: relative;
  min-width: 44px;
  min-height: 44px;
}
.header-menu-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-menu-toggle [data-ref="iconOpen"],
.header-menu-toggle [data-ref="iconClose"] {
  display: none;
}
.header-menu-toggle:not([aria-expanded="true"]) [data-ref="iconOpen"] {
  display: inline-flex;
}
.header-menu-toggle[aria-expanded="true"] [data-ref="iconClose"] {
  display: inline-flex;
}
.header-slot-logo { grid-area: logo; justify-self: center; }
.header-slot-search { grid-area: search; min-width: 0; }
.header-slot-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.15rem;
}
.header-notices {
  position: relative;
  flex-shrink: 0;
}
.header-notices__trigger,
.header-notices__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.header-notices__trigger {
  position: relative;
  width: 44px;
  height: 44px;
}
.header-notices__close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #64748b;
}
.header-notices button:focus-visible,
.header-notices__content:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.header-notices button:hover { background: rgb(0 0 0 / 4%); }
.header-notices__bell { transform-origin: 50% 15%; }
.header-notices.has-unread .header-notices__bell {
  animation: header-notices-ring 4s ease-in-out infinite;
}
.header-notices__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d92d20;
  box-shadow: 0 0 0 2px #fff;
}
.header-notices__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1120;
  width: min(400px, calc(100vw - 32px));
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: 16px;
  background: #fff;
  color: #171717;
  font-size: 16px;
  box-shadow: 0 16px 48px rgb(15 23 42 / 14%), 0 2px 6px rgb(15 23 42 / 4%);
  text-align: start;
}
.header-notices__panel[hidden],
.header-notices__dot[hidden] { display: none; }
.header-notices__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}
.header-notices__heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.header-notices__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(420px, 60dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
}
.header-notices__card {
  --notice-accent: #275dad;
  --notice-background: #f5f8fd;
  --notice-icon-background: #e5edfa;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas: "kind text";
  column-gap: 12px;
  align-items: center;
  flex-shrink: 0;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--notice-background);
  text-align: right;
}
.header-notices__card--alert {
  --notice-accent: #92400e;
  --notice-background: #fffaef;
  --notice-icon-background: #fcecc9;
}
.header-notices__card--special {
  --notice-accent: #6d28d9;
  --notice-background: #f8f5fd;
  --notice-icon-background: #eee5fc;
}
.header-notices__kind {
  grid-area: kind;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--notice-accent);
  text-align: center;
}
.header-notices__kind-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--notice-icon-background);
  color: var(--notice-accent);
}
.header-notices__kind-label {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--notice-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.header-notices__text {
  grid-area: text;
  margin: 0;
  padding: 0;
  color: #253044;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.header-notices__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  color: #666;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}
.header-notices__empty p { margin: 0; }
@keyframes header-notices-ring {
  0%, 20%, 100% { transform: rotate(0); }
  3%, 9%, 15% { transform: rotate(14deg); }
  6%, 12%, 18% { transform: rotate(-14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-notices.has-unread .header-notices__bell { animation: none; }
}
@media (max-width: 1023px) {
  .header-shell {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  .header-slot-logo { min-width: 0; max-width: 100%; }
  .header-slot-logo img { max-width: 100%; }
  .header-slot-logo strong { overflow-wrap: anywhere; font-size: clamp(12px, 3.5vw, 18px); }
  .header-notices { position: static; }
  .header-notices__panel {
    top: var(--header-row-height);
    left: 16px;
    right: 16px;
    width: auto;
  }
}
@media (max-width: 479px) {
  .header-slot-actions .header-account__label { display: none; }
}
.header-wrapper,
#site-header header {
  overflow: visible;
}
.header-slot-nav { display: none; }
.header-nav-sticky { display: none; }

.header-slot-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.header-slot-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 1.5rem;
  max-width: 8.5rem;
}
.header-slot-toggle button,
.header-slot-actions a,
.header-slot-actions button {
  min-width: 44px;
  min-height: 44px;
}
.header-account {
  min-width: 0;
  max-width: 10.5rem;
  gap: 0.35rem;
  padding-inline: 0.25rem 0.4rem;
  color: inherit;
  text-decoration: none;
}
.header-account__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.header-account__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 379px) {
  .header-account {
    max-width: 7.25rem;
    padding-inline: 0.15rem 0.3rem;
    gap: 0.25rem;
  }
  .header-account__label {
    font-size: 0.6875rem;
  }
}

.header-search {
  position: relative;
  width: 100%;
}
.header-search__form { position: relative; }
.header-search__field {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  height: 2.5rem;
  padding-inline: 0.5rem 0.25rem;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  border-radius: 0.25rem;
}
.header-search__field:focus-within {
  border-color: #a8a29e;
  background: #fff;
}
.header-search__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  color: #57534e;
  flex-shrink: 0;
}
.header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.header-search__input::-webkit-search-decoration,
.header-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.header-search__input::placeholder {
  color: #78716c;
}
.header-search__tool {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: #44403c;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 0.2rem;
}
.header-search__tool:hover,
.header-search__tool:focus-visible {
  background: rgb(0 0 0 / 6%);
}
.header-search__tool[aria-pressed="true"] {
  background: rgb(0 0 0 / 8%);
}
.header-search__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  z-index: 1200;
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.5rem 0 0.75rem;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 0.35rem;
  box-shadow: 0 16px 36px rgb(0 0 0 / 12%);
}
.header-search__status {
  margin: 0;
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.875rem;
  color: #57534e;
}
.header-search__recs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.75rem;
}
.header-search__panel .search-results {
  padding-inline: 1rem;
}
.header-search__panel .cart-upsell-slider__slide {
  width: min(132px, 38vw);
}

.header-mega-backdrop {
  position: fixed;
  top: var(--mega-panel-top, 0px);
  right: 0;
  left: 0;
  z-index: 1090;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  background: rgb(0 0 0 / 10%);
  transition: opacity 200ms ease, backdrop-filter 200ms ease;
}

.header-nav-sticky:has(details.flyout--mega[open]) .header-mega-backdrop {
  opacity: 1;
  pointer-events: none;
  backdrop-filter: brightness(0.92);
}

@media (min-width: 1024px) {
  .header-shell {
    grid-template-columns: auto minmax(16rem, 1fr) auto;
    grid-template-areas: "logo search actions";
    grid-template-rows: var(--header-row-height);
    column-gap: 1.25rem;
    padding-inline: 1.5rem;
  }
  .header-slot-toggle { display: none; }
  .header-slot-logo { justify-self: start; }
  .header-slot-logo img {
    max-height: 1.75rem;
    max-width: 10rem;
  }
  .header-slot-search {
    width: 100%;
    max-width: 44rem;
    justify-self: center;
  }
  body .header-wrapper,
  body.template-collection .header-wrapper,
  body:not(.template-collection) .header-wrapper {
    position: relative;
    top: auto;
    z-index: auto;
  }
  .header-nav-sticky {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
  }
  .header-slot-nav {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--page-width);
    height: var(--header-nav-row-height);
    margin-inline: auto;
    padding-top: 0.35rem;
    padding-inline: 1.5rem;
    overflow: visible;
  }
  .header-track-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.25rem;
    margin-inline-start: auto;
    margin-top: 0.35rem;
    padding: 0 0.9rem;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    transition: background-color 140ms ease, color 140ms ease;
  }
  .header-track-btn svg {
    display: block;
    flex-shrink: 0;
  }
  .header-track-btn:hover,
  .header-track-btn:focus-visible {
    background: #111;
    color: #fff;
  }
  .header-track-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }
  .header-search__field { height: 2.75rem; }
  .header-account {
    max-width: 12rem;
  }
  .header-account__label {
    font-size: 0.8125rem;
  }
}

/* MOBILE DRAWER V3: single-scroll accordion navigation. */
[data-component="mobile-menu"] [data-ref="panel"] {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  z-index: 1200 !important;
  width: min(92vw, 25rem) !important;
  height: 100dvh !important;
  max-width: 25rem !important;
  max-height: 100dvh !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: -24px 0 56px rgb(0 0 0 / 18%);
  overflow: hidden !important;
  transform: translateX(105%) !important;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1), visibility 240ms !important;
}

[data-component="mobile-menu"] [data-ref="panel"][data-open] {
  visibility: visible !important;
  transform: translateX(0) !important;
}

.ivyfit-mobile-v3 {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: 68px minmax(0, 1fr);
  overflow: hidden;
  direction: rtl;
  background: #fff;
}

.ivyfit-mobile-v3__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top) 1rem 0 1.25rem;
  border-bottom: 1px solid rgb(0 0 0 / 9%);
  background: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.ivyfit-mobile-v3__close {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background-color 140ms ease;
}

.ivyfit-mobile-v3__close:hover,
.ivyfit-mobile-v3__close:focus-visible {
  background: rgb(0 0 0 / 6%);
}

.ivyfit-mobile-v3__close svg {
  width: 20px;
  height: 20px;
}

.ivyfit-mobile-v3__scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem 0.875rem max(2rem, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgb(0 0 0 / 30%) transparent;
}

.ivyfit-mobile-v3__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.ivyfit-mobile-v3__item {
  display: block;
  width: 100%;
}

.ivyfit-mobile-v3__link,
.ivyfit-mobile-v3__trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: #fff;
  color: #111;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.ivyfit-mobile-v3__label {
  display: inline-flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.45rem;
  overflow: hidden;
}

.ivyfit-mobile-v3__label > span:last-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ivyfit-mobile-v3__link .nav-icon,
.ivyfit-mobile-v3__trigger .nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.ivyfit-mobile-v3__link .nav-badge,
.ivyfit-mobile-v3__trigger .nav-badge {
  position: absolute;
  top: 0.2rem;
  left: 0.75rem;
  z-index: 1;
  flex: 0 0 auto;
  transform: none;
  pointer-events: none;
}

.ivyfit-mobile-v3__arrow:empty {
  display: none;
}

.ivyfit-mobile-v3__heading {
  margin: 0.5rem 0 0.125rem;
  padding: 0.35rem 0.75rem;
  color: rgb(0 0 0 / 55%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ivyfit-mobile-v3__nested {
  display: grid;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ivyfit-mobile-v3__nested .ivyfit-mobile-v3__link {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.ivyfit-mobile-v3__extras {
  margin-top: 1rem;
  border-top: 1px solid rgb(0 0 0 / 9%);
  padding-top: 0.75rem;
}

.ivyfit-mobile-v3__link:hover,
.ivyfit-mobile-v3__link:focus-visible,
.ivyfit-mobile-v3__trigger:hover,
.ivyfit-mobile-v3__trigger:focus-visible,
.ivyfit-mobile-v3__trigger[aria-expanded="true"] {
  border-color: rgb(0 0 0 / 8%);
  background: #f6f6f4;
}

.ivyfit-mobile-v3__arrow,
.ivyfit-mobile-v3__chevron {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}

.ivyfit-mobile-v3__arrow svg,
.ivyfit-mobile-v3__chevron svg {
  width: 16px;
  height: 16px;
}

.ivyfit-mobile-v3__trigger[aria-expanded="true"] .ivyfit-mobile-v3__chevron {
  transform: rotate(180deg);
}

.ivyfit-mobile-v3__accordion {
  margin-top: 0.375rem;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 0.625rem;
  background: #fafaf8;
  overflow: hidden;
}

.ivyfit-mobile-v3__accordion[hidden] {
  display: none !important;
}

.ivyfit-mobile-v3__accordion-content {
  display: flex !important;
  height: auto !important;
  min-height: 0 !important;
  flex-direction: column;
  gap: 1.5rem !important;
  overflow: visible !important;
  padding: 1rem !important;
}

.ivyfit-mobile-v3__accordion-content > * {
  width: 100%;
  margin: 0 !important;
}

.ivyfit-mobile-v3__accordion-content ul {
  display: grid;
  gap: 0.125rem;
}

.ivyfit-mobile-v3__accordion-content a {
  display: block;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border-radius: 0.375rem;
  line-height: 1.45;
}

.ivyfit-mobile-v3__accordion-content a:hover,
.ivyfit-mobile-v3__accordion-content a:focus-visible {
  background: rgb(0 0 0 / 5%);
}

.ivyfit-mobile-v3__accordion-content img {
  width: 100%;
  max-height: 220px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.ivyfit-mobile-menu-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 900 !important;
  background: rgb(0 0 0 / 46%) !important;
  backdrop-filter: blur(2px);
}

@media (max-width: 359px) {
  [data-component="mobile-menu"] [data-ref="panel"] {
    width: calc(100vw - 0.5rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-component="mobile-menu"] [data-ref="panel"],
  .ivyfit-mobile-v3__arrow,
  .ivyfit-mobile-v3__chevron {
    transition: none !important;
  }
}

/* Standards and performance layer. */
body {
  min-width: 320px;
  font-size: 1rem;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 2000;
  transform: translateY(-150%);
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.media-picture {
  display: contents;
}

.wishlist-button {
  position: relative;
  inset: auto;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: #111;
}

.wishlist-button .icon,
.wishlist-button__icon {
  width: 20px;
  height: 20px;
}

.wishlist-button[aria-pressed="true"],
.wishlist-button.is-active {
  color: #e11d48;
}

.product-card__actions {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-end: 0.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pagination .pagination-dot {
  position: relative;
  height: 44px;
  background: transparent;
}

.pagination .pagination-dot::after {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  height: 4px;
  background: #d1d5db;
  content: "";
  transform: translateY(-50%);
}

.pagination .pagination-dot.active::after {
  background: #000;
}

.newsletter-form {
  display: grid;
  max-width: 28rem;
  gap: 0.75rem;
}

.newsletter-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.newsletter-form__controls {
  display: flex;
  min-height: 44px;
}

.newsletter-form__controls input[type="tel"],
.newsletter-form__controls input[type="text"],
.newsletter-form__controls input[type="email"] {
  min-width: 0;
  flex: 1;
  border: 1px solid #000;
  background: #fff;
  padding-inline: 0.75rem;
  font: inherit;
}

.newsletter-form button {
  min-width: 72px;
  padding-inline: 1rem;
}

.newsletter-form__fast-btn {
  width: 100%;
  min-height: 44px;
}

.newsletter-form__consent {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  max-width: 100%;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgb(0 0 0 / 72%);
  cursor: pointer;
}

.newsletter-form__consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  display: inline-block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 1rem !important;
  min-width: 1rem;
  max-width: 1rem;
  height: 1rem;
  margin: 0 !important;
  padding: 0;
  border: initial;
  background: initial;
  vertical-align: middle;
  accent-color: #111;
  cursor: pointer;
}

.newsletter-form__consent span {
  display: inline;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.newsletter-form__help {
  font-size: 0.75rem;
  color: rgb(0 0 0 / 70%);
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
