/* Path: dr_ayoade/assets/css/checkout.css */

/* Checkout — matches product.css theme */
.cHero{
  padding: 26px 0 38px;
  border-bottom: 1px solid rgba(239,229,214,.18);
  background:
    radial-gradient(900px 560px at 30% 20%, rgba(200,164,106,.10), transparent 60%),
    linear-gradient(180deg, rgba(20,11,6,.80), rgba(27,15,9,.95));
}

.cTitle{
  margin:0 0 10px;
  font-family: "Cinzel", serif;
  letter-spacing:.6px;
  color: rgba(255,255,255,.96);
  font-size: clamp(28px, 3.4vw, 44px);
}
.cLead{
  margin:0;
  color: rgba(239,229,214,.80);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70ch;
}

.cSection{
  padding: clamp(56px, 6vw, 90px) 0;
  background: linear-gradient(180deg, rgba(16,11,9,.96), rgba(14,10,8,.98));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.cGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}

.cCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  padding: 18px 18px 20px;
}

.cH2{
  margin:0 0 12px;
  font-family: "Cinzel", serif;
  color: rgba(255,255,255,.95);
  font-size: 18px;
  letter-spacing:.4px;
}
.cH3{
  margin: 14px 0 10px;
  font-family: "Cinzel", serif;
  color: rgba(255,255,255,.92);
  font-size: 15px;
}

.cRow{display:grid; gap:8px; margin-bottom: 12px;}
.cLabel{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  color: rgba(239,229,214,.70);
}
.cInput, .cTextarea, .cSelect{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(239,229,214,.92);
  padding: 12px 12px;
  outline:none;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.cInput:focus, .cTextarea:focus, .cSelect:focus{
  border-color: rgba(200,164,106,.55);
  box-shadow: 0 0 0 3px rgba(200,164,106,.12);
}

.cAlert{
  border-radius: 14px;
  border: 1px solid rgba(231, 76, 60, .22);
  background: rgba(231, 76, 60, .10);
  color: rgba(255,255,255,.92);
  padding: 12px 14px;
  margin: 0 0 14px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
}

@media (max-width: 980px){
  .cGrid{grid-template-columns:1fr;}
}

/* --- Checkout polish: tighter currency + quantity row --- */
.cRow--inline{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.qty{
  display:flex;
  align-items:stretch;
  border:1px solid rgba(239,229,214,.18);
  border-radius:12px;
  overflow:hidden;
  background: rgba(10,8,6,.35);
}
.qty__btn{
  width:44px;
  border:0;
  background: transparent;
  color: rgba(239,229,214,.88);
  cursor:pointer;
  font-weight:700;
}
.qty__btn:hover{ background: rgba(255,255,255,.06); }
.qty__input{
  width:64px;
  border:0;
  text-align:center;
  background: rgba(0,0,0,.18);
  color: rgba(239,229,214,.92);
  font-weight:700;
}
@media (max-width: 860px){
  .cRow--inline{ grid-template-columns: 1fr; }
}

/* ===============================
   ORDER SUMMARY (FIXED SELECTORS)
   checkout.php uses: .cSummary .cSumRow .cSumRow--total .cMini
================================ */
.cSummary{
  border: 1px solid rgba(200,164,106,.18);
  background:
    radial-gradient(900px 520px at 25% 10%, rgba(200,164,106,.08), transparent 60%),
    rgba(0,0,0,.18);
}

.cSummary .cH2{
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239,229,214,.14);
}

.cSumRow{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(239,229,214,.08);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(239,229,214,.86);
}

.cSumRow span{ color: rgba(239,229,214,.70); }
.cSumRow strong{ color: rgba(255,255,255,.95); font-weight: 700; text-align:right; }

.cSumRow--total{
  border-bottom: 0;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(200,164,106,.22);
}

.cSumRow--total strong{
  font-family: "Cinzel", serif;
  letter-spacing: .3px;
  font-size: 18px;
}

.cSummary .cMini{
  margin: 14px 0 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(200,164,106,.18);
  background: rgba(200,164,106,.08);
  color: rgba(239,229,214,.75);
  font-size: 12.5px;
  line-height: 1.6;
  text-align:left;
}

@media (min-width: 981px){
  .cSummary{ position: sticky; top: 88px; }
}

/* ===============================
   CHECKOUT SUMMARY — THUMBNAILS
   (Used when checkout.php?from=cart)
================================ */
.cSumItem{
  display:flex;
  align-items:center;
  gap: 10px;
}

.cItemThumb{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow:hidden;
  flex: 0 0 auto;
}

.cItemThumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.cItemName{
  display:flex;
  flex-direction:column;
  gap: 2px;
}

.cItemName em{
  font-style: normal;
  font-size: 12px;
  color: rgba(239,229,214,.65);
}

/* FIX: dark dropdown options (Currency select) */
.cSelect{
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
}
.cSelect option{
  background: #000;
  color: #fff;
}

/* ===============================
   SUCCESS / THANK YOU CARD
   (Order placed, bank details)
================================ */
.cCard--success{
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px;
}

.cH2--success{
  font-size: 22px;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 16px;
  color: rgba(255,255,255,.98);
}

.cLead--ref{
  text-align: center;
  margin-bottom: 24px;
}

.cOrderRef{
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.3px;
}

/* Important Payment Notice — distinct panel */
.paymentNotice{
  border-radius: 14px;
  border: 1px solid rgba(200,164,106,.28);
  background: rgba(20,15,10,.65);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.paymentNotice__title{
  margin: 0 0 16px;
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: rgba(200,164,106,.95);
}

.paymentNotice__content{
  color: rgba(239,229,214,.88);
  font-size: 14px;
  line-height: 1.75;
}

.paymentNotice__content p{
  margin: 0 0 14px;
}

.paymentNotice__content p:last-child{
  margin-bottom: 0;
}

/* Bank transfer box — direct transfer option */
.bankBox{
  border-radius: 14px;
  border: 1px solid rgba(200,164,106,.28);
  background: rgba(20,15,10,.65);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.bankBox__title{
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: rgba(200,164,106,.95);
}

.bankBox__intro{
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(239,229,214,.85);
  line-height: 1.6;
}

.bankBox__link{
  color: rgba(200,164,106,.95);
  text-decoration: underline;
}

.bankBox__link:hover{
  color: rgba(220,180,120,1);
}

.bankBox__list{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: rgba(239,229,214,.9);
  font-size: 14px;
  line-height: 1.9;
}

.bankBox__list li{
  padding: 2px 0;
}

.bankBox__note{
  margin: 0;
  font-size: 12px;
  color: rgba(239,229,214,.7);
  line-height: 1.5;
}

.btn--backHome{
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 24px auto 0;
  text-align: center;
}

/* ===============================
   PAYMENT OPTIONS (Thank you page)
   4 cards: Taptap, Lemfi, World Remit, Remitly
================================ */
.cCard--successWide{
  max-width: 960px;
}

.paymentOptions{
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.paymentOptions__title{
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,.95);
}

.paymentOptions__intro{
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(239,229,214,.75);
  line-height: 1.6;
}

.paymentOptions__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.paymentCard{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(10,8,6,.5);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.paymentCard__logo{
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  background: transparent;
}

.paymentCard__logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.paymentCard__logoFallback{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.paymentCard__logo--taptap,
.paymentCard__logo--lemfi,
.paymentCard__logo--worldremit,
.paymentCard__logo--remitly{
  background: transparent;
}

.paymentCard__name{
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}

.paymentCard__sub{
  font-size: 11px;
  color: rgba(239,229,214,.6);
  margin-bottom: 10px;
}

.paymentCard__desc{
  margin: 0 0 14px;
  font-size: 12px;
  color: rgba(239,229,214,.8);
  line-height: 1.5;
  flex-grow: 1;
}

.paymentCard__btn{
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  margin-bottom: 12px;
}

.paymentCard__nb{
  margin: 0;
  font-size: 11px;
  color: rgba(239,229,214,.65);
  line-height: 1.45;
}

@media (max-width: 900px){
  .paymentOptions__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .paymentOptions__grid{
    grid-template-columns: 1fr;
  }
}
