.home-promotions { margin: 16px 0; min-width: 0; }
.home-promotions-viewport { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.home-promotions-viewport::-webkit-scrollbar { display: none; }
.home-promotions-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.home-promotions-slide .first-purchases { margin: 0; width: 100%; box-sizing: border-box; }
.home-promotions-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.home-promotions-dots button { width: 26px; height: 26px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.home-promotions-dots button::after { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: #ccd1d9; }
.home-promotions-dots .is-active::after { background: #ed152c; }
.home-campaign-card { position: relative; box-sizing: border-box; min-height: 156px; border-radius: 22px; overflow: hidden; padding: 18px 70px 16px 20px; background: linear-gradient(120deg, #f62e3d, #df001a 70%, #ff3545); color: #fff; box-shadow: 0 8px 18px #c510201a; }
.home-campaign-card h2 { position: relative; margin: 0 0 10px; padding: 0; color: #fff; font-size: clamp(22px, 6vw, 32px); line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.home-campaign-info { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: #b90019; font-size: 19px; font-weight: 700; }
.home-campaign-phase { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.home-campaign-digits { display: flex; gap: 12px; width: max-content; max-width: 100%; }
.home-campaign-unit { position: relative; min-width: 34px; text-align: center; }
.home-campaign-unit:not(:last-child)::after { content: ':'; position: absolute; top: 2px; right: -9px; font-size: 23px; font-weight: 700; }
.home-campaign-unit strong { display: block; padding: 4px 6px; border-radius: 8px; background: #fff; color: #18202e; font-size: 22px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.home-campaign-unit span { display: block; margin-top: 4px; font-size: 10px; }
.home-campaign-gift { position: absolute; right: -3px; bottom: -10px; font-size: 68px; transform: rotate(-9deg); pointer-events: none; }
.home-campaign-confetti { position: absolute; right: 56px; top: 52px; font-size: 24px; color: #ffdf74; transform: rotate(14deg); }
.home-campaign-description { white-space: pre-wrap; }
@media (prefers-reduced-motion: reduce) { .home-promotions-viewport { scroll-behavior: auto; } }

/* Match the existing first-three-purchases ticket, including the carousel height. */
.home-promotions-viewport { align-items: flex-start; }
.home-promotions-slide { height: 84px; }
.home-campaign-card { height: 84px; min-height: 84px; border-radius: 16px; padding: 7px 52px 6px 20px; }
.home-campaign-card h2 { margin: 0 0 2px; font-size: 18px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-campaign-phase { margin: 0 0 2px; font-size: 10px; line-height: 12px; }
.home-campaign-digits { gap: 9px; }
.home-campaign-unit { min-width: 27px; }
.home-campaign-unit strong { padding: 1px 4px; border-radius: 5px; font-size: 16px; line-height: 19px; }
.home-campaign-unit span { margin-top: 1px; font-size: 8px; line-height: 9px; }
.home-campaign-unit:not(:last-child)::after { top: 0; right: -7px; font-size: 17px; line-height: 20px; }
.home-campaign-gift { right: 3px; bottom: 0; font-size: 40px; }
.home-campaign-confetti { right: 37px; top: 30px; font-size: 15px; }
.home-campaign-info { top: 7px; right: 10px; width: 22px; height: 22px; font-size: 14px; }

/* Approved restrained gift artwork; text and timer stay live. */
.home-campaign-card {
  background: #b90012 url('/assets/mobicom-campaign-white-gift-v1.png') center / 100% 100% no-repeat;
  box-shadow: 0 4px 8px #76101618;
  padding-left: 18px;
  padding-right: 30%;
}
.home-campaign-card h2 { font-size: 18px; text-shadow: 0 1px 2px #60000040; }
.home-campaign-gift, .home-campaign-confetti { display: none; }
.home-campaign-info { top: 5px; right: 7px; width: 20px; height: 20px; background: #fffef0ed; color: #a60712; z-index: 1; }
.home-campaign-unit strong { color: #141823; background: linear-gradient(#fff, #fff9f0); }
@media (max-width: 350px) {
  .home-campaign-card { padding-left: 12px; }
  .home-campaign-card h2 { font-size: 16px; }
}

/* Swipe navigation only, without pagination dots or their reserved space. */
.home-promotions-dots { display: none; }
.home-promotions-viewport { -webkit-overflow-scrolling: touch; }
.home-campaign-unit:not(:last-child)::after { content: none; }
.home-campaign-unit strong { background: #fff; }

/* Separate artwork from layout so the gift keeps its natural proportions. */
.home-campaign-card {
  height: 84px; min-height: 84px; padding: 12px 14px;
  background: radial-gradient(ellipse at 90% 100%, #fa2945 0%, transparent 58%), linear-gradient(110deg, #ad001b, #e90028);
}
.home-campaign-card::before {
  content: ''; position: absolute; left: 22px; bottom: 3px;
  width: 47px; height: 43px;
  background: url('/assets/mobicom-campaign-gift-natural-v1.png') center / contain no-repeat;
  pointer-events: none;
}
.home-campaign-card h2 { width: calc(100% - 154px); margin: 0; font-size: 17px; line-height: 22px; }
.home-campaign-countdown { position: absolute; top: 18px; right: 14px; width: 136px; }
.home-campaign-phase { margin: 0 0 4px; font-size: 10px; line-height: 12px; text-align: center; }
.home-campaign-digits { width: 100%; gap: 5px; }
.home-campaign-unit { flex: 1 1 0; min-width: 0; }
.home-campaign-unit strong { padding: 3px 2px; font-size: 17px; line-height: 19px; border-radius: 6px; }
.home-campaign-unit span { margin-top: 2px; font-size: 8px; line-height: 9px; }
.home-campaign-info { top: auto; bottom: 8px; left: 79px; right: auto; }
@media (max-width: 350px) {
  .home-campaign-card { padding-left: 12px; }
  .home-campaign-card h2 { font-size: 15px; width: calc(100% - 141px); }
  .home-campaign-countdown { right: 10px; width: 128px; }
}

/* Approved balanced layout: gift and wrapped title left, larger live timer right. */
.home-campaign-card {
  padding: 0;
  background: linear-gradient(145deg, transparent 46%, #a8002438 46%), linear-gradient(110deg, #f20029, #c80022);
}
.home-campaign-card::before {
  left: 11px; top: 13px; bottom: auto; width: 49px; height: 58px;
  background-size: contain;
}
.home-campaign-card h2 {
  position: absolute; left: 66px; top: 50%; transform: translateY(-50%);
  width: calc(50% - 75px); margin: 0; white-space: normal;
  font-size: clamp(17px, 5vw, 20px); line-height: 1.12; font-weight: 800;
  overflow-wrap: normal; overflow: hidden; text-overflow: clip;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.home-campaign-countdown { top: 11px; right: 12px; width: calc(50% - 15px); }
.home-campaign-phase { margin-bottom: 5px; font-size: 10px; line-height: 12px; }
.home-campaign-digits { gap: 5px; }
.home-campaign-unit strong { padding: 5px 1px; font-size: 20px; line-height: 23px; border-radius: 7px; }
.home-campaign-unit span { margin-top: 3px; font-size: 8px; line-height: 9px; }
.home-campaign-info { left: 7px; top: 5px; bottom: auto; width: 16px; height: 16px; font-size: 11px; }
@media (max-width: 350px) {
  .home-campaign-card { padding: 0; }
  .home-campaign-card::before { left: 8px; width: 42px; }
  .home-campaign-card h2 { left: 54px; width: calc(50% - 60px); font-size: 17px; }
  .home-campaign-countdown { right: 9px; width: calc(50% - 12px); }
  .home-campaign-unit strong { font-size: 18px; }
  .home-campaign-phase { font-size: 9px; }
}

/* Give the two-line campaign title more emphasis and center it beside the gift. */
.home-campaign-card h2 {
  left: 72px; width: calc(50% - 82px); text-align: center;
  font-size: clamp(19px, 5.6vw, 23px); line-height: 1.12;
}
@media (max-width: 350px) {
  .home-campaign-card h2 { left: 57px; width: calc(50% - 64px); font-size: 19px; }
}
