/* FoodOrd Card - modern minimal empty cart styles */
/* Follows BEM-like naming with wr-card prefix. */

:root {
  --background-color: #f7f7f7;
  --primary-color: #c9386f;
  --primary-hover: #b92a61;
  --text-color: #323232;
  --text-hover: #313131;
  --secondary-text: #6b6b6b;
  --button-bg: #c9386f;
  --button-text-color: #ffffff;
  --button-on-hover: #b92a61;
  --header-bg: #ffffff;
  --footer-bg: #ffffff;
  --border-color: #f4f4f4;
}

.wr-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1050;
}

/* Block editor / Customizer preview (widgets) safety: avoid absolute positioning and overflow */
.wr-card.wr-card--editor {
  position: relative;
  height: auto;
  z-index: auto;
  max-width: 100%;
}

.wr-card.wr-card--editor .wr-card__header {
  position: static;
  border-radius: 12px 12px 0 0;
}

.wr-card.wr-card--editor .wr-card__body {
  margin-top: 0;
  padding-bottom: 0;
  overflow: visible;
}

.wr-card.wr-card--editor .wr-card__empty {
  margin-top: 0;
}

.wr-card.wr-card--editor .wr-card__footer {
  position: static;
  box-shadow: none;
}

/* Frontend-only overlay positioning */
body:not(.wp-admin) .wr-card {
  position: absolute;
  height: 100%;
}

.wr-card__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #f4f4f4;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body:not(.wp-admin) .wr-card__header {
  position: relative;
}

.wr-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.wr-card__clear-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e7eb;
  color: #323232;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.wr-card__clear-btn:hover {
  color: #323232;
  background: #fef2f2;
  border-color: #c9386f;
}

.wr-card__clear-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.wr-card__clear-btn:disabled:hover {
  background: #ffffff;
  border-color: #e5e7eb;
}

.wr-card__clear-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.wr-card__clear-btn.disabled:hover {
  background: #ffffff;
  border-color: #e5e7eb;
}

.wr-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  z-index: 1000;
  scroll-padding-bottom: 80px;
}

/* Frontend-only body spacing to account for absolute header/footer */
body:not(.wp-admin) .wr-card__body {
  margin-top: 4rem;
  margin-bottom: 0;
  padding-bottom: 80px;
  /* Default gap */
}

body:not(.wp-admin) .wr-card.wr-card--gap-80 .wr-card__body {
  padding-bottom: 80px;
  scroll-padding-bottom: 80px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-96 .wr-card__body {
  padding-bottom: 96px;
  scroll-padding-bottom: 96px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-112 .wr-card__body {
  padding-bottom: 112px;
  scroll-padding-bottom: 112px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-128 .wr-card__body {
  padding-bottom: 128px;
  scroll-padding-bottom: 128px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-144 .wr-card__body {
  padding-bottom: 144px;
  scroll-padding-bottom: 144px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-160 .wr-card__body {
  padding-bottom: 160px;
  scroll-padding-bottom: 160px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-176 .wr-card__body {
  padding-bottom: 176px;
  scroll-padding-bottom: 176px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-192 .wr-card__body {
  padding-bottom: 192px;
  scroll-padding-bottom: 192px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-208 .wr-card__body {
  padding-bottom: 208px;
  scroll-padding-bottom: 208px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-224 .wr-card__body {
  padding-bottom: 224px;
  scroll-padding-bottom: 224px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-240 .wr-card__body {
  padding-bottom: 240px;
  scroll-padding-bottom: 240px;
}

body:not(.wp-admin) .wr-card.wr-card--gap-256 .wr-card__body {
  padding-bottom: 256px;
  scroll-padding-bottom: 256px;
}


.wr-card__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 48px 24px;
  margin: auto;
  box-sizing: border-box;
}

.wr-card__empty-icon-wrap {
  width: 72px;
  height: 72px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #94a3b8;
  position: relative;
}

.wr-card__empty-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px dashed #e2e8f0;
  border-radius: 50%;
  opacity: 0.5;
}

.wr-card__empty-icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.wr-card__empty-text {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.wr-card__empty-subtext {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  max-width: 220px;
  line-height: 1.5;
}

.wr-card__footer {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
  border-radius: 0;
  z-index: 9999;
}

.wr-card__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0 4px 0;
  margin-bottom: 4px;
}

.wr-card__delivery-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0 8px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #f4f4f4;
}

body:not(.wp-admin) .wr-card__footer {
  position: absolute;
}

.wr-card__fees {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f4f4f4;
}

.wr-card__fee {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.wr-card__fee-label {
  color: #323232;
  font-size: 14px;
  font-weight: 400;
  flex: 1;
}

.wr-card__fee-amount {
  font-size: 14px;
  font-weight: 400;
  color: #c9386f;
  text-align: right;
  min-width: 80px;
}

/* Minimum order notice */
.wr-card__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  margin: 8px 0;
  border-radius: 6px;
}

.wr-card__notice--warning {
  background: #fff7ed;
}

.wr-card__notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.wr-card__notice-text {
  font-size: 14px;
  color: #323232;
}

.wr-card__cta {
  width: 100%;
  height: 45px;
  border-radius: 5px;
  background: var(--button-bg, #c9386f);
  color: #ffffff;
  border: 0;
  cursor: not-allowed;
  opacity: 0.6;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  text-align: left;
}

.wr-card__cta *:not(.wr-card__cta-count) {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.wr-card__cta-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.wr-card__cta-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.wr-card__cta-label {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.wr-card__cta-total {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.wr-card__cta:not(.disabled) {
  cursor: pointer;
  opacity: 1;
}

.wr-card__cta:not(.disabled):hover {
  background: var(--button-on-hover, #b92a61);
}

.wr-card__cta.wr-card__cta--disabled,
.wr-card.wr-card__cta--disabled {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

.wr-card__cta.wr-card__cta--disabled:hover,
.wr-card.wr-card__cta--disabled:hover {
  background: #c9386f;
  cursor: not-allowed;
  opacity: 0.6;
}


/* Cart items */
.wr-card__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 5px;
  width: 100%;
  position: relative;
  z-index: 1100;
}

.wr-card__item {
  display: flex;
  gap: 12px;
  padding: 12px 10px;
  background: #ffffff;
  position: relative;
  align-items: flex-start;
  cursor: default;
}

.wr-card__item-image {
  flex-shrink: 0;
  width: 60px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.wr-card__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wr-card__item-quantity {
  flex-shrink: 0;
  min-width: 20px;
  height: 24px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 3px 8px;
  border: 1px solid #ededed;
  border-radius: 8px;
  margin-left: auto;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1150;
  align-self: flex-start;
  background: #ffffff;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wr-card__item-quantity:hover {
  border-color: #c9386f;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(201, 56, 111, 0.1);
}

.wr-card__item-quantity:active {
  transform: scale(0.98);
}

/* Modern Popover styles with enhanced animations - slides out to left */
.foodord-sidebar .wr-card .wr-card__quantity-popover {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.8) translateX(20px);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(8px);
  transform-origin: right center;
}

/* Enhanced entrance animation */
@keyframes slideFromLeft {
  0% {
    transform: translateY(-50%) scale(0.6) translateX(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(-50%) scale(1) translateX(12px);
    opacity: 1;
  }
}

@keyframes fadeOutToRight {
  0% {
    transform: translateY(-50%) scale(1) translateX(12px);
    opacity: 1;
  }

  100% {
    transform: translateY(-50%) scale(0.6) translateX(30px);
    opacity: 0;
  }
}

.foodord-sidebar .wr-card .wr-card__quantity-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1) translateX(12px);
  animation: slideFromLeft 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.wr-card__quantity-popover::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  border-right: none;
  border-bottom: none;
  opacity: 0;
  transition: all 0.3s ease 0.15s;
  margin-left: -6px;
}

.foodord-sidebar .wr-card .wr-card__quantity-popover.active::before {
  opacity: 1;
}

.foodord-sidebar .wr-card .wr-card__quantity-popover.closing {
  animation: fadeOutToRight 0.2s ease-in forwards;
}

/* Button animations */
.wr-card__quantity-popover.active .wr-card__quantity-btn:nth-child(1) {
  animation: buttonBounceIn 0.15s ease-out 0.05s backwards;
}

.wr-card__quantity-popover.active .wr-card__quantity-btn:nth-child(3) {
  animation: buttonBounceIn 0.15s ease-out 0.1s backwards;
}

.wr-card__quantity-popover.active .wr-card__quantity-value {
  animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.075s backwards;
}

@keyframes buttonBounceIn {
  0% {
    transform: scale(0) rotate(-90deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.wr-card__quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-size: 18px;
  font-weight: 400;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #323232;
  animation: none;
}

.wr-card__quantity-btn.minus:not(.trash)::before {
  content: "−";
  position: relative;
  top: -1px;
}

.wr-card__quantity-btn.plus::before {
  content: "+";
  position: relative;
  top: -1px;
}

.wr-card__quantity-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wr-card__quantity-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(201, 56, 111, 0.05));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.wr-card__quantity-btn:hover {
  border-color: #c9386f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 56, 111, 0.15);
}

.wr-card__quantity-btn:hover::after {
  opacity: 1;
}

.wr-card__quantity-btn.minus.trash {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wr-card__quantity-btn.minus.trash:hover {
  background: #fef2f2;
  border-color: #c9386f;
  color: #c9386f;
}

.wr-card__quantity-btn.plus {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #323232;
}

.wr-card__quantity-btn.plus:hover {
  border-color: #c9386f;
  color: #c9386f;
  box-shadow: 0 4px 12px rgba(201, 56, 111, 0.15);
}

.wr-card__quantity-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  color: #323232;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 15px;
}

/* Quantity field active state */
.wr-card__item-quantity.active {
  border-color: #c9386f;
  box-shadow: 0 0 0 3px rgba(201, 56, 111, 0.1);
}

/* Additional animations for popover buttons */
@keyframes buttonPress {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(0.9) translateY(1px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

.wr-card__quantity-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201, 56, 111, 0.2);
  animation: buttonPress 0.15s ease-in-out;
}

.wr-card__item-details {
  flex: 1;
  min-width: 0;
}

.wr-card__item-title {
  font-size: 0.90rem;
  margin: 0 0 4px 0;
}

.wr-card__item-title-button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: underline;
  max-width: 100%;
}

.wr-card__item-title-button:hover,
.wr-card__item-title-button:focus {
  text-decoration: none;
}

.wr-card__item-title-button:focus-visible {
  outline: 2px solid #c9386f;
  outline-offset: 2px;
}

.wr-card__item-price .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.wr-card__item-price .woocommerce-Price-currencySymbol {
  font-size: 14px;
  font-weight: 600;
}

.wr-card__note-toggle {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-size: 0.78rem;
  text-decoration: underline;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}

.wr-card__note-toggle:hover,
.wr-card__note-toggle:focus {
  text-decoration: underline;
}

.wr-card__note-form {
  margin-top: 6px;
  padding: 10px 10px 12px 0;
}

.wr-card__note-input {
  width: 100%;
  min-height: 56px;
  resize: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 8px;
  background: #ffffff;
  font-family: inherit;
  box-sizing: border-box;
}

.wr-card__note-input:focus {
  outline: none;
}

.wr-card__note-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.wr-card__note-btn {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}

.wr-card__note-btn--cancel {
  color: var(--text-color);
}

.wr-card__note-btn--add {
  color: var(--text-color);
}

.wr-card__note-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wr-card__note-display {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #d9e4ff78
}

.wr-card__note-display-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 4px;
}

.wr-card__note-display-text {
  margin: 0;
  font-size: 0.82rem;
  color: #374151;
  word-break: break-word;
}

.wr-card__note-feedback {
  margin-top: 6px;
  font-size: 0.72rem;
  color: #b91c1c;
}

.wr-card__item-note[data-note-saving="1"] .wr-card__note-btn {
  opacity: 0.65;
  cursor: wait;
}

.wr-card__item-toppings {
  margin: 4px 0 4px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wr-card__item-topping-set {
  display: contents;
  margin-bottom: 2px;
}

.wr-card__item-topping-set:last-child {
  margin-bottom: 0;
}

.wr-card__item-topping-list {
  display: grid;
  gap: 2px;
}

.wr-card__item-topping {
  display: block;
  font-size: 12px;
}

.wr-card__item-topping-title {
  font-size: 13px;
  font-weight: 600;
}

.wr-card__item-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  background: #c9386f;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.wr-card__item-remove:hover {
  opacity: 1;
}

/* Address Bar (below mode toggle, above header) */
.wr-card__address-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.wr-card__address-bar:hover {
  background-color: #f8fafc;
}

.wr-card__address-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.wr-card__address-left svg {
  flex-shrink: 0;
  color: #64748b;
}

.wr-card__address-text {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.wr-card__address-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  line-height: 1;
}

.wr-card__address-value {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.wr-card__address-change {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  height: 24px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wr-card__address-change:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Clear Cart Modal */
.wr-card__modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Hide cart images globally when Tweaks setting disables product images */
.foodord-hide-cart-images .woocommerce-cart table.cart .product-thumbnail,
.foodord-hide-cart-images .woocommerce-cart table.cart td.product-thumbnail,
.foodord-hide-cart-images .woocommerce table.cart .product-thumbnail,
.foodord-hide-cart-images .woocommerce-mini-cart img,
.foodord-hide-cart-images .widget_shopping_cart img,
.foodord-hide-cart-images ul.cart_list img,
.foodord-hide-cart-images ul.product_list_widget img,
.foodord-hide-cart-images .wc-block-cart-item__image,
.foodord-hide-cart-images .wc-block-components-product-image,
.foodord-hide-cart-images .wc-block-mini-cart__drawer img,
.foodord-hide-cart-images .wc-block-mini-cart__items img,
.foodord-hide-cart-images .wp-block-woocommerce-cart .wc-block-cart-item__image,
.foodord-hide-cart-images .wp-block-woocommerce-mini-cart-contents img,
.foodord-hide-cart-images .wr-card__item-image,
.foodord-hide-cart-images .wr-card__item-image img {
  display: none;
}

.wr-card__modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wr-card__modal {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  border: 1px solid #e2e8f0;
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s ease;
}

.wr-card__modal-overlay.active .wr-card__modal {
  transform: scale(1) translateY(0);
}

.wr-card__modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wr-card__modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wr-card__modal-title {
  margin: 0;
}

.wr-card__modal-message {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 24px 0;
}

.wr-card__modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.wr-card__modal-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.wr-card__modal-btn--cancel {
  background: #ffffff;
  border-color: #d1d5db;
}

.wr-card__modal-btn--cancel:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.wr-card__modal-btn--confirm {
  background: #b92a61;
  border-color: #b92a61;
  color: #ffffff;
}

.wr-card__modal-btn--confirm:hover {
  background: #b92a61;
  border-color: #b92a61;
}