:root {
  --esc-bg: #fff;
  --esc-text: #030302;
  --esc-border: #d3cec5;
  --esc-muted: rgba(3, 3, 2, .62);
  --esc-overlay: rgba(0, 0, 0, .28);
  --esc-width: min(95vw, 500px);
  --esc-font: HelveticaNeue, Helvetica, Arial, sans-serif;
  --esc-scrollbar-width: 0px;
}

html {
  scrollbar-gutter: stable;
}

.esc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: var(--esc-overlay);
  opacity: 0;
  transition: opacity .2s ease;
}

.esc-drawer {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  width: var(--esc-width);
  max-width: 100vw;
  height: 100dvh;
  background: var(--esc-bg);
  color: var(--esc-text);
  font-family: var(--esc-font);
  transform: translate3d(100%, 0, 0);
  transition: transform .2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  outline: 0;
}

html.esc-is-open,
html.esc-is-open body {
  overflow: hidden !important;
}

html.esc-is-open body {
  padding-right: var(--esc-scrollbar-width, 0px) !important;
}

html.esc-is-open .elementor-location-header,
html.esc-is-open #wpadminbar {
  padding-right: var(--esc-scrollbar-width, 0px) !important;
}

html.esc-is-open .esc-overlay {
  opacity: 1;
}

html.esc-is-open .esc-drawer {
  transform: translate3d(0, 0, 0);
}

.esc-drawer__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.esc-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(211, 206, 197, .55);
}

.esc-title {
  margin: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--esc-text);
}

.esc-cart-count-fragment::before { content: '('; }
.esc-cart-count-fragment::after { content: ')'; }

.esc-close {
  appearance: none;
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  padding: 4px 8px 8px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--esc-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}

.esc-close svg {
  display: block;
  width: 14px;
  height: 14px;
}

.esc-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 25px 24px;
}

.esc-empty {
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.esc-empty h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.esc-empty p,
.esc-note,
.esc-shipping__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--esc-muted);
}

.esc-empty a:not(.esc-button) {
  color: var(--esc-text);
  text-decoration: underline;
}

.esc-shipping {
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(211, 206, 197, .55);
}

.esc-shipping__text {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esc-text);
  margin-bottom: 10px;
}

.esc-shipping__bar {
  height: 4px;
  background: rgba(3, 3, 2, .1);
  overflow: hidden;
}

.esc-shipping__bar span {
  display: block;
  height: 100%;
  background: var(--esc-text);
  transition: width .2s ease;
}

.esc-items {
  display: flex;
  flex-direction: column;
}

.esc-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(211, 206, 197, .55);
}

.esc-item__image {
  display: block;
  background: #f5f5f5;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.esc-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.esc-item__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.esc-item__top,
.esc-item__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.esc-item__bottom {
  align-items: center;
}

.esc-item__name {
  color: var(--esc-text);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.esc-item__variations,
.esc-item__variations p,
.esc-item__variations dl,
.esc-item__variations dt,
.esc-item__variations dd,
.esc-item__price {
  margin: 6px 0 0;
  color: #4B4A4A;
  font-family: Helvetica, Sans-serif;
  font-size: 14px;
  font-weight: 100;
  line-height: 1.35;
  text-transform: none;
}


.esc-item__variation-separator {
  display: inline-block;
  margin: 0 4px;
  color: #4B4A4A;
  font-family: Helvetica, Sans-serif;
  font-size: 14px;
  font-weight: 100;
  line-height: 1.35;
}

.esc-item__variations dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  margin-top: 6px;
}

.esc-item__variations dt,
.esc-item__variations dd {
  display: inline;
  margin: 0;
}

.esc-item__variations dt::after {
  content: ':';
}

.esc-item__price {
  margin: 0;
  color: var(--esc-text);
  font-family: var(--esc-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.esc-remove {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--esc-text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.esc-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(3, 3, 2, .18);
  height: 34px;
}

.esc-qty button,
.esc-qty input {
  width: 34px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--esc-text);
  text-align: center;
  border-radius: 0;
  padding: 0;
  font: 700 13px/1 var(--esc-font);
}

.esc-qty button {
  cursor: pointer;
}

.esc-qty input {
  -moz-appearance: textfield;
}

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

.esc-footer {
  flex: 0 0 auto;
  padding: 18px 25px 25px;
  border-top: 1px solid rgba(211, 206, 197, .75);
  background: var(--esc-bg);
  display: grid;
  gap: 10px;
}

.esc-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.esc-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 24px;
  border: 1px solid var(--esc-text);
  border-radius: 2px;
  font: 700 13px/1 var(--esc-font);
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}

.esc-button--primary {
  background: var(--esc-text);
  color: #fff !important;
}

.esc-button--primary:hover {
  background: transparent;
  color: var(--esc-text) !important;
}

.esc-button--secondary {
  background: transparent;
  color: var(--esc-text) !important;
}

.esc-button--secondary:hover {
  background: var(--esc-text);
  color: #fff !important;
}

.esc-loading .esc-drawer__inner {
  pointer-events: none;
  opacity: .58;
}

@media (max-width: 640px) {
  .esc-drawer { width: 100vw; }
  .esc-header { padding-inline: 16px; }
  .esc-body { padding-inline: 16px; }
  .esc-footer { padding-inline: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .esc-item { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
}


.esc-cart-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.esc-cart-toggle .icon-shopping-bag,
.esc-cart-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.esc-cart-count-bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Helvetica, Sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.esc-cart-count-bubble::before,
.esc-cart-count-bubble::after {
  content: none !important;
}

.esc-cart-toggle--hide-empty .esc-cart-count-bubble:empty,
.esc-cart-toggle--hide-empty .esc-cart-count-bubble[data-count="0"] {
  display: none;
}

.elementor-icon:has(.icon-shopping-bag) {
  position: relative;
}

.elementor-icon .esc-cart-count-bubble {
  pointer-events: none;
}

/* Hide default WooCommerce add-to-cart notice banner; the side cart is the cart feedback. */
.woocommerce-message,
.woocommerce-info.woocommerce-message {
  display: none !important;
}
