/* ============================================================
   Arif Natural Agro Farm — advance-booking.css
   Styles ONLY for the Premium Advance Booking page
   (uses the same design tokens defined in style.css)
   ============================================================ */

/* ---------- Breadcrumb bar ---------- */
.ab-crumbbar {
  background: var(--green-50);
  border-bottom: 1px solid var(--line);
  padding-block: .65rem;
}
.ab-crumbbar .breadcrumb { color: var(--ink-600); }
.ab-crumbbar .breadcrumb a { color: var(--green-800); }
.ab-crumbbar .breadcrumb a:hover { color: var(--green-600); }
.ab-crumbbar .breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* ---------- Page ---------- */
.ab-page { padding-block: 1.5rem 3rem; background: var(--white); }

/* ---------- Hero band ---------- */
.ab-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--green-50), var(--green-100));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
}
.ab-hero::after {
  content: "🌿";
  position: absolute;
  right: -18px;
  bottom: -30px;
  font-size: 9rem;
  opacity: .07;
  pointer-events: none;
}
.ab-hero__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ab-hero__icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.ab-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--green-900);
  margin: 0;
}
.ab-hero__top p { color: var(--ink-600); font-size: .95rem; }

.ab-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.3rem;
}
.ab-steps li {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  box-shadow: var(--shadow);
}
.ab-steps__num {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  background: var(--green-800);
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  border-radius: 50%;
}
.ab-steps li strong { display: block; font-size: .9rem; color: var(--ink-900); }
.ab-steps li span { font-size: .78rem; color: var(--ink-600); }

/* ---------- Layout grid ---------- */
.ab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  align-items: start;
}

/* ---------- Cards (shared) ---------- */
.ab-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  transition: box-shadow .18s ease;
}
.ab-card:hover { box-shadow: var(--shadow-lg); }
.ab-card__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .9rem;
}
.ab-card__head i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 10px;
  font-size: .95rem;
}
.ab-card__head h2 { font-size: 1.02rem; margin: 0; color: var(--ink-900); }
.ab-card__head small { display: block; font-size: .78rem; color: var(--ink-600); font-weight: 400; }

/* ---------- Form ---------- */
.ab-form { padding: 1.4rem 1.5rem; }
.ab-form fieldset {
  border: 0;
  margin: 0 0 1.4rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px dashed var(--line);
}
.ab-form fieldset:last-of-type { border-bottom: 0; margin-bottom: .4rem; padding-bottom: 0; }
.ab-form legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 1rem;
  padding: 0;
}
.ab-form legend i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 10px;
  font-size: .9rem;
}
.ab-form legend em {
  font-style: normal;
  font-weight: 400;
  font-size: .78rem;
  color: var(--ink-600);
}

.ab-form .form-field label span.opt {
  font-weight: 400;
  color: var(--ink-600);
  font-size: .8rem;
}
.ab-form .form-field input:hover,
.ab-form .form-field select:hover,
.ab-form .form-field textarea:hover { border-color: var(--green-600); }

.ab-agree {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  font-size: .88rem;
  color: var(--ink-600);
  margin-bottom: 1.1rem;
}
.ab-agree input {
  margin-top: .25rem;
  width: 16px;
  height: 16px;
  accent-color: var(--green-700);
  flex: 0 0 auto;
}
.ab-agree a { color: var(--green-800); font-weight: 600; text-decoration: underline; }

.ab-submit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  width: 100%;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  background: var(--green-800);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ab-submit small { font-weight: 400; font-size: .76rem; opacity: .85; }
.ab-submit:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.ab-form .form-note { text-align: center; }

/* ---------- Sidebar ---------- */
.ab-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }

/* Product preview / summary */
.ab-preview__media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: .9rem;
}
.ab-preview__media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform .3s ease;
}
.ab-preview:hover .ab-preview__media img { transform: scale(1.04); }
.ab-preview__badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--green-800);
  color: var(--white);
  font-size: .74rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.ab-preview dl { margin: 0; }
.ab-preview .ab-row {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .34rem;
  font-size: .88rem;
}
.ab-preview .ab-row dt { color: var(--ink-600); }
.ab-preview .ab-row dd { margin: 0; font-weight: 600; color: var(--ink-900); text-align: right; }
.ab-preview hr { border: 0; border-top: 1px solid var(--line); margin-block: .5rem; }
.ab-preview .ab-row--hl dd { color: var(--green-800); font-weight: 800; }

/* Payment card */
.ab-pay { background: var(--green-50); }
.ab-pay ul { display: grid; gap: .55rem; }
.ab-pay li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .87rem;
  color: var(--ink-600);
}
.ab-pay li i { color: var(--green-700); margin-top: .2rem; font-size: .82rem; }
.ab-pay li strong { color: var(--ink-900); }
.ab-pay__methods {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}
.ab-pay__methods li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-900);
}

/* Info list cards (delivery / notes) */
.ab-list ul { display: grid; gap: .55rem; }
.ab-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .87rem;
  color: var(--ink-600);
}
.ab-list li i { color: var(--green-700); margin-top: .2rem; font-size: .82rem; }
.ab-list li strong { color: var(--ink-900); }

/* Support card */
.ab-support {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  border: 0;
}
.ab-support .ab-card__head i { background: rgba(255, 255, 255, .15); color: var(--white); }
.ab-support .ab-card__head h2 { color: var(--white); }
.ab-support p { font-size: .85rem; opacity: .85; margin-bottom: .7rem; }
.ab-support a.ab-hotline {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  color: var(--white);
  transition: background .15s ease;
}
.ab-support a.ab-hotline:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.ab-support a.ab-hotline i { font-size: 1.1rem; }
.ab-support a.ab-hotline strong { display: block; font-size: 1.05rem; }
.ab-support a.ab-hotline span { font-size: .76rem; opacity: .8; }

/* Trust badges mini */
.ab-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
.ab-badges li {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .6rem .7rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-900);
}
.ab-badges li i { color: var(--green-700); font-size: .95rem; }

/* ---------- Full-width lower sections ---------- */
.ab-section { margin-top: 1.75rem; }
.ab-section > h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}
.ab-section > h2 i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 10px;
  font-size: .95rem;
}

/* Guidelines: numbered flow */
.ab-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ab-guide li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ab-guide li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ab-guide__num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--green-800);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: .6rem;
}
.ab-guide li strong { display: block; font-size: .95rem; color: var(--ink-900); margin-bottom: .25rem; }
.ab-guide li span { font-size: .82rem; color: var(--ink-600); }

/* Why us */
.ab-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ab-why li {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ab-why li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ab-why li i {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  color: var(--green-800);
  border-radius: 50%;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  margin-bottom: .6rem;
}
.ab-why li strong { display: block; font-size: .95rem; color: var(--ink-900); margin-bottom: .2rem; }
.ab-why li span { font-size: .82rem; color: var(--ink-600); }

/* Important notes */
.ab-notes {
  background: var(--sand-100);
  border: 1px dashed var(--brown-700);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.ab-notes ul { display: grid; gap: .5rem; }
.ab-notes li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--ink-600);
}
.ab-notes li i { color: var(--brown-700); margin-top: .22rem; font-size: .82rem; }

/* Secure strip */
.ab-secure {
  margin-top: 1.75rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ab-secure li { display: flex; align-items: center; gap: .7rem; }
.ab-secure li i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 50%;
  font-size: 1rem;
}
.ab-secure li strong { display: block; font-size: .9rem; color: var(--ink-900); }
.ab-secure li span { font-size: .78rem; color: var(--ink-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ab-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-side { position: static; }
}
@media (max-width: 820px) {
  .ab-steps { grid-template-columns: minmax(0, 1fr); }
  .ab-guide, .ab-why, .ab-secure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ab-guide, .ab-why, .ab-secure, .ab-badges { grid-template-columns: minmax(0, 1fr); }
  .ab-hero { padding: 1.2rem 1.2rem; }
  .ab-form { padding: 1.1rem 1.1rem; }
}
