/* Customer cart — Urban / Rentomojo style split (products vs services) */
.mse-cart-ux {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 120px;
}

body.has-app-bottom-nav .mse-cart-ux {
  padding-bottom: calc(200px + env(safe-area-inset-bottom, 0px));
}

.mse-cart-explain {
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(250, 86, 8, 0.08), rgba(124, 58, 237, 0.07));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.mse-cart-explain h2 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ui-heading, #0f172a);
}

.mse-cart-explain p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ui-sub, #475569);
}

.mse-cart-section {
  margin-bottom: 22px;
}

.mse-cart-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mse-cart-section-title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ui-muted, #64748b);
}

.mse-cart-card {
  background: var(--ui-surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--ui-border, #e2e8f0);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
}

.mse-cart-product-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 16px;
  align-items: start;
}

.mse-cart-product-img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--ui-accent-lt, #fff4ec);
}

.mse-cart-product-ph {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: var(--ui-accent-lt, #fff4ec);
  color: var(--ui-accent, #fa5608);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.mse-cart-product-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ui-heading, #0f172a);
  line-height: 1.35;
  margin: 0 0 6px;
}

.mse-cart-meta {
  font-size: 0.75rem;
  color: var(--ui-muted, #64748b);
  margin-bottom: 10px;
}

.mse-cart-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
}

.mse-cart-price-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ui-muted, #64748b);
  display: block;
}

.mse-cart-price-val {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ui-heading, #0f172a);
}

.mse-cart-price-accent {
  color: var(--ui-accent, #fa5608);
}

.mse-cart-remove {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none;
}

.mse-cart-service-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ui-border, #e2e8f0);
}

.mse-cart-service-row:last-child {
  border-bottom: none;
}

.mse-cart-service-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.mse-cart-service-body {
  flex: 1;
  min-width: 0;
}

.mse-cart-service-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ui-heading, #0f172a);
  margin: 0 0 4px;
}

.mse-cart-service-price {
  font-size: 1.0625rem;
  font-weight: 900;
  color: #6d28d9;
}

.mse-cart-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: 4px;
}

.mse-cart-cta:active {
  transform: scale(0.98);
}

.mse-cart-cta-products {
  background: linear-gradient(135deg, #ff7a3d 0%, #fa5608 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(250, 86, 8, 0.35);
}

.mse-cart-cta-services {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.3);
}

.mse-cart-next-hint {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ui-muted, #64748b);
  text-align: center;
}

.mse-cart-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ui-border, #e2e8f0);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

/* Sit above floating bottom tab bar (design-system ~88px + safe area) */
body.has-app-bottom-nav .mse-cart-sticky {
  bottom: calc(88px + max(8px, env(safe-area-inset-bottom, 0px)));
  z-index: 95;
}

@media (min-width: 768px) {
  .mse-cart-sticky {
    position: sticky;
    bottom: 16px;
    border-radius: 16px;
    margin-top: 24px;
  }
}
