/* ===========================
   OFFERS SECTION STYLING
   Adaptive for Dark + Light
   =========================== */

.section.offers {
  background: var(--offers-bg, rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(12px);
  padding: 50px 20px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* --- Section Header --- */
.section.offers .section-header {
  margin-bottom: 25px;
}

.section.offers .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section.offers .note {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* --- Offer Grid --- */
.section.offers .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

/* Brand Colors */
.badge.samsung {
  background: #0072c6;
}
.badge.oneplus {
  background: #e60012;
}
.badge.oppo {
  background: #00b388;
}
.badge.canon {
  background: #d70c18;
}

.offer-card .label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.offer-card .meta {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* --- Offer Type Chip --- */
.offer-card .chip.special {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 14px;
  font-size: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--chip-bg, #eaf5ff);
  color: var(--chip-text, #0072c6);
  text-transform: uppercase;
}

/* --- View All Button --- */
.btn-explore {
  display: inline-block;
  margin-top: 25px;
  background: var(--btn-bg, #0078ff);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 152, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-explore:hover {
  background: var(--btn-hover, #005fcc);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 122, 209, 0.4);
}

/* --- DARK MODE --- */
body.dark-mode .section.offers {
  --offers-bg: rgba(255, 255, 255, 0.05);
  color: #f2f4f8;
}

body.dark-mode .offer-card {
  --card-bg: #0f1623;
  color: #f5f7fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

body.dark-mode .offer-card .meta {
  opacity: 0.75;
}

body.dark-mode .offer-card .chip.special {
  --chip-bg: rgba(0, 152, 255, 0.1);
  --chip-text: #38a8ff;
}

body.dark-mode .btn-explore {
  --btn-bg: #0090ff;
  --btn-hover: #0074cc;
}

/* --- LIGHT MODE --- */
body:not(.dark-mode) .section.offers {
  --offers-bg: #eaf5ff;
  color: #111;
}

body:not(.dark-mode) .offer-card {
  --card-bg: #fff;
}

body:not(.dark-mode) .offer-card .chip.special {
  --chip-bg: #eaf5ff;
  --chip-text: #0072c6;
}

body:not(.dark-mode) .btn-explore {
  --btn-bg: #0098ff;
  --btn-hover: #007ad1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .offer-card {
    width: 100%;
  }
}
.offer-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  min-width: 155px;
  padding: 6px 6px;
  position: relative;
  transition: transform 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.offer-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.offer-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  margin-right: 6px;
  flex-shrink: 0;
}

.offer-logo img {
  /* max-width: 30px; */
  max-height: 45px;
}

.offer-name {
  font-weight: 600;
  font-size: 12px;
  color: #000;
}

/* Offer Avail Forms    */
/* offers details */
/* Detail page card */
.offer-detail-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Title */
.offer-detail-card .section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color, #111);
}

/* Notes / Brand info */
.offer-detail-card .note {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--muted-text, #555);
  margin-right: 10px;
  margin-bottom: 10px;
}
/* Form styles */
.offer-form {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
}

.offer-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn.primary {
  background: linear-gradient(45deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
}

.btn.primary:hover {
  background: linear-gradient(45deg, #1d4ed8, #2563eb);
}

.btn.secondary {
  background: #e2e8f0;
  color: #111827;
  margin-left: 10px;
}

.btn.secondary:hover {
  background: #cbd5e1;
}
/* =====================
   Offer Type Badge
   ===================== */
.offer-type-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem !important;
  letter-spacing: 0.3px;
  margin-top: 12px;
  background: var(--badge-bg, #0078ff);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 120, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
}
