body.relisse-st-on .elementor-widget-heading,
body.relisse-st-on .elementor-widget-html,
body.relisse-st-on .elementor-widget-text-editor,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message {
  display: none !important;
}

body.woocommerce-cart,
body.woocommerce-cart .relisse-st,
body.woocommerce-cart button,
body.woocommerce-cart input {
  font-family: Poppins, system-ui, sans-serif;
  color: #121212;
}

body.woocommerce-cart .relisse-sc-footer,
body.woocommerce-cart .relisse-sc-footer a,
body.woocommerce-cart .relisse-sc-footer p,
body.woocommerce-cart .relisse-sc-footer .col-title {
  color: #fafaf8 !important;
}

body.woocommerce-cart {
  padding-bottom: 0 !important;
}

.relisse-st {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 8px;
}

body.woocommerce-cart,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .relisse-st {
  text-align: left;
}

body.woocommerce-cart .relisse-st h1,
body.woocommerce-cart .entry-content h1,
body.woocommerce-cart .entry-content :where(h1) {
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  text-align: left !important;
  color: #121212;
}

.relisse-count {
  color: #7A7A7A;
  font-size: 13px;
  margin: 4px 0 20px;
}

.relisse-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #EBEBEB;
}

.relisse-thumb img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
  background: #FAFAFA;
}

.relisse-name,
.relisse-name a {
  font-size: 14px;
  font-weight: 500;
  color: #121212 !important;
  text-decoration: none !important;
}

.relisse-meta {
  font-size: 12px;
  color: #7A7A7A;
  margin-top: 2px;
}

.relisse-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}

.relisse-qty {
  display: flex;
  align-items: center;
  border: 1px solid #121212;
}

.relisse-qty button {
  width: 48px;
  height: 48px;
  border: 0;
  background: #fff;
  cursor: pointer;
  color: #121212;
  font-size: 18px;
}

.relisse-qty .quantity {
  margin: 0;
  width: auto;
  float: none;
}

.relisse-qty .quantity .screen-reader-text {
  position: absolute;
  left: -9999px;
}

.relisse-qty input.qty {
  width: 36px !important;
  min-height: 48px;
  border: 0 !important;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.relisse-qty input.qty::-webkit-outer-spin-button,
.relisse-qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.relisse-price {
  font-size: 14px;
  font-weight: 500;
}

.relisse-remove {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: none;
  color: #7A7A7A !important;
  font-size: 12px;
  text-decoration: underline !important;
  min-height: 32px;
}

.relisse-coupon-toggle {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  color: #121212;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.relisse-coupon {
  display: none;
  gap: 8px;
}

.relisse-coupon.open {
  display: flex;
}

.relisse-coupon input {
  flex: 1;
  min-height: 48px;
  border: 1px solid #EBEBEB;
  padding: 0 12px;
  font-size: 16px;
  border-radius: 0;
}

.relisse-coupon button {
  border: 1px solid #121212;
  background: #fff;
  color: #121212;
  padding: 0 16px;
  min-height: 48px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}

.relisse-st.is-updating .relisse-totals,
.relisse-st.is-updating .relisse-bar strong {
  opacity: 0.55;
  transition: opacity 0.15s linear;
}

.relisse-st.is-updating .relisse-cta[aria-disabled="true"] {
  pointer-events: none;
}

.relisse-item.is-removing {
  opacity: 0.4;
  pointer-events: none;
}

.relisse-note {
  font-size: 13px;
  color: #b76e79;
  margin: 8px 0 0;
}

.relisse-note[hidden] {
  display: none;
}

.relisse-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.relisse-applied[hidden] {
  display: none;
}

.relisse-chip {
  border: 1px solid #ebebeb;
  background: #fff;
  color: #121212;
  font-size: 12px;
  min-height: 32px;
  padding: 0 10px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0;
}

.relisse-totals {
  margin-top: 8px;
}

.relisse-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  color: #7A7A7A;
}

.relisse-grand {
  color: #121212 !important;
  font-size: 15px !important;
  font-weight: 600;
  border-top: 1px solid #EBEBEB;
  margin-top: 4px;
  padding-top: 12px !important;
}

.relisse-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #EBEBEB;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  align-items: center;
  z-index: 1000;
}

.relisse-bar .t {
  font-size: 12px;
  color: #7A7A7A;
}

.relisse-bar strong {
  display: block;
  font-size: 16px;
  color: #121212;
}

.relisse-cta,
.relisse-empty .relisse-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #B76E79;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 0;
  text-decoration: none !important;
  border-radius: 0;
  box-shadow: none;
}

.relisse-cta:hover {
  background: #1F1A1A;
  color: #fff !important;
}

.relisse-empty {
  text-align: center;
  padding: 48px 8px;
}

.relisse-empty p {
  color: #7A7A7A;
  margin: 8px 0 20px;
}

.relisse-empty .relisse-cta {
  max-width: 240px;
  margin: 0 auto;
}

.relisse-sr {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .wc-proceed-to-checkout,
body.woocommerce-cart table.shop_table,
body.woocommerce-cart .woocommerce-cart-form > h2 {
  display: none !important;
}

@media (max-width: 767px) {
  body.woocommerce-cart:not(.woolentor-empty-cart) .relisse-sc-footer {
    padding-bottom: calc(3rem + 92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 768px) {
  .relisse-st {
    padding-top: 40px;
  }
  .relisse-st h1 {
    font-size: 28px;
  }
  .relisse-bar {
    position: static;
    max-width: 640px;
    margin: 8px auto 24px;
    border: 0;
    padding: 0 0 24px;
    grid-template-columns: 1fr;
  }
  .relisse-bar > div {
    display: none;
  }
}
