/* EA SB custom WooCommerce cart page. All selectors are intentionally scoped. */
body.woocommerce-cart {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart main {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce-notices-wrapper:empty {
  display: none !important;
}

.ea-sb-cart-page,
.ea-sb-cart-page * {
  box-sizing: border-box;
}

.ea-sb-cart-page {
  --ea-sb-cart-black: #000000;
  --ea-sb-cart-white: #ffffff;
  --ea-sb-cart-gray: #d3d3d3;
  --ea-sb-cart-line: #d0d0d0;
  --ea-sb-cart-muted: #777777;
  width: 100vw;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 12px 20px 54px;
  background: var(--ea-sb-cart-white) !important;
  color: var(--ea-sb-cart-black) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  overflow-x: hidden;
}

.ea-sb-cart-page a,
.ea-sb-cart-page button,
.ea-sb-cart-page input,
.ea-sb-cart-page textarea,
.ea-sb-cart-page select {
  font: inherit !important;
}

.ea-sb-cart-page a,
.ea-sb-cart-page a:visited,
.ea-sb-cart-page a:hover,
.ea-sb-cart-page a:focus,
.ea-sb-cart-page a:active {
  color: inherit !important;
  text-decoration: none !important;
}

.ea-sb-cart-page button,
.ea-sb-cart-page input,
.ea-sb-cart-page textarea,
.ea-sb-cart-page select {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  filter: none !important;
  background-image: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.ea-sb-cart-page__shell {
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  margin: 0 auto;
  overflow-x: hidden;
}

.ea-sb-cart-table,
.ea-sb-cart-table__body,
.ea-sb-cart-summary,
.ea-sb-cart-sliders,
.ea-sb-cart-slider,
.ea-sb-cart-slider__stage {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ea-sb-cart-page__title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: var(--ea-sb-cart-black) !important;
  text-align: center;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ea-sb-cart-page__bar,
.ea-sb-cart-slider__title {
  width: 100%;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 0 !important;
  background: var(--ea-sb-cart-gray) !important;
  color: var(--ea-sb-cart-black) !important;
  text-align: center;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ea-sb-cart-table__head,
.ea-sb-cart-table__row {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(125px, 20%) minmax(190px, 22%) minmax(110px, 12%);
  align-items: center;
}

.ea-sb-cart-table__head {
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ea-sb-cart-line);
  color: var(--ea-sb-cart-black);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 400;
}

.ea-sb-cart-table__head > div:nth-child(n + 2) {
  text-align: center;
}

.ea-sb-cart-table__head > div:last-child {
  text-align: right;
}

.ea-sb-cart-table__row {
  min-height: 141px;
  padding: 15px 0 15px 16px;
  border-bottom: 1px solid var(--ea-sb-cart-line);
}

.ea-sb-cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 33px;
  min-width: 0;
}

.ea-sb-cart-item__image-link {
  display: block;
  width: 74px;
  height: 110px;
  background: #f3f2ed;
  overflow: hidden;
}

.ea-sb-cart-item__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center top;
}

.ea-sb-cart-item__details {
  min-width: 0;
  padding-right: 14px;
}

.ea-sb-cart-item__name {
  margin: 0 0 2px !important;
  padding: 0 !important;
  color: var(--ea-sb-cart-black) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ea-sb-cart-item__name a,
.ea-sb-cart-item__name a:hover,
.ea-sb-cart-item__name a:focus {
  color: var(--ea-sb-cart-black) !important;
  font: inherit !important;
  text-decoration: none !important;
}

.ea-sb-cart-item__meta,
.ea-sb-cart-item__meta dl,
.ea-sb-cart-item__meta dt,
.ea-sb-cart-item__meta dd,
.ea-sb-cart-item__meta p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ea-sb-cart-black) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ea-sb-cart-item__meta dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.ea-sb-cart-item__meta dl.variation dt,
.ea-sb-cart-item__meta dl.variation dd {
  float: none !important;
}

.ea-sb-cart-table__price,
.ea-sb-cart-table__total {
  color: var(--ea-sb-cart-black) !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

.ea-sb-cart-table__price {
  text-align: center;
  font-weight: 400;
}

.ea-sb-cart-table__total {
  padding-right: 11px;
  text-align: right;
  font-weight: 700;
}

.ea-sb-cart-page .amount,
.ea-sb-cart-page .woocommerce-Price-amount,
.ea-sb-cart-page .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font: inherit !important;
}

.ea-sb-cart-table__quantity-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ea-sb-cart-table__remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ff0000 !important;
  cursor: pointer;
}

.ea-sb-cart-table__remove svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ea-sb-cart-table__stepper,
.ea-sb-cart-slider__quantity {
  display: grid;
  grid-template-columns: 40px 40px 40px;
  width: 120px;
  height: 36px;
  border: 1px solid #9f9f9f;
  background: var(--ea-sb-cart-white);
}

.ea-sb-cart-table__qty-btn,
.ea-sb-cart-slider__qty-btn,
.ea-sb-cart-table__qty-input,
.ea-sb-cart-slider__qty-input {
  width: 40px !important;
  height: 34px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #9f9f9f !important;
  background: var(--ea-sb-cart-white) !important;
  color: #7a8490 !important;
  text-align: center;
  font-size: 19px !important;
  line-height: 34px !important;
  font-weight: 400 !important;
}

.ea-sb-cart-table__qty-input,
.ea-sb-cart-slider__qty-input {
  color: #777777 !important;
  font-size: 16px !important;
  -moz-appearance: textfield;
}

.ea-sb-cart-table__qty-input::-webkit-outer-spin-button,
.ea-sb-cart-table__qty-input::-webkit-inner-spin-button,
.ea-sb-cart-slider__qty-input::-webkit-outer-spin-button,
.ea-sb-cart-slider__qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ea-sb-cart-table__qty-btn:last-child,
.ea-sb-cart-slider__qty-btn:last-child {
  border-right: 1px solid #9f9f9f !important;
}

.ea-sb-cart-table__qty-btn:hover,
.ea-sb-cart-table__qty-btn:focus,
.ea-sb-cart-slider__qty-btn:hover,
.ea-sb-cart-slider__qty-btn:focus {
  background: #f4f4f4 !important;
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding-top: 15px;
}

.ea-sb-cart-summary__note label {
  display: block;
  margin: 0 0 5px;
  color: var(--ea-sb-cart-black);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.ea-sb-cart-summary__note textarea {
  display: block;
  width: 100% !important;
  min-height: 80px !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #c8c8c8 !important;
  background: var(--ea-sb-cart-white) !important;
  color: var(--ea-sb-cart-black) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  resize: vertical;
}

.ea-sb-cart-summary__note textarea::placeholder,
.ea-sb-cart-summary__coupon input::placeholder {
  color: #8a8a8a !important;
  opacity: 1;
}

.ea-sb-cart-summary__coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 81px;
  width: 100%;
  height: 36px;
}

.ea-sb-cart-summary__coupon input {
  width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #c8c8c8 !important;
  border-right: 0 !important;
  background: var(--ea-sb-cart-white) !important;
  color: var(--ea-sb-cart-black) !important;
  font-size: 15px !important;
}

.ea-sb-cart-summary__coupon button,
.ea-sb-cart-summary__action,
.ea-sb-cart-empty a,
.ea-sb-cart-slider__add {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--ea-sb-cart-black) !important;
  border-radius: 0 !important;
  background: var(--ea-sb-cart-black) !important;
  background-color: var(--ea-sb-cart-black) !important;
  background-image: none !important;
  color: var(--ea-sb-cart-white) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.ea-sb-cart-summary__coupon button {
  width: 81px !important;
  height: 36px !important;
}

.ea-sb-cart-summary__coupon button:hover,
.ea-sb-cart-summary__coupon button:focus,
.ea-sb-cart-summary__action:hover,
.ea-sb-cart-summary__action:focus,
.ea-sb-cart-empty a:hover,
.ea-sb-cart-empty a:focus,
.ea-sb-cart-slider__add:hover,
.ea-sb-cart-slider__add:focus {
  border-color: var(--ea-sb-cart-black) !important;
  background: var(--ea-sb-cart-white) !important;
  background-color: var(--ea-sb-cart-white) !important;
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-summary__applied {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ea-sb-cart-summary__applied span {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #b8b8b8;
  background: #f5f5f5;
  color: var(--ea-sb-cart-black);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ea-sb-cart-summary__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  color: var(--ea-sb-cart-black);
  font-size: 17px;
  line-height: 1.3;
}

.ea-sb-cart-summary__subtotal strong {
  font-weight: 400;
}

.ea-sb-cart-summary__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.ea-sb-cart-page .ea-sb-cart-summary__action,
.ea-sb-cart-page .ea-sb-cart-summary__action:visited {
  width: 100% !important;
  min-height: 46px !important;
  color: var(--ea-sb-cart-white) !important;
}

.ea-sb-cart-page .ea-sb-cart-summary__action:hover,
.ea-sb-cart-page .ea-sb-cart-summary__action:focus,
.ea-sb-cart-page .ea-sb-cart-summary__action:active {
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-empty {
  padding: 70px 20px;
  text-align: center;
}

.ea-sb-cart-empty p {
  margin: 0 0 20px;
  color: var(--ea-sb-cart-black);
  font-size: 18px;
}

.ea-sb-cart-empty a {
  min-width: 220px;
  min-height: 44px;
}

.ea-sb-cart-sliders {
  margin-top: 10px;
}

.ea-sb-cart-slider {
  margin-top: 18px;
}

.ea-sb-cart-slider__title {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  font-size: 14px !important;
}

.ea-sb-cart-slider__stage {
  position: relative;
  padding: 16px 23px 0;
}

.ea-sb-cart-slider__viewport {
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.ea-sb-cart-slider__viewport::-webkit-scrollbar {
  display: none;
}

.ea-sb-cart-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
}

.ea-sb-cart-slider__card {
  min-width: 0;
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-slider__image-link {
  display: block;
  width: 100%;
  height: 181px;
  background: #f3f2ed;
  overflow: hidden;
}

.ea-sb-cart-slider__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 300ms ease;
}

.ea-sb-cart-slider__card:hover .ea-sb-cart-slider__image {
  transform: scale(1.02);
}

.ea-sb-cart-slider__product-title {
  width: 100%;
  margin: 9px 0 4px !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--ea-sb-cart-black) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis;
  text-transform: none !important;
  white-space: nowrap;
}

.ea-sb-cart-slider__product-title a,
.ea-sb-cart-slider__product-title a:hover,
.ea-sb-cart-slider__product-title a:focus {
  color: var(--ea-sb-cart-black) !important;
  font: inherit !important;
  text-decoration: none !important;
}

.ea-sb-cart-slider__variation,
.ea-sb-cart-slider__product-meta {
  display: block;
  width: 100% !important;
  height: 27px !important;
  margin: 0 0 5px !important;
  padding: 0 8px !important;
  border: 1px solid #a9a9a9 !important;
  background: var(--ea-sb-cart-white) !important;
  color: #777777 !important;
  font-size: 14px !important;
  line-height: 25px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ea-sb-cart-slider__variation {
  cursor: pointer;
}

.ea-sb-cart-slider__price {
  min-height: 20px;
  margin: 0 0 4px;
  color: var(--ea-sb-cart-black) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.ea-sb-cart-slider__price del {
  opacity: 0.55;
}

.ea-sb-cart-slider__quantity {
  width: 137px;
  grid-template-columns: 45px 46px 45px;
  height: 34px;
  margin-bottom: 5px;
}

.ea-sb-cart-slider__qty-btn,
.ea-sb-cart-slider__qty-input {
  width: 100% !important;
  height: 32px !important;
  line-height: 32px !important;
}

.ea-sb-cart-slider__add {
  width: 100% !important;
  min-height: 34px !important;
  font-size: 16px !important;
}

.ea-sb-cart-page a.ea-sb-cart-slider__add,
.ea-sb-cart-page a.ea-sb-cart-slider__add:visited,
.ea-sb-cart-page .ea-sb-cart-empty a,
.ea-sb-cart-page .ea-sb-cart-empty a:visited {
  color: var(--ea-sb-cart-white) !important;
}

.ea-sb-cart-page a.ea-sb-cart-slider__add:hover,
.ea-sb-cart-page a.ea-sb-cart-slider__add:focus,
.ea-sb-cart-page a.ea-sb-cart-slider__add:active,
.ea-sb-cart-page .ea-sb-cart-empty a:hover,
.ea-sb-cart-page .ea-sb-cart-empty a:focus,
.ea-sb-cart-page .ea-sb-cart-empty a:active {
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-slider__arrow {
  position: absolute !important;
  top: 50%;
  z-index: 3;
  width: 34px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #333333 !important;
  font-size: 32px !important;
  line-height: 48px !important;
  font-weight: 300 !important;
  cursor: pointer;
  transform: translateY(-50%);
}

.ea-sb-cart-slider__arrow--prev {
  left: -17px;
}

.ea-sb-cart-slider__arrow--next {
  right: -17px;
}

.ea-sb-cart-slider__arrow:hover,
.ea-sb-cart-slider__arrow:focus {
  background: transparent !important;
  color: var(--ea-sb-cart-black) !important;
}

.ea-sb-cart-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483647;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 18px;
  border: 1px solid var(--ea-sb-cart-black);
  background: var(--ea-sb-cart-black);
  color: var(--ea-sb-cart-white);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.ea-sb-cart-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ea-sb-cart-toast.is-error {
  border-color: #000000;
  background: #ffffff;
  color: #000000;
}

.ea-sb-cart-page.is-loading::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  background: rgba(255, 255, 255, 0.5);
  cursor: wait;
}

@media (max-width: 991px) {
  .ea-sb-cart-page {
    padding-inline: 16px;
  }

  .ea-sb-cart-table__head,
  .ea-sb-cart-table__row {
    grid-template-columns: minmax(0, 42%) minmax(110px, 18%) minmax(170px, 26%) minmax(100px, 14%);
  }

  .ea-sb-cart-item {
    gap: 18px;
  }

  .ea-sb-cart-slider__track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 767px) {
  .ea-sb-cart-page {
    padding: 18px 12px 42px;
  }

  .ea-sb-cart-page__title {
    font-size: 23px !important;
  }

  .ea-sb-cart-table__head {
    display: none;
  }

  .ea-sb-cart-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    min-height: 0;
    padding: 18px 0;
  }

  .ea-sb-cart-item {
    grid-column: 1 / -1;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
  }

  .ea-sb-cart-item__image-link {
    width: 76px;
    height: 112px;
  }

  .ea-sb-cart-table__price,
  .ea-sb-cart-table__quantity-cell,
  .ea-sb-cart-table__total {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    padding: 22px 0 0;
    text-align: left;
  }

  .ea-sb-cart-table__price::before,
  .ea-sb-cart-table__quantity-cell::before,
  .ea-sb-cart-table__total::before {
    content: attr(data-label);
    position: absolute;
    top: 0;
    left: 0;
    color: #777777;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
  }

  .ea-sb-cart-table__quantity-cell {
    align-items: flex-end;
    padding-right: 0;
  }

  .ea-sb-cart-table__quantity-cell::before {
    right: 0;
    left: auto;
  }

  .ea-sb-cart-table__quantity-cell {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .ea-sb-cart-table__total {
    align-items: flex-end;
    text-align: right;
  }

  .ea-sb-cart-table__total::before {
    right: 0;
    left: auto;
  }

  .ea-sb-cart-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ea-sb-cart-summary__subtotal {
    min-height: 62px;
  }

  .ea-sb-cart-summary__actions {
    gap: 10px;
  }

  .ea-sb-cart-slider__stage {
    padding-inline: 14px;
  }

  .ea-sb-cart-slider__track {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
  }

  .ea-sb-cart-slider__image-link {
    height: 210px;
  }

  .ea-sb-cart-slider__product-title {
    font-size: 14px !important;
  }

  .ea-sb-cart-slider__arrow--prev {
    left: -14px;
  }

  .ea-sb-cart-slider__arrow--next {
    right: -14px;
  }
}

@media (max-width: 480px) {
  .ea-sb-cart-page {
    padding-inline: 8px;
  }

  .ea-sb-cart-item__name {
    font-size: 14px !important;
  }

  .ea-sb-cart-item__meta,
  .ea-sb-cart-item__meta dl,
  .ea-sb-cart-item__meta dt,
  .ea-sb-cart-item__meta dd,
  .ea-sb-cart-item__meta p {
    font-size: 12px !important;
  }

  .ea-sb-cart-table__stepper {
    grid-template-columns: 34px 34px 34px;
    width: 102px;
  }

  .ea-sb-cart-table__qty-btn,
  .ea-sb-cart-table__qty-input {
    width: 34px !important;
  }

  .ea-sb-cart-summary__actions {
    grid-template-columns: 1fr;
  }

  .ea-sb-cart-slider__image-link {
    height: 178px;
  }

  .ea-sb-cart-slider__variation,
  .ea-sb-cart-slider__product-meta {
    font-size: 12px !important;
  }

  .ea-sb-cart-slider__quantity {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .ea-sb-cart-slider__add {
    font-size: 14px !important;
  }
}
