

/* Start:/local/templates/jackarno/components/bitrix/sale.basket.basket/.default/style.css?179189576013715*/
/* Cart page — Jackarno redesign */

.cart-page {
  margin-bottom: 80px;
  color: #111;
}

.cart-page__body {
  margin-top: 40px;
}

.cart-page:has(.cart-auth-banner) .cart-page__body,
.cart-page--guest .cart-page__body {
  margin-top: 28px;
}

/* JACK ARNO guest promo banner (2026-10-12, OWNER): a thin strip, text + an underlined «Войти» link.
   The same block is in the cart (sale.basket.basket/.default/style.css) and the checkout (.default_old/style.css): keep both identical.
   ≥768px (2026-10-12, OWNER): one compact group (link 24px after the text) centred in the strip, within 32px side margins
   (the widest page edge: 29px left / 32px right, as .cart-page__body / checkout / footer); phones: text left (may wrap), link right. */
.cart-auth-banner {
  background: #f5c4c8;
}

.cart-auth-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.cart-auth-banner__text {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

/* a text link (site login modal via .ht-modal-link); the padding only enlarges the tap area, the negative margin keeps the layout */
.cart-auth-banner__link {
  flex: 0 0 auto;
  margin: -8px -6px;
  padding: 8px 6px;
  background: none;
  border: 0;
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cart-auth-banner__link:hover {
  color: #111;
  text-decoration-thickness: 2px;
}

.cart-auth-banner__link:focus-visible {
  outline: 2px solid #111;
  outline-offset: -2px;
}

@media (min-width: 768px) {
  .cart-auth-banner__inner.container {
    width: auto;
    max-width: none;
    margin-left: 32px;
    margin-right: 32px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .cart-auth-banner__inner {
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .cart-auth-banner__text {
    font-size: 13px;
  }
}
/* end JACK ARNO guest promo banner */

.cart-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.cart-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 0;
}

.cart-title {
  margin: 0;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-count {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

.cart-items {
  min-width: 0;
}

/* —— Item —— */
.cart-item {
  display: grid;
  grid-template-columns: calc(180px * 9 / 13) minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e6e6e6;
}

.cart-item__img {
  display: block;
  background: #f5f5f5;
  aspect-ratio: 9 / 13;
  overflow: hidden;
}

.cart-item__img img,
.cart-item__img picture,
.cart-item__img source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
}

.cart-item__main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.cart-item__info {
  min-width: 0;
  flex: 1;
}

.cart-item__title-row {
  display: block;
  padding-right: 52px;
}

.cart-item__title {
  display: block;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__title:hover {
  color: #111;
  opacity: 0.7;
}

.cart-item__discount {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: #000;
  background: #e8a5ab;
  border-radius: 3px;
}

.cart-item__sku {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #999;
}

.cart-item__sku-part {
  white-space: nowrap;
}

.cart-item__sku-part + .cart-item__sku-part {
  margin-left: 16px;
}

.cart-item__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-align: left;
  flex-shrink: 0;
}

.cart-item__price-current {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.cart-item__price-old {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #999;
  text-decoration: line-through;
  white-space: nowrap;
}

.cart-item__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__counter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #111;
  cursor: pointer;
}

.cart-item__qty-btn:hover {
  opacity: 0.55;
}

.cart-item__counter input.count {
  position: relative;
  top: 1px;
  width: 28px;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: #111;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #222;
}

.cart-item__action .icon,
.cart-item__action svg {
  width: 20px;
  height: 20px;
}

.cart-item__action.favorite-action svg {
  width: 27px;
  height: 27px;
}
.cart-item__action.favorite-action.is-favorite .icon,
.cart-item__action.favorite-action:hover .icon {
  fill: #111;
}

.cart-item__action:hover {
  opacity: 0.55;
}

/* —— Sidebar —— */
.cart-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-form {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 24px;
}

.order-form__title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-form__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.order-form__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.3;
}

.order-form__promo-label {
  margin-bottom: 12px;
  font-size: 13px;
  color: #777;
}

.order-form__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

.order-form__tab {
  height: 40px;
  padding: 0 10px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.order-form__tab:first-child {
  border-radius: 3px 0 0 3px;
}

.order-form__tab:last-child {
  border-radius: 0 3px 3px 0;
  margin-left: -1px;
}

.order-form__tab.is-active {
  background: #111;
  color: #fff;
}

.order-form__tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.order-form__tab-panel[hidden] {
  display: none;
}

.order-form__promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

input.order-form__input,
.order-form__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d1d1;
  background: #fff;
  /* iOS Safari zooms focused inputs under 16px; main.css sets input{14px} */
  font-size: 16px !important;
  color: #111;
  outline: none;
}

.order-form__input:focus {
  border-color: #6e6e6e;
}

.order-form__apply {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.order-form__apply:hover:not(:disabled) {
  background: #2a2a2a;
}

.order-form__apply:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-form__hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #999;
}

.order-form__hint-icon {
  flex-shrink: 0;
}

.order-form__hint-action {
  margin-left: auto;
  border: 0;
  padding: 0;
  background: none;
  color: #777;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* Gift certificate bought together with goods (temporary rule, OWNER 2026-10-12): a plain notice above the checkout button */
.order-form__notice {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  line-height: 1.45;
  color: #111;
}

/* Gift certificate (OWNER 2026-10-12): one collapsed row under promo code / bonuses; opens to the same input + «Применить» */
.order-form__cert {
  margin-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.order-form__cert-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.order-form__cert-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.order-form__cert-chevron {
  flex-shrink: 0;
  width: 12px;   /* the site-wide svg rule is 32px */
  height: 12px;
  color: #777;
  transition: transform 0.2s ease;
}

.order-form__cert.is-open .order-form__cert-chevron {
  transform: rotate(180deg);
}

.order-form__cert-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.order-form__cert.is-open .order-form__cert-body {
  grid-template-rows: 1fr;
}

/* collapsed: out of the tab order and the accessibility tree (visibility), after the closing animation */
.order-form__cert-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.2s;
}

.order-form__cert.is-open .order-form__cert-inner {
  visibility: visible;
  transition-delay: 0s;
}

.order-form__cert-inner .order-form__hint:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .order-form__cert-body,
  .order-form__cert-inner,
  .order-form__cert-chevron {
    transition: none;
  }
}

.order-form__bonus-earn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px;
  background: #f4f4f4;
}

.order-form__bonus-earn-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.order-form__bonus-earn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.35;
}

.order-form__bonus-earn-text strong {
  font-weight: 600;
}

.order-form__bonus-earn-text span {
  font-size: 12px;
  color: #777;
}

.order-form__button-sticky {
  margin-top: 20px;
}

.order-form__checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  border-radius: 3px;
  padding: 14px 18px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.order-form__checkout:hover {
  background: #2a2a2a;
  color: #fff;
}

.order-form__checkout-sum {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.order-form__checkout-old {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 400;
}

.to-checkout-button.loading {
  position: relative;
  color: #808080;
}

.to-checkout-button.loading .loader-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.3);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  text-align: center;
  color: #666;
}

.cart-empty strong {
  font-size: 18px;
  color: #111;
}

.cart-empty .button {
  margin-top: 8px;
  min-width: 180px;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .cart-container {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .cart-page {
    margin-bottom: 100px;
  }

  .cart-page__body {
    margin-top: 24px;
  }

  .cart-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cart-sidebar {
    position: static;
  }

  .cart-item {
    grid-template-columns: calc(144px * 9 / 13) minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .order-form {
    padding: 18px;
  }

  .order-form__button-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 51px;
    z-index: 100;
    margin: 0;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  }

  .order-form__checkout {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .cart-title {
    font-size: 18px;
  }

  .cart-item {
    grid-template-columns: calc(120px * 9 / 13) minmax(0, 1fr);
  }

  .order-form__promo-row {
    grid-template-columns: 1fr;
  }

  .order-form__apply {
    width: 100%;
  }

  .order-form__checkout {
    gap: 4px;
    padding: 12px 16px;
  }
}

/* End */
/* /local/templates/jackarno/components/bitrix/sale.basket.basket/.default/style.css?179189576013715 */
