.marlec-cart-wrap,
.marlec-custom-cart-trigger,
.mlmc-trigger-wrap,
.mlmc-root {
  --mlmc-primary: var(--ml-primary, var(--ml-green, #86b882));
  --mlmc-primary-hover: var(--ml-primary-hover, var(--ml-green-hover, #689c64));
  --mlmc-primary-light: var(--ml-primary-light, var(--ml-light-green, #e7f1e6));
  --mlmc-primary-sides: var(--ml-primary-sides, var(--ml-green-sides, #c4dcc2));
  --mlmc-orange: var(--ml-orange, #feaf65);
  --mlmc-text: var(--ml-text, #454545);
  --mlmc-muted: #747474;
  --mlmc-line: #e2e6e1;
  --mlmc-surface-tint: var(--mlmc-primary-light);
  --mlmc-surface-tint: color-mix(in srgb, var(--mlmc-primary-light) 42%, #ffffff);
  --mlmc-shadow: rgba(28, 32, 35, 0.18);
  --mlmc-shadow: color-mix(in srgb, var(--mlmc-primary-hover) 18%, transparent);
  --mlmc-shadow-soft: rgba(28, 32, 35, 0.055);
  --mlmc-shadow-soft: color-mix(in srgb, var(--mlmc-primary-hover) 7%, transparent);
  --mlmc-shadow-button: rgba(28, 32, 35, 0.2);
  --mlmc-shadow-button: color-mix(in srgb, var(--mlmc-primary-hover) 22%, transparent);
  --mlmc-white: #ffffff;
  --mlmc-error: var(--ml-danger, #a65b5b);
  --mlmc-error-light: #f8ecec;
  --mlmc-error-light: color-mix(in srgb, var(--mlmc-error) 11%, #ffffff);
  --mlmc-disabled-text: var(--ml-disabled-text, #b9beb9);
  --mlmc-font: var(--ml-font, "Rajdhani", sans-serif);
  --mlmc-display: "Glass Antiqua", "Rajdhani", sans-serif;
}

.marlec-cart-wrap,
.marlec-cart-wrap *,
.marlec-custom-cart-trigger,
.marlec-custom-cart-trigger *,
.mlmc-root,
.mlmc-root *,
.mlmc-root *::before,
.mlmc-root *::after {
  box-sizing: border-box;
}

.marlec-cart-wrap {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 25px !important;
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  contain: layout;
  font-size: 0;
  line-height: 0;
  overflow: visible;
  vertical-align: middle;
}

.marlec-cart-wrap .marlec-cart-link {
  position: relative;
  display: inline-grid !important;
  flex: 0 0 25px !important;
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  line-height: 1;
  text-decoration: none !important;
  transform: none;
  transition: background-color 180ms ease !important;
}

.marlec-cart-wrap .marlec-cart-link::before,
.marlec-cart-wrap .marlec-cart-link::after {
  display: none !important;
  content: none !important;
}

.marlec-cart-wrap .marlec-cart-link:hover,
.marlec-cart-wrap .marlec-cart-link:focus-visible {
  background: transparent !important;
}

.marlec-cart-wrap .marlec-cart-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.marlec-cart-wrap .marlec-cart-svg {
  display: block;
  width: 25px !important;
  height: 25px !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: contain;
  transform: none;
  transition: transform 180ms ease !important;
}

.marlec-cart-wrap .marlec-cart-link:hover .marlec-cart-svg,
.marlec-cart-wrap .marlec-cart-link:focus-visible .marlec-cart-svg {
  transform: scale(1.16);
}

.marlec-cart-wrap .marlec-cart-count,
.marlec-custom-cart-trigger .marlec-cart-count {
  position: absolute !important;
  right: -7px !important;
  bottom: -3px !important;
  display: grid !important;
  flex: none !important;
  width: 19px !important;
  min-width: 19px !important;
  max-width: 19px !important;
  height: 19px !important;
  min-height: 19px !important;
  max-height: 19px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  place-items: center;
  border: 2px solid var(--mlmc-white);
  border-radius: 50%;
  background: var(--mlmc-text);
  color: var(--mlmc-white);
  font-family: var(--mlmc-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 15px;
  text-align: center;
  transform: none;
  z-index: 2;
}

.marlec-cart-wrap .marlec-cart-count.is-empty,
.marlec-custom-cart-trigger .marlec-cart-count.is-empty {
  display: none !important;
}

/* The former drawer can remain installed briefly during testing, but its
   overlay and panel must not compete with the MarLec replacement. */
body.mlmc-replacement-active .dmc-container,
body.mlmc-replacement-active .dmc-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mlmc-root {
  position: fixed;
  inset: 0;
  z-index: 2147482900;
  visibility: hidden;
  color: var(--mlmc-text);
  font-family: var(--mlmc-font);
  font-size: 17px;
  line-height: 1.35;
  pointer-events: none;
  transition: visibility 0s linear 750ms;
}

.mlmc-root.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mlmc-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 24, 19, 0.7);
  opacity: 0;
  cursor: pointer;
  transition: opacity 650ms ease;
}

.mlmc-root.is-open .mlmc-overlay {
  opacity: 1;
}

.mlmc-panel {
  position: absolute;
  top: 5vh;
  top: 5dvh;
  right: 0;
  bottom: 5vh;
  bottom: 5dvh;
  display: block;
  width: min(490px, calc(100vw - 18px));
  height: auto;
  overflow: hidden;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: var(--mlmc-surface-tint);
  box-shadow: -18px 0 46px var(--mlmc-shadow);
  outline: 0;
  transform: translate3d(104%, 0, 0);
  transition: transform 750ms cubic-bezier(0.22, 0.78, 0.22, 1);
  will-change: transform;
}

.mlmc-root.is-open .mlmc-panel {
  transform: translate3d(0, 0, 0);
}

.mlmc-panel-content {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--mlmc-text);
  font-family: var(--mlmc-font);
}

.mlmc-header {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 72px;
  padding: 13px 18px 12px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--mlmc-line);
  background: var(--mlmc-white);
}

.mlmc-header__copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 12px;
}

.mlmc-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mlmc-text) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 27px !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
}

.mlmc-header__count {
  flex: 0 0 auto;
  color: var(--mlmc-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.mlmc-close,
.mlmc-remove,
.mlmc-quantity__button {
  appearance: none;
  -webkit-appearance: none;
}

.mlmc-close {
  display: grid !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid var(--mlmc-line) !important;
  border-radius: 50% !important;
  background: var(--mlmc-white) !important;
  box-shadow: none !important;
  color: var(--mlmc-text) !important;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.mlmc-close::before,
.mlmc-close::after,
.mlmc-remove::before,
.mlmc-remove::after,
.mlmc-quantity__button::before,
.mlmc-quantity__button::after {
  display: none !important;
  content: none !important;
}

.mlmc-close svg,
.mlmc-remove svg {
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.75;
}

.mlmc-close:hover,
.mlmc-close:focus-visible {
  border-color: var(--mlmc-primary) !important;
  background: var(--mlmc-primary-light) !important;
  color: var(--mlmc-primary-hover) !important;
  transform: rotate(4deg);
}

.mlmc-close:focus-visible,
.mlmc-remove:focus-visible,
.mlmc-quantity__button:focus-visible,
.mlmc-button:focus-visible,
.mlmc-item a:focus-visible,
.mlmc-item__details summary:focus-visible {
  outline: 2px solid var(--mlmc-primary-hover) !important;
  outline-offset: 2px;
}

.mlmc-body {
  position: relative;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 17px 17px 22px;
  overscroll-behavior: contain;
  scrollbar-color: var(--mlmc-primary-sides) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.mlmc-body::-webkit-scrollbar {
  width: 8px;
}

.mlmc-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--mlmc-primary-sides);
  background-clip: padding-box;
}

.mlmc-status {
  position: sticky;
  top: -17px;
  z-index: 2;
  overflow: hidden;
  height: 0;
  padding: 0 13px;
  border-radius: 12px;
  background: var(--mlmc-primary-light);
  color: var(--mlmc-text);
  font-size: 15px;
  opacity: 0;
  transition: height 180ms ease, margin 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.mlmc-status:not(:empty) {
  height: auto;
  min-height: 38px;
  margin: 0 0 12px;
  padding: 9px 13px;
  opacity: 1;
}

.mlmc-status.is-error {
  background: var(--mlmc-error-light);
  color: var(--mlmc-error);
}

.mlmc-items {
  display: grid;
  gap: 12px;
}

.mlmc-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--mlmc-line);
  border-radius: 9px;
  background: var(--mlmc-white);
  box-shadow: 0 7px 20px var(--mlmc-shadow-soft);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mlmc-item.is-updating {
  opacity: 0.52;
  pointer-events: none;
  transform: scale(0.99);
}

.mlmc-item__image,
.mlmc-item__image a {
  display: block;
  width: 86px;
  height: 86px;
}

.mlmc-item__image img {
  display: block !important;
  width: 86px !important;
  height: 86px !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  object-fit: cover;
}

.mlmc-item__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mlmc-item__title-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: start;
}

.mlmc-item__name {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mlmc-text) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  line-height: 1.16 !important;
  text-transform: uppercase;
}

.mlmc-item__name a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 170ms ease;
}

.mlmc-item__name a:hover,
.mlmc-item__name a:focus-visible {
  color: var(--mlmc-primary-hover) !important;
}

.mlmc-remove {
  display: grid !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin: -7px -5px 0 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #8a9189 !important;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease !important;
}

.mlmc-remove:hover,
.mlmc-remove:focus-visible {
  background: var(--mlmc-error-light) !important;
  color: var(--mlmc-error) !important;
}

.mlmc-item__unit-price {
  color: var(--mlmc-muted);
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.mlmc-item__each {
  font-size: 0.86em;
  text-transform: lowercase;
}

.mlmc-item__unit-price del,
.mlmc-item__subtotal del {
  color: var(--mlmc-primary-hover);
  opacity: 0.74;
  text-decoration-thickness: 1px;
}

.mlmc-item__unit-price ins,
.mlmc-item__subtotal ins {
  color: var(--mlmc-orange);
  text-decoration: none;
}

.mlmc-item__details {
  margin-top: 4px;
  font-size: 15px;
}

.mlmc-item__details summary {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  width: fit-content;
  color: var(--mlmc-muted);
  cursor: pointer;
  list-style: none;
  line-height: 1.2;
  text-transform: uppercase;
}

.mlmc-item__details summary::-webkit-details-marker {
  display: none;
}

.mlmc-item__details summary::before {
  content: "+";
  color: var(--mlmc-primary-hover);
  font-weight: 600;
}

.mlmc-item__details[open] summary::before {
  content: "−";
}

.mlmc-item__details-action {
  color: var(--mlmc-primary-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mlmc-item__details-content {
  max-height: 180px;
  margin-top: 8px;
  overflow: auto;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--mlmc-surface-tint);
  color: var(--mlmc-text);
  overscroll-behavior: contain;
}

.mlmc-item__details-content dl,
.mlmc-item__details-content p {
  margin: 0 !important;
}

.mlmc-item__details-content dt,
.mlmc-item__details-content dd {
  display: inline;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mlmc-item__details-content dt {
  font-weight: 600;
  text-transform: uppercase;
}

.mlmc-item__details-content dd::after {
  display: block;
  margin-bottom: 3px;
  content: "";
}

.mlmc-item__bottom {
  display: grid;
  margin-top: auto;
  padding-top: 6px;
  align-items: center;
  grid-template-columns: minmax(64px, auto) auto minmax(58px, 1fr);
  gap: 8px;
}

.mlmc-quantity {
  display: inline-grid;
  overflow: hidden;
  width: 120px;
  height: 44px;
  flex: 0 0 auto;
  grid-template-columns: 38px 44px 38px;
  border: 1px solid var(--mlmc-primary-sides);
  border-radius: 9px;
  background: var(--mlmc-white);
}

.mlmc-quantity__button {
  width: 38px !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mlmc-primary-hover) !important;
  font-family: Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 42px !important;
  text-align: center;
  cursor: pointer;
  transition: background-color 170ms ease !important;
}

.mlmc-quantity__button:hover,
.mlmc-quantity__button:focus-visible {
  background: var(--mlmc-primary-light) !important;
}

.mlmc-quantity__button:disabled {
  color: var(--mlmc-disabled-text) !important;
  cursor: not-allowed;
}

.mlmc-quantity__input {
  display: block !important;
  width: 44px !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-right: 1px solid var(--mlmc-line) !important;
  border-left: 1px solid var(--mlmc-line) !important;
  border-radius: 0 !important;
  background: var(--mlmc-white) !important;
  box-shadow: none !important;
  color: var(--mlmc-text) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 42px !important;
  text-align: center;
  appearance: textfield;
}

.mlmc-quantity__input::-webkit-inner-spin-button,
.mlmc-quantity__input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.mlmc-quantity--fixed {
  display: grid;
  width: auto;
  min-width: 68px;
  padding: 0 11px;
  place-items: center;
  border-color: var(--mlmc-primary-sides);
  background: var(--mlmc-surface-tint);
  color: var(--mlmc-text);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.mlmc-item__subtotal {
  color: var(--mlmc-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.mlmc-footer {
  position: relative;
  z-index: 3;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--mlmc-line);
  background: var(--mlmc-white);
  box-shadow: 0 -10px 26px var(--mlmc-shadow-soft);
}

.mlmc-shipping-progress {
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--mlmc-line);
}

.mlmc-recommendations {
  margin: 0 0 13px;
  overflow: hidden;
  border: 1px solid var(--mlmc-line);
  border-radius: 9px;
  background: var(--mlmc-surface-tint);
}

.mlmc-recommendations summary {
  display: flex;
  min-height: 42px;
  padding: 9px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--mlmc-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.18;
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
}

.mlmc-recommendations summary::-webkit-details-marker {
  display: none;
}

.mlmc-recommendations summary svg {
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(180deg);
  transition: transform 220ms ease;
}

.mlmc-recommendations[open] summary svg {
  transform: rotate(0deg);
}

.mlmc-legacy-promo-hidden {
  display: none !important;
}

.mlmc-recommendations__rail {
  display: grid;
  padding: 0 10px 10px;
  overflow-x: auto;
  grid-auto-columns: minmax(220px, 78%);
  grid-auto-flow: column;
  gap: 9px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-color: var(--mlmc-primary-sides) transparent;
  scrollbar-width: thin;
}

.mlmc-recommendation {
  display: grid;
  min-width: 0;
  padding: 8px;
  align-items: center;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 9px;
  border: 1px solid var(--mlmc-line);
  border-radius: 9px;
  background: var(--mlmc-white);
  scroll-snap-align: start;
}

.mlmc-recommendation__image {
  display: block;
  width: 62px;
  height: 62px;
  grid-row: 1 / 3;
}

.mlmc-recommendation__image img {
  display: block !important;
  width: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  object-fit: cover;
}

.mlmc-recommendation__copy {
  min-width: 0;
  align-self: end;
}

.mlmc-recommendation__name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--mlmc-text) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.08;
  text-decoration: none !important;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mlmc-recommendation__price {
  display: block;
  margin-top: 2px;
  color: var(--mlmc-muted);
  font-size: 14px;
  line-height: 1;
}

.mlmc-recommendation__add {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 86px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--mlmc-primary) !important;
  border-radius: 9px !important;
  background: var(--mlmc-primary) !important;
  box-shadow: none !important;
  color: var(--mlmc-white) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  cursor: pointer;
}

.mlmc-recommendation__add:hover,
.mlmc-recommendation__add:focus-visible {
  border-color: var(--mlmc-primary-hover) !important;
  background: var(--mlmc-primary-hover) !important;
}

.mlmc-recommendation__add:focus-visible,
.mlmc-recommendations summary:focus-visible {
  outline: 2px solid var(--mlmc-primary-hover) !important;
  outline-offset: 2px;
}

.mlmc-recommendation__add:disabled {
  opacity: 0.55;
  cursor: wait;
}

.mlmc-shipping-progress p {
  margin: 0 0 8px !important;
  color: var(--mlmc-text);
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.mlmc-shipping-progress strong {
  color: var(--mlmc-primary-hover);
  font-weight: 600;
}

.mlmc-shipping-progress__track {
  overflow: hidden;
  height: 9px;
  border: 1px solid var(--mlmc-primary-sides);
  border-radius: 999px;
  background: var(--mlmc-primary-light);
  box-shadow: inset 0 1px 2px var(--mlmc-shadow-soft);
}

.mlmc-shipping-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--mlmc-primary-hover);
  transition: width 300ms ease;
}

.mlmc-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--mlmc-text);
  font-size: 20px;
  text-transform: uppercase;
}

.mlmc-subtotal strong {
  color: var(--mlmc-primary-hover);
  font-size: 22px;
  font-weight: 600;
  text-align: right;
}

.mlmc-footer__note {
  margin: 2px 0 0 !important;
  color: var(--mlmc-muted);
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.mlmc-account-prompt {
  display: flex;
  margin: -6px 0 9px !important;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: var(--mlmc-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.mlmc-account-prompt a,
.mlmc-account-prompt button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mlmc-primary-hover) !important;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 180ms ease, text-decoration-color 180ms ease !important;
}

.mlmc-account-prompt a:hover,
.mlmc-account-prompt a:focus-visible,
.mlmc-account-prompt button:hover,
.mlmc-account-prompt button:focus-visible {
  color: var(--mlmc-primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mlmc-account-prompt button:focus-visible {
  outline: 2px solid var(--mlmc-primary);
  outline-offset: 3px;
}

.mlmc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mlmc-button {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mlmc-primary) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-family: var(--mlmc-font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.mlmc-button::before,
.mlmc-button::after {
  display: none !important;
  content: none !important;
}

.mlmc-button--secondary {
  background: var(--mlmc-white) !important;
  color: var(--mlmc-primary-hover) !important;
}

.mlmc-button--primary {
  background: var(--mlmc-primary) !important;
  color: var(--mlmc-white) !important;
}

.mlmc-button:hover,
.mlmc-button:focus-visible {
  border-color: var(--mlmc-primary-hover) !important;
  box-shadow: 0 7px 16px var(--mlmc-shadow-button) !important;
  transform: translateY(-1px);
}

.mlmc-button--secondary:hover,
.mlmc-button--secondary:focus-visible {
  background: var(--mlmc-primary-hover) !important;
  color: var(--mlmc-white) !important;
}

.mlmc-button--primary:hover,
.mlmc-button--primary:focus-visible {
  background: var(--mlmc-white) !important;
  color: var(--mlmc-primary-hover) !important;
}

.mlmc-empty-cart {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 9px 0 0 !important;
  padding: 6px 12px !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d8baba !important;
  border-color: color-mix(in srgb, var(--mlmc-error) 38%, #ffffff) !important;
  border-radius: 6px !important;
  background: var(--mlmc-white) !important;
  box-shadow: none !important;
  color: var(--mlmc-error) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

.mlmc-empty-cart svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mlmc-empty-cart:hover,
.mlmc-empty-cart:focus-visible {
  border-color: var(--mlmc-error) !important;
  background: var(--mlmc-error-light) !important;
  color: var(--mlmc-error) !important;
}

.mlmc-empty-cart:focus-visible {
  outline: 2px solid var(--mlmc-error) !important;
  outline-offset: 2px;
}

.mlmc-empty-cart:disabled {
  opacity: 0.5;
  cursor: wait;
}

.mlmc-empty {
  display: flex;
  min-height: 0;
  padding: 38px 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-row: 2 / 4;
  color: var(--mlmc-text);
  text-align: center;
}

.mlmc-empty__icon {
  display: grid;
  width: 94px;
  height: 94px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--mlmc-primary-sides);
  border-radius: 50%;
  background: var(--mlmc-primary-light);
  color: var(--mlmc-primary-hover);
}

.mlmc-empty__icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mlmc-empty h3 {
  max-width: 350px;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--mlmc-text) !important;
  font-family: var(--mlmc-font) !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  letter-spacing: 0.015em !important;
  line-height: 1.18 !important;
  text-transform: uppercase;
}

.mlmc-empty p {
  max-width: 350px;
  margin: 0 0 23px !important;
  color: var(--mlmc-muted);
  font-size: 17px;
  line-height: 1.4;
}

.mlmc-empty .mlmc-button {
  width: auto !important;
  min-width: 210px !important;
}

html.mlmc-scrollbar-preserved {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

body.mlmc-scroll-locked {
  position: fixed !important;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .mlmc-root {
    font-size: 15px;
  }

  .mlmc-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-shadow: 0 18px 50px var(--mlmc-shadow);
  }

  .mlmc-header {
    min-height: calc(60px + env(safe-area-inset-top));
    padding: max(8px, env(safe-area-inset-top)) 13px 8px 17px;
    gap: 10px;
  }

  .mlmc-header__copy {
    gap: 9px;
  }

  .mlmc-header h2 {
    font-size: 23px !important;
  }

  .mlmc-header__count {
    font-size: 15px;
  }

  .mlmc-close {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  .mlmc-close svg {
    width: 22px;
    height: 22px;
  }

  .mlmc-body {
    padding: 10px 10px 14px;
  }

  .mlmc-status {
    top: -10px;
    font-size: 15px;
  }

  .mlmc-items {
    gap: 9px;
  }

  .mlmc-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
    border-radius: 9px;
  }

  .mlmc-item__image,
  .mlmc-item__image a,
  .mlmc-item__image img {
    width: 68px !important;
    height: 68px !important;
  }

  .mlmc-item__image img {
    border-radius: 6px !important;
  }

  .mlmc-item__title-row {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 5px;
  }

  .mlmc-item__name {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  .mlmc-remove {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
  }

  .mlmc-item__unit-price,
  .mlmc-item__details,
  .mlmc-quantity--fixed {
    font-size: 15px;
  }

  .mlmc-item__details summary {
    gap: 2px 6px;
  }

  .mlmc-item__details-content {
    max-height: 145px;
    padding: 8px 9px;
    font-size: 15px;
  }

  .mlmc-item__bottom {
    padding-top: 4px;
    grid-template-columns: minmax(58px, auto) 114px minmax(50px, 1fr);
    gap: 6px;
  }

  .mlmc-quantity {
    width: 114px;
    height: 44px;
    grid-template-columns: 36px 42px 36px;
    border-radius: 9px;
  }

  .mlmc-quantity__button {
    width: 36px !important;
    height: 42px !important;
    font-size: 18px !important;
    line-height: 42px !important;
  }

  .mlmc-quantity__input {
    width: 42px !important;
    height: 42px !important;
    font-size: 15px !important;
    line-height: 42px !important;
  }

  .mlmc-quantity--fixed {
    display: grid;
    width: auto;
    min-width: 64px;
    padding: 0 9px;
  }

  .mlmc-item__subtotal {
    font-size: 16px;
  }

  .mlmc-footer {
    max-height: 72vh;
    max-height: 72dvh;
    overflow-y: auto;
    padding: 11px 12px max(13px, env(safe-area-inset-bottom));
  }

  .mlmc-shipping-progress {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .mlmc-recommendations {
    margin-bottom: 10px;
  }

  .mlmc-recommendations summary {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .mlmc-recommendations__rail {
    grid-auto-columns: minmax(220px, 82%);
  }

  .mlmc-shipping-progress p,
  .mlmc-footer__note {
    font-size: 15px;
  }

  .mlmc-subtotal {
    font-size: 17px;
  }

  .mlmc-subtotal strong {
    font-size: 19px;
  }

  .mlmc-footer__note {
    margin-bottom: 0 !important;
  }

  .mlmc-account-prompt {
    margin: -7px 0 8px !important;
    font-size: 14px;
  }

  .mlmc-actions {
    gap: 8px;
  }

  .mlmc-button {
    min-height: 40px !important;
    padding: 7px 12px !important;
    font-size: 15px !important;
  }

  .mlmc-empty-cart {
    min-height: 32px !important;
    margin-top: 8px !important;
    font-size: 13px !important;
  }

  .mlmc-empty {
    padding: 30px 24px;
  }

  .mlmc-empty__icon {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }

  .mlmc-empty__icon svg {
    width: 56px;
    height: 56px;
  }

  .mlmc-empty h3 {
    font-size: 22px !important;
  }

  .mlmc-empty p {
    font-size: 15px;
  }
}

@media (max-width: 370px) {
  .mlmc-panel {
    width: 100vw;
  }

  .mlmc-header__copy {
    align-items: baseline;
    gap: 6px;
  }

  .mlmc-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .mlmc-item__image,
  .mlmc-item__image a,
  .mlmc-item__image img {
    width: 62px !important;
    height: 62px !important;
  }

  .mlmc-header h2 {
    font-size: 21px !important;
  }

  .mlmc-header__count {
    font-size: 14px;
  }

  .mlmc-item__bottom {
    grid-template-columns: minmax(50px, auto) 108px minmax(46px, 1fr);
    gap: 4px;
  }

  .mlmc-quantity {
    width: 108px;
    grid-template-columns: 34px 40px 34px;
  }

  .mlmc-quantity__button {
    width: 34px !important;
  }

  .mlmc-quantity__input {
    width: 40px !important;
  }

  .mlmc-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlmc-root,
  .mlmc-root *,
  .mlmc-trigger-wrap * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
