/* ===== pages.css ===== */
/* ==========================================================================
   VAPORS DUBAI — Static pages (About / FAQ / Contact)
   Loaded by functions.php after blog.css; shares homepage.css :root tokens.
   ========================================================================== */

/* Astra prints its own page title above the content; our hero carries the H1,
   so hide the duplicate — but only on pages that actually use the hero. */
body:has(.vd-page-hero) .entry-title { display: none; }

/* ==========================================================================
   1. Page hero
   ========================================================================== */
.vd-page-hero {
  text-align: center;
  background: linear-gradient(180deg, rgba(108, 77, 237, .10), rgba(168, 85, 247, .05));
  border: 1px solid rgba(108, 77, 237, .18);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 54px) clamp(20px, 4vw, 52px);
  margin: 6px 0 36px;
}
.vd-page-hero__eyebrow {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6C4DF6;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.vd-page-hero__eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
  box-shadow: 0 4px 10px rgba(108, 77, 237, .45);
}
.vd-page-hero h1 {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.8px;
  color: var(--vd-ink);
  margin: 0 0 14px;
}
.vd-page-hero__lead {
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--vd-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   2. Intro + feature cards (About)
   ========================================================================== */
.vd-page-intro {
  max-width: 820px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 17px;
  line-height: 1.75;
}

.vd-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 18px;
  margin: 6px 0 38px;
}
.vd-feature {
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 14px;
  padding: 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.vd-feature:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(13, 16, 30, .10);
}
.vd-feature__dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
  box-shadow: 0 4px 10px rgba(108, 77, 237, .4);
  margin-bottom: 13px;
}
.vd-feature h3 {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--vd-ink);
  margin: 0 0 7px;
  letter-spacing: -.2px;
}
.vd-feature p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--vd-muted);
  margin: 0;
}

/* ==========================================================================
   3. FAQ accordion (native <details> — no JS)
   ========================================================================== */
.vd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 38px;
}
.vd-faq {
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vd-faq[open] {
  border-color: rgba(108, 77, 237, .4);
  box-shadow: 0 12px 30px rgba(13, 16, 30, .07);
}
.vd-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--vd-ink);
  transition: color .15s ease;
}
.vd-faq summary::-webkit-details-marker { display: none; }
.vd-faq summary::marker { content: ""; }
.vd-faq summary::after {
  content: "+";
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 22px;
  font-weight: 600;
  color: #6C4DF6;
  flex: none;
  line-height: 1;
  transition: transform .2s ease;
}
.vd-faq[open] summary::after { transform: rotate(45deg); }
.vd-faq summary:hover { color: #6C4DF6; }
.vd-faq__body { padding: 0 20px 18px; }
.vd-faq__body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--vd-muted);
  margin: 0;
}

/* ==========================================================================
   4. Contact cards
   ========================================================================== */
.vd-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 6px 0 38px;
}
/* wpautop wraps each card anchor in its own <p> — make those wrappers
   invisible grid cells so the cards themselves lay out. */
.vd-contact-grid > p { margin: 0; }
.vd-contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 16px;
  padding: 26px;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.vd-contact-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(13, 16, 30, .10);
}
/* .entry-content a (blog.css) can sneak a bottom rule under the card — pin it. */
.entry-content a.vd-contact-card { border-bottom: 1px solid var(--vd-line, #E7E9EF); }
.entry-content a.vd-contact-card:hover { border-bottom-color: transparent; }
.vd-contact-card__dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
  box-shadow: 0 4px 10px rgba(108, 77, 237, .4);
  margin-bottom: 14px;
}
.vd-contact-card__ttl {
  display: block;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--vd-ink);
  margin: 0 0 6px;
  letter-spacing: -.2px;
}
.vd-contact-card__val {
  display: block;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #6C4DF6;
  margin: 0 0 8px;
}
.vd-contact-card__hint {
  display: block;
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 13px;
  color: var(--vd-muted);
}

/* ==========================================================================
   5. CTA band + button (matches the add-to-cart pill)
   ========================================================================== */
.vd-page-cta {
  text-align: center;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 18px;
  padding: 28px 24px;
  margin: 0 0 8px;
}
.vd-page-cta__text {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--vd-ink);
  margin: 0 0 16px;
}
.vd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #7C3AED, #6D28D9);
  color: #fff !important;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 26px rgba(109, 40, 217, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.vd-btn:hover {
  background: linear-gradient(180deg, #8B5CF6, #7C3AED);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(109, 40, 217, .45);
  color: #fff !important;
}

/* ==========================================================================
   6. Delivery checklist + note (Delivery Info page)
   ========================================================================== */
.entry-content .vd-checklist {
  list-style: none;
  margin: 4px 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.entry-content .vd-checklist li {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 12px;
  padding: 13px 16px 13px 46px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--vd-ink-2, #161A26);
}
/* violet gradient dot + white check, aligned to the first line */
.entry-content .vd-checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 13.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
  box-shadow: 0 3px 8px rgba(108, 77, 237, .4);
}
.entry-content .vd-checklist li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 17.5px;
  width: 6px;
  height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.entry-content .vd-note {
  background: rgba(108, 77, 237, .07);
  border: 1px solid rgba(108, 77, 237, .2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--vd-ink);
  margin: 0 0 34px;
}
.entry-content .vd-note strong { color: #6C4DF6; }

/* ==========================================================================
   7. Responsive
   ========================================================================== */
@media (max-width: 640px) {
  .vd-page-hero { border-radius: 16px; }
  .vd-faq summary { font-size: 14.5px; padding: 14px 16px; }
  .vd-faq__body { padding: 0 16px 15px; }
  .vd-contact-card, .vd-feature { padding: 20px; }
  .vd-page-cta { padding: 24px 18px; }
}
