/*
 * Aswaf frontend: 09-group-pages.css
 * Responsibility: modern group order page, product group CTA, and storewide group page polish.
 * This file was split from assets/css/frontend.css; keep import order in frontend.css.
 */

/* ============================================================
   GROUP ORDER PAGE — .asw-gp-* (mirrors product-page design)
   ============================================================ */

/* Page wrapper: bridge CSS variables so asw-pp-* sub-components work */
.asw-gp-page {
  --asw-pp-primary: var(--asw-primary, #e05c25);
  --asw-pp-primary-dk: var(--asw-primary-dk, #c44e1a);
  --asw-pp-primary-rgb: var(--asw-primary-rgb, 224, 92, 37);
  --asw-pp-surface: #fff;
  --asw-pp-border: #e8e3de;
  --asw-pp-text: #1a1714;
  --asw-pp-muted: #7a6f68;
  --asw-pp-radius: 16px;
  font-family: inherit;
}

/* Shell (mirrors .asw-pp-shell) */
.asw-gp-shell {
  max-width: 1140px;
  margin-inline: auto;
  padding: 1.5rem 1rem 3rem;
}

/* Alert banner */
.asw-gp-alert {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #664d03;
}

/* ── Hero layout ── */
.asw-gp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* ── Gallery column ── */
.asw-gp-gallery-col {
  position: sticky;
  top: 80px;
}

/* Force gallery to square-ish ratio on group page */
body .asw-gp-page .asw-pp-gallery.asw-gal-hero .asw-gal-main {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f1ee;
}

body .asw-gp-page .asw-pp-gallery.asw-gal-hero .asw-gal-slide img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: clamp(0.65rem, 2vw, 1.2rem);
  background: #fff;
}

/* Login bottom sheet for protected group actions */
body.asw-login-sheet-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  body.asw-login-sheet-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}

.asw-login-sheet {
  position: fixed;
  inset: 0;
  z-index: 10120;
  direction: rtl;
}

.asw-login-sheet[hidden] {
  display: none;
}

.asw-login-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.asw-login-sheet.is-open .asw-login-sheet-overlay {
  opacity: 1;
}

.asw-login-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  width: min(100%, 520px);
  max-height: min(92vh, 740px);
  max-height: min(92dvh, 740px);
  margin: 0 auto;
  padding: 0.65rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  border: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translateY(105%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}

.asw-login-sheet.is-open .asw-login-sheet-panel {
  transform: translateY(0);
}

.asw-login-sheet.is-dragging .asw-login-sheet-panel {
  transition: none;
}

.asw-login-sheet-handle {
  width: 46px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.65rem;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.2);
  touch-action: none;
}

.asw-login-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
}

.asw-login-sheet-head > div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.asw-login-sheet-head span {
  color: var(--asw-primary, #e05c25);
  font-size: 0.72rem;
  font-weight: 900;
}

.asw-login-sheet-head strong {
  color: var(--asw-text, #111827);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.35;
}

.asw-login-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.asw-login-sheet-copy {
  margin: 0;
  color: var(--asw-text-2, #6b7280);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.7;
}

.asw-login-sheet-form {
  display: grid;
  gap: 0.62rem;
}

.asw-login-sheet-form label {
  display: grid;
  gap: 0.32rem;
  margin: 0;
  color: var(--asw-text, #111827);
  font-size: 0.75rem;
  font-weight: 850;
}

.asw-login-sheet-form input[type="text"],
.asw-login-sheet-form input[type="password"] {
  width: 100%;
  min-height: 44px;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.86rem;
  outline: none;
}

.asw-login-sheet-form input:focus {
  border-color: var(--asw-primary, #e05c25);
  box-shadow: 0 0 0 3px rgba(224, 92, 37, 0.12);
}

.asw-login-sheet-remember {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem !important;
}

.asw-login-sheet-remember input {
  width: 16px;
  height: 16px;
}

.asw-login-sheet-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: var(--asw-primary, #e05c25);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 950;
  cursor: pointer;
}

.asw-login-sheet-submit.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.asw-login-sheet-state {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.55;
}

.asw-login-sheet-state.is-error {
  background: #fff7f7;
  color: #991b1b;
}

.asw-login-sheet-google .aswuaf-google-login-box {
  margin: 0;
  border-radius: 8px;
  box-shadow: none;
}

.asw-login-sheet-link {
  align-self: center;
  color: var(--asw-primary, #e05c25);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

@media (min-width: 768px) {
  .asw-login-sheet-panel {
    bottom: 16px;
    border-bottom: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
    border-radius: 8px;
  }
}

/* Guest join bottom sheet */
body.asw-guest-join-sheet-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  body.asw-guest-join-sheet-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}

.asw-guest-join-sheet {
  position: fixed;
  inset: 0;
  z-index: 10130;
  direction: rtl;
}

.asw-guest-join-sheet[hidden] {
  display: none;
}

.asw-guest-join-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.asw-guest-join-sheet.is-open .asw-guest-join-overlay {
  opacity: 1;
}

.asw-guest-join-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  width: min(100%, 520px);
  max-height: min(92vh, 680px);
  max-height: min(92dvh, 680px);
  margin: 0 auto;
  padding: 0.65rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(104, 28, 226, 0.08),
      transparent 32%
    ),
    #fff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translateY(105%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.asw-guest-join-sheet.is-open .asw-guest-join-panel {
  transform: translateY(0);
}

.asw-guest-join-handle {
  width: 46px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.65rem;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.2);
  cursor: grab;
  touch-action: none;
}

.asw-guest-join-sheet.is-dragging .asw-guest-join-handle {
  cursor: grabbing;
}

.asw-guest-join-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
  touch-action: none;
}

.asw-guest-join-head > div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.asw-guest-join-head span {
  color: var(--asw-primary, #681ce2);
  font-size: 0.72rem;
  font-weight: 900;
}

.asw-guest-join-head strong {
  color: var(--asw-text, #111827);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.35;
}

.asw-guest-join-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.asw-guest-join-copy {
  margin: 0;
  color: var(--asw-text-2, #6b7280);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.7;
}

.asw-guest-join-form {
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem;
  border: 1px solid rgba(104, 28, 226, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.asw-guest-join-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.asw-guest-join-form label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: var(--asw-text, #111827);
  font-size: 0.75rem;
  font-weight: 850;
}

.asw-guest-join-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.64rem 0.72rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.asw-guest-join-form input:focus {
  border-color: var(--asw-primary, #681ce2);
  box-shadow: 0 0 0 3px rgba(104, 28, 226, 0.12);
}

.asw-eg-phone-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #fff;
}

.asw-eg-phone-control:focus-within {
  border-color: var(--asw-primary, #681ce2);
  box-shadow: 0 0 0 3px rgba(104, 28, 226, 0.12);
}

.asw-eg-phone-control strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  align-self: stretch;
  min-width: 78px;
  padding: 0 0.72rem;
  border-right: 1px solid rgba(17, 24, 39, 0.1);
  background: #f8fafc;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 950;
  direction: ltr;
}

.asw-eg-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 3px;
  background: linear-gradient(
    to bottom,
    #ce1126 0 33.333%,
    #fff 33.333% 66.666%,
    #000 66.666% 100%
  );
  font-size: 1rem;
  line-height: 1;
}

.asw-eg-flag i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c09300;
}

.asw-guest-join-form .asw-eg-phone-control input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  direction: ltr;
  text-align: left;
}

.asw-guest-join-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--asw-primary, #681ce2), #8b5cf6);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  cursor: pointer;
}

.asw-guest-join-state {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.55;
}

.asw-guest-join-state.is-error {
  background: #fff7f7;
  color: #991b1b;
}

.asw-guest-join-google .aswuaf-google-login-box {
  margin: 0;
  border-radius: 8px;
  box-shadow: none;
}

.asw-guest-join-google .aswuaf-google-head h3 {
  font-size: 0.95rem;
}

.asw-guest-join-google .aswuaf-google-head p {
  font-size: 0.78rem;
}

@media (max-width: 420px) {
  .asw-guest-join-name-grid {
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .asw-guest-join-panel {
    bottom: 16px;
    border-bottom: 1px solid var(--asw-pp-border, rgba(17, 24, 39, 0.1));
    border-radius: 8px;
  }
}

/* ── Summary column ── */
.asw-gp-summary {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* ── Badges row (status + countdown) ── */
.asw-gp-badges-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.asw-gp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.asw-gp-status-badge.status-open {
  background: #d1fae5;
  color: #065f46;
}
.asw-gp-status-badge.status-scheduled {
  background: #dbeafe;
  color: #1e40af;
}
.asw-gp-status-badge.status-locked {
  background: #fef3c7;
  color: #92400e;
}
.asw-gp-status-badge.status-completed {
  background: #d1fae5;
  color: #065f46;
}
.asw-gp-status-badge.status-expired {
  background: #f3f4f6;
  color: #6b7280;
}

.asw-gp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  animation: asw-gp-pulse 1.8s ease-in-out infinite;
}
@keyframes asw-gp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1);
  }
}

.asw-gp-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--asw-pp-muted);
}
.asw-gp-countdown strong {
  color: var(--asw-pp-text);
}
.asw-gp-countdown-val {
  font-variant-numeric: tabular-nums;
}

/* ── Title ── */
.asw-gp-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--asw-pp-text);
  margin: 0;
}

/* ── Description ── */
.asw-gp-desc {
  font-size: 0.92rem;
  color: var(--asw-pp-muted);
  line-height: 1.7;
}
.asw-gp-desc p:last-child {
  margin-bottom: 0;
}

/* ── Price / discount block ── */
.asw-gp-price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    rgba(var(--asw-pp-primary-rgb), 0.08) 0%,
    rgba(var(--asw-pp-primary-rgb), 0.03) 100%
  );
  border: 1px solid rgba(var(--asw-pp-primary-rgb), 0.18);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.asw-gp-disc-badge {
  font-size: 2rem;
  font-weight: 900;
  color: var(--asw-pp-primary);
  line-height: 1;
  white-space: nowrap;
}
.asw-gp-price-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.asw-gp-price-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--asw-pp-text);
}
.asw-gp-price-next {
  font-size: 0.8rem;
  color: var(--asw-pp-muted);
}
.asw-gp-price-max {
  color: #16a34a;
}

.asw-gp-max-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(var(--asw-pp-primary-rgb), 0.12);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  min-width: 56px;
}
.asw-gp-max-badge span {
  font-size: 0.7rem;
  color: var(--asw-pp-muted);
}
.asw-gp-max-badge strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--asw-pp-primary);
}

/* ── Discount Tiers ── */
.asw-gp-tiers {
  background: var(--asw-pp-surface);
  border: 1px solid var(--asw-pp-border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.asw-gp-tiers-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--asw-pp-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.asw-gp-tier {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--asw-pp-border);
  font-size: 0.85rem;
}
.asw-gp-tier:first-of-type {
  border-top: none;
}
.asw-gp-tier.is-achieved {
  color: #16a34a;
}
.asw-gp-tier-range {
  font-weight: 600;
  white-space: nowrap;
}
.asw-gp-tier-bar {
  height: 6px;
  border-radius: 999px;
  background: #ece8e4;
  overflow: hidden;
}
.asw-gp-tier-bar > div {
  height: 100%;
  border-radius: 999px;
  background: var(--asw-pp-primary);
  transition: width 0.4s ease;
}
.asw-gp-tier.is-achieved .asw-gp-tier-bar > div {
  background: #16a34a;
}
.asw-gp-tier-disc {
  font-weight: 700;
  white-space: nowrap;
}
.asw-gp-tier-check {
  font-size: 0.85rem;
  width: 1.1rem;
  text-align: center;
}

/* ── Progress bar ── */
.asw-gp-progress {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.asw-gp-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--asw-pp-muted);
}
.asw-gp-progress-hint {
  font-size: 0.78rem;
}
.asw-gp-progress-ok {
  color: #16a34a;
  font-weight: 600;
}
.asw-gp-progress-bar {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #ece8e4;
  overflow: hidden;
}
.asw-gp-progress-bar::-webkit-progress-bar {
  background: #ece8e4;
  border-radius: 999px;
}
.asw-gp-progress-bar::-webkit-progress-value {
  background: var(--asw-pp-primary);
  border-radius: 999px;
}
.asw-gp-progress-bar::-moz-progress-bar {
  background: var(--asw-pp-primary);
  border-radius: 999px;
}

/* ── Deposit info strip ── */
.asw-gp-deposit-info {
  display: flex;
  gap: 0.75rem;
}
.asw-gp-deposit-info > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.5rem;
  background: var(--asw-pp-surface);
  border: 1px solid var(--asw-pp-border);
  border-radius: 10px;
  font-size: 0.8rem;
  text-align: center;
  gap: 0.15rem;
}
.asw-gp-deposit-info > div span {
  color: var(--asw-pp-muted);
}
.asw-gp-deposit-info > div strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--asw-pp-text);
}

/* ── Action buttons ── */
.asw-gp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.asw-gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.1s,
    box-shadow 0.18s;
  line-height: 1.2;
}
.asw-gp-btn.primary {
  background: var(--asw-pp-primary);
  color: #fff;
  flex: 1;
  min-width: 140px;
}
.asw-gp-btn.primary:hover {
  background: var(--asw-pp-primary-dk);
  box-shadow: 0 4px 14px rgba(var(--asw-pp-primary-rgb), 0.35);
  transform: translateY(-1px);
}
.asw-gp-btn.secondary {
  background: transparent;
  border-color: var(--asw-pp-primary);
  color: var(--asw-pp-primary);
}
.asw-gp-btn.secondary:hover {
  background: rgba(var(--asw-pp-primary-rgb), 0.07);
}

/* ── Share box (bridges to .asw-pp-share styling) ── */
.asw-gp-share-box {
  border-top: 1px solid var(--asw-pp-border);
  padding-top: 0.9rem;
}

/* ── Joined status card ── */
.asw-gp-joined-status {
  background: var(--asw-pp-surface);
  border: 1px solid var(--asw-pp-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.asw-gp-joined-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.asw-gp-joined-head strong {
  font-size: 0.95rem;
}
.asw-gp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.asw-gp-pill.paid {
  background: #d1fae5;
  color: #065f46;
}
.asw-gp-pill.pending {
  background: #fef3c7;
  color: #92400e;
}

.asw-gp-joined-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.asw-gp-joined-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.3rem;
  background: #faf8f6;
  border-radius: 8px;
  font-size: 0.78rem;
  text-align: center;
  gap: 0.1rem;
}
.asw-gp-joined-stats > div span {
  color: var(--asw-pp-muted);
}
.asw-gp-joined-stats > div strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── Why Join box ── */
.asw-gp-why-join {
  background: linear-gradient(
    135deg,
    rgba(var(--asw-pp-primary-rgb), 0.06) 0%,
    rgba(var(--asw-pp-primary-rgb), 0.02) 100%
  );
  border: 1px solid rgba(var(--asw-pp-primary-rgb), 0.15);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
}
.asw-gp-why-head {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--asw-pp-text);
  margin-bottom: 0.55rem;
}
.asw-gp-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.asw-gp-why-list li {
  font-size: 0.85rem;
  color: var(--asw-pp-muted);
  padding-inline-start: 1.2rem;
  position: relative;
}
.asw-gp-why-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--asw-pp-primary);
  font-weight: 700;
}

.asw-gp-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}
.asw-gp-flow-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  background: #faf8f6;
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}
.asw-gp-flow-step > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asw-gp-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--asw-pp-muted);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
}
.asw-gp-flow-step.is-done {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.24);
  color: #047857;
}
.asw-gp-flow-step.is-done .asw-gp-flow-num {
  background: #10b981;
  color: #fff;
}
.asw-gp-flow-step.is-active {
  background: rgba(var(--asw-pp-primary-rgb), 0.08);
  border-color: rgba(var(--asw-pp-primary-rgb), 0.24);
  color: var(--asw-pp-primary-dk);
  box-shadow: 0 10px 24px rgba(var(--asw-pp-primary-rgb), 0.1);
}
.asw-gp-flow-step.is-active .asw-gp-flow-num {
  background: var(--asw-pp-primary);
  color: #fff;
}

.asw-gp.is-live-refreshing .asw-progress-bar,
.asw-gp.is-live-refreshing .asw-prog-bar,
.asw-gp.is-live-refreshing .asw-parts-panel,
.asw-gp.is-live-refreshing .asw-product-parts-panel,
.asw-gp.is-live-refreshing #asw-mi-panel {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    width 0.35s ease;
}
.asw-gp.is-live-refreshing .asw-parts-panel,
.asw-gp.is-live-refreshing .asw-product-parts-panel,
.asw-gp.is-live-refreshing #asw-mi-panel {
  opacity: 0.88;
}
@media (max-width: 720px) {
  .asw-gp-flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asw-gp-flow-step {
    padding: 0.5rem 0.55rem;
    font-size: 0.74rem;
  }
}
@media (max-width: 420px) {
  .asw-gp-flow-strip {
    grid-template-columns: 1fr;
  }
  .asw-gp-flow-step > span:last-child {
    white-space: normal;
  }
}

/* ── Panels (how-it-works, my-items, etc.) ── */
.asw-gp-panel {
  background: var(--asw-pp-surface);
  border: 1px solid var(--asw-pp-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.asw-gp-panel-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--asw-pp-text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--asw-pp-border);
}
.asw-gp-panel-count {
  margin-inline-start: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--asw-pp-muted);
  background: #f5f1ee;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* ── How It Works steps ── */
.asw-gp-how-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.asw-gp-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.asw-gp-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--asw-pp-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.asw-gp-step > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.asw-gp-step strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--asw-pp-text);
  display: block;
}
.asw-gp-step span {
  font-size: 0.82rem;
  color: var(--asw-pp-muted);
  display: block;
}

/* ── My-Items cards row ── */
.asw-gp-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.asw-gp-cards-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: #faf8f6;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  font-size: 0.8rem;
  text-align: center;
  gap: 0.15rem;
}
.asw-gp-cards-row > div span {
  color: var(--asw-pp-muted);
  font-size: 0.75rem;
}
.asw-gp-cards-row > div strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--asw-pp-text);
}

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .asw-gp-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .asw-gp-gallery-col {
    position: static;
  }
  .asw-gp-joined-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .asw-gp-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 600px) {
  .asw-gp-shell {
    padding: 0;
  }
  .asw-gp-price-block {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .asw-gp-disc-badge {
    font-size: 1.6rem;
  }
  .asw-gp-max-badge {
    margin-inline-start: auto;
  }
  .asw-gp-tier {
    grid-template-columns: auto 1fr auto auto;
    font-size: 0.8rem;
  }
  .asw-gp-deposit-info {
    flex-wrap: wrap;
  }
  .asw-gp-deposit-info > div {
    min-width: calc(50% - 0.375rem);
  }
  .asw-gp-actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .asw-gp-btn.primary,
  .asw-gp-btn.secondary {
    width: auto;
    min-width: 0;
  }
  .asw-gp-joined-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .asw-gp-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .asw-gp-panel {
    padding: 1rem 0.9rem;
  }
  .asw-gp-how-steps {
    gap: 1rem;
  }
}

/* ============================================================
   GROUP CTA — product page & bottom sheet
   ============================================================ */

/* ── Group buybox heading (replaces plain buybox) ── */
.asw-group-offer-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.16rem 0.8rem;
  margin: 0.35rem 0 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--asw-primary, #e05c25) 24%, #e8e3de);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--asw-primary, #e05c25) 9%, #fff), #fff 62%),
    #fff;
  color: var(--asw-text, #2b2723);
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(43, 39, 35, 0.06);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.asw-group-offer-card:hover {
  border-color: color-mix(in srgb, var(--asw-primary, #e05c25) 44%, #e8e3de);
  box-shadow: 0 14px 30px rgba(43, 39, 35, 0.1);
  transform: translateY(-1px);
}
.asw-group-offer-card.is-static,
.asw-group-offer-card.is-static:hover {
  cursor: default;
  border-color: color-mix(in srgb, #10b981 28%, #e8e3de);
  background:
    linear-gradient(135deg, color-mix(in srgb, #10b981 10%, #fff), #fff 66%),
    #fff;
  box-shadow: 0 8px 20px rgba(43, 39, 35, 0.05);
  transform: none;
}
.asw-group-offer-card.is-static span {
  color: #0f766e;
}
.asw-group-offer-card:active {
  transform: scale(0.99);
}
.asw-group-offer-card.is-static:active {
  transform: none;
}
.asw-group-offer-card span,
.asw-group-offer-card small {
  min-width: 0;
}
.asw-group-offer-card span {
  color: var(--asw-primary, #e05c25);
  font-size: 0.72rem;
  font-weight: 900;
}
.asw-group-offer-card strong {
  grid-row: span 2;
  color: var(--asw-text, #2b2723);
  font-size: 1.02rem;
  font-weight: 950;
  white-space: nowrap;
}
.asw-group-offer-card strong bdi {
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.asw-group-offer-card small {
  color: var(--asw-text-2, #7a6f68);
  font-size: 0.68rem;
  font-weight: 750;
}
.asw-product-sheet-group-offer {
  margin-top: 0.15rem;
  padding: 0.58rem 0.68rem;
}
.asw-product-sheet-group-offer[hidden] {
  display: none !important;
}
.asw-pp-best-price {
  max-width: 430px;
  margin: 0.2rem 0 0.65rem;
}

body.asw-group-offer-modal-open {
  overflow: hidden;
}
body.asw-group-offer-modal-open .asw-mobile-panel,
body.asw-group-offer-modal-open .asw-mobile-sticky-cta-host {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}
.asw-group-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000004;
  display: grid;
  place-items: end center;
  padding: 1rem;
  pointer-events: none;
}
.asw-group-offer-modal[hidden] {
  display: none !important;
}
.asw-group-offer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity 0.18s ease;
  pointer-events: auto;
}
.asw-group-offer-dialog {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 1.15rem;
  border: 1px solid rgba(232, 227, 222, 0.95);
  border-radius: 12px;
  background: #fff;
  color: var(--asw-text, #2b2723);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: auto;
}
.asw-group-offer-modal.is-open .asw-group-offer-backdrop {
  opacity: 1;
}
.asw-group-offer-modal.is-open .asw-group-offer-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.asw-group-offer-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--asw-border, #e8e3de);
  border-radius: 8px;
  background: #fff;
  color: var(--asw-text, #2b2723);
  cursor: pointer;
}
.asw-group-offer-kicker {
  display: inline-flex;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--asw-primary, #e05c25) 10%, #fff);
  color: var(--asw-primary, #e05c25);
  font-size: 0.72rem;
  font-weight: 900;
}
.asw-group-offer-dialog h3 {
  margin: 0;
  padding-inline-start: 2.6rem;
  color: var(--asw-text, #2b2723);
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1.45;
}
.asw-group-offer-copy {
  margin: 0.55rem 0 0;
  color: var(--asw-text-2, #7a6f68);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
}
.asw-group-offer-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--asw-primary, #e05c25) 18%, #e8e3de);
  border-radius: 10px;
  background: color-mix(in srgb, var(--asw-primary, #e05c25) 7%, #fff);
}
.asw-group-offer-price span {
  color: var(--asw-text-2, #7a6f68);
  font-size: 0.72rem;
  font-weight: 850;
}
.asw-group-offer-price strong {
  color: var(--asw-primary, #e05c25);
  font-size: 1.18rem;
  font-weight: 950;
  white-space: nowrap;
}
.asw-group-offer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.asw-group-offer-stats span {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem;
  border: 1px solid var(--asw-border, #e8e3de);
  border-radius: 8px;
  background: #fff;
}
.asw-group-offer-stats b {
  color: var(--asw-text, #2b2723);
  font-size: 0.95rem;
  font-weight: 950;
}
.asw-group-offer-stats small {
  color: var(--asw-text-2, #7a6f68);
  font-size: 0.68rem;
  font-weight: 800;
}
.asw-group-offer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.9rem;
}
.asw-group-offer-more,
.asw-group-offer-join {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}
.asw-group-offer-more {
  border: 1.5px solid var(--asw-primary, #e05c25);
  background: #fff;
  color: var(--asw-primary, #e05c25);
}
.asw-group-offer-join {
  border: 1.5px solid var(--asw-primary, #e05c25);
  background: var(--asw-primary, #e05c25);
  color: #fff;
}
@media (min-width: 768px) {
  .asw-group-offer-modal {
    place-items: center;
  }
}
@media (max-width: 420px) {
  .asw-group-offer-modal {
    padding: 0.55rem;
  }
  .asw-group-offer-dialog {
    padding: 1rem;
  }
  .asw-group-offer-card {
    grid-template-columns: 1fr;
  }
  .asw-group-offer-card strong {
    grid-row: auto;
  }
}

.asw-pp-group-buybox .asw-pp-buybox-head > strong {
  color: var(--asw-primary, #e05c25);
}

/* ── Primary join button ── */
.asw-pp-group-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.asw-pp-group-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.9rem 1.4rem;
  background: var(--asw-primary, #e05c25);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.12s,
    box-shadow 0.18s;
  line-height: 1.2;
}
.asw-pp-group-cta-btn:hover {
  background: var(--asw-primary-dk, #c44e1a);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(224, 92, 37, 0.32);
}
.asw-pp-group-cta-btn:active {
  transform: translateY(0);
}
.asw-pp-group-cta-note {
  font-size: 0.78rem;
  color: #7a6f68;
  text-align: center;
}

/* ── Divider between group CTA and regular add-to-cart ── */
.asw-pp-group-cta-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.4rem 0;
}
.asw-pp-group-cta-divider::before,
.asw-pp-group-cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8e3de;
}
.asw-pp-group-cta-divider span {
  font-size: 0.75rem;
  color: #7a6f68;
  white-space: nowrap;
}

/* ── Joined state: secondary link to group page ── */
.asw-pp-group-cta.is-joined {
  gap: 0.6rem;
}
.asw-pp-group-add-form {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
}
.asw-pp-group-qty {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}
.asw-pp-group-qty span {
  color: var(--asw-text-2, #7a6f68);
  font-size: 0.74rem;
  font-weight: 700;
}
.asw-pp-group-qty input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--asw-border, #e8e3de);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: var(--asw-bg, #fff);
  color: var(--asw-text, #2b2723);
  font-weight: 800;
  text-align: center;
}
.asw-pp-group-add-form .asw-pp-group-cta-btn {
  align-self: end;
  min-height: 48px;
}
.asw-pp-group-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1.5px solid var(--asw-primary, #e05c25);
  border-radius: 8px;
  color: var(--asw-primary, #e05c25);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.asw-pp-group-cta-secondary:hover {
  background: rgba(224, 92, 37, 0.06);
}
@media (max-width: 480px) {
  .asw-pp-group-add-form {
    grid-template-columns: 1fr;
  }
}

/* ── Bottom sheet — group context ── */
.asw-product-sheet.is-group-ctx .asw-product-sheet-add {
  background: var(--asw-primary, #e05c25);
}
.asw-product-sheet.is-group-ctx .asw-product-sheet-buy {
  background: transparent;
  border: 1.5px solid var(--asw-primary, #e05c25);
  color: var(--asw-primary, #e05c25);
}
/* When joined, the add button keeps its primary style (no change needed) */
/* When not joined, navigate arrow hint */
.asw-product-sheet.is-group-ctx .asw-product-sheet-add::after {
  content: " ←";
  opacity: 0.65;
  font-size: 0.85em;
}

/* Storewide group page: my items, progress, participants */
body .asw-gp-page .asw-gp-panel {
  box-shadow: 0 12px 34px rgba(26, 23, 20, 0.06);
}
body .asw-gp-page .asw-mi-panel-title,
body .asw-gp-page .asw-eligible-head-text,
body .asw-gp-page .asw-parts-panel .asw-gp-panel-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
body .asw-gp-page .asw-mi-panel-title span,
body .asw-gp-page .asw-eligible-head-text span {
  color: var(--asw-pp-text);
  font-weight: 800;
}
body .asw-gp-page .asw-eligible-head-text small {
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
}
body .asw-gp-page .asw-mi-panel-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
body .asw-gp-page .asw-mi-badge-count,
body .asw-gp-page .asw-mi-badge-state,
body .asw-gp-page .asw-parts-stat,
body .asw-gp-page .asw-gp-panel-count,
body .asw-gp-page .asw-prog-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.28rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-badge-count,
body .asw-gp-page .asw-gp-panel-count {
  background: #f5f1ee;
  color: var(--asw-pp-muted);
}
body .asw-gp-page .asw-mi-badge-count.is-confirmed {
  background: #ecfdf5;
  color: #047857;
}
body .asw-gp-page .asw-mi-badge-count.is-pending {
  background: #fff7ed;
  color: #9a3412;
}
body .asw-gp-page .asw-mi-badge-state.is-paid,
body .asw-gp-page .asw-parts-stat.confirmed,
body .asw-gp-page .asw-prog-badge.activated,
body .asw-gp-page .asw-part-pill.paid {
  background: #d1fae5;
  color: #065f46;
  width: fit-content;
}
body .asw-gp-page .asw-mi-badge-state.is-awaiting,
body .asw-gp-page .asw-parts-stat.pending,
body .asw-gp-page .asw-prog-badge.pending,
body .asw-gp-page .asw-part-pill.pending {
  background: #fef3c7;
  color: #92400e;
  width: fit-content;
}
body .asw-gp-page .asw-mi-badge-state.is-pending {
  background: rgba(var(--asw-pp-primary-rgb), 0.1);
  color: var(--asw-pp-primary-dk);
}

body .asw-gp-page .asw-mi-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--asw-pp-border);
  margin-bottom: 1rem;
}
body .asw-gp-page .asw-mi-status-banner.is-paid {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.25);
}
body .asw-gp-page .asw-mi-status-banner.is-awaiting {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.28);
}
body .asw-gp-page .asw-mi-status-banner.is-pending {
  background: linear-gradient(
    135deg,
    rgba(var(--asw-pp-primary-rgb), 0.08),
    #fff
  );
  border-color: rgba(var(--asw-pp-primary-rgb), 0.18);
}
body .asw-gp-page .asw-mi-status-ico {
  flex: 0 0 auto;
  color: var(--asw-pp-primary);
  line-height: 0;
}
body .asw-gp-page .asw-mi-status-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
body .asw-gp-page .asw-mi-status-body strong {
  color: var(--asw-pp-text);
  font-size: 0.95rem;
}
body .asw-gp-page .asw-mi-status-body span {
  color: var(--asw-pp-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
body .asw-gp-page .asw-mi-status-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: var(--asw-pp-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  white-space: nowrap;
}

body .asw-gp-page .asw-mi-totals,
body .asw-gp-page .asw-prog-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
body .asw-gp-page .asw-mi-total-card,
body .asw-gp-page .asw-prog-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  background: #faf8f6;
  min-width: 0;
}
body .asw-gp-page .asw-mi-total-card.is-main {
  background: rgba(var(--asw-pp-primary-rgb), 0.08);
  border-color: rgba(var(--asw-pp-primary-rgb), 0.2);
}
body .asw-gp-page .asw-mi-total-card.is-saving {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.22);
}
body .asw-gp-page .asw-mi-total-label,
body .asw-gp-page .asw-prog-stats span {
  color: var(--asw-pp-muted);
  font-size: 0.75rem;
}
body .asw-gp-page .asw-mi-total-val,
body .asw-gp-page .asw-prog-stats strong {
  color: var(--asw-pp-text);
  font-size: 0.98rem;
  font-weight: 900;
  word-break: break-word;
}
body .asw-gp-page .asw-mi-total-card.is-saving .asw-mi-total-val,
body .asw-gp-page .asw-prog-stats .is-green {
  color: #047857;
}
body .asw-gp-page .asw-prog-stats .is-orange {
  color: var(--asw-pp-primary-dk);
}

body .asw-gp-page .asw-mi-savings-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  margin: -0.2rem 0 1rem;
  padding: 0.85rem 1rem;
  text-align: start;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.13),
      rgba(255, 255, 255, 0.92)
    ),
    #ecfdf5;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.1);
}
body .asw-gp-page .asw-mi-savings-callout:hover,
body .asw-gp-page .asw-mi-savings-callout:focus-visible {
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.16);
}
body .asw-gp-page .asw-mi-savings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.16);
}
body .asw-gp-page .asw-mi-savings-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
body .asw-gp-page .asw-mi-savings-copy span {
  color: #047857;
  font-size: 0.76rem;
  font-weight: 900;
}
body .asw-gp-page .asw-mi-savings-copy strong {
  color: #064e3b;
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.15;
}
body .asw-gp-page .asw-mi-savings-copy p {
  margin: 0;
  color: #38665a;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.55;
}
body .asw-gp-page .asw-mi-savings-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: #047857;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

body.asw-savings-sheet-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  body.asw-savings-sheet-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}
body .asw-gp-page .asw-savings-sheet {
  position: fixed;
  inset: 0;
  z-index: 10090;
  direction: rtl;
}
body .asw-gp-page .asw-savings-sheet[hidden] {
  display: none;
}
body .asw-gp-page .asw-savings-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.22s ease;
}
body .asw-gp-page .asw-savings-sheet.is-open .asw-savings-sheet-overlay {
  opacity: var(--asw-savings-overlay-opacity, 1);
}
body .asw-gp-page .asw-savings-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  width: min(100%, 680px);
  min-height: min(56vh, 520px);
  min-height: min(56dvh, 520px);
  max-height: min(92vh, 760px);
  max-height: min(92dvh, 760px);
  margin: 0 auto;
  padding: 0.65rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  border: 1px solid var(--asw-pp-border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translateY(105%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
body .asw-gp-page .asw-savings-sheet.is-open .asw-savings-sheet-panel {
  transform: translateY(0);
}
body .asw-gp-page .asw-savings-sheet.is-dragging .asw-savings-sheet-panel {
  transition: none;
}
body .asw-gp-page .asw-savings-sheet-handle,
body .asw-gp-page .asw-mi-canvas-handle {
  width: 46px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.75rem;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.2);
  touch-action: none;
}
body .asw-gp-page .asw-mi-canvas-handle {
  display: none;
}
body .asw-gp-page .asw-savings-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--asw-pp-border);
}
body .asw-gp-page .asw-savings-sheet-head > div:first-child {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
body .asw-gp-page .asw-savings-sheet-head span {
  color: var(--asw-pp-muted);
  font-size: 0.76rem;
  font-weight: 850;
}
body .asw-gp-page .asw-savings-sheet-head strong {
  color: #064e3b;
  font-size: 1rem;
  font-weight: 950;
}
body .asw-gp-page .asw-savings-sheet-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857 !important;
  white-space: nowrap;
}
body .asw-gp-page .asw-savings-sheet-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 0;
}
body .asw-gp-page .asw-savings-sheet-summary > div {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 8px;
  background: #fafafa;
}
body .asw-gp-page .asw-savings-sheet-summary span {
  color: var(--asw-pp-muted);
  font-size: 0.68rem;
  font-weight: 850;
}
body .asw-gp-page .asw-savings-sheet-summary strong {
  color: var(--asw-pp-text);
  font-size: 0.86rem;
  font-weight: 950;
}
body .asw-gp-page .asw-savings-sheet-summary .is-saving {
  border-color: rgba(16, 185, 129, 0.25);
  background: #ecfdf5;
}
body .asw-gp-page .asw-savings-sheet-list {
  display: grid;
  gap: 0.55rem;
  min-height: 0;
}
body .asw-gp-page .asw-savings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.68rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 8px;
  background: #fff;
}
body .asw-gp-page .asw-savings-row > div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}
body .asw-gp-page .asw-savings-row strong {
  overflow: hidden;
  color: var(--asw-pp-text);
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body .asw-gp-page .asw-savings-row span {
  color: var(--asw-pp-muted);
  font-size: 0.72rem;
  font-weight: 750;
}
body .asw-gp-page .asw-savings-row b {
  color: #047857;
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}
body .asw-gp-page .asw-savings-sheet-foot {
  position: sticky;
  bottom: calc(-1rem - env(safe-area-inset-bottom, 0));
  margin: 0.85rem -1rem calc(-1rem - env(safe-area-inset-bottom, 0));
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--asw-pp-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}
body .asw-gp-page .asw-savings-sheet-foot .asw-gp-btn {
  width: 100%;
}

body .asw-gp-page .asw-sh-sheet {
  position: fixed;
  inset: 0;
  z-index: 10090;
  direction: rtl;
}

body .asw-gp-page .asw-sh-sheet[hidden] {
  display: none;
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: var(
    --asw-savings-overlay-opacity,
    var(--asw-parts-overlay-opacity, 1)
  );
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body .asw-gp-page .asw-sh-sheet.is-closing .asw-sh-sheet-overlay {
  opacity: 0;
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--asw-sh-sheet-gap, 0.78rem);
  width: min(100%, var(--asw-sh-sheet-width, 680px));
  min-height: var(--asw-sh-sheet-min-height, auto);
  max-height: var(--asw-sh-sheet-max-height, min(92vh, 760px));
  max-height: var(--asw-sh-sheet-max-height-dvh, min(92dvh, 760px));
  margin: 0 auto;
  padding: 0.65rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  border: 1px solid var(--asw-pp-border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
}

body .asw-gp-page .asw-savings-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 620px;
  --asw-sh-sheet-min-height: auto;
  --asw-sh-sheet-max-height: min(76vh, 620px);
  --asw-sh-sheet-max-height-dvh: min(76dvh, 620px);
}

body .asw-gp-page .asw-parts-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 720px;
  --asw-sh-sheet-min-height: min(56vh, 520px);
  --asw-sh-sheet-max-height: min(92vh, 760px);
  --asw-sh-sheet-max-height-dvh: min(92dvh, 760px);
}

@media (max-width: 767px) {
  body.asw-any-sheet-open .asw-mobile-panel,
  body.asw-product-sheet-open .asw-mobile-panel,
  body.asw-mobile-panel-sheet-open .asw-mobile-panel,
  body.asw-mi-canvas-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}

body .asw-gp-page .asw-sh-sheet.is-opening .asw-sh-sheet-content {
  animation: asw-gp-sheet-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body .asw-gp-page .asw-sh-sheet.is-closing .asw-sh-sheet-content {
  transform: translateY(100%);
}

body .asw-gp-page .asw-sh-sheet.is-dragging .asw-sh-sheet-content {
  transition: none;
}

@keyframes asw-gp-sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-handle {
  width: 40px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.75rem;
  border-radius: 3px;
  background: rgba(17, 24, 39, 0.16);
  cursor: grab;
  touch-action: none;
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-handle:active {
  cursor: grabbing;
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-head {
  flex: 0 0 auto;
}

body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-foot {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  body .asw-gp-page .asw-sh-sheet .asw-sh-sheet-content {
    bottom: 16px;
    border-bottom: 1px solid var(--asw-pp-border);
    border-radius: 8px;
  }
}

body .asw-gp-page .asw-scroller-wrap > .asw-mi-cards-scroll,
body .asw-gp-page .asw-scroller-wrap > .asw-eligible-scroller {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.85rem !important;
  width: max-content !important;
  max-width: none !important;
}

body .asw-gp-page .asw-mi-price-chart {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(var(--asw-pp-primary-rgb), 0.14);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(var(--asw-pp-primary-rgb), 0.07),
      rgba(16, 185, 129, 0.05)
    ),
    #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}
body .asw-gp-page .asw-mi-price-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
body .asw-gp-page .asw-mi-price-chart-head div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}
body .asw-gp-page .asw-mi-price-chart-head span {
  color: var(--asw-pp-muted);
  font-size: 0.72rem;
  font-weight: 850;
}
body .asw-gp-page .asw-mi-price-chart-head strong {
  color: var(--asw-pp-text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.45;
}
body .asw-gp-page .asw-mi-price-chart-head em {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-price-chart-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
body .asw-gp-page .asw-mi-price-chart-values > div {
  display: grid;
  gap: 0.12rem;
  padding: 0.68rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}
body .asw-gp-page .asw-mi-price-chart-values span,
body .asw-gp-page .asw-mi-price-chart-values small {
  color: var(--asw-pp-muted);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.45;
}
body .asw-gp-page .asw-mi-price-chart-values strong {
  color: var(--asw-pp-text);
  font-size: 0.92rem;
  font-weight: 950;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-price-chart-values .is-next strong {
  color: var(--asw-pp-primary-dk);
}
body .asw-gp-page .asw-mi-price-chart-values .is-best strong {
  color: #047857;
}
body .asw-gp-page .asw-mi-price-chart-stage,
body .asw-gp-page .asw-mi-price-chart-empty-art {
  position: relative;
  min-height: 164px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(16, 185, 129, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42));
}
body .asw-gp-page .asw-mi-price-chart-stage {
  display: block;
  padding: 0.35rem 0.35rem 0.45rem;
}
body .asw-gp-page .asw-mi-price-chart-empty-art {
  padding: 0.15rem 0 0;
}
body .asw-gp-page .asw-mi-price-chart-stage svg,
body .asw-gp-page .asw-mi-price-chart-empty-art svg {
  display: block;
  width: 100%;
  height: 146px;
}
body .asw-gp-page .asw-mi-chart-y-axis {
  position: absolute;
  inset: 12px 10px 34px auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 0;
  padding: 0;
  color: rgba(17, 24, 39, 0.58);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  direction: ltr;
  text-align: left;
  pointer-events: none;
}
body .asw-gp-page .asw-mi-chart-y-axis > span {
  padding: 0.18rem 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(6px);
}
body .asw-gp-page .asw-mi-chart-y-axis .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
body .asw-gp-page .asw-mi-chart-y-axis .woocommerce-Price-currencySymbol {
  margin-inline-start: 0.14rem;
}
body .asw-gp-page .asw-mi-chart-grid {
  fill: none;
  stroke: rgba(17, 24, 39, 0.06);
  stroke-width: 1;
  stroke-dasharray: 4 9;
}
body .asw-gp-page .asw-mi-chart-area {
  fill: url(#asw-mi-chart-area-gradient);
}
body .asw-gp-page .asw-mi-chart-line {
  fill: none;
  stroke: url(#asw-mi-chart-line-gradient);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 7px 10px rgba(22, 163, 74, 0.18));
}
body .asw-gp-page .asw-mi-chart-current-halo {
  fill: rgba(124, 58, 237, 0.12);
  stroke: rgba(124, 58, 237, 0.22);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: asw-mi-chart-pulse 1.8s ease-in-out infinite;
}
body .asw-gp-page .asw-mi-chart-dot {
  fill: #fff;
  stroke: rgba(17, 24, 39, 0.26);
  stroke-width: 3.2;
}
body .asw-gp-page .asw-mi-chart-dot.is-done {
  fill: #fff;
  stroke: #16a34a;
}
body .asw-gp-page .asw-mi-chart-dot.is-current {
  fill: #7c3aed;
  stroke: #fff;
  stroke-width: 4.4;
  filter: drop-shadow(0 7px 12px rgba(124, 58, 237, 0.34));
}
body .asw-gp-page .asw-mi-chart-dot.is-next {
  fill: #fff;
  stroke: #16a34a;
}
body .asw-gp-page .asw-mi-chart-dot.is-best {
  stroke: #047857;
}
body .asw-gp-page .asw-mi-chart-disc-label {
  fill: var(--asw-pp-muted);
  font-size: 9.5px;
  font-weight: 900;
  direction: ltr;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4px;
  stroke-linejoin: round;
}
body .asw-gp-page .asw-mi-chart-disc-label.is-current {
  fill: #5b21b6;
  font-size: 11px;
}
body .asw-gp-page .asw-mi-chart-x-axis {
  display: grid;
  gap: 0.12rem;
  margin-top: -0.15rem;
  padding: 0 0.2rem;
  color: var(--asw-pp-muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-align: center;
  direction: ltr;
  pointer-events: none;
}
body .asw-gp-page .asw-mi-chart-x-axis span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-chart-x-axis span.is-current {
  color: var(--asw-pp-primary-dk);
  font-weight: 950;
}
body .asw-gp-page .asw-mi-chart-x-axis span.is-next {
  color: #047857;
}
@keyframes asw-mi-chart-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
body .asw-gp-page .asw-mi-price-chart-note {
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.65;
}
body .asw-gp-page .asw-mi-price-chart.is-empty {
  justify-items: stretch;
  border-style: dashed;
  background:
    linear-gradient(
      135deg,
      rgba(var(--asw-pp-primary-rgb), 0.06),
      rgba(255, 255, 255, 0.72)
    ),
    #fff;
}
body .asw-gp-page .asw-mi-price-chart.is-empty .asw-mi-price-chart-head em {
  background: #fff7ed;
  color: #9a3412;
}
body .asw-gp-page .asw-mi-chart-empty-line {
  fill: none;
  stroke: rgba(var(--asw-pp-primary-rgb), 0.58);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
}
body .asw-gp-page .asw-mi-price-chart-empty-art circle {
  fill: #fff;
  stroke: rgba(var(--asw-pp-primary-rgb), 0.72);
  stroke-width: 3;
}
body .asw-gp-page .asw-mi-price-chart-empty-copy {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}
body .asw-gp-page .asw-mi-price-chart-empty-copy strong {
  color: var(--asw-pp-text);
  font-size: 1rem;
  font-weight: 950;
}
body .asw-gp-page .asw-mi-price-chart-empty-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--asw-pp-muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.8;
}
@media (max-width: 640px) {
  body .asw-gp-page .asw-mi-price-chart {
    padding: 0.82rem;
    border-radius: 14px;
  }
  body .asw-gp-page .asw-mi-price-chart-head {
    align-items: stretch;
    flex-direction: column;
  }
  body .asw-gp-page .asw-mi-price-chart-head em {
    width: fit-content;
  }
  body .asw-gp-page .asw-mi-price-chart-values {
    grid-template-columns: 1fr;
  }
  body .asw-gp-page .asw-mi-price-chart-values > div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  body .asw-gp-page .asw-mi-price-chart-values small {
    grid-column: 1 / -1;
  }
  body .asw-gp-page .asw-mi-price-chart-stage,
  body .asw-gp-page .asw-mi-price-chart-empty-art {
    min-height: 132px;
  }
  body .asw-gp-page .asw-mi-price-chart-stage {
    padding: 0.25rem 0.25rem 0.4rem;
  }
  body .asw-gp-page .asw-mi-price-chart-stage svg,
  body .asw-gp-page .asw-mi-price-chart-empty-art svg {
    height: 122px;
  }
  body .asw-gp-page .asw-mi-chart-y-axis {
    inset: 8px 8px 28px auto;
    font-size: 0.52rem;
  }
}
body .asw-gp-page .asw-mi-pcard {
  flex: 0 0 330px;
  width: 330px;
  max-width: 330px;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(26, 23, 20, 0.05);
  scroll-snap-align: start;
}
body .asw-gp-page .asw-mi-pcard-main {
  display: flex;
  flex-direction: row;
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.72rem;
}
body .asw-gp-page .asw-mi-pcard-img {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  min-height: 88px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 0.4rem;
}
body .asw-gp-page .asw-mi-pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
body .asw-gp-page .asw-mi-pcard-qty {
  position: absolute;
  inset-block-start: 0.35rem;
  inset-inline-start: 0.35rem;
  min-width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--asw-pp-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.68rem;
}
body .asw-gp-page .asw-mi-pcard-body {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  align-content: start;
  gap: 0.42rem;
}
body .asw-gp-page .asw-mi-pcard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}
body .asw-gp-page .asw-mi-pcard-state {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-pcard-state.is-paid {
  background: #ecfdf5;
  color: #047857;
}
body .asw-gp-page .asw-mi-pcard-state.is-awaiting {
  background: #eff6ff;
  color: #1d4ed8;
}
body .asw-gp-page .asw-mi-pcard-trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  background: #fef2f2;
  color: #dc2626;
  cursor: pointer;
}
body .asw-gp-page .asw-mi-pcard-trash:hover,
body .asw-gp-page .asw-mi-pcard-trash:focus-visible {
  border-color: rgba(220, 38, 38, 0.34);
  background: #fee2e2;
  outline: none;
}
body .asw-gp-page .asw-mi-pcard-trash.is-loading {
  opacity: 0.62;
  cursor: wait;
}
body .asw-gp-page .asw-mi-pcard-name {
  margin: 0;
  color: var(--asw-pp-text);
  font-weight: 900;
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .asw-gp-page .asw-mi-pcard-price-panel {
  display: grid;
  gap: 0.45rem;
  padding: 0.62rem 0.72rem 0.72rem;
  border-top: 1px solid var(--asw-pp-border);
  background: #fafafa;
}
body .asw-gp-page .asw-mi-pcard-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
}
body .asw-gp-page .asw-mi-pcard-prices > span {
  color: var(--asw-pp-muted);
  font-size: 0.68rem;
  font-weight: 850;
}
body .asw-gp-page .asw-mi-pcard-prices strong {
  color: var(--asw-pp-primary-dk);
  font-weight: 950;
  text-align: end;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-pcard-prices s {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
}
body .asw-gp-page .asw-mi-pcard-price-ladder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}
body .asw-gp-page .asw-mi-pcard-price-ladder > span {
  display: grid;
  gap: 0.12rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(var(--asw-pp-primary-rgb), 0.14);
  border-radius: 8px;
  background: rgba(var(--asw-pp-primary-rgb), 0.04);
}
body .asw-gp-page .asw-mi-pcard-price-ladder > span.is-lowest {
  border-color: rgba(16, 185, 129, 0.22);
  background: #ecfdf5;
}
body .asw-gp-page .asw-mi-pcard-price-ladder small {
  color: var(--asw-pp-muted);
  font-size: 0.68rem;
  font-weight: 850;
}
body .asw-gp-page .asw-mi-pcard-price-ladder strong {
  color: var(--asw-pp-text);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}
body .asw-gp-page .asw-mi-pcard-price-ladder .is-lowest strong {
  color: #047857;
}
body .asw-gp-page .asw-mi-pcard-save {
  color: #047857;
  font-size: 0.78rem;
  font-weight: 800;
}
body .asw-gp-page .asw-mi-pcard-line {
  color: var(--asw-pp-muted);
  font-size: 0.8rem;
  text-align: end;
}
body .asw-gp-page .asw-mi-add-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 260px;
  border-style: dashed;
  color: var(--asw-pp-primary-dk);
  background: rgba(var(--asw-pp-primary-rgb), 0.04);
  font-weight: 900;
}
body .asw-gp-page .asw-mi-add-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--asw-pp-primary-rgb), 0.1);
}

body .asw-gp-page .asw-mi-empty,
body .asw-gp-page .asw-parts-empty {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed rgba(var(--asw-pp-primary-rgb), 0.25);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(var(--asw-pp-primary-rgb), 0.05),
    #fff
  );
}
body .asw-gp-page .asw-mi-empty-icon {
  color: var(--asw-pp-primary);
}
body .asw-gp-page .asw-mi-empty-title {
  margin: 0;
  color: var(--asw-pp-text);
  font-size: 1rem;
  font-weight: 900;
}
body .asw-gp-page .asw-mi-empty-sub,
body .asw-gp-page .asw-parts-empty p {
  margin: 0;
  color: var(--asw-pp-muted);
  max-width: 520px;
  line-height: 1.8;
}
body .asw-gp-page .asw-mi-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

body .asw-gp-page .asw-prog-section {
  display: grid;
  gap: 0.85rem;
}
body .asw-gp-page .asw-prog-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
body .asw-gp-page .asw-prog-label {
  color: var(--asw-pp-muted);
  font-size: 0.88rem;
}
body .asw-gp-page .asw-prog-label strong {
  color: var(--asw-pp-text);
}
body .asw-gp-page .asw-prog-bar-wrap {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #f1ece7;
  overflow: hidden;
}
body .asw-gp-page .asw-prog-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--asw-pp-primary), #10b981);
}
body .asw-gp-page .asw-prog-marker {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 20px;
  background: #1a1714;
}
body .asw-gp-page .asw-prog-milestones {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
body .asw-gp-page .asw-prog-milestone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
  font-weight: 800;
  background: #fff;
}
body .asw-gp-page .asw-prog-milestone.reached {
  border-color: rgba(16, 185, 129, 0.28);
  background: #ecfdf5;
  color: #065f46;
}

body .asw-gp-page .asw-parts-avatars,
body .asw-gp-page .asw-parts-empty-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.account-container {
  display: flex;
  gap: 10px;
}
body .asw-gp-page .asw-parts-av,
body .asw-gp-page .asw-parts-empty-av,
body .asw-gp-page .asw-part-av {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--av-bg, var(--asw-pp-primary));
  color: #fff;
  font-weight: 900;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(26, 23, 20, 0.1);
}
body .asw-gp-page .asw-parts-av + .asw-parts-av,
body .asw-gp-page .asw-parts-empty-av + .asw-parts-empty-av {
  margin-inline-start: -0.55rem;
}
body .asw-gp-page .asw-parts-av-more,
body .asw-gp-page .asw-parts-empty-av {
  background: #f5f1ee;
  color: var(--asw-pp-muted);
}
body .asw-gp-page .asw-parts-list {
  display: grid;
  gap: 0.65rem;
}
body .asw-gp-page .asw-part-av {
  overflow: hidden;
}
body .asw-gp-page .asw-part-av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .asw-gp-page .asw-part-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  background: #fff;
}
body .asw-gp-page .asw-part-row.is-paid {
  border-color: rgba(16, 185, 129, 0.2);
}
body .asw-gp-page .asw-part-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
body .asw-gp-page .asw-part-info strong {
  color: var(--asw-pp-text);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body .asw-gp-page .asw-part-info span,
body .asw-gp-page .asw-part-time {
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}
body .asw-gp-page .asw-part-right {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}
body .asw-gp-page .asw-part-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
}
body .asw-gp-page .asw-parts-share-nudge {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #faf8f6;
  border: 1px solid var(--asw-pp-border);
  text-align: center;
}
body .asw-gp-page .asw-parts-share-nudge p {
  margin: 0 0 0.75rem;
  color: var(--asw-pp-muted);
  font-size: 0.88rem;
}
body .asw-gp-page .asw-parts-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-left: 6px;
  padding-right: 6px;
  min-height: 42px;
  margin-top: 0.75rem;
  border: 1px solid rgba(var(--asw-pp-primary-rgb), 0.22);
  border-radius: 12px;
  background: rgba(var(--asw-pp-primary-rgb), 0.06);
  color: var(--asw-pp-primary-dk);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}
body .asw-gp-page .asw-parts-panel .asw-gp-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 0.55rem;
}
body .asw-gp-page .asw-parts-panel .asw-mi-panel-title {
  grid-column: 1;
  min-width: 0;
}
body .asw-gp-page .asw-parts-head-more {
  grid-column: 2;
  justify-self: end;
  flex: 0 0 auto;
  width: auto !important;
  max-width: max-content;
  min-height: 34px;
  margin-top: 0 !important;
  margin-inline-start: 0.45rem;
  padding: 0.25rem 0.58rem;
  border-radius: 8px;
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
}
body .asw-gp-page .asw-parts-head-more span {
  flex: 0 0 auto;
}
body .asw-gp-page .asw-parts-stats-row {
  grid-column: 1 / -1;
  justify-self: start;
  margin-inline-start: 0 !important;
}
body
  .asw-gp-page
  .asw-parts-list
  + .asw-parts-more-btn:not(.asw-parts-head-more) {
  display: none;
}
body .asw-gp-page .asw-parts-more-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--asw-pp-primary-dk);
}
body.asw-parts-sheet-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  body.asw-parts-sheet-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}
body .asw-gp-page .asw-parts-sheet {
  position: fixed;
  inset: 0;
  z-index: 10080;
  direction: rtl;
}
body .asw-gp-page .asw-parts-sheet[hidden] {
  display: none;
}
body .asw-gp-page .asw-parts-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.22s ease;
}
body .asw-gp-page .asw-parts-sheet.is-open .asw-parts-sheet-overlay {
  opacity: var(--asw-parts-overlay-opacity, 1);
}
body .asw-gp-page .asw-parts-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  width: min(100%, 680px);
  min-height: min(56vh, 520px);
  min-height: min(56dvh, 520px);
  max-height: min(92vh, 760px);
  max-height: min(92dvh, 760px);
  margin: 0 auto;
  padding: 0.65rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  border: 1px solid var(--asw-pp-border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translateY(105%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
body .asw-gp-page .asw-parts-sheet.is-open .asw-parts-sheet-panel {
  transform: translateY(0);
}
body .asw-gp-page .asw-parts-sheet.is-dragging .asw-parts-sheet-panel {
  transition: none;
}
@media (min-width: 768px) {
  body .asw-gp-page .asw-savings-sheet-panel,
  body .asw-gp-page .asw-parts-sheet-panel {
    bottom: 16px;
    border-bottom: 1px solid var(--asw-pp-border);
    border-radius: 8px;
  }
}
body .asw-gp-page .asw-parts-sheet-handle {
  width: 46px;
  height: 5px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.2);
  margin: 0.05rem auto 0.75rem;
  cursor: grab;
  touch-action: none;
}
body .asw-gp-page .asw-parts-sheet-handle:active {
  cursor: grabbing;
}
body .asw-gp-page .asw-parts-sheet-close {
  display: none;
}
body .asw-gp-page .asw-parts-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--asw-pp-border);
}
body .asw-gp-page .asw-parts-sheet-head > div:first-child {
  display: grid;
  gap: 0.2rem;
}
body .asw-gp-page .asw-parts-sheet-head span {
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
}
body .asw-gp-page .asw-parts-sheet-head strong {
  color: var(--asw-pp-text);
  font-size: 1rem;
  font-weight: 900;
}
body .asw-gp-page .asw-parts-sheet-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}
body .asw-gp-page .asw-parts-sheet-stats span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 900;
}
body .asw-gp-page .asw-parts-sheet-stats .paid {
  background: #d1fae5;
  color: #065f46;
}
body .asw-gp-page .asw-parts-sheet-stats .pending {
  background: #fef3c7;
  color: #92400e;
}
body .asw-gp-page .asw-parts-sheet-list {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.85rem;
  min-height: 0;
}
body .asw-gp-page .asw-part-row-sheet {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(26, 23, 20, 0.04);
}

body .asw-gp-page .asw-mi-row2 {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--asw-pp-border);
  border-radius: 12px;
  background: #fff;
}
body .asw-gp-page .asw-mi-row2-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: #faf8f6;
}
body .asw-gp-page .asw-mi-row2-info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
body .asw-gp-page .asw-mi-row2-info strong {
  color: var(--asw-pp-text);
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .asw-gp-page .asw-mi-row2-info span {
  color: var(--asw-pp-muted);
  font-size: 0.78rem;
}
body .asw-gp-page .asw-mi-canvas-totals {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  color: var(--asw-pp-muted);
  font-size: 0.84rem;
}
body .asw-gp-page .asw-mi-canvas-totals strong,
body .asw-gp-page .asw-mi-canvas-totals .is-saving {
  color: var(--asw-pp-text);
}
body .asw-gp-page .asw-mi-canvas.is-open .asw-mi-canvas-overlay {
  opacity: var(--asw-mi-overlay-opacity, 1);
}
body .asw-gp-page .asw-mi-canvas.is-dragging .asw-mi-canvas-inner {
  transition: none;
}

@media (max-width: 767px) {
  body .asw-gp-page .asw-mi-canvas {
    z-index: 10088;
    direction: rtl;
  }
  body .asw-gp-page .asw-mi-canvas-inner,
  body[dir="ltr"] .asw-gp-page .asw-mi-canvas-inner,
  html[dir="ltr"] body .asw-gp-page .asw-mi-canvas-inner {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    inset-inline-end: auto;
    width: min(100%, 680px);
    height: auto;
    max-height: min(92vh, 760px);
    max-height: min(92dvh, 760px);
    margin: 0 auto;
    border: 1px solid var(--asw-pp-border);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
    transform: translateY(105%);
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  body .asw-gp-page .asw-mi-canvas.is-open .asw-mi-canvas-inner,
  body[dir="ltr"] .asw-gp-page .asw-mi-canvas.is-open .asw-mi-canvas-inner,
  html[dir="ltr"]
    body
    .asw-gp-page
    .asw-mi-canvas.is-open
    .asw-mi-canvas-inner {
    transform: translateY(0);
  }
  body .asw-gp-page .asw-mi-canvas-handle {
    display: block;
    margin-top: 0.65rem;
  }
  body .asw-gp-page .asw-mi-canvas-head {
    padding: 0 0.85rem 0.7rem;
    border-bottom-color: var(--asw-pp-border);
    background: #fff;
  }
  body .asw-gp-page .asw-mi-canvas-body {
    max-height: 48dvh;
    padding: 0.75rem;
  }
  body .asw-gp-page .asw-mi-canvas-foot {
    padding: 0.75rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 900px) {
  body .asw-gp-page .asw-mi-totals,
  body .asw-gp-page .asw-prog-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  body .asw-gp-page .asw-gp-panel-head {
    flex-wrap: wrap;
  }
  body .asw-gp-page .asw-mi-status-banner,
  body .asw-gp-page .asw-mi-row2 {
    grid-template-columns: 1fr;
  }
  body .asw-gp-page .asw-part-row {
    display: flex;
    flex-wrap: wrap;
  }
  body .asw-gp-page .asw-mi-status-banner {
    display: grid;
  }
  body .asw-gp-page .asw-mi-status-cta,
  body .asw-gp-page .asw-part-right {
    width: 100%;
    justify-items: stretch;
  }
  body .asw-gp-page .asw-mi-status-cta {
    justify-content: center;
  }
  body .asw-gp-page .asw-part-right {
    grid-column: 2;
  }
  body .asw-gp-page .asw-mi-pcard {
    flex-basis: min(86vw, 330px);
    width: min(86vw, 330px);
    max-width: 330px;
  }
  body .asw-gp-page .asw-mi-totals,
  body .asw-gp-page .asw-prog-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Storewide group page: single-product group-order parity */
body .asw-storewide-group-page.asw-gp-page {
  background: var(--asw-bg-2);
}
body .asw-storewide-group-page .asw-gp-shell {
  max-width: 1180px;
}
body .asw-storewide-group-page .asw-storewide-hero {
  display: flex;
  grid-template-columns: none;
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--asw-bg);
  border: 1px solid var(--asw-border);
  border-radius: var(--asw-r4);
  overflow: hidden;
  box-shadow: var(--asw-sh-sm);
  margin-bottom: 1.5rem;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery-col {
  position: relative;
  top: auto;
  width: 42%;
  min-width: 320px;
  flex: 0 0 42%;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
  overflow: visible;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery {
  height: 100%;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gal-main {
  height: 100%;
  min-height: 420px;
  border-radius: 0 !important;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gal-thumbs {
  padding: 0.65rem;
  background: #fff;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-hero-body {
  padding: 1.5rem;
  flex: 1;
  min-width: 0;
  gap: 1rem;
}
body .asw-storewide-group-page .asw-gp-title {
  font-size: 1.5rem;
  margin: 0.3rem 0 0.25rem;
}
body .asw-storewide-group-page .asw-storewide-ticker {
  margin: 0;
}
body .asw-storewide-group-page .asw-storewide-hero-progress {
  margin: 0;
}
body .asw-storewide-group-page .asw-storewide-hero-progress .asw-progress-wrap {
  margin: 0.55rem 0 0;
}
body .asw-storewide-group-page .asw-gp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
body .asw-storewide-group-page .asw-gp-actions .asw-gp-btn {
  min-height: 46px;
  margin: 0;
}
body .asw-storewide-group-page .asw-storewide-share-card {
  margin: 0;
  box-shadow: none;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gp-tiers {
  display: none !important;
}
body .asw-storewide-group-page .asw-gp-journey {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
body .asw-storewide-group-page .asw-gp-journey::before {
  content: "";
  position: absolute;
  inset-block: 1.25rem 2rem;
  inset-inline-start: 1.15rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--asw-primary),
    var(--asw-green),
    transparent
  );
  opacity: 0.2;
}
body .asw-storewide-group-page .asw-gp-step-section {
  position: relative;
  padding-top: 2.35rem !important;
  margin-bottom: 0 !important;
}
body .asw-storewide-group-page .asw-gp-step-section::before {
  content: attr(data-step);
  position: absolute;
  z-index: 3;
  inset-block-start: 0.82rem;
  inset-inline-start: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border: 1px solid
    color-mix(in srgb, var(--asw-primary) 18%, var(--asw-border));
  border-radius: 999px;
  background: #fff;
  color: var(--asw-primary-dk);
  box-shadow: 0 8px 18px rgba(48, 21, 96, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
body .asw-storewide-group-page .asw-gp-step-section > .asw-gp-panel-head {
  margin-top: 0 !important;
}
body .asw-storewide-group-page .asw-gp-step-section--guide {
  order: 1;
}
body .asw-storewide-group-page .asw-gp-step-section--progress {
  order: 2;
}
body .asw-storewide-group-page .asw-gp-step-section--products {
  order: 3;
}
body .asw-storewide-group-page .asw-gp-step-section--participants {
  order: 4;
}
body
  .asw-storewide-group-page
  .asw-gp-journey.is-joined
  .asw-gp-step-section--cart {
  order: 1;
}
body
  .asw-storewide-group-page
  .asw-gp-journey.is-joined
  .asw-gp-step-section--progress {
  order: 2;
}
body
  .asw-storewide-group-page
  .asw-gp-journey.is-joined
  .asw-gp-step-section--products {
  order: 3;
}
body
  .asw-storewide-group-page
  .asw-gp-journey.is-joined
  .asw-gp-step-section--participants {
  order: 4;
}
body
  .asw-storewide-group-page
  .asw-gp-journey.is-joined
  .asw-gp-step-section--guide {
  order: 5;
}
body .asw-storewide-group-page #asw-mi-panel {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}
body .asw-storewide-group-page #asw-mi-panel .asw-gp-panel-head {
  order: 0;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-status-banner {
  order: 1;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-price-chart {
  order: 2;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-totals {
  order: 3;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-totals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card {
  position: relative;
  min-height: 74px;
  padding: 0.78rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 18, 10, 0.045);
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card.is-main {
  background: linear-gradient(
    135deg,
    rgba(var(--asw-pp-primary-rgb), 0.1),
    #fff
  );
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card.is-saving {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), #fff);
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card.is-best {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 72%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.14), #fff);
  border-color: color-mix(in srgb, #10b981 28%, var(--asw-border));
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card.is-next {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), #fff);
  border-color: color-mix(in srgb, var(--asw-gold) 22%, var(--asw-border));
}
body
  .asw-storewide-group-page
  #asw-mi-panel
  .asw-mi-total-card.is-next
  .asw-mi-total-val {
  color: var(--asw-primary-dk);
}
body
  .asw-storewide-group-page
  #asw-mi-panel
  .asw-mi-total-card.is-best
  .asw-mi-total-val {
  color: #047857;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-total-card small {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--asw-text-2);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.35;
}
body
  .asw-storewide-group-page
  #asw-mi-panel
  .asw-mi-total-card.is-best
  small {
  color: #047857;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-savings-callout {
  order: 4;
}
body .asw-storewide-group-page #asw-mi-panel .asw-mi-scroll-wrap {
  order: 5;
}
body .asw-storewide-group-page .asw-gp-panel {
  margin-bottom: 1rem;
}
body .asw-storewide-group-page .asw-gp-how-panel .asw-gp-how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body .asw-storewide-group-page .asw-gp-step {
  padding: 0.75rem;
  border: 1px solid var(--asw-border);
  border-radius: var(--asw-r3);
  background: var(--asw-bg-2);
}
body .asw-storewide-group-page .asw-mi-panel,
body .asw-storewide-group-page .asw-progress-panel,
body .asw-storewide-group-page .asw-eligible-panel,
body .asw-storewide-group-page .asw-parts-panel {
  padding: 1.15rem;
}
body .asw-storewide-group-page .asw-parts-panel {
  margin-bottom: 1.5rem;
}
body .asw-storewide-group-page .asw-parts-list {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  body .asw-storewide-group-page .asw-storewide-hero {
    flex-direction: column;
  }
  body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery-col {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
  body .asw-storewide-group-page .asw-storewide-hero .asw-gal-main {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  body .asw-storewide-group-page .asw-gp-how-panel .asw-gp-how-steps,
  body .asw-storewide-group-page .asw-parts-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body .asw-storewide-group-page .asw-gp-shell {
    padding: 1rem 0.75rem 2.5rem;
  }
  body .asw-storewide-group-page .asw-storewide-hero .asw-hero-body {
    padding: 1rem;
  }
  body .asw-storewide-group-page .asw-gp-title {
    font-size: 1.2rem;
  }
  body .asw-storewide-group-page .asw-gp-actions {
    display: flex !important;
    flex-wrap: nowrap;
  }
  body .asw-storewide-group-page .asw-gp-actions .asw-gp-btn {
    min-width: 0;
    width: auto;
  }
}

/* Storewide final polish: full-width hero + clean tier cards */
body .asw-storewide-group-page .asw-storewide-hero.asw-pp-hero.asw-gp-hero {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: stretch !important;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-pp-gallery,
body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: static !important;
  background: #fff !important;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery-col {
  display: flex !important;
  flex-direction: column;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gal-main {
  flex: 1 1 auto;
}
body .asw-storewide-group-page .asw-storewide-hero .asw-gal-slide img {
  object-fit: cover !important;
  padding: 0;
  background: #f8fafc;
}
body
  .asw-storewide-group-page
  .asw-storewide-hero
  .asw-hero-body.asw-pp-summary {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(
    180deg,
    #fff 0%,
    var(--asw-surface-primary, #fff8f3) 100%
  ) !important;
}

body .asw-storewide-group-page .asw-gp-tiers {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  border: 1px solid
    color-mix(in srgb, var(--asw-primary) 14%, var(--asw-border));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--asw-primary) 5%, transparent);
}
body .asw-storewide-group-page .asw-gp-tiers-label {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.15rem !important;
  color: var(--asw-text);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body .asw-storewide-group-page .asw-gp-tiers-label svg {
  color: var(--asw-primary);
  flex: 0 0 auto;
}
body .asw-storewide-group-page .asw-gp-tier {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "disc check"
    "range range";
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  min-height: 84px;
  padding: 0.6rem !important;
  border: 1px solid
    color-mix(in srgb, var(--asw-primary) 10%, var(--asw-border)) !important;
  border-radius: 10px;
  background: #fff;
  font-size: 0.8rem !important;
  color: var(--asw-text);
  position: relative;
  overflow: hidden;
}
body .asw-storewide-group-page .asw-gp-tier.is-achieved {
  background: var(--asw-green-lt);
  border-color: color-mix(
    in srgb,
    var(--asw-green) 28%,
    transparent
  ) !important;
  color: var(--asw-green-dk);
}
body .asw-storewide-group-page .asw-gp-tier-range {
  grid-area: range;
  min-width: 0;
  align-self: end;
  color: var(--asw-text-2);
  font-weight: 850;
  line-height: 1.35;
  white-space: normal !important;
}
body .asw-storewide-group-page .asw-gp-tier.is-achieved .asw-gp-tier-range {
  color: var(--asw-green-dk);
}
body .asw-storewide-group-page .asw-gp-tier-disc {
  grid-area: disc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 42px;
  min-height: 30px;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--asw-primary-soft);
  color: var(--asw-primary-dk);
  font-weight: 900;
  white-space: nowrap;
}
body .asw-storewide-group-page .asw-gp-tier.is-achieved .asw-gp-tier-disc {
  background: #fff;
  color: var(--asw-green-dk);
}
body .asw-storewide-group-page .asw-gp-tier-bar {
  display: none !important;
}
body .asw-storewide-group-page .asw-gp-tier-check {
  grid-area: check;
  width: 24px !important;
  height: 24px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--asw-green-dk);
  font-size: 0.78rem !important;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--asw-green) 25%, transparent);
}
body .asw-storewide-group-page .asw-gp-tier-check[aria-hidden="true"] {
  background: color-mix(in srgb, var(--asw-primary) 10%, #fff);
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--asw-primary) 16%, var(--asw-border));
}

@media (min-width: 1100px) {
  body .asw-storewide-group-page .asw-storewide-hero .asw-gp-gallery-col {
    flex-basis: 44% !important;
    width: 44% !important;
  }
  body .asw-storewide-group-page .asw-storewide-hero .asw-gal-main {
    min-height: 560px !important;
  }
}
@media (max-width: 760px) {
  body .asw-storewide-group-page .asw-gp-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.65rem;
  }
  body .asw-storewide-group-page .asw-gp-tier {
    min-height: 76px;
    padding: 0.55rem !important;
  }
}
@media (max-width: 420px) {
  body .asw-storewide-group-page .asw-gp-actions {
    display: flex !important;
    flex-wrap: nowrap;
  }
  body .asw-storewide-group-page .asw-gp-actions .asw-gp-btn {
    min-width: 0;
    width: auto;
  }
  body .asw-storewide-group-page .asw-gp-tier {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.4rem;
  }
  body .asw-storewide-group-page .asw-gp-tier-disc {
    min-width: 38px;
    min-height: 26px;
    font-size: 0.78rem;
  }
}

/* Storewide final polish: progress map card */
body .asw-storewide-group-page .asw-progress-panel {
  display: grid !important;
  gap: 1rem;
}
body .asw-storewide-group-page .asw-progress-panel .asw-gp-panel-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 !important;
  padding: 0 0 0.85rem !important;
  border-bottom: 1px solid var(--asw-border) !important;
}
body .asw-storewide-group-page .asw-progress-panel .asw-mi-panel-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--asw-text);
}
body .asw-storewide-group-page .asw-progress-panel .asw-mi-panel-title svg {
  color: var(--asw-primary);
  flex: 0 0 auto;
}
body .asw-storewide-group-page .asw-progress-panel .asw-mi-panel-title span {
  font-size: 1rem;
  font-weight: 900;
  color: var(--asw-text);
}
body .asw-storewide-group-page .asw-progress-panel .asw-gp-panel-count {
  margin: 0 !important;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--asw-primary-soft);
  color: var(--asw-primary-dk);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-section {
  display: grid !important;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--asw-border);
  border-radius: 16px;
  background: #fff;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-label-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--asw-text-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-label strong {
  color: var(--asw-text);
  font-size: 1rem;
  font-weight: 900;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--asw-gold-lt);
  color: var(--asw-gold-dk);
  border: 1px solid color-mix(in srgb, var(--asw-gold) 28%, transparent);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-badge.activated {
  background: var(--asw-green-lt);
  color: var(--asw-green-dk);
  border-color: color-mix(in srgb, var(--asw-green) 28%, transparent);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-bar-wrap {
  position: relative;
  display: block !important;
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: var(--asw-bg-3, #f0ece8);
  overflow: visible;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-bar {
  display: block !important;
  height: 100%;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--asw-primary), var(--asw-green));
  box-shadow: 0 5px 14px color-mix(in srgb, var(--asw-primary) 22%, transparent);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-marker {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 28px;
  border-radius: 999px;
  background: var(--asw-text);
  transform: translateY(-50%);
  opacity: 0.6;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestones {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.35rem;
}
body
  .asw-storewide-group-page
  .asw-progress-panel
  .asw-prog-milestones::before {
  content: "";
  position: absolute;
  inset-inline: 1.5rem;
  top: 1.38rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--asw-green),
    color-mix(in srgb, var(--asw-primary) 30%, #d9efe3)
  );
  opacity: 0.22;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 66px;
  padding: 0.82rem 0.45rem 0.55rem;
  border: 1px solid var(--asw-border);
  border-radius: 16px;
  background: #fff;
  color: var(--asw-text);
  text-align: center;
  box-shadow: 0 8px 20px rgba(24, 18, 10, 0.04);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone::before {
  content: "";
  position: absolute;
  top: -0.1rem;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: color-mix(in srgb, var(--asw-primary) 18%, #d8c9ff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--asw-primary) 18%, transparent),
    0 7px 14px rgba(48, 21, 96, 0.12);
  transform: translateX(-50%);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone.reached {
  background: var(--asw-green-lt);
  border-color: color-mix(in srgb, var(--asw-green) 28%, transparent);
  color: var(--asw-green-dk);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--asw-green) 13%, transparent);
}
body
  .asw-storewide-group-page
  .asw-progress-panel
  .asw-prog-milestone.reached::before {
  background: var(--asw-green);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--asw-green) 13%, transparent),
    0 8px 16px color-mix(in srgb, var(--asw-green) 20%, transparent);
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone span {
  font-size: 0.76rem;
  font-weight: 800;
  color: inherit;
  opacity: 0.8;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone strong {
  font-size: 0.98rem;
  font-weight: 900;
  color: inherit;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-subhead {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.05rem 0 -0.25rem !important;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-subhead span {
  color: var(--asw-text);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.4;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 !important;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats > div {
  display: grid !important;
  place-items: center;
  gap: 0.2rem;
  min-height: 72px;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--asw-border);
  border-radius: 14px;
  background: var(--asw-bg-2);
  text-align: center;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats span {
  color: var(--asw-text-3);
  font-size: 0.75rem;
  line-height: 1.35;
}
body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats strong {
  color: var(--asw-text);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

@media (max-width: 900px) {
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestones,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  body .asw-storewide-group-page .asw-progress-panel {
    gap: 0.85rem;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-gp-panel-head,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-label-row {
    align-items: flex-start;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-gp-panel-count,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-badge {
    margin-inline-start: auto !important;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-section {
    padding: 0.8rem;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Storewide mobile density pass */
@media (max-width: 640px) {
  body .asw-storewide-group-page .asw-gp-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 0.5rem calc(2rem + var(--asw-mobile-panel-height, 0px)) !important;
  }
  body .asw-storewide-group-page .asw-storewide-hero {
    margin-bottom: 0.75rem;
  }
  body .asw-storewide-group-page .asw-gp-journey {
    gap: 0.85rem;
    margin-top: 0.75rem;
  }
  body .asw-storewide-group-page .asw-gp-journey::before {
    inset-inline-start: 0.75rem;
  }
  body .asw-storewide-group-page .asw-gp-step-section::before {
    inset-inline-start: 0.6rem;
    inset-block-start: -0.5rem;
    min-height: 24px;
    padding: 0.28rem 0.58rem;
    font-size: 0.66rem;
  }
  body .asw-storewide-group-page .asw-storewide-hero .asw-hero-body {
    padding: 0.8rem !important;
    gap: 0.7rem;
  }
  body .asw-storewide-group-page .asw-gp-panel,
  body .asw-storewide-group-page .asw-mi-panel,
  body .asw-storewide-group-page .asw-progress-panel,
  body .asw-storewide-group-page .asw-eligible-panel,
  body .asw-storewide-group-page .asw-parts-panel,
  body .asw-storewide-group-page .asw-gp-how-panel {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    border-radius: 12px;
  }
  body .asw-storewide-group-page .asw-gp-step-section {
    padding-top: 2rem !important;
  }
  body .asw-storewide-group-page .asw-gp-panel-head {
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    font-size: 0.88rem;
  }
  body .asw-storewide-group-page .asw-mi-panel-title span,
  body .asw-storewide-group-page .asw-eligible-head-text span,
  body .asw-storewide-group-page .asw-progress-panel .asw-mi-panel-title span {
    font-size: 0.88rem !important;
    line-height: 1.35;
  }
  body .asw-storewide-group-page .asw-gp-title {
    font-size: 1.06rem !important;
    line-height: 1.4;
  }
  body .asw-storewide-group-page .asw-gp-desc,
  body .asw-storewide-group-page .asw-gp-why-list,
  body .asw-storewide-group-page .asw-parts-share-nudge p {
    font-size: 0.78rem;
    line-height: 1.6;
  }
  body .asw-storewide-group-page .asw-ticker {
    padding: 0.65rem !important;
  }
  body .asw-storewide-group-page .asw-ticker-price {
    font-size: 1.35rem !important;
  }
  body .asw-storewide-group-page .asw-ticker-stat-label {
    font-size: 0.68rem !important;
  }
  body .asw-storewide-group-page .asw-ticker-stat-val {
    font-size: 0.78rem !important;
  }
  body .asw-storewide-group-page .asw-gp-deposit-info {
    gap: 0.45rem;
  }
  body .asw-storewide-group-page .asw-gp-deposit-info > div {
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
    font-size: 0.72rem;
  }
  body .asw-storewide-group-page .asw-gp-deposit-info > div strong {
    font-size: 0.9rem;
  }
  body .asw-storewide-group-page .asw-gp-actions {
    gap: 0.45rem;
  }
  body .asw-storewide-group-page .asw-gp-actions .asw-gp-btn {
    min-height: 42px;
    padding: 0.58rem 0.5rem;
    font-size: 0.78rem;
    border-radius: 8px;
  }
  body .asw-storewide-group-page .asw-storewide-share-card {
    padding: 0.7rem !important;
  }
  body .asw-storewide-group-page .asw-scp-title {
    font-size: 0.86rem;
  }
  body .asw-storewide-group-page .asw-scp-sub,
  body .asw-storewide-group-page .asw-scp-hint {
    font-size: 0.74rem;
  }
  body .asw-storewide-group-page .asw-gp-how-panel .asw-gp-how-steps {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 0.45rem;
  }
  body .asw-storewide-group-page .asw-gp-step {
    min-width: 0;
    padding: 0.55rem 0.4rem !important;
    border-radius: 8px;
    text-align: center;
  }
  body .asw-storewide-group-page .asw-gp-step strong {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  body .asw-storewide-group-page .asw-gp-step p {
    font-size: 0.7rem;
    line-height: 1.45;
  }
  body .asw-storewide-group-page .asw-mi-totals,
  body .asw-storewide-group-page .asw-prog-stats,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.45rem;
  }
  body .asw-storewide-group-page #asw-mi-panel .asw-mi-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body .asw-storewide-group-page .asw-mi-total-card,
  body .asw-storewide-group-page .asw-prog-stats > div,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats > div {
    min-height: 58px;
    padding: 0.5rem 0.35rem !important;
    border-radius: 9px;
  }
  body .asw-storewide-group-page .asw-mi-total-label,
  body .asw-storewide-group-page .asw-prog-stats span,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats span {
    font-size: 0.66rem !important;
    line-height: 1.25;
  }
  body .asw-storewide-group-page .asw-mi-total-val,
  body .asw-storewide-group-page .asw-prog-stats strong,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats strong {
    font-size: 0.84rem !important;
    line-height: 1.25;
  }
  body .asw-storewide-group-page .asw-mi-status-banner,
  body .asw-storewide-group-page .asw-mi-savings-callout,
  body .asw-storewide-group-page .asw-prog-section,
  body .asw-storewide-group-page .asw-parts-share-nudge {
    padding: 0.65rem !important;
    border-radius: 10px;
  }
  body .asw-storewide-group-page .asw-mi-status-body strong,
  body .asw-storewide-group-page .asw-prog-label,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-label {
    font-size: 0.78rem !important;
  }
  body .asw-storewide-group-page .asw-mi-status-body span,
  body .asw-storewide-group-page .asw-prog-badge,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-badge {
    font-size: 0.68rem !important;
  }
  body .asw-storewide-group-page .asw-mi-savings-callout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.75rem;
  }
  body .asw-storewide-group-page .asw-mi-savings-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  body .asw-storewide-group-page .asw-mi-savings-copy strong {
    font-size: 1.02rem;
  }
  body .asw-storewide-group-page .asw-mi-savings-copy span,
  body .asw-storewide-group-page .asw-mi-savings-copy p,
  body .asw-storewide-group-page .asw-mi-savings-chip {
    font-size: 0.68rem;
  }
  body .asw-storewide-group-page .asw-mi-savings-chip {
    grid-column: 2;
    justify-self: start;
    min-height: 28px;
    padding: 0.24rem 0.52rem;
  }
  body .asw-storewide-group-page .asw-gp-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem;
    padding: 0.5rem !important;
  }
  body .asw-storewide-group-page .asw-gp-tier {
    min-height: 62px;
    padding: 0.42rem !important;
    gap: 0.3rem;
    font-size: 0.7rem !important;
    border-radius: 8px;
  }
  body .asw-storewide-group-page .asw-gp-tier-disc {
    min-width: 34px;
    min-height: 24px;
    padding: 0.12rem 0.36rem;
    font-size: 0.72rem;
  }
  body .asw-storewide-group-page .asw-gp-tier-check {
    width: 20px !important;
    height: 20px;
    font-size: 0.68rem !important;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestones {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem;
    padding-top: 0;
  }
  body
    .asw-storewide-group-page
    .asw-progress-panel
    .asw-prog-milestones::before {
    display: none;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone {
    min-height: 58px;
    padding: 0.58rem 0.3rem 0.42rem;
    border-radius: 9px;
  }
  body
    .asw-storewide-group-page
    .asw-progress-panel
    .asw-prog-milestone::before {
    top: 0.34rem;
    width: 9px;
    height: 9px;
    border-width: 2px;
  }
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-milestone span {
    font-size: 0.64rem;
  }
  body
    .asw-storewide-group-page
    .asw-progress-panel
    .asw-prog-milestone
    strong {
    font-size: 0.8rem;
  }
  body .asw-storewide-group-page .asw-part-row {
    padding: 0.6rem !important;
    border-radius: 10px;
  }
  body .asw-storewide-group-page .asw-part-info strong {
    font-size: 0.82rem;
  }
  body .asw-storewide-group-page .asw-part-info span,
  body .asw-storewide-group-page .asw-part-time {
    font-size: 0.7rem;
  }
  body .asw-storewide-group-page .asw-part-pill,
  body .asw-storewide-group-page .asw-parts-stat {
    font-size: 0.66rem;
    padding: 0.2rem 0.42rem;
  }
  body .asw-storewide-group-page .asw-parts-head-more {
    min-height: 32px;
    padding: 0.22rem 0.5rem;
    font-size: 0.7rem;
  }
  body .asw-storewide-group-page .asw-parts-head-more span {
    min-width: 1.35rem;
    height: 1.35rem;
  }
  body .asw-storewide-group-page .asw-savings-sheet-panel,
  body .asw-storewide-group-page .asw-parts-sheet-panel {
    gap: 0.7rem;
    padding-inline: 0.7rem;
  }
}

@media (max-width: 380px) {
  body .asw-storewide-group-page .asw-gp-shell {
    padding-inline: 0.38rem !important;
  }
  body .asw-storewide-group-page .asw-gp-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body .asw-storewide-group-page .asw-gp-how-panel .asw-gp-how-steps,
  body .asw-storewide-group-page .asw-mi-totals,
  body .asw-storewide-group-page .asw-prog-stats,
  body .asw-storewide-group-page .asw-progress-panel .asw-prog-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Product cards should show full product artwork; only multi-product group hero uses cover. */
body .asw-sh-scope .asw-sh-pcard-img img,
body .asw-sh-scope .asw-sh-pcard-gimg,
body .asw-product-card .asw-sh-pcard-img img,
body .asw-product-card .asw-sh-pcard-gimg,
body .asw-storewide-group-page .asw-eligible-panel .asw-sh-pcard-img img,
body .asw-storewide-group-page .asw-eligible-panel .asw-sh-pcard-gimg {
  object-fit: contain !important;
  object-position: center !important;
  padding: 0.45rem;
  background: #fff;
}

body .asw-storewide-group-page .asw-storewide-hero .asw-gal-slide img {
  object-fit: cover !important;
  padding: 0 !important;
  background: #f8fafc;
}

/* WooCommerce My Account polish */
body.woocommerce-account .woocommerce {
  direction: rtl;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper {
  overflow: hidden;
}

body.woocommerce-account .MyAccount-user-info {
  gap: 0.75rem;
  padding: 0.85rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: #f8fafc;
}

body.woocommerce-account .MyAccount-user-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 0.22rem;
  margin: 0;
  padding: 0.55rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--asw-text, #111827);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account
  .woocommerce-MyAccount-navigation
  li
  a[aria-current="page"] {
  background: var(--asw-primary, #c8a84a);
  color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.95rem;
  position: relative;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

body.woocommerce-account.asw-account-ajax-loading
  .woocommerce-MyAccount-content {
  opacity: 0.58;
  transform: translateY(4px);
  pointer-events: none;
}

body.woocommerce-account.asw-account-ajax-loading
  .woocommerce-MyAccount-content::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent),
    rgba(255, 255, 255, 0.36);
  background-size:
    220px 100%,
    100% 100%;
  animation: asw-account-loading-sheen 1s linear infinite;
  pointer-events: none;
}

@keyframes asw-account-loading-sheen {
  from {
    background-position:
      -220px 0,
      0 0;
  }
  to {
    background-position:
      calc(100% + 220px) 0,
      0 0;
  }
}

body.woocommerce-account .woocommerce-MyAccount-content > h3.title,
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
body.woocommerce-account
  .woocommerce-MyAccount-content
  > .MyAccount-dashboard-buttons,
body.woocommerce-account .woocommerce-MyAccount-content > .MyAccount-banner {
  display: none !important;
}

body.woocommerce-account .asw-wc-account-dashboard {
  order: -10;
  display: grid;
  gap: 0.75rem;
}

body.woocommerce-account .asw-wc-account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
}

body.woocommerce-account .asw-wc-account-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

body.woocommerce-account .asw-wc-account-profile > div {
  min-width: 0;
}

body.woocommerce-account .asw-wc-account-kicker {
  color: var(--asw-primary, #c8a84a);
  font-size: 0.72rem;
  font-weight: 900;
}

body.woocommerce-account .asw-wc-account-profile h2 {
  margin: 0.05rem 0;
  color: var(--asw-text, #111827);
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.35;
}

body.woocommerce-account .asw-wc-account-profile p {
  overflow: hidden;
  margin: 0;
  color: var(--asw-text-2, #6b7280);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.woocommerce-account .asw-wc-account-trust {
  display: grid;
  gap: 0.28rem;
  padding: 0.7rem;
  border: 1px solid rgba(200, 168, 74, 0.16);
  border-radius: 8px;
  background: #fff8ed;
}

body.woocommerce-account .asw-wc-account-trust strong {
  color: #7c5f16;
  font-size: 0.82rem;
  font-weight: 950;
}

body.woocommerce-account .asw-wc-account-trust span {
  color: var(--asw-text-2, #6b7280);
  font-size: 0.73rem;
  font-weight: 750;
}

body.woocommerce-account .asw-wc-account-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(124, 95, 22, 0.13);
}

body.woocommerce-account .asw-wc-account-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--asw-primary, #c8a84a);
}

body.woocommerce-account .asw-wc-account-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.woocommerce-account .asw-wc-account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

body.woocommerce-account .asw-wc-account-stats > div {
  display: grid;
  gap: 0.16rem;
  min-height: 70px;
  padding: 0.68rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

body.woocommerce-account .asw-wc-account-stats span {
  color: var(--asw-text-2, #6b7280);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.35;
}

body.woocommerce-account .asw-wc-account-stats strong {
  color: var(--asw-text, #111827);
  font-size: 0.95rem;
  font-weight: 950;
}

body.woocommerce-account .asw-wc-account-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.78rem;
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 8px;
  background: #fff7f7;
}

body.woocommerce-account .asw-wc-account-alert strong,
body.woocommerce-account .asw-wc-account-alert span {
  display: block;
}

body.woocommerce-account .asw-wc-account-alert strong {
  color: #991b1b;
  font-size: 0.82rem;
}

body.woocommerce-account .asw-wc-account-alert span {
  color: #7f1d1d;
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 0.7rem;
  }

  body.woocommerce-account .asw-wc-account-hero {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  body.woocommerce-account .asw-wc-account-actions .asw-btn,
  body.woocommerce-account .asw-wc-account-alert .asw-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  body.woocommerce-account .asw-wc-account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account .asw-wc-account-alert {
    align-items: stretch;
    flex-direction: column;
  }
}
.asw-join-error-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.45);
  direction: rtl;
}

.asw-join-error-card {
  width: min(420px, 100%);
  border: 1px solid rgba(126, 34, 206, 0.16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  padding: 20px;
  text-align: right;
}

.asw-join-error-title {
  margin: 0 0 10px;
  color: #3b0764;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.asw-join-error-text {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.asw-join-error-close {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: #6d28d9;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 16px;
}

.asw-join-error-close:focus-visible {
  outline: 3px solid rgba(109, 40, 217, 0.25);
  outline-offset: 2px;
}

.asw-mi-remove-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.48);
  direction: rtl;
}

.asw-mi-remove-card {
  width: min(430px, 100%);
  padding: 20px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  text-align: right;
}

.asw-mi-remove-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
}

.asw-mi-remove-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.asw-mi-remove-text {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.asw-mi-remove-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.asw-mi-remove-actions button {
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.asw-mi-remove-cancel {
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  color: #334155;
}

.asw-mi-remove-confirm {
  border: 1px solid #dc2626;
  background: #dc2626;
  color: #fff;
}

.asw-mi-remove-actions button:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.2);
  outline-offset: 2px;
}

.asw-gp-leave-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--asw-border, #eee);
  text-align: center;
}

.asw-gp-leave-btn {
  color: #c0392b !important;
}

.asw-gp-leave-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.asw-gp-leave-actions .asw-btn-danger {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}
