/* LOCALSOFT Promo System Styling — Brand Standard Unified Design System (Option 1: Brand Lock) */
:root {
  --suma-promo-bg: #ffffff;
  --suma-promo-border: #ceddfd;
  --suma-promo-border-hover: #93c5fd;
  --suma-promo-text: #0f172a;
  --suma-promo-muted: #64748b;
  --suma-promo-primary: #2865eb;
  --suma-promo-primary-hover: #1d4ed8;
  --suma-promo-accent-bg: #f0f7ff;
  --suma-promo-badge-bg: #eff6ff;
  --suma-promo-badge-text: #2865eb;
  --suma-promo-shadow: 0 2px 10px rgba(40, 101, 235, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --suma-promo-shadow-hover: 0 8px 24px rgba(40, 101, 235, 0.12);
  --suma-promo-radius: 14px;
}

/* ==========================================================================
   Autonomous Attention-Grabbing Animations (Active without mouse hover)
   ========================================================================== */
@keyframes promoCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. 卡片外框與浮島柔光常態自主呼吸（在靜態網頁中微光呼吸，顯著吸睛） */
@keyframes promoCardGlowBreathe {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(40, 101, 235, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    border-color: var(--suma-promo-border);
  }
  50% {
    box-shadow: 0 6px 22px rgba(40, 101, 235, 0.22), 0 2px 8px rgba(40, 101, 235, 0.12);
    border-color: #60a5fa;
  }
}

/* 2. 圖示常態自主浮動、輕微傾斜與律動微彈（每 3 秒自主上下彈動與微旋轉，活力動態十足） */
@keyframes promoIconCatchy {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  20% {
    transform: translateY(-6px) scale(1.08) rotate(-4deg);
  }
  40% {
    transform: translateY(-2px) scale(1.03) rotate(3deg);
  }
  60% {
    transform: translateY(-5px) scale(1.06) rotate(-2deg);
  }
  80% {
    transform: translateY(-1px) scale(1.01) rotate(0deg);
  }
}

/* 3. 圖示內部向量圖形自主微縮放動態 */
@keyframes promoSvgCatchy {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(1.05);
  }
}

/* 4. 推薦標籤常態自主呼吸光波與微彈 */
@keyframes promoBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 101, 235, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(40, 101, 235, 0);
  }
}

/* 5. 標題文字週期性科技藍微光澤掠過 */
@keyframes promoTitleGlint {
  0%, 70%, 100% {
    color: var(--suma-promo-text);
  }
  85% {
    color: var(--suma-promo-primary);
  }
}

/* 6. 行動按鈕（CTA）自主白金斜角流光掠過（一道顯眼亮光持續由左向右劃過，強烈吸引目光） */
@keyframes promoBtnShimmer {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  35%, 100% {
    transform: translateX(300%) skewX(-25deg);
  }
}

/* 7. 行動按鈕箭頭常態自主向前推進導引（持續向訪客傳遞點擊暗示） */
@keyframes promoArrowNudge {
  0%, 100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(2px);
  }
  70% {
    transform: translateX(4px);
  }
}

/* Card Mode */
.suma-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--suma-promo-bg) !important;
  border: 1px solid var(--suma-promo-border) !important;
  border-radius: var(--suma-promo-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--suma-promo-shadow);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--suma-promo-text);
  margin: 1.5rem 0;
  animation: promoCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), promoCardGlowBreathe 4s ease-in-out infinite;
}

/* 滑鼠移上去後，不需要特別效果，保持卡片平穩自然 */
.suma-promo-card:hover {
  cursor: pointer;
}

.suma-promo-main {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.15rem !important;
  flex: 1 1 auto;
  min-width: 0;
}

.suma-promo-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--suma-promo-accent-bg);
  border: 1px solid var(--suma-promo-border);
  color: var(--suma-promo-primary);
  flex-shrink: 0 !important;
  overflow: hidden;
  animation: promoIconCatchy 3s ease-in-out infinite;
}

.suma-promo-icon-wrap svg {
  width: 30px;
  height: 30px;
  animation: promoSvgCatchy 3s ease-in-out infinite;
}

.suma-promo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
  animation: promoSvgCatchy 3s ease-in-out infinite;
}

.suma-promo-ad-mark {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  user-select: none;
  flex-shrink: 0;
  text-transform: uppercase;
}

.suma-promo-sponsor-mark {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.2);
  color: var(--suma-promo-muted);
  border: 1px solid var(--suma-promo-border);
}

.suma-promo-body {
  flex: 1;
  min-width: 0;
}

.suma-promo-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.suma-promo-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--suma-promo-text);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  animation: promoTitleGlint 4.2s ease-in-out infinite;
}

.suma-promo-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: var(--suma-promo-badge-bg);
  color: var(--suma-promo-badge-text);
  animation: promoBadgePulse 3s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.suma-promo-desc {
  font-size: 0.875rem;
  color: var(--suma-promo-muted);
  margin: 0;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.suma-promo-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  background: var(--suma-promo-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(40, 101, 235, 0.25);
  cursor: pointer;
}

.suma-promo-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  animation: promoBtnShimmer 2.8s ease-in-out infinite;
}

.suma-promo-cta-btn svg {
  width: 17px;
  height: 17px;
  animation: promoArrowNudge 2.8s ease-in-out infinite;
}

.suma-promo-cta-btn:hover {
  /* 滑鼠移上去後，不需要特別效果 */
  background: var(--suma-promo-primary-hover);
}

/* Ribbon Mode */
.suma-promo-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff !important;
  border: 1px solid var(--suma-promo-border) !important;
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  color: var(--suma-promo-text);
  box-shadow: 0 2px 8px rgba(40, 101, 235, 0.04);
  box-sizing: border-box;
  margin: 1rem 0;
  animation: promoCardFadeIn 0.35s ease-out, promoCardGlowBreathe 4s ease-in-out infinite;
}

.suma-promo-ribbon-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: var(--suma-promo-badge-bg);
  color: var(--suma-promo-badge-text);
  text-transform: uppercase;
  animation: promoBadgePulse 3s ease-in-out infinite;
}

.suma-promo-ribbon-text {
  font-weight: 500;
}

.suma-promo-ribbon-link {
  color: var(--suma-promo-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.suma-promo-ribbon-link svg {
  animation: promoArrowNudge 3.4s ease-in-out infinite;
}

/* Minimal Mode */
.suma-promo-minimal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff !important;
  border: 1px solid var(--suma-promo-border) !important;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--suma-promo-muted);
  animation: promoCardFadeIn 0.35s ease-out, promoCardGlowBreathe 4s ease-in-out infinite;
}

.suma-promo-minimal a {
  color: var(--suma-promo-primary) !important;
  text-decoration: none;
  font-weight: 600;
}

.suma-promo-minimal a:hover {
  color: var(--suma-promo-primary-hover) !important;
  text-decoration: underline;
}

/* ==========================================================================
   New Ad Formats: Banner Graphic, Vertical Graphic, and Vertical Text
   ========================================================================== */

/* 1. Horizontal Graphic Banner (橫幅圖形 - 純圖形展示，支援 Google 廣告 728x90, 970x90, 970x250, 320x50 標準規格) */
.suma-promo-banner-graphic {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 728px;
  height: auto;
  aspect-ratio: 728 / 90;
  border-radius: var(--suma-promo-radius);
  border: 1px solid var(--suma-promo-border) !important;
  box-shadow: var(--suma-promo-shadow);
  margin: 1.25rem auto;
  text-decoration: none !important;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: #0f172a;
}

/* 規格微調類別 (728x90 Super Leaderboard, 970x90 Large Leaderboard, 970x250 Billboard) */
.suma-promo-banner-graphic.size-728x90 {
  max-width: 728px;
  aspect-ratio: 728 / 90;
}

.suma-promo-banner-graphic.size-970x90 {
  max-width: 970px;
  aspect-ratio: 970 / 90;
}

.suma-promo-banner-graphic.size-970x250 {
  max-width: 970px;
  aspect-ratio: 970 / 250;
}

.suma-promo-banner-graphic:hover {
  transform: translateY(-2px);
  border-color: var(--suma-promo-border-hover) !important;
  box-shadow: var(--suma-promo-shadow-hover);
}

.suma-promo-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
  position: relative;
  text-decoration: none !important;
}

.suma-promo-banner-link .suma-promo-ad-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.suma-promo-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.suma-promo-banner-svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.suma-promo-banner-graphic .suma-promo-sponsor-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

/* 2. Vertical Graphic Card (直式圖形) */
.suma-promo-vertical-graphic {
  display: flex;
  flex-direction: column;
  background: var(--suma-promo-bg) !important;
  border: 1px solid var(--suma-promo-border) !important;
  border-radius: var(--suma-promo-radius);
  overflow: hidden;
  box-shadow: var(--suma-promo-shadow);
  margin: 1.5rem 0;
  max-width: 320px;
  box-sizing: border-box;
  animation: promoCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), promoCardGlowBreathe 4s ease-in-out infinite;
  transition: border-color 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.suma-promo-vertical-graphic:hover {
  border-color: var(--suma-promo-border-hover) !important;
}

.suma-promo-vg-cover {
  position: relative;
  width: 100%;
  height: 160px;
  background-color: var(--suma-promo-accent-bg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.suma-promo-vg-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--suma-promo-accent-bg) 0%, rgba(40, 101, 235, 0.1) 100%);
  color: var(--suma-promo-primary);
  animation: promoIconCatchy 3.6s ease-in-out infinite;
}

.suma-promo-vg-placeholder svg {
  width: 48px;
  height: 48px;
}

.suma-promo-vg-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.suma-promo-vg-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suma-promo-vg-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--suma-promo-text);
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.suma-promo-vertical-graphic:hover .suma-promo-vg-title {
  color: var(--suma-promo-primary);
}

.suma-promo-vg-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--suma-promo-primary);
  margin: 0 0 0.45rem 0;
  line-height: 1.45;
}

.suma-promo-vg-desc {
  font-size: 0.875rem;
  color: var(--suma-promo-muted);
  margin: 0 0 1.15rem 0;
  line-height: 1.6;
  flex: 1;
}

.suma-promo-vg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  background: var(--suma-promo-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(40, 101, 235, 0.2);
  transition: background-color 0.2s ease;
}

.suma-promo-vg-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  animation: promoBtnShimmer 2.8s ease-in-out infinite;
}

.suma-promo-vg-btn:hover {
  background: var(--suma-promo-primary-hover);
}

.suma-promo-vg-btn svg {
  width: 16px;
  height: 16px;
  animation: promoArrowNudge 2.8s ease-in-out infinite;
}

/* 3. Vertical Text Style (直式文字樣式) */
.suma-promo-vertical-text {
  display: flex;
  flex-direction: column;
  background: var(--suma-promo-bg) !important;
  border: 1px solid var(--suma-promo-border) !important;
  border-left: 4px solid var(--suma-promo-primary) !important;
  border-radius: 0 var(--suma-promo-radius) var(--suma-promo-radius) 0 !important;
  padding: 1.25rem;
  max-width: 290px;
  box-shadow: var(--suma-promo-shadow);
  margin: 1.5rem 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: promoCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), promoCardGlowBreathe 4s ease-in-out infinite;
  transition: border-color 0.25s ease;
}

.suma-promo-vertical-text:hover {
  border-color: var(--suma-promo-border-hover) !important;
  border-left-color: var(--suma-promo-primary) !important;
}

.suma-promo-vt-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.suma-promo-vt-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--suma-promo-accent-bg);
  color: var(--suma-promo-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: promoIconCatchy 3.4s ease-in-out infinite;
}

.suma-promo-vt-icon svg {
  width: 20px;
  height: 20px;
}

.suma-promo-vt-meta {
  flex: 1;
  min-width: 0;
}

.suma-promo-vt-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--suma-promo-text);
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.suma-promo-vertical-text:hover .suma-promo-vt-title {
  color: var(--suma-promo-primary);
}

.suma-promo-vt-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.suma-promo-vt-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--suma-promo-primary);
  margin: 0 0 0.45rem 0;
  line-height: 1.45;
}

.suma-promo-vt-desc {
  font-size: 0.875rem;
  color: var(--suma-promo-muted);
  line-height: 1.6;
  margin: 0 0 0.85rem 0;
  border-bottom: 1px dashed var(--suma-promo-border);
  padding-bottom: 0.75rem;
}

.suma-promo-vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0.85rem;
  border-radius: 7px;
  background: var(--suma-promo-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.suma-promo-vt-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  animation: promoBtnShimmer 2.8s ease-in-out infinite;
}

.suma-promo-vt-btn:hover {
  background: var(--suma-promo-primary-hover);
}

.suma-promo-vt-btn svg {
  width: 15px;
  height: 15px;
  animation: promoArrowNudge 2.8s ease-in-out infinite;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  /* 手機版型全面隱藏純桌機橫幅廣告，改由對應的文字型 Card 廣告接手展示 */
  .suma-promo-desktop-banner {
    display: none !important;
  }
  .suma-promo-mobile-card {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .suma-promo-mobile-card {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .suma-promo-vertical-graphic,
  .suma-promo-vertical-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .suma-promo-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.15rem 1.15rem !important;
    gap: 0.9rem !important;
    border-radius: 14px !important;
  }
  .suma-promo-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }
  .suma-promo-icon-wrap {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    margin-top: 2px;
  }
  .suma-promo-icon-wrap svg {
    width: 24px !important;
    height: 24px !important;
  }
  .suma-promo-header {
    flex-wrap: wrap !important;
    gap: 0.4rem 0.5rem !important;
    margin-bottom: 0.35rem !important;
  }
  .suma-promo-title {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }
  .suma-promo-desc {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    display: block !important;
    overflow: visible !important;
  }
  .suma-promo-cta-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    margin-top: 0.15rem !important;
  }
  .suma-promo-ribbon {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   Showcase / Group Widget (Multi-Product Showcase - Exact Image Palette)
   ========================================================================== */
.suma-promo-showcase {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  margin: 1.25rem 0;
}

/* Vertical layout specific styling */
.suma-promo-showcase--vertical {
  max-width: 360px;
}

.suma-promo-showcase--vertical .suma-promo-showcase-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Horizontal layout specific styling */
.suma-promo-showcase--horizontal {
  width: 100%;
}

.suma-promo-showcase--horizontal .suma-promo-showcase-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Optional Showcase Header (When enabled) */
.suma-promo-showcase-header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e5eaf2;
}

.suma-promo-showcase-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.suma-promo-showcase-title-icon {
  width: 22px;
  height: 22px;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suma-promo-showcase-title-icon svg {
  width: 100%;
  height: 100%;
}

.suma-promo-showcase-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

/* Showcase Sub-card (Matches Screenshot Colors - Pure Light Palette) */
.suma-promo-showcase-card {
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  border: 1px solid #ceddfd !important;
  border-radius: 14px !important;
  padding: 1.15rem !important;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(206, 222, 253, 0.25) !important;
  animation: promoCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), promoCardGlowBreathe 4s ease-in-out infinite;
  transition: border-color 0.25s ease;
}

.suma-promo-showcase-card:hover {
  border-color: #93c5fd !important;
}

.suma-promo-showcase-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.suma-promo-showcase-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  animation: promoIconCatchy 3.4s ease-in-out infinite;
}

.suma-promo-showcase-icon svg {
  width: 32px;
  height: 32px;
  color: #2865eb;
}

.suma-promo-showcase-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.suma-promo-showcase-meta {
  flex: 1;
  min-width: 0;
}

.suma-promo-showcase-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.suma-promo-showcase-name a {
  color: #111827 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.suma-promo-showcase-name a:hover {
  color: #2865eb !important;
}

/* Card Description */
.suma-promo-showcase-desc {
  font-size: 0.875rem;
  color: #64748b !important;
  line-height: 1.6;
  margin: 0.5rem 0 0.75rem 0;
  flex: 1;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Card Foot: Pills on left, Action link on right */
.suma-promo-showcase-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Tag Pills (Exact image hex values) */
.suma-promo-showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.suma-promo-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.12rem 0.48rem;
  border-radius: 9999px;
  line-height: 1.25;
  background: #f1f5f9;
  color: #64748b;
}

.suma-promo-pill--free {
  background: #e1f3eb !important;
  color: #208647 !important;
}

.suma-promo-pill--win {
  background: #dbe9fe !important;
  color: #2865eb !important;
}

.suma-promo-pill--linux {
  background: #fceddf !important;
  color: #bc6522 !important;
}

.suma-promo-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2865eb !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.suma-promo-showcase-link:hover {
  color: #1d4ed8 !important;
}

.suma-promo-showcase-link svg {
  width: 14px;
  height: 14px;
  animation: promoArrowNudge 2.6s ease-in-out infinite;
}

/* Optional Showcase Footer Button (When enabled) */
.suma-promo-showcase-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e5eaf2;
}

.suma-promo-showcase-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  border: 1px solid #e5eaf2;
  background: #ffffff;
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.suma-promo-showcase-all-btn svg {
  width: 16px;
  height: 16px;
  animation: promoArrowNudge 2.6s ease-in-out infinite;
}

.suma-promo-showcase-all-btn:hover {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 640px) {
  .suma-promo-showcase {
    max-width: 100%;
  }
  .suma-promo-showcase--horizontal .suma-promo-showcase-body {
    grid-template-columns: 1fr;
  }
}

