/* Styles for the "offer-grid-item" page-builder component (Retreat Pricing
   plugin) — a single live-offer card, same visual language as the main
   offers page (pricing.css's .sf-offer) but scoped under .ogi- so both can
   appear on the same site without colliding. See
   app/plugins/retreat-pricing/components/offer_grid_item.php. */

.ogi-wrap, .ogi-wrap *, .ogi-wrap *::before, .ogi-wrap *::after { box-sizing: border-box; }

.ogi-wrap {
  --navy:      #0b1825;
  --navy-2:    #0e1d2c;
  --teal:      #45dae7;
  --teal-dark: #0091ad;
  --white:     #ffffff;
  --muted:     #7d96a3;
  --warm:      #f6b73c;
  --border:    rgba(69,218,231,0.12);

  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-family: 'Figtree', sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.ogi-offer {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ogi-offer:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.ogi-offer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
}
.ogi-offer.featured {
  border-color: rgba(69,218,231,0.40);
  box-shadow: 0 0 0 1px rgba(69,218,231,0.20), 0 24px 60px rgba(0,0,0,0.45);
  background: linear-gradient(160deg, #0d1f30 0%, var(--navy-2) 100%);
}
.ogi-offer .badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--teal); color: #062a30;
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.ogi-offer .badge.warm { background: var(--warm); color: #2a1800; }

.ogi-offer .offer-head { padding: 26px 24px 18px; }
.ogi-offer .offer-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.8px;
  color: var(--teal); text-transform: uppercase; margin-bottom: 6px;
}
.ogi-offer .offer-title {
  font-family: 'Kanit', sans-serif; font-size: 19px; font-weight: 600;
  line-height: 1.2; color: var(--white); margin-bottom: 5px;
}
.ogi-offer .offer-dates { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.ogi-offer .offer-dates b { color: var(--warm); }

.ogi-offer .price-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 3px; }
.ogi-offer .currency { font-size: 14px; color: var(--muted); font-weight: 500; }
.ogi-offer .amount {
  font-family: 'Kanit', sans-serif; font-size: 40px; font-weight: 600;
  line-height: 1; color: var(--teal);
}
.ogi-offer.featured .amount { font-size: 46px; }
.ogi-offer .price-note { font-size: 11px; color: var(--muted); }
.ogi-offer .price-note b { color: var(--white); }

.ogi-offer .divider { height: 1px; background: rgba(255,255,255,0.05); margin: 0 24px; }

.ogi-offer .checklist {
  list-style: none; padding: 18px 24px; margin: 0;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.ogi-offer .checklist li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.4;
}
.ogi-offer .check {
  flex-shrink: 0; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(69,218,231,0.15); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; margin-top: 1px;
}
.ogi-offer .checklist li b { color: var(--teal); }

.ogi-offer .offer-foot { padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.ogi-offer .cta-btn {
  display: flex; align-items: center; justify-content: center;
  background: rgba(69,218,231,0.10); color: var(--teal);
  border: 1.5px solid rgba(69,218,231,0.35);
  font-family: 'Figtree', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 18px; border-radius: 9px; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.ogi-offer .cta-btn:hover { background: rgba(69,218,231,0.20); border-color: var(--teal); }
.ogi-offer.featured .cta-btn { background: var(--teal); color: #062a30; border-color: var(--teal); }
.ogi-offer.featured .cta-btn:hover { background: #5de8f5; }

/* "Login to see specials" — visually distinct (warm/outline) from the main
   CTA so a logged-out visitor doesn't confuse it with the checkout button. */
.ogi-offer .ogi-login-btn {
  background: transparent; color: var(--warm);
  border: 1.5px solid rgba(246,183,60,0.4);
}
.ogi-offer .ogi-login-btn:hover { background: rgba(246,183,60,0.10); border-color: var(--warm); }

@media (max-width: 480px) {
  .ogi-offer .offer-head, .ogi-offer .offer-foot { padding-left: 18px; padding-right: 18px; }
  .ogi-offer .checklist { padding: 14px 18px; }
  .ogi-offer .amount { font-size: 34px; }
  .ogi-offer.featured .amount { font-size: 38px; }
}
