/* ── Loyalty Product Section — Frontend Styles ─────────────────── */
/* Exact match of the original loyalty_app css/style.css public slider/spread classes */

/* Public Product Slider */
.lapp-public-slider-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.lapp-public-slider {
  padding-bottom: 3rem !important;
}

.lapp-public-slider .swiper-slide {
  height: auto;
}

.lapp-slider-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.lapp-slider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lapp-slider-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f2ef;
  position: relative;
}

.lapp-slider-no-img {
  background-color: #f5f2ef;
  width: 100%;
  height: 100%;
}

.lapp-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lapp-card-points-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #b45643;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(180, 86, 67, 0.3);
  z-index: 1;
}

.lapp-slider-content {
  padding: 1.25rem 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lapp-slider-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.lapp-slider-desc {
  font-family: "Raleway", sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  flex-grow: 1;
}

.lapp-slider-desc p {
  margin: 0;
}

.lapp-slider-branch {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lapp-public-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Rewards Section Header */
.lapp-rewards-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.lapp-rewards-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.lapp-rewards-subtitle {
  font-family: "Raleway", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b45643;
  margin: 0 0 0.5rem 0;
}

.lapp-rewards-description {
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Rewards Section Footer Buttons */
.lapp-rewards-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.lapp-rewards-footer-text {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  color: #555;
  margin: 0 0 1rem 0;
}

.lapp-rewards-footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lapp-rewards-footer-sep {
  font-family: "Raleway", sans-serif;
  font-size: 0.9rem;
  color: #999;
  margin: 0 0.25rem;
  user-select: none;
}

.lapp-rewards-footer .lapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px 13px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.lapp-rewards-footer .lapp-btn:hover {
  transform: translateY(-1px);
}

.lapp-rewards-footer .lapp-btn-primary {
  background-color: #b45643;
  color: #fff;
}

.lapp-rewards-footer .lapp-btn-primary:hover {
  background-color: #9a4a3a;
  color: #fff;
}

.lapp-rewards-footer .lapp-btn-secondary {
  background-color: transparent;
  color: #b45643;
  border: 2px solid #b45643;
}

.lapp-rewards-footer .lapp-btn-secondary:hover {
  background-color: #b45643;
  color: #fff;
}

/* Public Products Spread Grid */
.lapp-public-spread-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.lapp-public-spread-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lapp-spread-item {
  height: auto;
}

@media (max-width: 960px) {
  .lapp-public-spread-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lapp-public-spread-grid {
    grid-template-columns: 1fr;
  }
}
