/* =========================
   PRODUCT CARD - MODERN STANDARD
   Matches the first pasted card variation for normal product cards.
   ========================= */

.product-card {
  width: 180px;
  min-width: 180px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3bdc3;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #b0004a;
  box-shadow: 0 20px 40px rgba(176, 0, 74, 0.08);
}

.product-card.sponsored-product {
  border-color: rgba(184, 0, 70, 0.34);
  box-shadow: 0 12px 24px rgba(184, 0, 70, 0.09);
}

.product-card.sponsored-product:hover {
  box-shadow: 0 22px 44px rgba(184, 0, 70, 0.14);
}

.product-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
  background: #f9fafb;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: none;
}

.super-deal-pill {
  position: absolute;
  top: 48px;
  left: 12px;
  background: rgba(216, 27, 96, 0.94);
  color: #ffffff;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 16px rgba(216, 27, 96, 0.18);
  backdrop-filter: blur(8px);
}

.sold-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(39, 23, 26, 0.72);
  color: #ffffff;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 8px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.product-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: #575e70;
  z-index: 3;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  box-shadow: 0 6px 14px rgba(39, 23, 26, 0.08);
}

.product-fav-btn:hover {
  background: rgba(255, 255, 255, 0.94);
  color: #b0004a;
  transform: scale(0.96);
}

.product-fav-btn.active {
  background: #fff0f1;
  color: #b0004a;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.1); }
}

.product-card-img::after {
  content: attr(data-discount);
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b0004a;
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
  display: none;
  box-shadow: 0 8px 16px rgba(176, 0, 74, 0.16);
}

.product-card[data-discount] .product-card-img::after {
  display: block;
}

.product-card[data-discount] .super-deal-pill {
  top: 46px;
}

.product-badge-slot {
  height: 26px;
  margin-bottom: 4px;
  overflow: hidden;
}

.product-badge-vertical {
  max-width: 100%;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 130, 63, 0.1);
  color: #00823f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.badge-slide-wrapper {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.badge-slide-wrapper .badge-text {
  font-size: 11px;
  line-height: 16px;
  font-weight: 800;
  color: currentColor;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
  width: 100%;
  text-align: left;
  letter-spacing: 0.02em;
}

.slide-out-up {
  transform: translateY(-100%);
}

.slide-in-down {
  transform: translateY(0);
}

/* Card body */
.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #27171a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  margin-bottom: 6px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  margin-bottom: 12px;
}

.product-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #fc7c3a;
}

.product-star {
  font-size: 15px;
  line-height: 1;
}

.product-star.empty {
  color: #e3bdc3;
}

.product-star.half {
  color: transparent;
  background: linear-gradient(90deg, #fc7c3a 50%, #e3bdc3 50%);
  -webkit-background-clip: text;
  background-clip: text;
}

.product-rating-count {
  min-width: 0;
  color: #5a4044;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-price-old {
  display: block;
  color: #5a4044;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  text-decoration: line-through;
}

.product-price-new {
  display: block;
  color: #b0004a;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.product-card[data-discount] .product-price-new {
  color: #b0004a;
}

.stock-indicator {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 24px);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.92);
  color: #ffffff;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(8px);
  animation: pulse-subtle 2s infinite;
}

.product-quick-add-btn {
  width: 100%;
  min-height: 42px;
  border: none;
  border-radius: 8px;
  background: #d81b60;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  box-shadow: none;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.product-quick-add-icon,
.super-discount-add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-quick-add-btn svg,
.super-discount-add-btn svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-quick-add-btn:hover {
  background: #b0004a;
}

.product-quick-add-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.product-card.super-discount {
  border-color: #e3bdc3;
}

.product-card.super-discount::before {
  display: none;
}

@keyframes pulse-subtle {
  0% { opacity: 1; }
  50% { opacity: 0.82; }
  100% { opacity: 1; }
}

/* =========================
   SUPER DISCOUNT CARD - OSSI REACT MATCH
   Mirrors src/features/market/components/SuperDiscountProductCard.tsx
   ========================= */
.super-discount-card {
  --sd-card-width: 231px;
  --sd-image-stage-height: 193px;
  flex: 0 0 var(--sd-card-width);
  width: var(--sd-card-width);
  min-width: var(--sd-card-width);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 34px;
  border: 1px solid #e9ecef;
  padding: 14px;
  margin: 8px 14px 8px 0;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.super-discount-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.11);
}

.super-discount-image-stage {
  position: relative;
  width: 100%;
  height: var(--sd-image-stage-height);
  margin-bottom: 14px;
}

.super-discount-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f4f5;
  border-top-left-radius: var(--sd-radius-tl, 92px);
  border-top-right-radius: var(--sd-radius-tr, 58px);
  border-bottom-right-radius: var(--sd-radius-br, 88px);
  border-bottom-left-radius: var(--sd-radius-bl, 48px);
}

.super-discount-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.super-discount-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(160, 65, 0, 0.08) 100%);
  pointer-events: none;
}

.super-discount-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 12px;
  padding: 5px 9px;
  background: #a04100;
  color: #ffffff;
  box-shadow: 0 5px 10px rgba(160, 65, 0, 0.2);
}

.super-discount-discount-badge span {
  font-size: 12px;
  line-height: 14px;
  font-weight: 800;
}

.super-discount-discount-badge small {
  font-size: 8px;
  line-height: 10px;
  font-weight: 700;
  color: #ffdbcc;
}

.super-discount-fav-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  border: 1px solid rgba(142, 113, 100, 0.18);
  background: #ffffff;
  color: #8e7164;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.super-discount-fav-btn:hover {
  transform: scale(0.92);
}

.super-discount-fav-btn.active {
  color: #a04100;
}

.super-discount-price-glass {
  position: absolute;
  left: 0;
  bottom: 12px;
  z-index: 3;
  max-width: 68%;
  box-sizing: border-box;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.84);
  padding: 6px 10px;
}

.super-discount-old-price {
  color: #8e7164;
  font-size: 9px;
  line-height: 12px;
  font-weight: 600;
  text-decoration: line-through;
  white-space: nowrap;
}

.super-discount-old-price span {
  font-size: 6px;
}

.super-discount-price {
  color: #a04100;
  font-size: 17px;
  line-height: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.super-discount-price span {
  font-size: 8px;
}

.super-discount-badge-row {
  display: flex;
  align-items: flex-start;
  margin: -4px 0 12px;
}

.super-discount-badge-pill {
  max-width: 100%;
  min-height: 24px;
  box-sizing: border-box;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.super-discount-badge-pill span {
  color: #ffffff;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.super-discount-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.super-discount-metrics-column {
  width: 28px;
  flex: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.super-discount-metrics-bar {
  width: 4px;
  height: 40px;
  border-radius: 2px;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #a04100 0%, rgba(160, 65, 0, 0) 100%);
}

.super-discount-favorite-metric {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #a04100;
}

.super-discount-favorite-metric span {
  font-size: 10px;
  line-height: 12px;
}

.super-discount-favorite-metric strong {
  color: #5a4136;
  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
}

.super-discount-details {
  flex: 1;
  min-width: 0;
}

.super-discount-name {
  color: #191c1d;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.super-discount-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.super-discount-rating-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #191c1d;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.super-discount-rating-item > span {
  color: #a04100;
  font-size: 13px;
}

.super-discount-rating-item.muted {
  color: #5a4136;
  font-size: 11px;
  font-weight: 500;
}

.super-discount-rating-item.muted > span {
  color: #5a4136;
  font-size: 12px;
}

.super-discount-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.super-discount-add-btn {
  width: 40px;
  height: 38px;
  min-height: 0;
  border: none;
  border-radius: 15px;
  background: #a04100;
  color: #fff2f3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(160, 65, 0, 0.2);
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.super-discount-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(160, 65, 0, 0.26);
}

.super-discount-add-btn:active {
  transform: translateY(0);
  opacity: 0.92;
}

.products-grid.super-discount-grid {
  justify-items: start;
  align-items: start;
}

/* =========================
   QUICK ADD MODAL
   ========================= */
body.quick-add-open {
  overflow: hidden;
}

.quick-add-modal.hidden {
  display: none;
}

.quick-add-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quick-add-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(39, 23, 26, 0.44);
  backdrop-filter: blur(8px);
}

.quick-add-dialog {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(227, 189, 195, 0.72);
  box-shadow: 0 28px 70px rgba(39, 23, 26, 0.18);
}

.quick-add-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #5a4044;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(39, 23, 26, 0.12);
}

.quick-add-content {
  min-height: 460px;
  max-height: min(760px, calc(100dvh - 32px));
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.quick-add-loading,
.quick-add-error {
  grid-column: 1 / -1;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: #5a4044;
}

.quick-add-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #ffe1e5;
  border-top-color: #d81b60;
  animation: quick-add-spin 0.8s linear infinite;
}

@keyframes quick-add-spin {
  to {
    transform: rotate(360deg);
  }
}

.quick-add-media {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 20% 8%, rgba(216, 27, 96, 0.1), transparent 34%),
    linear-gradient(180deg, #fff0f1 0%, #f0d3d7 100%);
  padding: 28px;
}

.quick-add-chip {
  align-self: flex-start;
  border-radius: 999px;
  background: #b0004a;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-add-image-wrap {
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.quick-add-image-wrap img {
  width: min(100%, 330px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(39, 23, 26, 0.18));
}

.quick-add-media-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5a4044;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.quick-add-media-foot span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 6px 10px;
}

.quick-add-media-foot .quick-add-stock-badge {
  font-weight: 900;
}

.quick-add-stock-badge[data-tone="low"] {
  background: rgba(239, 68, 68, 0.14);
  color: #ba1a1a;
}

.quick-add-stock-badge[data-tone="available"] {
  background: rgba(0, 130, 63, 0.12);
  color: #00823f;
}

.quick-add-stock-badge[data-tone="out"] {
  background: #ffdad6;
  color: #93000a;
}

.quick-add-main {
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quick-add-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.quick-add-eyebrow {
  color: #bc004f;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-add-head h2 {
  margin: 4px 0 0;
  color: #27171a;
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
}

.quick-add-detail {
  flex-shrink: 0;
  min-height: 36px;
  border: none;
  border-radius: 999px;
  background: #fff0f1;
  color: #90003b;
  padding: 0 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.quick-add-desc {
  margin: 0;
  color: #5a4044;
  font-size: 14px;
  line-height: 22px;
}

.quick-add-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.quick-add-price-row strong {
  color: #bc004f;
  font-size: 25px;
  line-height: 32px;
  font-weight: 900;
}

.quick-add-price-row span {
  color: #8e6f74;
  font-size: 14px;
  line-height: 20px;
  text-decoration: line-through;
  font-weight: 700;
}

.quick-add-variant-panel,
.quick-add-services {
  display: grid;
  gap: 14px;
}

.quick-add-label {
  margin-bottom: 8px;
  color: #575e70;
  font-size: 11px;
  line-height: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-add-color-list,
.quick-add-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.quick-add-color,
.quick-add-size-list button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #e3bdc3;
  background: #ffffff;
  color: #27171a;
  cursor: pointer;
  font-size: 13px;
  line-height: 16px;
  font-weight: 800;
}

.quick-add-size-list button {
  min-width: 46px;
  padding: 0 12px;
}

.quick-add-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
}

.quick-add-color span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(39, 23, 26, 0.18);
}

.quick-add-color em {
  font-style: normal;
}

.quick-add-color.active,
.quick-add-size-list button.active {
  border-color: #bc004f;
  color: #bc004f;
  box-shadow: 0 0 0 2px rgba(188, 0, 79, 0.12);
}

.quick-add-color:disabled,
.quick-add-size-list button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.quick-add-note {
  border-radius: 14px;
  background: #fff8f7;
  border: 1px solid rgba(227, 189, 195, 0.5);
  color: #5a4044;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 19px;
}

.quick-add-services {
  border-top: 1px solid rgba(227, 189, 195, 0.48);
  padding-top: 14px;
}

.quick-add-service {
  width: 100%;
  border: 1px solid rgba(227, 189, 195, 0.72);
  border-radius: 14px;
  background: #fff8f7;
  color: #27171a;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.quick-add-service span {
  display: grid;
  gap: 3px;
}

.quick-add-service strong {
  font-size: 13px;
}

.quick-add-service small {
  color: #8e6f74;
  font-size: 12px;
}

.quick-add-service i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #bc004f;
  font-style: normal;
  font-weight: 900;
}

.quick-add-service.active {
  border-color: #bc004f;
  background: #fff0f1;
}

.quick-add-actions {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}

.quick-add-qty {
  height: 50px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(227, 189, 195, 0.7);
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  overflow: hidden;
}

.quick-add-qty button {
  height: 100%;
  border: none;
  background: transparent;
  color: #27171a;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.quick-add-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quick-add-qty span {
  text-align: center;
  font-weight: 900;
  color: #27171a;
}

.quick-add-primary {
  min-height: 50px;
  border: none;
  border-radius: 14px;
  background: #d81b60;
  color: #fff2f3;
  cursor: pointer;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(216, 27, 96, 0.22);
}

.quick-add-primary:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
}

.quick-add-status {
  min-height: 20px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 700;
  color: #8e6f74;
}

.quick-add-status[data-tone="success"] {
  color: #00823f;
}

.quick-add-status[data-tone="error"] {
  color: #ba1a1a;
}

/* Hide any leftover stacked tags (kept for compatibility) */
.product-tags {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-card {
    width: 160px;
    min-width: 160px;
  }

  .super-discount-card {
    --sd-card-width: 220px;
    --sd-image-stage-height: 184px;
    margin-right: 10px;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-title {
    font-size: 13px;
    line-height: 19px;
    min-height: 38px;
  }

  .product-price-new {
    font-size: 20px;
    line-height: 26px;
  }

  .product-card[data-discount] .product-price-new {
    font-size: 20px;
  }

  .quick-add-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .quick-add-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }

  .quick-add-content {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: calc(100dvh - 24px);
  }

  .quick-add-media {
    min-height: 280px;
    padding: 20px;
  }

  .quick-add-image-wrap {
    min-height: 190px;
    padding: 10px 0;
  }

  .quick-add-image-wrap img {
    max-height: 240px;
  }

  .quick-add-main {
    padding: 24px;
  }

  .quick-add-head h2 {
    font-size: 23px;
    line-height: 30px;
  }

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

@media (max-width: 480px) {
  .product-card {
    width: 150px;
  }

  .super-discount-card {
    --sd-card-width: min(74vw, 214px);
    --sd-image-stage-height: 178px;
    padding: 13px;
    border-radius: 32px;
  }

  .product-fav-btn {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .super-deal-pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .product-card[data-discount] .super-deal-pill {
    top: 38px;
  }

  .product-quick-add-btn {
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
    font-size: 12px;
  }

  .super-discount-add-btn {
    width: 38px;
    height: 36px;
    border-radius: 14px;
  }

  .quick-add-modal {
    padding: 8px;
  }

  .quick-add-dialog {
    border-radius: 18px;
  }

  .quick-add-close {
    width: 34px;
    height: 34px;
  }

  .quick-add-main {
    padding: 20px;
    gap: 15px;
  }

  .quick-add-head {
    flex-direction: column;
    padding-right: 30px;
  }

  .quick-add-detail {
    align-self: flex-start;
  }

  .quick-add-color em {
    display: none;
  }

  .sold-pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .badge-slide-wrapper .badge-text {
    font-size: 10px;
  }
}

.marketplace-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  min-height: 22px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.trust-pill.real {
  background: #ecfdf5;
  color: #078669;
}

.trust-pill.seller {
  background: #fdf2f8;
  color: #d6218c;
}
