/* Spotlight Loyalty — base styles */

/* Header nav loyalty button */
.loyalty-nav-btn {
  height: 3rem;
  padding: .75rem;
  margin-left: .9375rem;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-left: .5rem;
}

.loyalty-nav-btn .loyalty-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7a7a7a;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1;
}

.loyalty-nav-btn .loyalty-nav-link i {
  font-size: 1.4rem;
  color: green;
  vertical-align: middle;
}

.loyalty-nav-btn .loyalty-nav-link:hover {
  color: #000;
}

.loyalty-nav-btn .loyalty-nav-link:hover i {
  color: #e2a829;
}

.loyalty-nav-btn-mobile {
  height: 3rem;
  display: flex;
  align-items: center;
  padding: 0 .5rem;
}

.loyalty-nav-btn-mobile .loyalty-nav-link {
  color: #7a7a7a;
  display: flex;
  align-items: center;
}

.loyalty-nav-btn-mobile .loyalty-nav-link i {
  font-size: 1.4rem;
  line-height: 50px;
  color: #e2a829;
}

.loyalty-account-card {
  display: block;
  text-decoration: none;
}

.loyalty-cart-preview,
.loyalty-product-points {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #555;
  margin-top: 15px;
}

.loyalty-cart-preview i,
.loyalty-product-points i {
  font-size: 1.1rem;
  color: #e2a829;
}

/* Dashboard */
.loyalty-dashboard { padding: 20px 0; }

.loyalty-card-visual {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin-bottom: 32px;
}

.loyalty-card-visual .card-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.loyalty-card-visual .card-number {
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-top: 6px;
  opacity: 0.75;
  text-align: center;
  color: #fff;
}

.loyalty-card-visual svg { display: block; margin: 0 auto; max-width: 100%; }


/* Points block */
.loyalty-points-block {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.loyalty-points-block .points-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.loyalty-points-block .points-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.loyalty-tier-badge {
  display: inline-block;
  background: #e2a829;
  color: #fff;
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

.loyalty-status-badge {
  display: inline-block;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 8px;
}

.loyalty-status-badge.active     { background: #d4edda; color: #155724; }
.loyalty-status-badge.registered { background: #cce5ff; color: #004085; }
.loyalty-status-badge.deactivated{ background: #f8d7da; color: #721c24; }

.loyalty-progress-wrap { margin-top: 10px; }
.loyalty-progress-bar { height: 8px; background: #dee2e6; border-radius: 4px; overflow: hidden; }
.loyalty-progress-bar .fill { height: 100%; background: #e2a829; border-radius: 4px; transition: width 0.4s; }
.loyalty-progress-label { font-size: 0.8rem; color: #888; margin-top: 4px; }

/* Coupons grid */
.loyalty-coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.loyalty-coupon-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.loyalty-coupon-card .coupon-type-badge {
  display: inline-block;
  background: #e2a829;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.loyalty-coupon-card .coupon-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
}

.loyalty-coupon-card .coupon-code {
  font-family: monospace;
  background: #f1f3f5;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.85rem;
  margin-top: 8px;
  cursor: pointer;
  user-select: all;
}

.loyalty-coupon-card .coupon-expiry {
  font-size: 0.78rem;
  color: #999;
  margin-top: 6px;
}

/* Orders table */
.loyalty-orders-table th { background: #f1f3f5; }

/* Benefits */
.loyalty-benefit-row td { vertical-align: middle; }

/* Claim card form */
.loyalty-claim-form { max-width: 480px; }

/* Gift card */
.loyalty-giftcard-result {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 20px;
}

/* Nav tabs for My Account loyalty section */
.loyalty-tabs { margin-bottom: 24px; }

/* Checkout discount block */
.loyalty-checkout-block {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background: #fffdf5;
  margin-top: 10px;
}

.loyalty-checkout-block .block-title {
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.loyalty-checkout-block .block-title i { color: #e2a829; }

.loyalty-nav-pills .nav-item .nav-link.active, .loyalty-nav-pills .nav-item .nav-separtor.active {
  color: white;
}
/* ----- Marketing popup ----- */
.spotlight-marketing-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border: 1px solid #eaeaea;
  font-size: 14px;
  line-height: 1.4;
  animation: spotlight-pop-in 0.25s ease-out;
}
@keyframes spotlight-pop-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.spotlight-marketing-popup__close {
  position: absolute;
  top: 4px;
  right: 8px;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
}
.spotlight-marketing-popup__close:hover { color: #000; }
.spotlight-marketing-popup__body { padding: 16px 16px 14px; }
.spotlight-marketing-popup__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.spotlight-marketing-popup__text {
  margin: 0 0 10px 0;
  color: #444;
}
.spotlight-marketing-popup__cta {
  display: inline-block;
  padding: 6px 14px;
  background: #111;
  color: #fff !important;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 13px;
}
.spotlight-marketing-popup__cta:hover { background: #333; }

/* =========================================================
   Loyalty landing page
   ========================================================= */
.loyalty-landing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 60px;
  color: #1a1a1a;
}

.loyalty-landing h1,
.loyalty-landing h2,
.loyalty-landing h3 { color: #1a1a1a; }

.ll-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.ll-section-lead {
  text-align: center;
  color: #666;
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 0.98rem;
}

/* Buttons */
.ll-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  border: 0;
  cursor: pointer;
}
.ll-btn--primary { background: #111; color: #fff; }
.ll-btn--primary:hover { background: lightgray; color: #111; text-decoration: none; }
.ll-btn--gold { background: lightgray; color: #111; }
.ll-btn--gold:hover { background: #fff; color: #111; text-decoration: none; }

/* ---------- HERO ---------- */
.ll-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 48px;
}
.ll-hero__card-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.ll-hero__brand {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.ll-hero__brand::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e2a829;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
}
.ll-hero__sub {
  color: #e2a829;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 6px;
}
.ll-hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}
.ll-hero__lead {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 24px;
}
.ll-hero__hint {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #888;
}
.ll-hero__hint a { color: #111; font-weight: 600; }

/* ---------- BENEFITS ---------- */
.ll-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 32px 0 56px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.ll-benefit { text-align: center; padding: 8px; }
.ll-benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: #111;
}
.ll-benefit__icon svg { width: 100%; height: 100%; }
.ll-benefit h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.ll-benefit p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ---------- STEPS ---------- */
.ll-steps { padding: 56px 0 24px; }
.ll-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.ll-step {
  text-align: center;
  padding: 24px 20px;
  background: #f7f7f7;
  border-radius: 6px;
}
.ll-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.ll-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 8px;
  color: #111;
}
.ll-step p {
  margin: 0;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.5;
}

/* ---------- SCALE ---------- */
.ll-scale { padding: 56px 0 24px; }
.ll-scale__table-wrap {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.ll-scale__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.ll-scale__table th,
.ll-scale__table td {
  padding: 14px 22px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 0.98rem;
}
.ll-scale__table th {
  background: #f7f7f7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.82rem;
  color: #555;
}
.ll-scale__table tbody tr:last-child td { border-bottom: 0; }
.ll-scale__table td strong { color: #111; font-size: 1.05rem; }
.ll-scale__top { background: #f1f1f1; }
.ll-scale__top td strong { color: black; font-size: 1.15rem; }
.ll-scale__note {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.5;
  font-style: italic;
}

/* ---------- CTA BANNER ---------- */
.ll-cta-banner {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  margin: 56px 0;
  border-radius: 6px;
}
.ll-cta-banner h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.ll-cta-banner p {
  color: #d6d6d6;
  margin: 0 0 24px;
  font-size: 1rem;
}

/* ---------- FAQ ---------- */
.ll-faq { padding: 24px 0; max-width: 820px; margin: 0 auto; }
.ll-faq__item {
  border-bottom: 1px solid #eee;
  padding: 0;
}
.ll-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 4px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  color: #1a1a1a;
}
.ll-faq__item summary::-webkit-details-marker { display: none; }
.ll-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: black;
  font-weight: 400;
  transition: transform 0.2s;
}
.ll-faq__item[open] summary::after { content: "−"; }
.ll-faq__item > div {
  padding: 0 4px 20px;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
.ll-faq__item > div p { margin: 0 0 10px; }
.ll-faq__item > div p:last-child { margin-bottom: 0; }

/* ---------- TERMS ---------- */
.ll-terms { padding: 56px 0 0; }
.ll-terms__list {
  max-width: 820px;
  margin: 24px auto 0;
  padding-left: 20px;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.65;
}
.ll-terms__list li { margin-bottom: 10px; }
.ll-terms__list a { color: #111; text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .ll-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 32px 0;
  }
  .ll-hero__card-img {
    max-width: 320px;
    margin: 0 auto;
  }
  .ll-hero__title { font-size: 1.7rem; }
  .ll-benefits { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ll-steps__grid { grid-template-columns: 1fr; }
  .ll-section-title { font-size: 1.35rem; }
  .ll-cta-banner { padding: 40px 20px; margin: 40px 0; }
  .ll-cta-banner h2 { font-size: 1.4rem; }
  .ll-scale__table th,
  .ll-scale__table td { padding: 12px 14px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .ll-benefits { grid-template-columns: 1fr; }
  .ll-hero__title { font-size: 1.45rem; }
  .ll-btn { padding: 12px 24px; font-size: 0.88rem; }
}
@media (max-width: 600px) {
  .spotlight-marketing-popup {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 12px;
    width: calc(100% - 32px);
    max-width: 320px;
    font-size: 12px;
  }
  .spotlight-marketing-popup__body {
    padding: 8px 10px 8px;
    padding-right: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .spotlight-marketing-popup__title {
    font-size: 13px;
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .spotlight-marketing-popup__text { display: none; }
  .spotlight-marketing-popup__cta {
    padding: 5px 10px;
    font-size: 12px;
    flex: 0 0 auto;
  }
  .spotlight-marketing-popup__close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  @keyframes spotlight-pop-in {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
  }
}

/* Electronic gift-card delivery opt-in (payment step) */
.loyalty-gc-email {
  margin: 12px 0 24px 0;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fafafa;
}
.loyalty-gc-email__toggle {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}
.loyalty-gc-email__toggle input { margin-top: 3px; }
.loyalty-gc-email__recipient {
  margin: 10px 0 0 26px;
}
.loyalty-gc-email__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-weight: 400;
  cursor: pointer;
}
.loyalty-gc-email__input {
  max-width: 320px;
  margin-top: 4px;
}
.loyalty-gc-email__msg {
  margin-top: 6px;
  color: #c00;
  font-size: 13px;
}
