.cart-widget-side,
.cart-widget-side * {
  box-sizing: border-box;
}

.cart-widget-side {
  --ep-cs-blue: #0648c8;
  --ep-cs-blue-soft: #f6f9ff;
  --ep-cs-green: #16a13a;
  --ep-cs-green-soft: #f7fcf8;
  --ep-cs-text: #111114;
  --ep-cs-muted: #6e6e73;
  --ep-cs-line: #dedee3;
  --wd-side-hidden-w: 430px;
  width: min(430px, 100vw) !important;
  max-width: 430px !important;
  min-height: 100dvh;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  color: var(--ep-cs-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.cart-widget-side .wd-heading {
  display: flex;
  min-height: 88px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px 24px !important;
  border-bottom: 1px solid var(--ep-cs-line);
  background: #fff;
}

.cart-widget-side .wd-heading .title {
  display: block;
  margin: 0;
  color: var(--ep-cs-text);
  font-size: 27px;
  font-weight: 750;
  line-height: 1.12;
  text-wrap: balance;
}

.cart-widget-side .ep-cs-item-count {
  display: block;
  margin-top: 5px;
  color: var(--ep-cs-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.cart-widget-side .close-side-widget {
  flex: 0 0 44px;
}

.cart-widget-side .close-side-widget > a {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: var(--ep-cs-text);
}

.cart-widget-side .close-side-widget .wd-action-icon {
  width: 26px;
  height: 26px;
}

.cart-widget-side .close-side-widget .wd-action-icon::before {
  font-size: 23px !important;
}

.cart-widget-side .close-side-widget .wd-action-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cart-widget-side .widget_shopping_cart,
.cart-widget-side .widget_shopping_cart_content {
  display: flex !important;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.cart-widget-side .widget_shopping_cart_content {
  max-height: calc(100dvh - 88px) !important;
  padding: 0 !important;
  overflow: hidden;
}

.cart-widget-side .ep-cs-reassurance {
  display: none !important;
}

.cart-widget-side .shopping-cart-widget-body {
  min-height: 150px;
  flex: 1 1 auto;
  overflow: hidden !important;
}

.cart-widget-side .shopping-cart-widget-body > .wd-scroll-content {
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #6e6e73 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.cart-widget-side .shopping-cart-widget-body > .wd-scroll-content::-webkit-scrollbar {
  width: 6px;
}

.cart-widget-side .shopping-cart-widget-body > .wd-scroll-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #6e6e73;
}

.cart-widget-side .woocommerce-mini-cart {
  margin: 0 !important;
  padding: 0 8px !important;
}

.cart-widget-side .woocommerce-mini-cart-item {
  position: relative;
  display: grid !important;
  min-height: 136px;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  gap: 14px;
  align-items: center;
  margin: 0 !important;
  padding: 8px !important;
  border-bottom: 1px solid var(--ep-cs-line);
  background: #fff;
}

.cart-widget-side .cart-item-image {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-items: center;
  width: 100px !important;
  height: 120px !important;
  margin: 0 !important;
  border: 1px solid #dfe1e6 !important;
  border-radius: 7px !important;
  overflow: visible;
  background: #fff;
  line-height: 0 !important;
}

.cart-widget-side .cart-item-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 112px !important;
  margin: auto !important;
  padding: 0 !important;
  border-radius: 7px;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  transform: none !important;
}

.ep-cs-quantity-badge {
  display: none;
}

.cart-widget-side .cart-item-image .ep-cs-quantity-badge {
  position: absolute;
  top: -7px;
  left: -7px;
  z-index: 4;
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #85868b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cart-widget-side .cart-info {
  position: relative;
  z-index: 2;
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: auto 34px;
  column-gap: 10px;
  align-items: center;
  padding: 0 !important;
}

.cart-widget-side .wd-entities-title {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
  color: var(--ep-cs-text) !important;
  font-size: 12.5px !important;
  font-weight: 680 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-widget-side .ep-cs-item-quantity {
  display: contents !important;
}

.cart-widget-side .ep-cs-unit-price {
  grid-column: 2;
  grid-row: 1;
  color: var(--ep-cs-blue) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2 !important;
  white-space: nowrap;
}

.cart-widget-side .ep-cs-unit-price .amount,
.cart-widget-side .ep-cs-unit-price .woocommerce-Price-amount,
.cart-widget-side .ep-cs-unit-price .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.cart-widget-side .ep-cs-qty-control {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  grid-column: 1;
  grid-row: 2;
  align-items: center;
  margin-left: 0;
  color: #303846;
}

.cart-widget-side .ep-cs-qty-button {
  position: relative;
  display: inline-flex !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  margin: -5px -14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: radial-gradient(circle at center, #3d4654 0 12px, transparent 12.5px) !important;
  box-shadow: none !important;
  font: 700 17px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-widget-side .ep-cs-qty-button:hover {
  background: radial-gradient(circle at center, #252c37 0 12px, transparent 12.5px) !important;
}

.cart-widget-side .ep-cs-qty-button:focus,
.cart-widget-side .ep-cs-qty-button:focus-visible {
  outline: 2px solid var(--ep-cs-blue) !important;
  outline-offset: -8px !important;
}

.cart-widget-side .ep-cs-qty-button:disabled {
  cursor: wait;
  opacity: .55;
}

.cart-widget-side .ep-cs-qty-trash {
  display: block;
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-widget-side .ep-cs-qty-value {
  display: inline-flex;
  width: 28px;
  min-width: 28px;
  align-items: center;
  justify-content: center;
  color: #303846;
  font-size: 13px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.cart-widget-side .ep-cs-qty-control.is-updating {
  opacity: .65;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button {
  position: absolute !important;
  inset: 0 auto auto 86px !important;
  inset-inline-start: 86px !important;
  inset-inline-end: auto !important;
  left: 86px !important;
  right: auto !important;
  grid-column: auto !important;
  z-index: 3;
  display: inline-flex !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  text-indent: 0 !important;
  transform: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.cart-widget-side.ep-cs-cart-updating .woocommerce-mini-cart__buttons .checkout {
  pointer-events: none !important;
  cursor: wait !important;
  opacity: .72 !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button::before {
  content: none !important;
  display: none !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button::after {
  content: "×" !important;
  display: inline-flex !important;
  position: static !important;
  width: 22px !important;
  height: 22px !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff !important;
  background: #ff5261 !important;
  font: 700 16px/1 Arial, sans-serif !important;
  pointer-events: none;
  transform: none !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button:hover::after {
  background: #e83e50 !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button:focus,
body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item > a.remove.remove_from_cart_button:focus-visible {
  outline: 2px solid var(--ep-cs-blue) !important;
  outline-offset: -7px !important;
}

.cart-widget-side .cart-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: transparent !important;
  font-size: 0 !important;
}

.cart-widget-side .ep-cs-gift-item {
  min-height: 136px;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ep-cs-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.cart-widget-side .ep-cs-gift-item .remove {
  display: none !important;
}

.cart-widget-side .ep-cs-gift-item .cart-info {
  grid-column: 2 !important;
  display: block;
}

.cart-widget-side .ep-cs-gift-item .wd-entities-title {
  display: block !important;
  overflow: visible;
  white-space: normal;
  -webkit-line-clamp: unset;
}

.cart-widget-side .ep-cs-gift-item .variation {
  display: none !important;
}

.ep-cs-gift-pill {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  align-items: stretch;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid #d6d6dc;
  border-radius: 9px;
  background: #f4f4f6;
  color: var(--ep-cs-text);
  font-size: 10px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}

.ep-cs-gift-pill__icon {
  display: inline-flex;
  width: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 7px !important;
  background: #f4f4f6 !important;
  color: var(--ep-cs-text) !important;
}

.ep-cs-gift-pill__icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 14h24v15H4zM2 9h28v6H2zM16 9v20M16 9c-5 0-8-1.8-8-4.5C8 2.6 9.5 2 11 2c3.2 0 5 4.2 5 7Zm0 0c5 0 8-1.8 8-4.5C24 2.6 22.5 2 21 2c-3.2 0-5 4.2-5 7Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 14h24v15H4zM2 9h28v6H2zM16 9v20M16 9c-5 0-8-1.8-8-4.5C8 2.6 9.5 2 11 2c3.2 0 5 4.2 5 7Zm0 0c5 0 8-1.8 8-4.5C24 2.6 22.5 2 21 2c-3.2 0-5 4.2-5 7Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.ep-cs-gift-pill > span:not(.ep-cs-gift-pill__icon) {
  display: inline-flex;
  align-items: center;
  padding: 7px 7px !important;
  background: #f4f4f6 !important;
  color: var(--ep-cs-text) !important;
  font-variant-numeric: tabular-nums;
}

.ep-cs-gift-pill > strong {
  display: inline-flex;
  align-items: center;
  padding: 7px 9px !important;
  background: var(--ep-cs-green) !important;
  color: #fff !important;
  font-size: 10px;
}

.cart-widget-side .ep-cs-gift-quantity strong {
  color: var(--ep-cs-text);
  font-weight: 720;
}

.cart-widget-side .ep-cs-gift-quantity {
  display: block;
  margin-top: 7px;
  color: #3a3a3f !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
}

.cart-widget-side .shopping-cart-widget-footer {
  position: relative;
  z-index: 4;
  display: flex !important;
  min-height: 0;
  flex: 0 0 auto !important;
  flex-direction: column;
  gap: 0 !important;
  margin: 0 !important;
  padding: 20px 24px calc(18px + env(safe-area-inset-bottom)) !important;
  border-top: 0 !important;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -7px 22px rgba(0, 0, 0, .07);
}

.cart-widget-side .woocommerce-mini-cart__total {
  order: 1 !important;
  display: flex !important;
  min-height: 38px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--ep-cs-text);
  font-size: 17px !important;
}

.cart-widget-side .woocommerce-mini-cart__total strong {
  font-weight: 620;
}

.cart-widget-side .woocommerce-mini-cart__total .amount {
  color: var(--ep-cs-blue) !important;
  font-size: 24px !important;
  font-weight: 760 !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ep-cs-summary {
  order: 2 !important;
  min-width: 0;
  padding: 0 !important;
}

.ep-cs-savings {
  margin: 0;
  padding: 0;
  border: 0;
}

.ep-cs-savings > summary {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 9px;
  color: var(--ep-cs-blue);
  cursor: pointer;
  list-style: none;
}

.ep-cs-savings > summary::-webkit-details-marker {
  display: none;
}

.ep-cs-savings > summary strong {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
}

.ep-cs-savings > summary > span {
  display: none;
}

.ep-cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ep-cs-tile {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 88px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #c9dbff;
  border-radius: 10px;
  background: var(--ep-cs-blue-soft);
  color: var(--ep-cs-blue);
}

.ep-cs-tile--gift,
.ep-cs-tile--delivery {
  border-color: #bce5c6;
  background: var(--ep-cs-green-soft);
  color: var(--ep-cs-green);
}

.ep-cs-tile__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

.ep-cs-tile__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ep-cs-tile__copy {
  display: block;
  min-width: 0;
}

.ep-cs-tile__title,
.ep-cs-tile__value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-cs-tile__title {
  color: var(--ep-cs-text);
  font-size: 12px;
  font-weight: 690;
  line-height: 1.2;
  text-transform: uppercase;
}

.ep-cs-tile__value {
  margin-top: 5px;
  color: currentColor;
  font-size: 12.5px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.ep-cs-tile__note {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ep-cs-progress {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcefe1;
  direction: ltr;
}

.ep-cs-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ep-cs-green);
}

.ep-cs-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ep-cs-summary.is-loading .ep-cs-tile__value {
  color: transparent;
  border-radius: 4px;
  background: #e7eaf0;
}

.ep-cs-summary.has-error .ep-cs-tile {
  border-color: #f1b5b0;
}

.cart-widget-side .woocommerce-mini-cart__buttons {
  order: 3 !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
  display: none !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--ep-cs-blue) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 720 !important;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  box-shadow: none !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout:hover,
.cart-widget-side .woocommerce-mini-cart__buttons .checkout:focus-visible {
  background: #003da8 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout[aria-disabled="true"] {
  background: #d1d1d6 !important;
  color: #6e6e73 !important;
  pointer-events: none;
}

body.ep-cs-3c3-active .cart-widget-side p.woocommerce-mini-cart__buttons a.button.checkout.wc-forward {
  border-radius: 9px !important;
  text-transform: uppercase !important;
}

.cart-widget-side .ep-side-min-order,
.cart-widget-side .ep-side-trust {
  display: none !important;
}

body.ep-cs-cart-open .epai-fab,
body:has(.cart-widget-side.wd-opened) .epai-fab {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cart-widget-side .wd-empty-mini-cart {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.cart-widget-side .wd-empty-mini-cart .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}

[dir="rtl"] .ep-cs-grid,
[dir="rtl"] .ep-cs-tile,
body.ep-cs-lang-ar .cart-widget-side .cart-info,
.cart-widget-side:has([data-ep-cs-summary][dir="rtl"]) .cart-info {
  text-align: right;
}

@media (max-width: 767px) {
  .cart-widget-side {
    --wd-side-hidden-w: 100vw;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-bottom: 0 !important;
  }

  .cart-widget-side .widget_shopping_cart_content {
    max-height: calc(100dvh - 88px) !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 390px) {
  .cart-widget-side .wd-heading {
    padding-right: 14px !important;
    padding-left: 20px !important;
  }

  .cart-widget-side .woocommerce-mini-cart {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .cart-widget-side .woocommerce-mini-cart-item,
  .cart-widget-side .ep-cs-gift-item {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 14px;
  }

  .cart-widget-side .cart-item-image {
    width: 100px !important;
    height: 120px !important;
  }

  .cart-widget-side .wd-entities-title {
    font-size: 12.5px !important;
  }

  .cart-widget-side .shopping-cart-widget-footer {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .ep-cs-tile {
    min-height: 84px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .ep-cs-tile__icon,
  .ep-cs-tile__icon svg {
    width: 30px;
    height: 30px;
  }

  .ep-cs-tile__title {
    font-size: 11px;
  }

  .ep-cs-tile__value {
    font-size: 11.5px;
  }
}

@media (max-width: 350px) {
  .cart-widget-side .woocommerce-mini-cart-item,
  .cart-widget-side .ep-cs-gift-item {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 12px;
  }

  .cart-widget-side .cart-item-image {
    width: 100px !important;
    height: 120px !important;
  }

  .ep-cs-grid {
    gap: 7px;
  }

  .ep-cs-tile {
    grid-template-columns: 1fr;
    gap: 3px;
    text-align: center;
  }

  .ep-cs-tile__icon {
    display: none;
  }
}

@media (max-height: 700px) {
  .cart-widget-side .wd-heading {
    min-height: 76px;
    padding-top: 11px !important;
    padding-bottom: 10px !important;
  }

  .cart-widget-side .widget_shopping_cart_content {
    max-height: calc(100dvh - 76px) !important;
  }

  .cart-widget-side .shopping-cart-widget-footer {
    padding-top: 14px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  }

  .ep-cs-savings:not([open]) > summary {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-widget-side *,
  .cart-widget-side *::before,
  .cart-widget-side *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Final cart-row hardening: Woodmart and iOS Safari both ship late button rules. */
body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart > .woocommerce-mini-cart-item:not(.ep-cs-gift-item) {
  min-height: 136px !important;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 8px !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart > .woocommerce-mini-cart-item:not(.ep-cs-gift-item) > .cart-item-image {
  display: grid !important;
  width: 100px !important;
  min-width: 100px !important;
  height: 120px !important;
  min-height: 120px !important;
  place-items: center !important;
  border: 1px solid #dfe1e6 !important;
  border-radius: 7px !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart > .woocommerce-mini-cart-item > .cart-item-image > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 112px !important;
  margin: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  transform: none !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart > .woocommerce-mini-cart-item:not(.ep-cs-gift-item) > .cart-info {
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-rows: auto 44px !important;
  column-gap: 10px !important;
  align-items: center !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-item-quantity {
  display: contents !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control {
  position: relative !important;
  display: block !important;
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button {
  position: absolute !important;
  top: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex: none !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 700 17px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > .ep-cs-qty-button--decrease {
  left: 0 !important;
  right: auto !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > .ep-cs-qty-button--increase {
  right: 0 !important;
  left: auto !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 0 !important;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: #3d4654 !important;
  transform: translate(-50%, -50%) !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button:hover::before,
body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button:focus::before {
  background: #252c37 !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button:disabled::before {
  background: #6e7683 !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > button.ep-cs-qty-button > span {
  position: relative !important;
  z-index: 1 !important;
}

body.ep-cs-3c3-active .cart-widget-side .woocommerce-mini-cart-item:not(.ep-cs-gift-item) .ep-cs-qty-control > .ep-cs-qty-value {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  z-index: 2 !important;
  display: inline-flex !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #303846 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 620 !important;
  line-height: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: translateX(-50%) !important;
}
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout:has(li[data-id="billing_first_name"]),
body.woocommerce-checkout #billing_first_name_field .checkout-inline-error-message,
body.woocommerce-checkout #billing_address_1_field .checkout-inline-error-message,
body.woocommerce-checkout #billing_city_field .checkout-inline-error-message,
body.woocommerce-checkout #billing_phone_field .checkout-inline-error-message,
body.woocommerce-checkout #billing_email_field .checkout-inline-error-message {
  display: none !important;
}
