/*
 * JPA Footer UI
 * Single source of truth for the current footer and footer-owned basket UI.
 * All footer selectors are scoped to .site-footer to prevent page-level CSS leakage.
 */
.site-footer.footer_main_container {
  --footer-red: #e31b23;
  --footer-text: #17171c;
  --footer-body: #42434a;
  --footer-muted: #777981;
  --footer-line: #d8dadd;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 50px 0 0;
  padding: 0;
  overflow: hidden;
  direction: rtl;
  color: var(--footer-text);
  background: linear-gradient(0deg, #fff 0%, #fbe8e8 100%);
  border: 0;
  border-top: 1px solid #f0f0f1;
  font-size: 14px;
  text-align: right;
  isolation: isolate;
  font-family: "IRANSansWeb", Tahoma, Arial, sans-serif !important;
}
.site-footer,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer input,
.site-footer button,
.site-footer textarea,
.site-footer select {
    font-family: IRANSansWeb, Tahoma, Arial, sans-serif !important;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer p,
.site-footer h3,
.site-footer h4,
.site-footer figure,
.site-footer ul {
  margin: 0;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer button,
.site-footer input {
  font: inherit;
}

.site-footer button {
  margin: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.site-footer .footer_main_wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 1.05fr) minmax(0, 2fr);
  grid-template-areas:
    "about menus"
    "contact contact";
  gap: 32px 132px;
  width: min(calc(100% - 96px), 1344px);
  max-width: 1344px;
  margin-inline: auto;
  padding: 44px 0 0;
  align-items: start;
}

.site-footer .footer_about_container {
  grid-area: about;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 8px 0 0;
  border: 0;
}

.site-footer .footer_about_text {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.site-footer .jpa-logo {
  display: block;
  width: 85px;
  margin: 0 0 24px auto;
}

.site-footer .jpa-logo__mark {
  display: block;
  width: 85px;
  height: auto;
}

.site-footer .footer_about_paragraph {
  max-width: 438px;
  margin: 0 0 18px auto;
  color: var(--footer-body);
  line-height: 2.02;
  text-align: justify;
}

.site-footer .footer_about_copyright {
  display: none;
}

.site-footer .newsletter {
  width: 100%;
  max-width: 438px;
  margin: 0 0 0 auto;
}

.site-footer .newsletter__title {
  margin: 0 0 14px;
  color: var(--footer-text);
  font-size: 16px;
  font-weight: 700;
}

.site-footer .newsletter__title span {
  color: var(--footer-text);
}

.site-footer .newsletter__row {
  display: flex;
  gap: 14px;
}

.site-footer .newsletter input {
  min-width: 0;
  flex: 1;
  height: 49px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #cfd1d5;
  border-radius: 7px;
  outline: 0;
  color: var(--footer-text);
  background: rgba(255, 255, 255, .85);
}

.site-footer .newsletter input:focus {
  border-color: var(--footer-red);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, .09);
}

.site-footer .newsletter button {
  display: flex;
  width: 98px;
  height: 49px;
  flex: 0 0 98px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--footer-body);
  cursor: pointer;
}

.site-footer .footer_sr_only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer .footer_menus_container {
  grid-area: menus;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  justify-content: space-between;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 0 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.site-footer .footer_menus_container > nav {
  display: flex;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  border: 0;
  background: transparent;
}

/* Beat global .desktop-hide/.mobile-show rules from legacy page CSS. */
.site-footer .footer_menus_container > .desktop-hide.mobile-show {
  display: none !important;
}

.site-footer .footer_menu_title_container {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 12px 0 18px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  cursor: default;
}

.site-footer .footer_menu_title_container::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--footer-red);
}

.site-footer .footer_menu_title_text {
  margin: 0;
  color: var(--footer-text);
  font-size: 15px;
  font-weight: 700;
}

.site-footer .footer_menu_title_text--accent {
  color: #dd1b16;
}

.site-footer .footer_menu_title_container i {
  display: none;
}

.site-footer .footer_menu_title_container:focus-visible {
  outline: 2px solid rgba(227, 27, 35, .45);
  outline-offset: 3px;
}

.site-footer .footer_menu_content_container {
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
}

.site-footer .footer_menu_content_list {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer_menu_content_li,
.site-footer .footer_menu_content_li_flex {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 22px;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  color: var(--footer-body);
  font-size: 13px;
  line-height: 1.65;
  list-style: none;
}

.site-footer .footer_menu_content_li_flex {
  flex-wrap: wrap;
  gap: 2px 4px;
}

/* Contact labels remain RTL while telephone/email values share the left edge. */
.site-footer .footer_menu_content_li_flex:has(> p + p) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  direction: rtl;
}
.site-footer .footer_menu_content_li_flex > p + p {
  min-width: 0;
  text-align: left;
  direction: ltr;
  overflow-wrap: anywhere;
}
.site-footer .footer_menu_content_li_flex > p + p a {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Keep the footer's own 880px breakpoint independent from legacy .mobile-hide. */
.site-footer .footer_menu_content_li_flex.mobile-hide {
  display: flex !important;
}

.site-footer .footer_menu_content_li_flex p,
.site-footer .footer_menu_content_li_flex a {
  margin: 0;
  color:var(--footer-body);
  font-weight:400 !important;
  font-size:14px !important;
}

.site-footer .footer_menu_li_link,
.site-footer .footer_menu_content_li_flex a {
  color: var(--footer-body);
}

.site-footer .footer_menu_li_link:hover,
.site-footer .footer_menu_li_link:focus-visible,
.site-footer .footer_menu_content_li_flex a:hover,
.site-footer .footer_menu_content_li_flex a:focus-visible {
  color: var(--footer-red);
}

.site-footer .footer_wholesale_link {
  color: #d3060c !important;
  font-size: 14px;
  font-weight: 700;
}

.site-footer .footer_wholesale_more {
    color: #dd2b16 !important;
    background: white;
    padding: 8px 15px;
    border: 2px solid #dd2b16;
    border-radius: 10px;
    font-weight: 700 !important;
}
a.footer_wholesale_more{
    color: #dd2b16 !important;
}

.site-footer .footer_contact_container {
  grid-area: contact;
  display: grid;
  grid-template-columns: 210px 1fr;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 2px 0 28px;
  align-items: end;
  direction: ltr;
}

.site-footer .footer_contact_top_container {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.site-footer .footer_contact_title {
  display: none;
}

.site-footer .footer_social_container {
  display: flex;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  direction: rtl;
}

.site-footer .footer_social_container_title {
  display: none;
  margin: 0;
}

.site-footer .social_icon_container {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #d7d9dc;
  border-radius: 7px;
  box-shadow: none;
  background: transparent;
}

.site-footer .social_icon_container svg {
  display: block;
  width: 19px;
  height: 19px;
  color: var(--footer-red);
}

.site-footer .footer_contact_bottom_container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.site-footer .footer_first_address,
.site-footer .footer_second_address {
  display: flex;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-style: normal;
}

.site-footer .footer_office_icon_container,
.site-footer .footer_factory_icon_container {
  display: block;
  width: 18px;
  max-width: none;
  flex: 0 0 18px;
}

.site-footer .footer_office_icon,
.site-footer .footer_factory_icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer .first_adrress_text_span,
.site-footer .second_adrress_text_span {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
}

.site-footer .footer_address_title,
.site-footer .footer_address_text {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--footer-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.site-footer .footer_about_trustLogo {
  position: absolute;
  bottom: 21px;
  left: 0;
  display: flex;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.site-footer .footer_about_trustLogo a {
  display: grid !important;
  width: 64px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 1px solid #dadcdf;
  border-radius: 7px;
  background: #fff;
}

.site-footer .footer_about_trustLogo img {
  display: block;
  width: 64px !important;
  height: auto !important;
  object-fit: contain;
  cursor: pointer;
}

.site-footer .footer_back_to_top {
  position: absolute;
  top: 10px;
  right: 35.5%;
  display: flex;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  align-items: center;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.site-footer .footer_back_to_top::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -25px;
  right: 12px;
  width: 1px;
  height: 320px;
  background: var(--footer-line);
}

.site-footer .footer_back_to_top > span {
  z-index: 1;
  display: grid;
  width: 26px;
  height: 70px;
  place-items: center;
  border-radius: 14px;
  background: var(--footer-red);
}

.site-footer .footer_back_to_top > span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
  transform: translateY(4px) rotate(45deg);
}

.site-footer .footer_back_to_top b {
  display: none;
}

.site-footer .footer_back_to_top:focus-visible {
  outline: 2px solid rgba(227, 27, 35, .45);
  outline-offset: 4px;
}

@media (max-width: 1100px) and (min-width: 881px) {
  .site-footer .footer_main_wrapper {
    width: min(calc(100% - 48px), 1344px);
    gap: 32px 38px;
  }

  .site-footer .footer_menus_container {
    gap: 16px;
  }

  .site-footer .footer_back_to_top {
    display: none;
  }
}

@media (max-width: 880px) {
  .site-footer.footer_main_container {
    background:
      radial-gradient(ellipse 110% 49% at 77% 9%, rgba(229, 22, 32, .075), transparent 74%),
      #fff;
  }

  .site-footer .footer_main_wrapper {
    display: flex;
    width: 100%;
    max-width: none;
    padding: 10px 20px 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .site-footer .footer_menus_container {
    order: 1;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .site-footer .footer_menus_container > nav {
    width: 100%;
    min-width: 0;
    min-height: 0;
    border-bottom: 1px solid #d7d8db;
  }

  .site-footer .footer_menus_container > .desktop-hide.mobile-show {
    display: flex !important;
  }

  .site-footer .footer_menu_title_container {
    height: 60px;
    min-height: 60px;
    padding: 0;
    justify-content: space-between;
    cursor: pointer;
  }

  .site-footer .footer_menu_title_container::before {
    display: none;
  }

  .site-footer .footer_menu_title_text {
    color: var(--footer-text);
    font-size: 16px;
    font-weight: 500;
  }

  .site-footer .footer_menu_title_text--accent {
    color: #dd1b16;
  }

  .site-footer .footer_menu_title_container i {
    display: block;
    margin-left: 12px;
    color: #94989d;
    transform: rotate(0deg);
    transition:
      transform .34s cubic-bezier(.33, 1, .68, 1),
      color .2s ease;
  }

  .site-footer .footer_menu_title_container[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .site-footer .footer_menu_content_container {
    max-height: 0;
    padding: 0 5px;
    overflow: hidden;
    opacity: 0;
    will-change: max-height, opacity;
    transition:
      max-height .52s cubic-bezier(.33, 1, .68, 1),
      opacity .30s cubic-bezier(.22, .61, .36, 1);
  }

  .site-footer .footer_menu_content_container.full_accordion_height {
    padding-bottom: 10px;
    opacity: 1;
  }

  .site-footer .footer_menu_content_list {
    gap: 0;
  }

  .site-footer .footer_menu_content_li,
  .site-footer .footer_menu_content_li_flex {
    padding: 7px 0;
    font-size: 14px;
  }

  .site-footer .footer_menu_content_li_flex.mobile-hide {
    display: none !important;
  }

  .site-footer .footer_menu_intro {
    display: block;
    margin: 0 0 1em;
    padding: 0;
    line-height: normal;
  }

  .site-footer .footer_about_container {
    position: relative;
    order: 2;
    display: block;
    width: 100%;
    padding: 0;
  }

  .site-footer .jpa-logo {
    width: 60px;
    margin: 112px 0 24px auto;
  }

  .site-footer .jpa-logo__mark {
    width: 60px;
  }

  .site-footer .footer_about_paragraph {
    max-width: none;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 2.1;
  }

  .site-footer .newsletter {
    max-width: none;
  }

  .site-footer .newsletter__row {
    gap: 12px;
  }

  .site-footer .newsletter input,
  .site-footer .newsletter button {
    height: 41px;
  }

  .site-footer .newsletter button {
    width: 84px;
    flex-basis: 84px;
    border-radius: 9px;
  }

  .site-footer .footer_contact_container {
    order: 3;
    display: flex;
    width: 100%;
    padding: 26px 0 72px;
    flex-direction: column;
    align-items: stretch;
    direction: rtl;
  }

  .site-footer .footer_contact_bottom_container {
    display: none;
  }

  .site-footer .footer_social_container {
    justify-content: center;
  }

  .site-footer .social_icon_container {
    width: 31px;
    height: 31px;
    border-radius: 5px;
  }

  .site-footer .social_icon_container svg {
    width: 16px;
    height: 16px;
  }

  .site-footer .footer_about_trustLogo {
    position: absolute;
    width: 60px;
    top: 112px;
    right: auto;
    bottom: auto;
    left: 0;
    margin: 0;
  }

  .site-footer .footer_back_to_top {
    top: auto;
    right: 50%;
    bottom: 210px;
    flex-direction: column;
    transform: translateX(50%);
  }

  .site-footer .footer_back_to_top::before {
    display: none;
  }

  .site-footer .footer_back_to_top > span {
    width: 42px;
    height: 32px;
    background: transparent;
  }

  .site-footer .footer_back_to_top > span::before {
    width: 7px;
    height: 7px;
    border-color: var(--footer-text);
  }

  .site-footer .footer_back_to_top b {
    display: block;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .site-footer .footer_main_wrapper {
    padding-inline: 16px;
  }

  .site-footer .footer_about_trustLogo {
    left: 0;
  }

  .site-footer .footer_menu_title_text {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer_menu_content_container {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Footer-owned basket drawer UI
   Scoped to #basket-panel so PLP/PDP/page-level classes cannot alter it.
   -------------------------------------------------------------------------- */
#basket-panel .main-basket-panel {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#basket-panel .menu-basket-panel {
  display: flex;
  width: 100%;
  margin: 20px 0 0;
  padding: 0;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

#basket-panel .emptyNavBasket {
  display: inline-flex;
  width: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
}

#basket-panel .basket-item {
  display: flex;
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: box-shadow .2s ease;
}

#basket-panel .basket-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

#basket-panel .thumb {
  position: relative;
  flex: 0 0 90px;
}

#basket-panel .thumb img {
  display: block;
  width: 90px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

#basket-panel .thumb .promotion_badge_basket {
  position: absolute;
  top: 6px;
  left: 6px;
  bottom: auto;
  width: auto;
  height: auto;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  background: #1e90ff;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

#basket-panel .discount-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  background: #ff4757;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  font-size: 12px;
  font-weight: 600;
}

#basket-panel .basket-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

#basket-panel .basket-info .title {
  margin: 0;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

#basket-panel .basket-info .meta {
  display: flex;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #555;
  font-size: 13px;
}

#basket-panel .basket-info .meta-item i {
  margin-left: 4px;
  color: #999;
  font-size: 12px;
}

#basket-panel .basket-info .separator {
  color: #bbb;
}

#basket-panel .discount-info {
  display: inline-flex;
}

#basket-panel .discount-info .old-price {
  color: #999;
  font-size: 13px;
  text-decoration: line-through;
}

#basket-panel .price-row {
  margin: 0;
}

#basket-panel .price-row .price {
  display: inline-flex;
  width: 100%;
  align-items: center;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

#basket-panel .price-row .currency {
  margin-right: 3px;
  font-size: 10px;
  opacity: .8;
}

#basket-panel .cashback-txt {
  text-align: right;
}

#basket-panel .cashback-amount {
  color: #000;
  font-size: 20px;
}

#basket-panel .controls {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

#basket-panel .quantity-control {
  display: flex;
  padding: 4px 10px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #f1f1f1;
}

#basket-panel .qty-btn {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: #ddd;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

#basket-panel .qty-btn:hover {
  background: #bbb;
}

#basket-panel .qty-btn:focus-visible,
#basket-panel .remove-btn:focus-visible {
  outline: 2px solid rgba(227, 27, 35, .45);
  outline-offset: 2px;
}

#basket-panel .qty {
  display: inline-flex;
  min-width: 20px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

#basket-panel .remove-btn {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  color: #ff4757;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
  transition: opacity .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

#basket-panel .remove-btn:hover {
  opacity: .7;
}

/* Basket remove confirmation modal. Extra class isolates it from legacy .card-aekm rules. */
.jpa-basket-remove-modal.card-aekm {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  display: none;
  width: 90%;
  max-width: 420px;
  height: 40vh;
  max-height: 500px;
  padding: 20px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: jpaFooterFadeInScale .25s ease;
}

.jpa-basket-remove-modal .image {
  display: flex;
  width: 60px;
  height: 60px;
  margin-inline: auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fee2e2;
}

.jpa-basket-remove-modal .image svg {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  color: #dc2626;
  stroke: #e74c3c;
}

.jpa-basket-remove-modal .content {
  margin-top: .75rem;
  text-align: center;
}

.jpa-basket-remove-modal .title {
  display: block;
  margin: 0 0 5px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}

.jpa-basket-remove-modal .message {
  position: relative;
  top: auto;
  width: 100%;
  height: 40%;
  margin: 0;
  padding: 0 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.jpa-basket-remove-modal .actions {
  display: flex;
  margin: .75rem 1rem;
  padding: 0;
  justify-content: space-between;
  gap: 10px;
  background: #f9fafb;
}

.jpa-basket-remove-modal .desactivate,
.jpa-basket-remove-modal .cancel {
  display: inline-flex;
  min-width: 79px;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 10px 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.jpa-basket-remove-modal .desactivate {
  border: 1px solid transparent;
  color: #fff;
  background: #e74c3c;
}

.jpa-basket-remove-modal .desactivate:hover {
  background: #c0392b;
}

.jpa-basket-remove-modal .cancel {
  border: 1px solid #d1d5db;
  color: #444;
  background: #eee;
}

.jpa-basket-remove-modal .cancel:hover {
  background: #ddd;
}

.jpa-basket-remove-modal .desactivate:focus-visible,
.jpa-basket-remove-modal .cancel:focus-visible {
  outline: 2px solid rgba(227, 27, 35, .45);
  outline-offset: 2px;
}

@keyframes jpaFooterFadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jpa-basket-remove-modal.card-aekm {
    animation: none;
  }
}
