/*
 * Aswaf frontend: 06-archive-gallery-cart.css
 * Responsibility: group archives, chart cards, gallery fixes, custom Woo cart, share buttons, lightbox, notices, archive slider, scroll top, print styles, and paid-remove modal.
 * This file was split from assets/css/frontend.css; keep import order in frontend.css.
 */

/* ════ GROUPS ARCHIVE ════ */
body .asw-archive {
  direction: rtl;
  padding: 1rem 0;
}

body .asw-ar-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2418 100%);
  border-radius: var(--asw-r4);
  color: #fff;
}

body .asw-ar-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
}

body .asw-ar-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Filters */
body .asw-ar-filters {
  margin-bottom: 1.1rem;
}

body .asw-ar-filter-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body .asw-ar-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

body .asw-ar-tab {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--asw-r-full);
  background: var(--asw-bg-2);
  border: 1.5px solid var(--asw-border);
  color: var(--asw-text-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.15s;
}

body .asw-ar-tab:hover {
  border-color: var(--asw-primary);
  color: var(--asw-primary);
}

body .asw-ar-tab.active {
  background: var(--asw-primary);
  border-color: var(--asw-primary);
  color: var(--asw-text-inv);
}

body .asw-ar-tab-count {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.65rem;
  padding: 0.05rem 0.3rem;
  font-weight: 800;
}

body .asw-ar-tab:not(.active) .asw-ar-tab-count {
  background: var(--asw-bg-3);
  color: var(--asw-text-3);
}

body .asw-ar-search {
  display: flex;
  gap: 0.3rem;
  margin-right: auto;
}

body .asw-ar-search-inp {
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--asw-border);
  border-radius: var(--asw-r2);
  font-size: 0.8rem;
  width: 180px;
  font-family: inherit;
  direction: rtl;
}

body .asw-ar-search-inp:focus {
  outline: none;
  border-color: var(--asw-primary);
}

body .asw-ar-search-btn {
  padding: 0.4rem 0.75rem;
  border-radius: var(--asw-r2);
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
}

/* Grid */
body .asw-ar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

@media (max-width: 500px) {
  body .asw-ar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 360px) {
  body .asw-ar-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
body .asw-ar-card {
  background: var(--asw-bg);
  border-radius: var(--asw-r3);
  border: 1.5px solid var(--asw-border);
  overflow: hidden;
  box-shadow: var(--asw-sh-xs);
  transition:
    box-shadow 0.18s,
    transform 0.18s;
  display: flex;
  flex-direction: column;
}

body .asw-ar-card:hover {
  box-shadow: var(--asw-sh-sm);
  transform: translateY(-2px);
}

body .asw-ar-card-joined {
  border-color: rgba(39, 174, 96, 0.4);
}

body .asw-ar-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--asw-bg-2);
}

body .asw-ar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

body .asw-ar-card:hover .asw-ar-card-img {
  transform: scale(1.04);
}

body .asw-ar-card-badges {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
}

body .asw-ar-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--asw-r-full);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

body .asw-ar-badge-open {
  background: rgba(39, 174, 96, 0.9);
  color: #fff;
}

body .asw-ar-badge-locked {
  background: rgba(37, 99, 235, 0.9);
  color: #fff;
}

body .asw-ar-badge-done {
  background: rgba(39, 174, 96, 0.9);
  color: #fff;
}

body .asw-ar-badge-expired {
  background: rgba(100, 100, 100, 0.8);
  color: #fff;
}

body .asw-ar-badge-scheduled {
  background: rgba(200, 168, 74, 0.9);
  color: #fff;
}

body .asw-ar-badge-disc {
  background: rgba(192, 57, 43, 0.9);
  color: #fff;
}

body .asw-ar-badge-urgent {
  background: rgba(192, 57, 43, 0.85);
  color: #fff;
  animation: aswPulse 1.5s infinite;
}

body .asw-ar-badge-joined {
  background: rgba(39, 174, 96, 0.9);
  color: #fff;
}

@keyframes aswPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(192, 57, 43, 0);
  }
}

/* Card body */
body .asw-ar-card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

body .asw-ar-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

body .asw-ar-card-title a {
  color: var(--asw-text);
  text-decoration: none;
}

body .asw-ar-card-title a:hover {
  color: var(--asw-primary);
}

body .asw-ar-card-product {
  font-size: 0.72rem;
  color: var(--asw-text-3);
  margin: 0;
}

body .asw-ar-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

body .asw-ar-price-market {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--asw-text-3);
}

body .asw-ar-price-current {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--asw-primary);
}

body .asw-ar-disc-pill {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--asw-red-lt);
  color: var(--asw-red);
  padding: 0.1rem 0.35rem;
  border-radius: var(--asw-r-full);
}

body .asw-ar-deposit-hint {
  font-size: 0.74rem;
  color: var(--asw-text-2);
  background: var(--asw-gold-lt);
  padding: 0.3rem 0.55rem;
  border-radius: var(--asw-r2);
}

body .asw-ar-dep-pct {
  color: var(--asw-text-3);
  font-size: 0.68rem;
}

body .asw-ar-progress {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body .asw-ar-progress-bar {
  height: 6px;
  background: var(--asw-bg-3);
  border-radius: 999px;
  overflow: hidden;
}

body .asw-ar-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--asw-gold), var(--asw-primary));
  border-radius: 999px;
  transition: width 0.6s;
}

body .asw-ar-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.67rem;
  color: var(--asw-text-3);
}

body .asw-ar-min-needed {
  font-size: 0.67rem;
  color: var(--asw-red);
  font-weight: 700;
}

body .asw-ar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--asw-text-3);
  align-items: center;
}

body .asw-ar-countdown {
  color: var(--asw-red);
  font-weight: 700;
}

body .asw-ar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  border-radius: var(--asw-r2);
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.15s;
  margin-top: auto;
}

body .asw-ar-cta:hover {
  opacity: 0.88;
  color: var(--asw-text-inv);
}

body .asw-ar-cta-joined {
  background: var(--asw-green-lt);
  color: var(--asw-green);
  border: 1.5px solid rgba(39, 174, 96, 0.3);
}

body .asw-ar-cta-joined:hover {
  background: var(--asw-green);
  color: #fff;
}

/* Empty state */
body .asw-ar-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--asw-text-2);
}

body .asw-ar-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

body .asw-ar-empty h3 {
  font-size: 1rem;
  color: var(--asw-text);
  margin-bottom: 0.35rem;
}

/* ════ PRICE CHART CARD ════ */
body .asw-chart-card {
  overflow: visible;
}

body .asw-price-drop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.07) 0%,
    rgba(39, 174, 96, 0.03) 100%
  );
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: var(--asw-r2);
}

body .asw-pdb-from,
body .asw-pdb-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
}

body .asw-pdb-label {
  font-size: 0.68rem;
  color: var(--asw-text-3);
  font-weight: 600;
}

body .asw-pdb-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--asw-text);
}

body .asw-striked {
  text-decoration: line-through;
  color: var(--asw-text-3) !important;
  font-size: 0.88rem !important;
}

body .asw-green-bold {
  color: var(--asw-green) !important;
}

body .asw-pdb-arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

body .asw-pdb-disc-pill {
  background: var(--asw-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: var(--asw-r-full);
  letter-spacing: 0.04em;
}

/* Chart canvas */
body .asw-price-chart-wrap {
  position: relative;
  margin: 0 -0.1rem 0.75rem;
  min-height: 160px;
  background: linear-gradient(
    180deg,
    rgba(39, 174, 96, 0.03) 0%,
    transparent 100%
  );
  border-radius: var(--asw-r2);
  overflow: hidden;
}

body .asw-price-chart {
  display: block;
  width: 100%;
  cursor: crosshair;
}

/* Saving callout strip */
body .asw-saving-callout {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--asw-bg-2);
  border: 1px solid var(--asw-border);
  border-radius: var(--asw-r2);
  overflow: hidden;
  margin-bottom: 0.85rem;
  margin-top: 10px;
}

body .asw-sc-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
}

body .asw-sc-now {
  background: rgba(200, 168, 74, 0.06);
}

body .asw-sc-max {
  background: rgba(39, 174, 96, 0.07);
}

body .asw-sc-divider {
  width: 1px;
  background: var(--asw-border);
}

body .asw-sc-ico {
  font-size: 1.2rem;
  flex-shrink: 0;
}

body .asw-sc-lbl {
  font-size: 0.68rem;
  color: var(--asw-text-2);
  margin-bottom: 0.08rem;
}

body .asw-sc-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--asw-text);
}

body .asw-sc-max .asw-sc-val {
  color: var(--asw-green);
}

/* Enhanced tier rows with prices */
body .asw-tier-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--asw-r2);
  margin-bottom: 0.3rem;
  transition: 0.15s;
}

body .asw-tier-row:hover {
  background: var(--asw-bg-2);
}

body .asw-tier-row.active {
  background: var(--asw-gold-lt);
  border: 1.5px solid rgba(200, 168, 74, 0.3);
}

body .asw-tier-row.done {
  opacity: 0.65;
}

body .asw-tier-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

body .asw-tier-ico {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

body .asw-tier-range-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--asw-text);
}

body .asw-tier-state-text {
  font-size: 0.65rem;
  color: var(--asw-text-2);
  margin-top: 0.05rem;
}

body .asw-tier-mid {
  flex-shrink: 0;
}

body .asw-tier-disc-badge {
  background: var(--asw-red-lt);
  color: var(--asw-red);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: var(--asw-r-full);
}

body .asw-tier-right {
  text-align: left;
  flex-shrink: 0;
}

body .asw-tier-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--asw-text);
}

body .asw-tier-saving {
  font-size: 0.65rem;
  color: var(--asw-green);
  font-weight: 600;
}

/* Gold text helper */
body .asw-gold-txt {
  color: var(--asw-gold-dk) !important;
}

/* ════════════════════════════════════════════
   ACCORDION — Price Chart Toggle
════════════════════════════════════════════ */
.asw-accordion-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--asw-bg-2);
  border: 1px solid var(--asw-border);
  border-radius: var(--asw-r2);
  padding: 0.65rem 1rem;
  margin-top: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--asw-text-2);
  text-align: right;
  transition:
    background var(--asw-tr),
    border-color var(--asw-tr),
    color var(--asw-tr);
  outline: none;
}

.asw-accordion-toggle:hover {
  background: var(--asw-primary-lt);
  border-color: rgba(200, 168, 74, 0.35);
  color: var(--asw-gold-dk);
}

.asw-accordion-toggle:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--asw-primary) 25%, transparent);
}

.asw-accordion-toggle[aria-expanded="true"] {
  background: var(--asw-primary-lt);
  border-color: rgba(200, 168, 74, 0.4);
  color: var(--asw-gold-dk);
}

.asw-acc-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.asw-acc-label {
  flex: 1;
}

.asw-acc-chevron {
  flex-shrink: 0;
  color: var(--asw-text-3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.asw-accordion-toggle[aria-expanded="true"] .asw-acc-chevron {
  transform: rotate(180deg);
  color: var(--asw-gold-dk);
}

/* Accordion body — height animation */
.asw-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.asw-accordion-body[aria-hidden="false"] {
  /* max-height set dynamically via JS */
}

/* Inner padding slides in with the content */
.asw-accordion-inner {
  padding-top: 0.9rem;
  animation: aswAccFadeIn 0.35s ease;
}

@keyframes aswAccFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════════════════
   PRODUCT GALLERY — Hero + Floating
════════════════════════════════════════════════════ */
body .asw-gallery-wrap {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body .asw-gal-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--asw-r3);
  background: var(--asw-bg-2);
  aspect-ratio: 1 / 1;
  cursor: grab;
}

body .asw-gal-main:active {
  cursor: grabbing;
}

/* Slides */
body .asw-gal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background-color: #fff;
}

body .asw-gal-slide.active {
  opacity: 1;
  z-index: 1;
}

body .asw-gal-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--asw-r3);
}

body .asw-gal-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--asw-r3);
  display: block;
}

body .asw-gal-play-ico {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--asw-r3);
  pointer-events: none;
}

body .asw-gal-slide.asw-gal-video.active .asw-gal-play-ico {
  display: none;
}

/* Arrows */
body .asw-gal-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--asw-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: 0.15s;
  padding: 0;
}

body .asw-gal-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

body .asw-gal-prev {
  left: 8px;
}

body .asw-gal-next {
  left: 8px;
}

/* Dots */
body .asw-gal-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

body .asw-gal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
}

body .asw-gal-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

/* Count badge */
body .asw-gal-count {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--asw-r-full);
  backdrop-filter: blur(4px);
  z-index: 2;
  width: fit-content;
}

/* Thumbnails strip */
body .asw-gal-thumbs {
  display: flex;
  gap: 0.4rem;
}

body .asw-gal-thumbs::-webkit-scrollbar {
  display: none;
}

body .asw-gal-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: var(--asw-r2);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--asw-bg-2);
  position: relative;
  transition: 0.15s;
}

body .asw-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body .asw-gal-thumb.active {
  border-color: var(--asw-primary);
}

body .asw-gal-thumb:hover {
  border-color: var(--asw-border-dk);
  transform: scale(1.05);
}

body .asw-gal-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

/* ── Floating Gallery ── */
body .asw-gal-float {
  position: fixed;
  top: 6rem;
  right: 1rem;
  width: 70px;
  height: 70px;
  border-radius: var(--asw-r3);
  overflow: hidden;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity 0.25s,
    transform 0.25s;
  pointer-events: none;
  backdrop-filter: blur(1px);
  background-color: #ffffff42;
}

body .asw-gal-float.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body .asw-gal-float-inner {
  width: 100%;
  height: 100%;
}

body .asw-gal-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  body .asw-gal-float {
    width: 58px;
    height: 58px;
    top: 7rem;
    right: 0.75rem;
  }
}

/* ════════════════════════════════════════════════════
   PRICE CHART CARD (enhanced)
════════════════════════════════════════════════════ */
body .asw-chart-card {
  overflow: visible;
}

body .asw-price-drop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.07) 0%,
    rgba(39, 174, 96, 0.03) 100%
  );
  border: 1px solid rgba(39, 174, 96, 0.22);
  border-radius: var(--asw-r2);
}

body .asw-pdb-from,
body .asw-pdb-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
}

body .asw-pdb-label {
  font-size: 0.68rem;
  color: var(--asw-text-3);
  font-weight: 600;
}

body .asw-pdb-price {
  font-size: 1rem;
  font-weight: 900;
}

body .asw-striked {
  text-decoration: line-through;
  color: var(--asw-text-3) !important;
  font-size: 0.85rem !important;
}

body .asw-green-bold {
  color: var(--asw-green) !important;
}

body .asw-gold-txt {
  color: var(--asw-gold-dk) !important;
}

body .asw-pdb-arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

body .asw-pdb-disc-pill {
  background: var(--asw-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: var(--asw-r-full);
  letter-spacing: 0.04em;
}

body .asw-price-chart-wrap {
  position: relative;
  margin: 0 0 0.75rem;
  min-height: 160px;
  background: rgba(39, 174, 96, 0.02);
  border-radius: var(--asw-r2);
  overflow: hidden;
}

body .asw-price-chart {
  display: block;
  width: 100%;
  cursor: crosshair;
}

body .asw-saving-callout {
  display: flex;
  align-items: stretch;
  background: var(--asw-bg-2);
  border: 1px solid var(--asw-border);
  border-radius: var(--asw-r2);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

body .asw-sc-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
}

body .asw-sc-now {
  background: rgba(200, 168, 74, 0.06);
}

body .asw-sc-max {
  background: rgba(39, 174, 96, 0.07);
}

body .asw-sc-divider {
  width: 1px;
  background: var(--asw-border);
}

body .asw-sc-ico {
  font-size: 1.2rem;
  flex-shrink: 0;
}

body .asw-sc-lbl {
  font-size: 0.68rem;
  color: var(--asw-text-2);
  margin-bottom: 0.08rem;
}

body .asw-sc-val {
  font-size: 0.92rem;
  font-weight: 800;
}

body .asw-sc-max .asw-sc-val {
  color: var(--asw-green);
}

/* Tier rows */
body .asw-tier-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--asw-r2);
  margin-bottom: 0.3rem;
  transition: 0.15s;
}

body .asw-tier-row:hover {
  background: var(--asw-bg-2);
}

body .asw-tier-row.active {
  background: var(--asw-gold-lt);
  border: 1.5px solid rgba(200, 168, 74, 0.3);
}

body .asw-tier-row.done {
  opacity: 0.65;
}

body .asw-tier-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

body .asw-tier-ico {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

body .asw-tier-range-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--asw-text);
}

body .asw-tier-state-text {
  font-size: 0.65rem;
  color: var(--asw-text-2);
  margin-top: 0.05rem;
}

body .asw-tier-disc-badge {
  background: var(--asw-red-lt);
  color: var(--asw-red);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: var(--asw-r-full);
}

body .asw-tier-right {
  text-align: left;
  flex-shrink: 0;
}

body .asw-tier-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--asw-text);
}

body .asw-tier-saving {
  font-size: 0.65rem;
  color: var(--asw-green);
  font-weight: 600;
}

/* ════ GALLERY FIXES ════ */
body .asw-gal-hero {
  width: 100%;
  overflow: visible !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}

body .asw-gal-hero .asw-gal-main {
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* ════ CUSTOM WC CART ════ */
body .asw-custom-cart {
  direction: rtl;
  margin-bottom: 1.5rem;
}

body .asw-custom-cart-inner {
  background: var(--asw-bg);
  border: 1.5px solid var(--asw-border);
  border-radius: var(--asw-r3);
  overflow: hidden;
  box-shadow: var(--asw-sh-xs);
}

body .asw-cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: var(--asw-bg-2);
  border-bottom: 1px solid var(--asw-border);
}

body .asw-cc-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--asw-text);
}

body .asw-cc-count {
  font-size: 0.72rem;
  color: var(--asw-text-3);
  background: var(--asw-bg-3);
  padding: 0.15rem 0.55rem;
  border-radius: var(--asw-r-full);
}

body .asw-cc-items {
  display: flex;
  flex-direction: column;
}

body .asw-cc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--asw-border);
  transition: background 0.15s;
}

body .asw-cc-item:last-child {
  border-bottom: none;
}

body .asw-cc-item:hover {
  background: var(--asw-bg-2);
}

body .asw-cc-item-group {
  background: rgba(200, 168, 74, 0.03);
}

body .asw-cc-item-group:hover {
  background: rgba(200, 168, 74, 0.07);
}

body .asw-cc-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--asw-r2);
  overflow: hidden;
  background: var(--asw-bg-2);
  border: 1px solid var(--asw-border);
  display: block;
}

body .asw-cc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .asw-cc-group-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  font-size: 0.55rem;
  font-weight: 800;
  text-align: center;
  padding: 1px;
}

body .asw-cc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

body .asw-cc-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--asw-text);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .asw-cc-name:hover {
  color: var(--asw-primary);
}

body .asw-cc-group-title {
  font-size: 0.72rem;
  color: var(--asw-text-2);
}

body .asw-cc-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

body .asw-cc-qty-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--asw-bg-3);
  color: var(--asw-text-2);
  padding: 0.1rem 0.35rem;
  border-radius: var(--asw-r-full);
}

body .asw-cc-unit-price {
  font-size: 0.7rem;
  color: var(--asw-text-3);
}

body .asw-cc-price-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  min-width: 80px;
}

body .asw-cc-price-dep,
body .asw-cc-price-later {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

body .asw-cc-price-lbl {
  font-size: 0.62rem;
  color: var(--asw-text-3);
}

body .asw-cc-price-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--asw-text);
}

body .asw-cc-gold {
  color: var(--asw-gold-dk) !important;
}

body .asw-cc-price-later .asw-cc-price-val {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--asw-text-2);
}

body .asw-cc-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--asw-border);
  background: var(--asw-bg);
  color: var(--asw-text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.15s;
  margin-top: 0.2rem;
}

body .asw-cc-remove:hover {
  background: var(--asw-red-lt);
  color: var(--asw-red);
  border-color: var(--asw-red);
}

body .asw-cc-totals {
  background: var(--asw-bg-2);
  border-top: 1px solid var(--asw-border);
  padding: 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body .asw-cc-tot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--asw-text-2);
}

body .asw-cc-tot-main {
  font-size: 0.95rem;
  color: var(--asw-text);
  font-weight: 800;
}

body .asw-cc-tot-main strong {
  color: var(--asw-primary);
  font-size: 1.05rem;
}

body .asw-cc-empty {
  text-align: center;
  padding: 3rem 1rem;
  direction: rtl;
}

body .asw-cc-empty-ico {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

body .asw-cc-empty h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

body .asw-cart-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.95fr);
  gap: 1rem;
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(200, 168, 74, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at top right,
      rgba(200, 168, 74, 0.18),
      transparent 15rem
    ),
    linear-gradient(135deg, #fff 0%, #fffdf8 58%, #f6efde 100%);
  box-shadow: 0 22px 54px rgba(36, 28, 11, 0.08);
}

body .asw-cart-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body .asw-cart-hero-kicker,
body .asw-cart-summary-kicker,
body .asw-cc-section-kicker,
body .asw-cc-empty-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.14);
  color: var(--asw-primary-dk);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body .asw-cart-hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
  color: var(--asw-text);
}

body .asw-cart-hero-sub,
body .asw-cart-summary-top p,
body .asw-cc-group-copy,
body .asw-cc-group-note,
body .asw-cc-empty p {
  margin: 0;
  color: var(--asw-text-2);
  line-height: 1.75;
  font-size: 0.94rem;
}

body .asw-cart-hero-stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body .asw-cart-layer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

body .asw-cart-layer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.14);
  color: #8b6e21;
  font-size: 0.74rem;
  font-weight: 800;
}

body .asw-cart-layer-pill.is-store {
  background: rgba(24, 120, 86, 0.12);
  color: #1d7f5a;
}

body .asw-cart-layer-pill.is-group {
  background: rgba(200, 168, 74, 0.16);
  color: #8b6e21;
}

body .asw-cart-layer-pill.is-neighbor {
  background: rgba(70, 119, 210, 0.12);
  color: #2e5dac;
}

body .asw-cart-layer-pill.is-bundle {
  background: rgba(176, 103, 58, 0.12);
  color: #9a5525;
}

body .asw-cart-hero-stat,
body .asw-cc-side-stat,
body .asw-cart-summary-card,
body .asw-cc-group-card,
body .asw-cc-normal-card,
body .asw-cc-empty-shell {
  border: 1px solid rgba(200, 168, 74, 0.12);
  box-shadow: 0 18px 40px rgba(36, 28, 11, 0.06);
}

body .asw-cart-hero-stat {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

body .asw-cart-hero-stat span,
body .asw-cc-price-label,
body .asw-cart-summary-row span,
body .asw-cc-group-stats,
body .asw-cc-side-stat span {
  color: var(--asw-text-3);
  font-size: 0.76rem;
}

body .asw-cart-hero-stat strong {
  color: var(--asw-text);
  font-size: 1.1rem;
  line-height: 1.2;
}

body .asw-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.78fr);
  gap: 1rem;
  align-items: start;
}

body .asw-cart-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1rem;
}

body .asw-cart-guide-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(200, 168, 74, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    #fffaf1 100%
  );
  box-shadow: 0 14px 30px rgba(36, 28, 11, 0.04);
}

body .asw-cart-guide-step {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6e9c3 0%, #e6c977 100%);
  color: #6f5316;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(185, 138, 39, 0.16);
}

body .asw-cart-guide-item strong {
  display: block;
  margin: 0 0 0.2rem;
  color: var(--asw-text);
  font-size: 0.92rem;
}

body .asw-cart-guide-item p {
  margin: 0;
  color: var(--asw-text-2);
  font-size: 0.8rem;
  line-height: 1.75;
}

body .asw-cart-coupon-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(200, 168, 74, 0.16);
  background:
    radial-gradient(
      circle at top left,
      rgba(200, 168, 74, 0.14),
      transparent 14rem
    ),
    linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, #fff 100%);
  box-shadow: 0 18px 36px rgba(36, 28, 11, 0.05);
}

body .asw-cart-coupon-card.has-active {
  border-color: rgba(24, 120, 86, 0.16);
}

body .asw-cart-coupon-head,
body .asw-cart-coupon-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

body .asw-cart-coupon-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  background: rgba(24, 120, 86, 0.1);
  color: #1d7f5a;
  font-size: 0.72rem;
  font-weight: 900;
}

body .asw-cart-coupon-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

body .asw-cart-coupon-copy h2 {
  margin: 0;
  color: var(--asw-text);
  font-size: 1.08rem;
}

body .asw-cart-coupon-copy p {
  margin: 0;
  color: var(--asw-text-2);
  font-size: 0.82rem;
  line-height: 1.8;
}

body .asw-cart-coupon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body .asw-cart-coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: rgba(24, 120, 86, 0.09);
  border: 1px solid rgba(24, 120, 86, 0.14);
  color: #1c6d50;
  font-size: 0.78rem;
  font-weight: 700;
}

body .asw-cart-coupon-chip strong {
  color: #14543d;
}

body .asw-cart-coupon-remove {
  color: #9f3a2d;
  text-decoration: none;
}

body .asw-cart-coupon-remove:hover {
  text-decoration: underline;
}

body .asw-cart-coupon-input {
  flex: 1 1 16rem;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 168, 74, 0.18);
  background: #fff;
  color: var(--asw-text);
  font-size: 0.95rem;
}

body .asw-cart-coupon-input:focus {
  outline: none;
  border-color: rgba(200, 168, 74, 0.5);
  box-shadow: 0 0 0 3px rgba(200, 168, 74, 0.12);
}

body .asw-cart-coupon-status {
  color: #1d7f5a;
  font-size: 0.78rem;
  font-weight: 700;
}

body .asw-cart-main,
body .asw-cc-group-list,
body .asw-cc-normal-list,
body .asw-cart-summary-actions,
body .asw-cc-group-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body .asw-cc-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: #5e17eb0f;
  padding: 6px;
  border-radius: 10px;
}

body .asw-cc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

body .asw-cc-section-title {
  margin: 0.3rem 0 0;
  color: var(--asw-text);
  font-size: 1.05rem;
  font-weight: 800;
}

body .asw-cc-section-summary {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--asw-bg-2);
  border: 1px solid rgba(200, 168, 74, 0.14);
  color: var(--asw-text-2);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

body .asw-cc-group-card,
body .asw-cc-normal-card,
body .asw-cart-summary-card,
body .asw-cc-empty-shell {
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fffdfa 100%);
}

body .asw-cc-group-card {
  overflow: hidden;
}

body .asw-cc-group-card.is-store {
  background:
    linear-gradient(180deg, rgba(34, 139, 100, 0.06) 0%, transparent 22%),
    linear-gradient(180deg, #fff 0%, #fffdfa 100%);
}

body .asw-cc-neighbor-card {
  background:
    linear-gradient(180deg, rgba(70, 119, 210, 0.06) 0%, transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

body .asw-cc-bundle-card {
  background:
    linear-gradient(180deg, rgba(176, 103, 58, 0.05) 0%, transparent 24%),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

body .asw-cc-group-hero {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr) minmax(15rem, 0.86fr);
  gap: 1rem;
  padding: 1.2rem;
  border-bottom: 1px solid rgba(200, 168, 74, 0.12);
}

body .asw-cc-group-media,
body .asw-cc-line-media,
body .asw-cc-normal-media {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: var(--asw-bg-2);
  border: 1px solid rgba(200, 168, 74, 0.14);
}

body .asw-cc-group-media {
  height: 7.25rem;
}

body .asw-cc-line-media,
body .asw-cc-normal-media {
  width: 5.6rem;
  height: 5.6rem;
  flex-shrink: 0;
}

body .asw-cc-group-media img,
body .asw-cc-line-media img,
body .asw-cc-normal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body .asw-cc-group-main {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

body .asw-cc-group-badges,
body .asw-cc-line-chips,
body .asw-cc-empty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body .asw-cc-type-pill,
body .asw-cc-status-pill,
body .asw-cc-chip,
body .asw-cc-inline-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

body .asw-cc-type-pill,
body .asw-cc-chip {
  background: #f7f1e3;
  color: #8b6e21;
}

body .asw-cc-type-pill.is-store {
  background: rgba(24, 120, 86, 0.12);
  color: #1d7f5a;
}

body .asw-cc-type-pill.is-neighbor {
  background: rgba(70, 119, 210, 0.12);
  color: #2e5dac;
}

body .asw-cc-type-pill.is-bundle {
  background: rgba(176, 103, 58, 0.12);
  color: #9a5525;
}

body .asw-cc-type-pill.is-muted,
body .asw-cc-inline-state {
  background: var(--asw-bg-2);
  color: var(--asw-text-2);
}

body .asw-cc-status-pill.is-open {
  background: rgba(34, 139, 100, 0.14);
  color: #1a7d58;
}

body .asw-cc-status-pill.is-scheduled {
  background: rgba(70, 119, 210, 0.12);
  color: #2e5dac;
}

body .asw-cc-status-pill.is-locked,
body .asw-cc-status-pill.is-expired {
  background: rgba(160, 117, 30, 0.12);
  color: #8c6119;
}

body .asw-cc-status-pill.is-completed {
  background: rgba(17, 103, 73, 0.16);
  color: #0f6748;
}

body .asw-cc-status-pill.is-cancelled {
  background: rgba(208, 74, 56, 0.1);
  color: #c0392b;
}

body .asw-cc-chip.is-success {
  background: rgba(34, 139, 100, 0.12);
  color: #1a7d58;
}

body .asw-cc-chip.is-info {
  background: rgba(70, 119, 210, 0.12);
  color: #2e5dac;
}

body .asw-cc-group-title,
body .asw-cc-group-title a {
  margin: 0;
  color: var(--asw-text);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

body .asw-cc-group-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

body .asw-cc-group-stats strong {
  color: var(--asw-text);
}

body .asw-cc-progress {
  height: 0.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: #efe6d2;
}

body .asw-cc-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d8b964 0%, #b98a27 100%);
}

body .asw-cc-group-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

body .asw-cc-side-stat {
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: #fffdfa;
}

body .asw-cc-side-stat strong,
body .asw-cart-summary-row strong,
body .asw-cart-summary-total strong,
body .asw-cc-price-stack strong {
  color: var(--asw-text);
  font-size: 1rem;
}

body .asw-cc-side-stat.is-soft {
  background: #fbf7ee;
}

body .asw-cc-side-stat.is-success {
  background: rgba(34, 139, 100, 0.08);
}

body .asw-cc-lines {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.2rem 1.2rem;
}

body .asw-cc-bundle-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid rgba(200, 168, 74, 0.12);
}

body .asw-cc-bundle-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid rgba(200, 168, 74, 0.12);
}

body .asw-cc-bundle-child-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body .asw-cc-bundle-child-main strong {
  color: var(--asw-text);
  font-size: 0.9rem;
}

body .asw-cc-bundle-child-main span,
body .asw-cc-bundle-child-price {
  color: var(--asw-text-3);
  font-size: 0.78rem;
  font-weight: 700;
}

body .asw-cc-line,
body .asw-cc-normal-card {
  display: flex;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fffcf6 100%);
}

body .asw-cc-normal-card {
  border: 1px solid rgba(200, 168, 74, 0.12);
}

body .asw-cc-line-body,
body .asw-cc-normal-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body .asw-cc-line-top,
body .asw-cc-line-bottom,
body .asw-cart-summary-row,
body .asw-cart-summary-total,
body .asw-cc-empty-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body .asw-cc-line-name {
  color: var(--asw-text);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.45;
}

body .asw-cc-line-meta,
body .asw-cc-line-meta *,
body .asw-cc-qty-note span,
body .asw-cart-summary-note span {
  color: var(--asw-text-3);
  font-size: 0.78rem;
  line-height: 1.7;
}

body .asw-cc-line-meta p,
body .asw-cc-line-meta dl {
  margin: 0;
}

body .asw-cc-line-remove {
  color: #c0392b;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

body .asw-cc-line-remove:hover {
  color: #922b21;
}

body .asw-cc-line-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

body .asw-cc-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

body .asw-cc-price-stack.is-muted strong,
body .asw-cart-summary-row.is-muted strong,
body .asw-cart-summary-row.is-muted span {
  color: var(--asw-text-2);
}

body .asw-cc-qty-box {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #f8f3e7;
  border: 1px solid rgba(200, 168, 74, 0.18);
}

body .asw-cc-qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--asw-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(36, 28, 11, 0.08);
}

body .asw-cc-qty-btn.is-soft {
  background: #fff7ef;
}

body .asw-cc-qty-btn.is-disabled {
  pointer-events: none;
  opacity: 0.35;
}

body .asw-cc-qty-val,
body .asw-cc-qty-note strong {
  min-width: 1.75rem;
  text-align: center;
  color: var(--asw-text);
  font-size: 0.95rem;
  font-weight: 800;
}

body .asw-cc-qty-note {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.2rem;
}

body .asw-cart-summary-card {
  position: sticky;
  top: 1.4rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body .asw-cart-summary-top {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body .asw-cart-summary-top h2 {
  margin: 0;
  color: var(--asw-text);
  font-size: 1.15rem;
}

body .asw-cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 24px;
  background: #fcfaf4;
  border: 1px solid rgba(200, 168, 74, 0.12);
}

body .asw-cart-summary-row.is-success strong,
body .asw-cart-summary-row.is-success span {
  color: #1a7d58;
}

body .asw-cart-summary-total {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9f1de 0%, #f4e5bb 100%);
  border: 1px solid rgba(200, 168, 74, 0.2);
}

body .asw-cart-summary-total span {
  color: var(--asw-text-2);
  font-size: 0.82rem;
  font-weight: 700;
}

body .asw-cart-summary-total strong {
  font-size: 1.2rem;
}

body .asw-cart-summary-note {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(70, 119, 210, 0.06);
  border: 1px solid rgba(70, 119, 210, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body .asw-cart-summary-note strong {
  color: #2e5dac;
  font-size: 0.82rem;
}

body .asw-cart-summary-points {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

body .asw-cart-summary-points span {
  position: relative;
  padding-inline-start: 1rem;
}

body .asw-cart-summary-points span::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.58rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(70, 119, 210, 0.7);
}

body .asw-cc-empty {
  padding: 1rem 0 0;
}

body .asw-cc-empty-shell {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.3rem;
  text-align: center;
}

body .asw-cc-empty-ico {
  margin: 0 auto 0.9rem;
}

body .asw-cc-empty-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  body .asw-cart-hero,
  body .asw-cart-layout,
  body .asw-cc-group-hero,
  body .asw-cart-guide {
    grid-template-columns: 1fr;
  }

  body .asw-cart-summary-card {
    position: static;
  }

  body .asw-cc-group-media {
    width: 100%;
    max-width: 8rem;
    height: 8rem;
  }

  body .asw-cc-group-side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body .asw-cc-side-stat {
    flex: 1 1 11rem;
  }

  body .asw-cart-layer-pills {
    margin-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  body .asw-cc-section-head,
  body .asw-cc-line-top,
  body .asw-cc-line-bottom,
  body .asw-cart-summary-row,
  body .asw-cart-summary-total,
  body .asw-cc-empty-actions,
  body .asw-cart-coupon-head,
  body .asw-cart-coupon-form,
  body .asw-cart-guide-item {
    align-items: stretch;
  }

  body .asw-cc-line,
  body .asw-cc-normal-card {
    flex-direction: column;
  }

  body .asw-cc-line-media,
  body .asw-cc-normal-media {
    width: 100%;
    height: 11rem;
  }

  body .asw-cc-qty-note {
    align-items: start;
  }

  body .asw-cc-section-summary {
    white-space: normal;
  }

  body .asw-cc-bundle-child {
    align-items: stretch;
    flex-direction: column;
  }

  body .asw-cart-coupon-input,
  body .asw-cart-coupon-form .asw-btn {
    width: 100%;
  }
}

/* ════ PROFESSIONAL SHARE BUTTONS (non-joined) ════ */
body .asw-share-card-pro {
  border: 1.5px solid rgba(200, 168, 74, 0.25) !important;
  background: linear-gradient(
    135deg,
    rgba(200, 168, 74, 0.04) 0%,
    var(--asw-bg) 100%
  ) !important;
}

body .asw-scp-header {
  margin-bottom: 0.6rem;
}

body .asw-scp-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--asw-text);
  margin-bottom: 0.15rem;
}

body .asw-scp-sub {
  font-size: 0.74rem;
  color: var(--asw-text-2);
}

body .asw-scp-hint {
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.65rem;
  background: var(--asw-green-lt);
  border-radius: var(--asw-r2);
  border: 1px solid rgba(39, 174, 96, 0.2);
  color: var(--asw-text-2);
}

body .asw-scp-link-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

body .asw-scp-inp {
  flex: 1;
  padding: 0.42rem 0.65rem;
  border: 1.5px solid var(--asw-border);
  border-radius: var(--asw-r2);
  font-size: 0.72rem;
  color: var(--asw-text-2);
  background: var(--asw-bg);
  font-family: monospace;
  min-width: 0;
  direction: ltr;
}

body .asw-scp-copy {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.42rem 0.85rem;
  border-radius: var(--asw-r2);
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  border: none;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}

body .asw-scp-copy:hover {
  opacity: 0.88;
}

body .asw-scp-channels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}

body .asw-scp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.4rem;
  border-radius: var(--asw-r2);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: 0.15s;
}

body .asw-scp-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #1a7a45;
}

body .asw-scp-wa:hover {
  background: #25d366;
  color: #fff;
}

body .asw-scp-fb {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

body .asw-scp-fb:hover {
  background: #1877f2;
  color: #fff;
}

body .asw-scp-more {
  background: var(--asw-bg-2);
  color: var(--asw-text);
  border: 1px solid var(--asw-border);
}

body .asw-scp-more:hover {
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  border-color: var(--asw-primary);
}

/* ════ LIGHTBOX ════ */
body .asw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

body .asw-lightbox.active {
  display: flex;
  animation: aswFadeSlide 0.2s ease;
}

body .asw-lb-main {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .asw-lb-main img,
body .asw-lb-main video {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--asw-r3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

body .asw-lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  z-index: 2;
}

body .asw-lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

body .asw-lb-prev,
body .asw-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  z-index: 2;
}

body .asw-lb-prev:hover,
body .asw-lb-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

body .asw-lb-prev {
  left: 1rem;
}

body .asw-lb-next {
  left: 1rem;
}

body .asw-lb-counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ════ PRODUCT DESCRIPTION ════ */
body .asw-prod-desc {
  font-size: 0.82rem;
  color: var(--asw-text-2);
  line-height: 1.65;
  margin: 0.5rem 0 0.65rem;
  padding: 0.65rem 0.75rem;
  background: var(--asw-bg-2);
  border-radius: var(--asw-r2);
  border-right: 3px solid var(--asw-border);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

body .asw-prod-desc * {
  max-width: 100% !important;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body .asw-prod-desc p {
  margin: 0;
}

body .asw-prod-desc img,
body .asw-prod-desc iframe,
body .asw-prod-desc video,
body .asw-prod-desc table {
  max-width: 100% !important;
  height: auto !important;
}

body .asw-prod-desc ul,
body .asw-prod-desc ol {
  padding-right: 1.2rem;
  margin: 0;
}

/* ════ GALLERY CURSOR FIX ════ */
body .asw-gal-hero {
  cursor: default !important;
}

body .asw-gal-main {
  cursor: zoom-in;
}

body .asw-gal-main:active {
  cursor: grabbing;
}

/* ════ GALLERY HERO OVERRIDE ════ */
body .asw-gal-hero {
  width: 280px !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: visible !important;
  padding: 0 !important;
  background: transparent !important;
}

body .asw-gal-hero .asw-gal-main {
  border-radius: var(--asw-r3);
}

body .asw-gal-hero .asw-gal-thumbs {
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  body .asw-gal-hero {
    width: 100% !important;
  }

  body .asw-hero {
    flex-direction: column;
  }
}

/* ════ WC ORDER EMAILS ════ */
/* Injected via PHP filter — these affect generated email HTML */

/* ════ WC NOTICES STYLING ════ */
body .woocommerce-message,
body .woocommerce-error,
body .woocommerce-info {
  border-top-color: var(--asw-primary) !important;
  border-radius: 0 0 var(--asw-r2) var(--asw-r2) !important;
  font-family: inherit !important;
  direction: rtl;
}

body .woocommerce-error {
  border-top-color: var(--asw-red) !important;
}

body .woocommerce-info {
  border-top-color: var(--asw-blue) !important;
}

/* ════ WC CHECKOUT IMPROVEMENTS ════ */
body .woocommerce-checkout #customer_details h3,
body .woocommerce-checkout #order_review_heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--asw-text-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--asw-border);
  padding-bottom: 0.5rem;
}

body .woocommerce input[type="text"],
body .woocommerce input[type="email"],
body .woocommerce input[type="tel"],
body .woocommerce input[type="password"],
body .woocommerce select,
body .woocommerce textarea {
  border-radius: var(--asw-r2) !important;
  border-color: var(--asw-border) !important;
  font-family: inherit !important;
  direction: rtl;
}

body .woocommerce input:focus,
body .woocommerce select:focus,
body .woocommerce textarea:focus {
  border-color: var(--asw-primary) !important;
  box-shadow: 0 0 0 3px rgba(200, 168, 74, 0.12) !important;
  outline: none !important;
}

body .woocommerce label {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--asw-text-2) !important;
  direction: rtl;
}

/* ════ SHARE BUTTON COPY FEEDBACK ════ */
body .asw-scp-copy.copied {
  background: var(--asw-green) !important;
}

/* ═══════════════════════════════════════════════════════════════
   GROUPS ARCHIVE v2 — Modern Professional Design
═══════════════════════════════════════════════════════════════ */

/* ── Root ── */
body .asw-arc {
  direction: rtl;
  --arc-r: 18px;
}

/* ── Hero Header ── */
body .asw-arc-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1208 50%, #0d0d0d 100%);
  border-radius: var(--arc-r);
  padding: 2.5rem 1.5rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

body .asw-arc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(200, 168, 74, 0.2) 0%,
    transparent 70%
  );
}

body .asw-arc-hero-inner {
  position: relative;
  z-index: 1;
}

body .asw-arc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(200, 168, 74, 0.15);
  border: 1px solid rgba(200, 168, 74, 0.3);
  color: #c8a84a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

body .asw-arc-hero-title {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

body .asw-arc-hero-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 0.9rem;
  max-width: 480px;
  line-height: 1.6;
}

body .asw-arc-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

body .asw-arc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

body .asw-arc-stat-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: #c8a84a;
}

body .asw-arc-stat-lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

body .asw-arc-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Toolbar ── */
body .asw-arc-toolbar {
  margin-bottom: 1.25rem;
}

body .asw-arc-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

body .asw-arc-form > .taps-wrapper {
  flex: 1 0 100%;
}

body .asw-arc-tabs {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  flex: 1;
}

body .asw-arc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--asw-bg-2);
  border: 1.5px solid var(--asw-border);
  color: var(--asw-text-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.15s;
  white-space: nowrap;
}

body .asw-arc-tab:hover {
  border-color: var(--asw-primary);
  color: var(--asw-primary);
}

body .asw-arc-tab.active {
  background: var(--asw-primary);
  border-color: var(--asw-primary);
  color: var(--asw-text-inv);
  box-shadow: 0 2px 8px rgba(200, 168, 74, 0.3);
}

body .asw-arc-tab-icon {
  font-size: 0.85rem;
}

body .asw-arc-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.05rem 0.35rem;
  min-width: 18px;
  text-align: center;
}

body .asw-arc-tab:not(.active) .asw-arc-tab-count {
  background: var(--asw-bg-3);
  color: var(--asw-text-3);
}

body .asw-arc-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

body .asw-arc-search-ico {
  position: absolute;
  right: 0.65rem;
  color: var(--asw-text-3);
  pointer-events: none;
}

body .asw-arc-search {
  padding: 0.42rem 2.1rem 0.42rem 0.9rem;
  border: 1.5px solid var(--asw-border);
  border-radius: var(--asw-r2);
  font-size: 0.8rem;
  font-family: inherit;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  background: var(--asw-bg);
  color: var(--asw-text);
  direction: rtl;
  transition: border-color 0.15s;
}

body .asw-arc-search:focus {
  outline: none;
  border-color: var(--asw-primary);
}

body .asw-arc-search-clear {
  position: absolute;
  left: 0.55rem;
  color: var(--asw-text-3);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1;
  transition: color 0.15s;
}

body .asw-arc-search-clear:hover {
  color: var(--asw-red);
}

body .asw-arc-sort-sel {
  padding: 0.42rem 0.75rem;
  border: 1.5px solid var(--asw-border);
  border-radius: var(--asw-r2);
  font-size: 0.78rem;
  font-family: inherit;
  flex: 0 0 auto;
  width: auto;
  background: var(--asw-bg);
  color: var(--asw-text);
  cursor: pointer;
}

/* ── Grid ── */
body .asw-arc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
}

@media (max-width: 560px) {
  body .asw-arc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 360px) {
  body .asw-arc-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card ── */
body .asw-arc-card {
  background: var(--asw-bg);
  border: 1.5px solid var(--asw-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  position: relative;
}

body .asw-arc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(200, 168, 74, 0.4);
}

body .asw-arc-card-joined {
  border-color: rgba(39, 174, 96, 0.35);
}

body .asw-arc-card-joined:hover {
  border-color: rgba(39, 174, 96, 0.6);
}

/* Card image */
body .asw-arc-card-img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff;
  border-radius: 10px;
  flex-shrink: 0;
  padding: 5px;
}

body .asw-arc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s;
  border-radius: 10px;
}

body .asw-arc-card:hover .asw-arc-card-img img {
  transform: scale(1.05);
}

/* Badges */
body .asw-arc-card-badges {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  align-items: flex-end;
}

body .asw-arc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0;
  backdrop-filter: blur(6px);
}

body .asw-arc-badge-open {
  background: rgba(39, 174, 96, 0.88);
  color: #fff;
}

body .asw-arc-badge-locked {
  background: rgba(37, 99, 235, 0.88);
  color: #fff;
}

body .asw-arc-badge-done {
  background: rgba(39, 174, 96, 0.88);
  color: #fff;
}

body .asw-arc-badge-expired {
  background: rgba(120, 120, 120, 0.8);
  color: #fff;
}

body .asw-arc-badge-scheduled {
  background: rgba(200, 168, 74, 0.88);
  color: #fff;
}

body .asw-arc-badge-fire {
  background: rgba(192, 57, 43, 0.88);
  color: #fff;
}

body .asw-live-dot-sm {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: aswPulse 1.4s infinite;
}

body .asw-arc-card-img-footer {
  position: absolute;
  bottom: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

body .asw-arc-joined-pill {
  background: rgba(39, 174, 96, 0.92);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

body .asw-arc-urgent-pill {
  background: rgba(192, 57, 43, 0.88);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  animation: aswPulse 1.5s infinite;
}

/* Saving ribbon */
body .asw-arc-saving-ribbon {
  position: absolute;
  top: 14px;
  left: -22px;
  background: linear-gradient(135deg, #c8a84a, #e8c867);
  color: #1a1a1a;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.22rem 2rem;
  transform: rotate(-45deg);
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  display: flex;
  gap: 0.2rem;
}

body .asw-arc-saving-ribbon span[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}

body .asw-arc-saving-price,
body .asw-arc-saving-price .woocommerce-Price-amount,
body .asw-arc-saving-price bdi,
body .asw-arc-price-row .woocommerce-Price-amount,
body .asw-arc-price-row bdi,
body .asw-arc-lowest-price .woocommerce-Price-amount,
body .asw-arc-lowest-price bdi {
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* Card body */
body .asw-arc-card-body {
  padding: 1rem 1rem 0.95rem;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem;
  flex: 1;
  min-height: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

body .asw-arc-card-titles {
  min-width: 0;
  flex-shrink: 0;
}

body .asw-arc-card-title {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.18rem !important;
  color: #1a1a1a !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.3em);
}

body .asw-arc-card-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

body .asw-arc-card-title a:hover {
  color: var(--asw-primary) !important;
}

body .asw-arc-card-product {
  font-size: 0.72rem !important;
  color: #999 !important;
  margin: 0 !important;
  display: block !important;
  visibility: visible !important;
  min-height: 1.2em;
  overflow: hidden;
}

body .asw-arc-card-product a {
  color: #999 !important;
  text-decoration: none !important;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .asw-arc-card-product a:hover {
  color: var(--asw-primary) !important;
}

/* Price row */
body .asw-arc-price-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  visibility: visible !important;
  direction: rtl;
}

body .asw-arc-price-market {
  font-size: 0.75rem !important;
  text-decoration: line-through !important;
  color: #999 !important;
}

body .asw-arc-price-sep {
  font-size: 0.7rem;
  color: #bbb;
}

body .asw-arc-price-current {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #c8a84a !important;
}

body .asw-arc-disc-tag {
  background: var(--asw-red-lt);
  color: var(--asw-red);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
}

body .asw-arc-next-hint {
  font-size: 0.68rem;
  color: var(--asw-green);
  font-weight: 700;
  background: var(--asw-green-lt);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .asw-arc-lowest-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--asw-green);
}

/* Deposit row */
body .asw-arc-deposit-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--asw-text-2);
  background: var(--asw-gold-lt);
  padding: 0.45rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(200, 168, 74, 0.18);
}

body .asw-arc-deposit-row strong {
  color: var(--asw-gold-dk);
  font-size: 0.85rem;
}

body .asw-arc-dep-pct {
  color: var(--asw-text-3);
  font-size: 0.7rem;
}

/* Progress */
body .asw-arc-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

body .asw-arc-progress-bar {
  height: 7px;
  background: var(--asw-bg-3);
  border-radius: 999px;
  overflow: visible;
  position: relative;
}

body .asw-arc-progress-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  background: linear-gradient(90deg, #c8a84a, #e8c867);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

body .asw-arc-progress-min {
  position: absolute;
  top: -3px;
  height: 13px;
  width: 2px;
  background: rgba(39, 174, 96, 0.7);
  transform: translateX(50%);
  border-radius: 1px;
}

body .asw-arc-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--asw-text-2);
}

body .asw-arc-prog-status {
  font-size: 0.68rem;
}

/* Meta row */
body .asw-arc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--asw-red);
  margin-bottom: 0.5rem;
}

body .asw-arc-countdown {
  font-weight: 700;
  color: var(--asw-red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body .asw-arc-countdown-urgent {
  color: var(--asw-red) !important;
}

/* Participants mini avatars */
body .asw-arc-parts-mini {
  display: flex;
  align-items: center;
}

body .asw-arc-part-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--asw-bg);
  background: color-mix(in srgb, var(--c, #c8a84a) 18%, white);
  color: var(--c, #c8a84a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  margin-left: -6px;
  flex-shrink: 0;
}

body .asw-arc-part-extra {
  background: var(--asw-bg-3);
  color: var(--asw-text-3);
}

/* CTA button */
body .asw-arc-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.15s;
  margin-top: auto;
}

body .asw-arc-cta-join {
  background: var(--asw-primary);
  color: var(--asw-text-inv);
}

body .asw-arc-cta-join:hover {
  opacity: 0.88;
  color: var(--asw-text-inv);
  transform: translateY(-1px);
}

body .asw-arc-cta-joined {
  background: var(--asw-green-lt);
  color: var(--asw-green);
  border: 1.5px solid rgba(39, 174, 96, 0.3);
}

body .asw-arc-cta-joined:hover {
  background: var(--asw-green);
  color: #fff;
}

body .asw-arc-cta-view {
  background: var(--asw-bg-2);
  color: var(--asw-text-2);
  border: 1.5px solid var(--asw-border);
}

body .asw-arc-cta-view:hover {
  border-color: var(--asw-border-dk);
  color: var(--asw-text);
}

/* ── Empty State ── */
body .asw-arc-empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 420px;
  margin: 0 auto;
}

body .asw-arc-empty-illustration {
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

body .asw-arc-empty-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}

body .asw-arc-empty-sub {
  font-size: 0.82rem;
  color: var(--asw-text-2);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

body .asw-arc-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--asw-r2);
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.15s;
}

body .asw-arc-empty-btn:hover {
  opacity: 0.88;
  color: var(--asw-text-inv);
}

body .asw-arc-empty-wa {
  background: #25d366;
}

body .asw-arc-empty-wa:hover {
  background: #1daa57;
}

/* ════ DASHBOARD IMPROVEMENTS ════ */
body .asw-db-stat-bordered {
  border-top: 3px solid var(--sc, var(--asw-primary));
  position: relative;
}

body .asw-db-stat-ico {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

body .asw-db-total-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--asw-gold-lt);
  border: 1px solid rgba(200, 168, 74, 0.25);
  border-radius: var(--asw-r2);
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  color: var(--asw-text-2);
  margin-bottom: 0.75rem;
}

body .asw-db-total-strip strong {
  color: var(--asw-gold-dk);
  font-size: 0.95rem;
}

body .asw-db-action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--asw-red-lt);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--asw-r2);
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--asw-red);
  margin-bottom: 0.85rem;
}

body .asw-db-action-btn {
  background: var(--asw-red);
  color: #fff;
  padding: 0.28rem 0.75rem;
  border-radius: var(--asw-r-full);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: 0.15s;
}

body .asw-db-action-btn:hover {
  opacity: 0.88;
  color: #fff;
}

/* ════ ARCHIVE: color-mix fallback for older browsers ════ */
/* Replace color-mix with explicit color for the part avatars */
body .asw-arc-part-av {
  background: rgba(200, 168, 74, 0.15) !important;
  color: var(--c, #c8a84a) !important;
}

/* ════ ARCHIVE: responsive improvements ════ */
@media (max-width: 480px) {
  body .asw-arc-hero {
    padding: 1.75rem 1rem 1.25rem;
  }

  body .asw-arc-hero-title {
    font-size: 1.15rem;
  }

  body .asw-arc-hero-stats {
    gap: 0.85rem;
  }

  body .asw-arc-stat-val {
    font-size: 1.1rem;
  }

  body .asw-arc-form {
    flex-direction: row;
    align-items: stretch;
  }

  body .asw-arc-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  body .asw-arc-tabs::-webkit-scrollbar {
    display: none;
  }

  body .asw-arc-search {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  /* body .asw-arc-saving-ribbon {
    display: none;
  } */

  body .asw-arc-card-body {
    padding: 0.65rem 0.7rem 0.6rem;
  }
}

/* Shortcode grids */
body .asw-shortcode-groups-grid {
  display: grid;
  grid-template-columns: repeat(var(--asw-shortcode-cols, 3), minmax(0, 1fr));
  gap: 1rem;
}

body .asw-shortcode-groups-grid-item,
body .asw-shortcode-groups-grid-item-wide {
  min-width: 0;
}

body .asw-shortcode-groups-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(100%, 380px);
}

body .asw-shortcode-groups-grid--single .asw-shortcode-groups-grid-item .asw-arc-card {
  height: auto;
  margin: 0;
}

body .asw-shortcode-groups-grid--mixed .asw-shortcode-groups-grid-item-wide {
  grid-column: span 2;
}

body .asw-shortcode-groups-grid--mixed .asw-shortcode-groups-grid-item .asw-arc-card,
body .asw-shortcode-groups-grid--mixed .asw-shortcode-groups-grid-item-wide .asw-arc-card {
  height: 100%;
  margin: 0;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-card-wide {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-card-wide .asw-arc-card-img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-scope-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border: 1px solid rgba(200, 168, 74, 0.22);
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.1);
  color: var(--asw-gold-dk);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-summary {
  display: grid;
  gap: 0.55rem;
  padding: 0.58rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.76);
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-summary p {
  margin: 0;
  color: var(--asw-text-2);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.55;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.32rem;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-facts span {
  display: grid;
  align-content: start;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.38rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #fff;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-facts small {
  color: var(--asw-text-2);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.25;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-facts strong {
  color: var(--asw-text);
  font-size: 0.82rem;
  line-height: 1.2;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-tiers {
  display: flex;
  gap: 0.32rem;
  flex-wrap: wrap;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-tiers span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 25px;
  padding: 0.2rem 0.44rem;
  border: 1px solid rgba(39, 174, 96, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--asw-text-2);
  font-size: 0.64rem;
  font-weight: 800;
}

body .asw-shortcode-groups-grid--mixed .asw-arc-wide-tiers strong {
  color: var(--asw-green);
}

body .asw-shortcode-groups-row-wrap {
  --asw-row-gap: 1rem;
  margin: 0;
  padding: 0;
  background: transparent;
}

body .asw-shortcode-groups-row-head {
  margin: 0 0 0.75rem;
  padding: 0;
}

body .asw-shortcode-groups-row-head h3 {
  margin: 0;
  color: var(--asw-text);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

body .asw-shortcode-groups-row {
  display: flex;
  align-items: stretch;
  gap: var(--asw-row-gap);
  margin: 0;
  padding: 0.15rem 0.05rem 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body .asw-shortcode-groups-row::-webkit-scrollbar {
  display: none;
}

body .asw-shortcode-groups-row-item {
  flex: 0 0 calc(100% / var(--asw-shortcode-cols, 5) - 0.85rem);
  min-width: 210px;
  scroll-snap-align: start;
}

body .asw-shortcode-groups-row-item-wide {
  flex-basis: calc(
    (100% / var(--asw-shortcode-cols, 5) - 0.85rem) +
      (100% / var(--asw-shortcode-cols, 5) - 0.85rem) + var(--asw-row-gap)
  );
  min-width: 430px;
}

body .asw-shortcode-groups-row-item .asw-arc-card {
  height: 100%;
  margin: 0;
}

body .asw-shortcode-groups-row .asw-arc-card-wide {
  display: flex;
  flex-direction: column;
}

body .asw-shortcode-groups-row .asw-arc-card-wide .asw-arc-card-img {
  aspect-ratio: 16 / 7.5;
}

body .asw-shortcode-groups-row .asw-arc-scope-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(200, 168, 74, 0.22);
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.1);
  color: var(--asw-gold-dk);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.35;
}

body .asw-shortcode-groups-row .asw-arc-wide-summary {
  display: grid;
  gap: 0.42rem;
  padding: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.7);
}

body .asw-shortcode-groups-row .asw-arc-wide-summary p {
  margin: 0;
  color: var(--asw-text-2);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.55;
}

body .asw-shortcode-groups-row .asw-arc-wide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.32rem;
}

body .asw-shortcode-groups-row .asw-arc-wide-facts span {
  display: grid;
  align-content: start;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.38rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #fff;
}

body .asw-shortcode-groups-row .asw-arc-wide-facts small {
  color: var(--asw-text-2);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.25;
}

body .asw-shortcode-groups-row .asw-arc-wide-facts strong {
  color: var(--asw-text);
  font-size: 0.82rem;
  line-height: 1.2;
}

body .asw-shortcode-groups-row .asw-arc-wide-tiers {
  display: flex;
  gap: 0.32rem;
  flex-wrap: wrap;
}

body .asw-shortcode-groups-row .asw-arc-wide-tiers span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 25px;
  padding: 0.2rem 0.44rem;
  border: 1px solid rgba(39, 174, 96, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--asw-text-2);
  font-size: 0.64rem;
  font-weight: 800;
}

body .asw-shortcode-groups-row .asw-arc-wide-tiers strong {
  color: var(--asw-green);
}

@media (max-width: 1024px) {
  body .asw-shortcode-groups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body .asw-shortcode-groups-row-item {
    flex-basis: 30vw;
  }

  body .asw-shortcode-groups-row-item-wide {
    flex-basis: calc(60vw + var(--asw-row-gap));
  }
}

@media (max-width: 640px) {
  body .asw-shortcode-groups-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem;
  }

  body .asw-shortcode-groups-grid--single {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100%;
  }

  body .asw-shortcode-groups-grid--mixed .asw-shortcode-groups-grid-item-wide {
    grid-column: 1 / -1;
  }

  body .asw-shortcode-groups-grid--mixed .asw-arc-card-wide {
    display: flex;
    flex-direction: column;
  }

  body .asw-shortcode-groups-grid--mixed .asw-arc-card-wide .asw-arc-card-img {
    aspect-ratio: 16 / 9;
  }

  body .asw-shortcode-groups-row-item {
    flex-basis: 76vw;
    min-width: 240px;
  }

  body .asw-shortcode-groups-row-item-wide {
    flex-basis: 86vw;
    min-width: 280px;
  }

  body .asw-shortcode-groups-row .asw-arc-card-wide .asw-arc-card-img {
    aspect-ratio: 16 / 11;
  }

  body .asw-arc-price-current {
    font-size: 0.85rem !important;
  }
  body .asw-arc-card {
    border-radius: 20px;
  }

  body .asw-arc-card-img {
    aspect-ratio: 16 / 11;
  }
}

/* Slider section */
body .asw-groups-slider {
  --asw-slider-gap: 1rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(200, 168, 74, 0.14),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(250, 247, 240, 0.96)
    );
  border: 1px solid rgba(200, 168, 74, 0.18);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  padding: 1.15rem;
  margin: 1.25rem 0;
  overflow: hidden;
}

body .asw-groups-slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

body .asw-groups-slider-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.12);
  color: var(--asw-gold-dk);
  border: 1px solid rgba(200, 168, 74, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

body .asw-groups-slider-title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.25;
  color: var(--asw-text);
}

body .asw-groups-slider-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

body .asw-groups-slider-nav {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(200, 168, 74, 0.22);
  border-radius: 50%;
  background: #fff;
  color: var(--asw-gold-dk);
  box-shadow: var(--asw-sh-xs);
  cursor: pointer;
  transition:
    transform var(--asw-tr),
    background var(--asw-tr),
    color var(--asw-tr),
    border-color var(--asw-tr);
}

body .asw-groups-slider-nav:hover {
  background: var(--asw-primary);
  color: #fff;
  border-color: var(--asw-primary);
  transform: translateY(-1px);
}

body .asw-groups-slider-track-wrap {
  overflow: hidden;
}

body .asw-groups-swiper {
  overflow: visible;
}

body .asw-groups-slider-track {
  display: flex;
  align-items: stretch;
  padding: 0.2rem 0.1rem 0.5rem;
}

body .asw-groups-slider-slide {
  min-width: 0;
  height: auto;
}

body .asw-groups-slider-slide .asw-arc-card {
  height: 100%;
  margin-bottom: 0;
}

body .asw-groups-slider--mixed {
  --asw-group-card-w: clamp(220px, calc((100% - 3rem) / 4), 290px);
  --asw-group-card-wide-w: min(
    calc(
      var(--asw-group-card-w) + var(--asw-group-card-w) + var(--asw-slider-gap)
    ),
    calc(100% - 0.2rem)
  );
}

body .asw-groups-slider--mixed .asw-groups-slider-track-wrap,
body .asw-groups-slider--mixed .asw-groups-swiper {
  overflow: visible;
}

body .asw-groups-slider--mixed .asw-groups-slider-track {
  gap: var(--asw-slider-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body .asw-groups-slider--mixed .asw-groups-slider-track::-webkit-scrollbar {
  display: none;
}

body .asw-groups-slider--mixed .asw-groups-slider-slide {
  flex: 0 0 var(--asw-group-card-w);
  width: var(--asw-group-card-w);
  scroll-snap-align: start;
}

body .asw-groups-slider--mixed .asw-groups-slider-slide-wide {
  flex-basis: var(--asw-group-card-wide-w);
  width: var(--asw-group-card-wide-w);
}

body .asw-groups-slider--mixed .asw-arc-card-wide {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
}

body .asw-groups-slider--mixed .asw-arc-card-wide .asw-arc-card-img {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

body .asw-groups-slider--mixed .asw-arc-scope-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border: 1px solid rgba(200, 168, 74, 0.22);
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.1);
  color: var(--asw-gold-dk);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

body .asw-groups-slider--mixed .asw-arc-wide-summary {
  display: grid;
  gap: 0.55rem;
  padding: 0.58rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.76);
}

body .asw-groups-slider--mixed .asw-arc-wide-summary p {
  margin: 0;
  color: var(--asw-text-2);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.7;
}

body .asw-groups-slider--mixed .asw-arc-wide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

body .asw-groups-slider--mixed .asw-arc-wide-facts span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.48rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

body .asw-groups-slider--mixed .asw-arc-wide-facts small {
  color: var(--asw-text-2);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.35;
}

body .asw-groups-slider--mixed .asw-arc-wide-facts strong {
  color: var(--asw-text);
  font-size: 0.92rem;
  line-height: 1.2;
}

body .asw-groups-slider--mixed .asw-arc-wide-tiers {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

body .asw-groups-slider--mixed .asw-arc-wide-tiers span {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  min-height: 26px;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: #fff;
  color: var(--asw-text-2);
  border: 1px solid rgba(39, 174, 96, 0.16);
  font-size: 0.66rem;
  font-weight: 800;
}

body .asw-groups-slider--mixed .asw-arc-wide-tiers strong {
  color: var(--asw-green);
}

body .asw-groups-slider-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

body .asw-groups-slider-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(200, 168, 74, 0.28);
  opacity: 1;
  transition:
    width var(--asw-tr),
    background var(--asw-tr),
    transform var(--asw-tr);
}

body .asw-groups-slider-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--asw-primary);
}

body .asw-groups-slider .swiper-horizontal > .swiper-pagination-bullets,
body
  .asw-groups-slider
  .swiper-pagination-bullets.swiper-pagination-horizontal {
  position: static;
}

@media (max-width: 767px) {
  /* Card body */
  body .asw-arc-card-body {
    gap: 0.1rem;
  }
  body .asw-groups-slider {
    border-radius: 22px;
    padding: 0.95rem;
  }

  body .asw-groups-slider-head {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 0.8rem;
  }

  body .asw-groups-slider-actions {
    display: none;
  }

  body .asw-groups-slider--mixed {
    --asw-group-card-w: min(76vw, 280px);
    --asw-group-card-wide-w: min(88vw, 520px);
  }

  body .asw-groups-slider--mixed .asw-arc-card-wide {
    display: flex;
    flex-direction: column;
  }

  body .asw-groups-slider--mixed .asw-arc-card-wide .asw-arc-card-img {
    aspect-ratio: 16 / 10;
  }

  body .asw-groups-slider--mixed .asw-arc-wide-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body .asw-groups-slider-pagination {
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  body .asw-groups-slider {
    padding: 0.9rem 0.8rem;
  }

  body .asw-groups-slider--mixed {
    --asw-group-card-w: 78vw;
    --asw-group-card-wide-w: 90vw;
  }

  body .asw-groups-slider--mixed .asw-arc-wide-facts {
    gap: 0.32rem;
  }

  body .asw-groups-slider--mixed .asw-arc-wide-facts span {
    padding: 0.4rem 0.34rem;
  }
}

/* ════ ARCHIVE: skeleton loading ════ */
@keyframes aswSkeleton {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

body .asw-arc-skeleton {
  background: linear-gradient(
    90deg,
    var(--asw-bg-2) 25%,
    var(--asw-bg-3) 50%,
    var(--asw-bg-2) 75%
  );
  background-size: 200% 100%;
  animation: aswSkeleton 1.4s infinite;
  border-radius: var(--asw-r2);
}

/* ════ SCROLL-TO-TOP BUTTON ════ */
body .asw-scroll-top {
  position: fixed;
  bottom: 5.5rem;
  left: 1rem;
  z-index: 9980;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--asw-bg);
  border: 1.5px solid var(--asw-border);
  color: var(--asw-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--asw-sh-sm);
  transition: 0.2s;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

body .asw-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body .asw-scroll-top:hover {
  background: var(--asw-primary);
  color: var(--asw-text-inv);
  border-color: var(--asw-primary);
}

/* ════ CART: fix WC default table hiding ════ */
body
  .woocommerce-cart-form
  table.shop_table.woocommerce-checkout-review-order-table,
body .woocommerce-cart .shop_table {
  display: none !important;
}

/* ════ PRINT STYLES ════ */
@media print {
  body .asw-arc-hero,
  body .asw-arc-toolbar {
    display: none !important;
  }

  body .asw-arc-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  body .asw-arc-card-img {
    max-height: 120px;
  }

  body .asw-arc-card-cta {
    display: none !important;
  }
}

/* ════════════════════════════════════════════
   PAID-REMOVE MODAL — حماية حذف الأوردر المدفوع
════════════════════════════════════════════ */
.asw-prm-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: aswPrmFadeIn 0.2s ease;
}

@keyframes aswPrmFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.asw-prm-box {
  background: var(--asw-bg, #fff);
  border: 1px solid var(--asw-border, #e0e0e0);
  border-radius: var(--asw-r4, 14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 2rem 1.75rem 1.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: aswPrmSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes aswPrmSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.asw-prm-ico {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.asw-prm-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--asw-text, #1a1a1a);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.asw-prm-body {
  font-size: 0.9rem;
  color: var(--asw-text-2, #555);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.asw-prm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--asw-r-full, 999px);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  border: none;
  width: 100%;
  margin-top: 0.5rem;
}

.asw-prm-btn-wa {
  background: #25d366;
  color: #fff;
}

.asw-prm-btn-wa:hover {
  background: #1da85a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.asw-prm-btn-close {
  background: var(--asw-bg-2, #f7f7f7);
  color: var(--asw-text-2, #555);
  border: 1px solid var(--asw-border, #e0e0e0);
}

.asw-prm-btn-close:hover {
  background: var(--asw-bg-3, #eee);
  color: var(--asw-text, #1a1a1a);
}

/* Joined view: upcoming price roadmap */
