.msas-btp-packs-root {
  margin: 24px 0 12px;
  clear: both;
  color: #111827;
}

.msas-btp-offers {
  overflow: hidden;
  padding: 24px;
  border: 1px solid #eceff2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.msas-btp-offers__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.msas-btp-offers__intro {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.msas-btp-offers__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.msas-btp-offers__eyebrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #f28c28;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.msas-btp-offers__intro > strong {
  color: #111827;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.msas-btp-offers__intro p {
  margin: 0;
  color: #60656d;
  font-size: 14px;
  line-height: 1.45;
}

.msas-btp-offers__advantage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff5f5, #fceced);
  color: #bd1e23;
}

.msas-btp-offers__advantage > svg {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.msas-btp-offers__advantage > span {
  display: grid;
  gap: 2px;
  white-space: nowrap;
}

.msas-btp-offers__advantage strong {
  font-size: 14px;
  line-height: 1.2;
}

.msas-btp-offers__advantage small {
  color: #65686e;
  font-size: 11px;
  line-height: 1.2;
}

.msas-btp-offers__list {
  display: grid;
}

.msas-btp-offer {
  min-width: 0;
}

.msas-btp-offer__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.msas-btp-offer--products-2 .msas-btp-offer__products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msas-btp-offer__product {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
}

.msas-btp-offer__product-link {
  position: relative;
  display: grid;
  min-height: 142px;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e7e9ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(17, 24, 39, 0.06);
  color: #111827;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.msas-btp-offer__product-link:hover,
.msas-btp-offer__product-link:focus-visible {
  border-color: #efc6c8;
  box-shadow: 0 9px 22px rgba(17, 24, 39, 0.1);
  color: #111827;
  transform: translateY(-2px);
}

.msas-btp-offer__selected {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #111827;
  color: #fff;
}

.msas-btp-offer__selected svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.msas-btp-offer__image {
  display: grid;
  width: 86px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.msas-btp-offer__image img {
  width: 82px;
  height: 92px;
  margin: 0;
  object-fit: contain;
}

.msas-btp-offer__details {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding-top: 14px;
}

.msas-btp-offer__name {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msas-btp-offer__unit-price {
  color: #c51f24;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.msas-btp-offer__plus {
  position: absolute;
  top: 50%;
  left: -28px;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #e1e4e7;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
  color: #111827;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
}

.msas-btp-offer__plus::before,
.msas-btp-offer__plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.msas-btp-offer__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.msas-btp-offer__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.msas-btp-offer__pricing {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(90px, auto) minmax(110px, auto) minmax(145px, 1fr);
  align-items: end;
  gap: 14px;
}

.msas-btp-offer__price-block {
  display: grid;
  gap: 5px;
}

.msas-btp-offer__price-block--regular {
  padding-right: 14px;
  border-right: 1px solid #dfe2e5;
}

.msas-btp-offer__price-label {
  color: #62666d;
  font-size: 11px;
  line-height: 1.2;
}

.msas-btp-offer__was {
  color: #62666d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.msas-btp-offer__total {
  color: #c51f24;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1;
}

.msas-btp-offer__saving {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff0f0;
  color: #bd1e23;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.msas-btp-offer__saving svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.msas-btp-add-pack.button {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #111827;
  border-radius: 11px;
  background: linear-gradient(135deg, #111827, #0b111c);
  box-shadow: 0 7px 16px rgba(17, 24, 39, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
}

.msas-btp-add-pack svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.msas-btp-add-pack__bag {
  width: 24px;
  height: 24px;
}

.msas-btp-add-pack__arrow {
  width: 20px;
  height: 20px;
}

.msas-btp-add-pack.button:hover,
.msas-btp-add-pack.button:focus-visible {
  border-color: #c51f24;
  background: linear-gradient(135deg, #c51f24, #a9151a);
  box-shadow: 0 8px 18px rgba(197, 31, 36, 0.22);
  color: #fff;
}

.msas-btp-add-pack:focus-visible,
.msas-btp-offer__product-link:focus-visible,
.msas-btp-retry:focus-visible {
  outline: 3px solid rgba(197, 31, 36, 0.25);
  outline-offset: 3px;
}

.msas-btp-add-pack.is-loading {
  cursor: wait;
  opacity: 0.65;
}

.msas-btp-add-pack.is-success {
  border-color: #167846;
  background: #167846;
}

.msas-btp-pack-feedback {
  min-height: 0;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

.msas-btp-pack-feedback:empty {
  display: none;
}

.msas-btp-pack-feedback.is-success {
  color: #167846;
}

.msas-btp-pack-feedback.is-error {
  color: #a51d22;
  font-weight: 600;
}

.msas-btp-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #efc7c9;
  border-radius: 12px;
  background: #fff7f7;
  color: #8f1c20;
  font-size: 12px;
}

.msas-btp-retry {
  padding: 7px 11px;
  border: 0;
  border-radius: 7px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.msas-btp-skeleton {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #e4e6e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.msas-btp-skeleton > span {
  display: block;
  border-radius: 9px;
  background: linear-gradient(90deg, #f0f1f2 25%, #fafafa 50%, #f0f1f2 75%);
  background-size: 200% 100%;
  animation: msas-btp-shimmer 1.35s infinite linear;
}

.msas-btp-skeleton__line {
  width: 55%;
  height: 28px;
}

.msas-btp-skeleton__card {
  height: 142px;
}

@keyframes msas-btp-shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 1024px) {
  .msas-btp-offers__heading {
    grid-template-columns: 1fr;
  }

  .msas-btp-offers__advantage {
    width: fit-content;
  }

  .msas-btp-offer__products,
  .msas-btp-offer--products-2 .msas-btp-offer__products {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .msas-btp-offer__plus {
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
  }

  .msas-btp-offer__footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 549px) {
  .msas-btp-packs-root {
    margin-top: 18px;
  }

  .msas-btp-offers {
    padding: 17px;
    border-radius: 15px;
  }

  .msas-btp-offers__heading {
    gap: 15px;
    margin-bottom: 18px;
  }

  .msas-btp-offers__eyebrow {
    font-size: 9px;
  }

  .msas-btp-offers__intro > strong {
    font-size: 22px;
  }

  .msas-btp-offers__intro p {
    font-size: 13px;
  }

  .msas-btp-offers__advantage {
    width: 100%;
    padding: 11px 13px;
  }

  .msas-btp-offer__product-link {
    min-height: 126px;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border-radius: 13px;
  }

  .msas-btp-offer__image {
    width: 74px;
    height: 84px;
  }

  .msas-btp-offer__image img {
    width: 70px;
    height: 80px;
  }

  .msas-btp-offer__name {
    font-size: 13px;
  }

  .msas-btp-offer__pricing {
    grid-template-columns: 1fr 1fr;
  }

  .msas-btp-offer__saving {
    grid-column: 1 / -1;
  }

  .msas-btp-offer__total {
    font-size: 25px;
  }

  .msas-btp-add-pack.button {
    min-height: 55px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .msas-btp-pack-feedback {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msas-btp-skeleton > span {
    animation: none;
  }

  .msas-btp-offer__product-link {
    transition: none;
  }
}
