/* =============================================
   SURAJ SHIPPING — Shipping & COD Confirmation for WooCommerce (new, 2026-12-01)
   /shipping-cod-plugin (slug placeholder, see the PHP template's top comment)
   Classes mostly ported verbatim from assets/css/ecommerce-email-whatsapp-
   software.css (same box/section/pricing/FAQ/final-CTA patterns, same class
   names, same values) so this product's pages look structurally identical to
   that one, per explicit instruction. Re-declared here (not cross-enqueued)
   so this product's stylesheet stays self-contained and the two products
   can never break each other — same isolation precedent as that file's own
   relationship to the older email-whatsapp-marketing-software.css.
   New classes (no equivalent on the EWS page): the .ship-feature* accordion
   boxes (EWS's "click to see more" boxes link out to a full separate
   section each; here, with 10 short features of only 3–5 lines each, each
   box expands in place instead — a native <details>/<summary>, no JS).
   Reuses global .eyebrow/.section-title/.btn-primary/.btn-ghost/.checklist/
   .container directly — no new fonts, no new theme.
   ============================================= */

/* ── Hero (no right-column visual — this product has no live demo) ── */
.ew-hero { background: var(--bg); padding: 52px 0 60px; }
.ew-hero .container { max-width: 760px; }
.ew-hero__title { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 0; text-wrap: balance; color: var(--navy); }
.ew-hero__sub { font-size: 17px; color: var(--muted); line-height: 1.65; margin: 14px 0 0; max-width: 640px; }
.ew-hero__sub strong { color: var(--navy); }

.ew-hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 22px 0 0; }
.ew-hero__price-amt { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.ew-hero__price-unit { font-size: 14px; font-weight: 700; color: var(--accent-dark); }

.ew-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.ew-hero__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 14px; }
.ew-hero__links a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.ew-note { font-size: 13px; color: var(--light); margin-top: 16px; }

@media (max-width: 900px) {
  .ew-hero { padding: 36px 0 44px; }
  .ew-hero__title { font-size: 32px; }
}
@media (max-width: 480px) {
  .ew-hero__title { font-size: 27px; }
  .ew-hero__btns { flex-direction: column; }
  .ew-hero__btns a { width: 100%; justify-content: center; }
}

/* ---- Generic section wrapper (same pattern as the EWS page) ---- */
.ew-section { background: var(--bg); padding: 64px 0; scroll-margin-top: 90px; }
.ew-section--alt { background: var(--bg-alt); }
.ew-section__head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.ew-body { font-size: 15.5px; color: var(--muted); line-height: 1.65; }
.ew-body--center { max-width: 640px; margin: 10px auto 0; }
.ew-strip { text-align: center; font-size: 13.5px; color: var(--muted); max-width: 820px; margin: 32px auto 0; line-height: 1.6; }

/* ---- Problem strip — 3 cards, icon + title + 1-line body ---- */
.ew-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; }
.ew-section--alt .ew-card { background: var(--bg); }
.ew-card__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-light); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ew-card__icon svg { width: 19px; height: 19px; }
.ew-card__icon--warn { background: var(--red-bg); color: var(--red); }
.ew-card__title { font-size: 15px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.ew-card__body { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.ew-codproblem-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

/* ---- Feature boxes — 10 accordion boxes, native <details>/<summary>,
   no JS. Box/border/radius styling matches .ew-card above; the summary row
   adds an icon + title + 1-line teaser + chevron, and the body (hidden
   until clicked) holds the 3–5 lines and the worked example. ---- */
.ship-features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ship-feature { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; transition: border-color .15s; }
.ship-feature[open] { border-color: var(--accent); }
.ship-feature__summary { display: flex; align-items: center; gap: 14px; padding: 18px 0; cursor: pointer; list-style: none; }
.ship-feature__summary::-webkit-details-marker { display: none; }
.ship-feature__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--gold-light); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.ship-feature__icon svg { width: 19px; height: 19px; }
.ship-feature__head { flex: 1; }
.ship-feature__title { font-size: 15px; font-weight: 800; color: var(--text); margin: 0 0 2px; }
.ship-feature__teaser { font-size: 13.5px; color: var(--muted); margin: 0; }
.ship-feature__chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--muted); transition: transform .15s; }
.ship-feature[open] .ship-feature__chevron { transform: rotate(180deg); color: var(--accent-dark); }
.ship-feature__body { padding: 0 0 20px 52px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.ship-feature__body ul { margin: 0; padding-left: 18px; }
.ship-feature__body li { margin-bottom: 6px; }
.ship-feature__example { margin-top: 12px; background: var(--bg-alt); border: 1px dashed var(--border); border-radius: 10px; padding: 11px 14px; font-size: 13px; color: var(--text); line-height: 1.5; }
.ship-feature__example b { color: var(--navy); }

@media (min-width: 768px) and (max-width: 1023px) {
  .ew-codproblem-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .ew-codproblem-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .ship-feature__body { padding-left: 0; }
}

/* ---- How it works — numbered steps (same pattern as the EWS page) ---- */
.ew-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }
.ew-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text); font-weight: 700; }
.ew-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.ew-steps li span { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }

/* ---- What you need ---- */
.ship-needs { max-width: 640px; margin: 0 auto; }

/* ---- Pricing — copied unchanged from the EWS page's .ews-pricing* rules
   (same classes, same values), per explicit instruction. ---- */
.ews-pricing { background: var(--bg-alt); padding: 64px 0; }
.ews-pricing__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 36px auto 0; }
.ews-price-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: 16px; padding: 30px 26px; text-align: center; }
.ews-price-card--featured { border-color: var(--accent); position: relative; }
.ews-price-card__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--gold-light); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 100px; }
.ews-price-card__title { font-size: 15px; font-weight: 800; color: var(--text); margin: 0 0 8px; }
.ews-price-card__amt { font-size: 34px; font-weight: 800; color: var(--navy); }
.ews-price-card__unit { font-size: 13px; color: var(--light); margin: 2px 0 18px; }
.ews-price-card ul { text-align: left; margin: 0 0 22px; padding: 0; list-style: none; }
.ews-price-card li { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.ews-price-card li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }

/* ---- FAQ accordion (native <details>, no JS needed — same as EWS) ---- */
.ew-faq { max-width: 760px; margin: 0 auto; }
.ew-faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
.ew-faq__q { font-size: 15px; font-weight: 700; color: var(--text); padding: 14px 0; cursor: pointer; }
.ew-faq__a { font-size: 13.5px; color: var(--muted); line-height: 1.6; padding: 0 0 16px; }

/* ---- Final CTA (reuses the sitewide gold-bg/navy-text pattern) ---- */
.ew-final-cta { background: var(--accent); padding: 72px 0; text-align: center; }
.ew-final-cta h2 { color: var(--navy); font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 24px; }
.ew-final-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ew-final-cta__legal { margin-top: 22px; font-size: 12.5px; }
.ew-final-cta__legal a { color: var(--navy); }

/* ---- Legal / content sub-pages (thank-you, terms, privacy, refund-policy,
   delivery-policy, contact) — same header + prose pattern as the EWS
   sub-pages, copied from email-whatsapp-marketing-software.css's
   .ews-legal* rules. ---- */
.ews-legal { background: var(--bg); padding: 48px 0 72px; }
.ews-legal__back { display: inline-block; font-size: 13px; color: var(--light); text-decoration: none; margin-bottom: 16px; }
.ews-legal__header { text-align: center; }
.ews-legal__body { max-width: 720px; margin: 28px auto 0; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.ews-legal__body p { margin: 0 0 18px; }
.ews-legal__body strong { color: var(--navy); }
.ews-legal__body a { color: var(--navy); text-decoration: underline; }
.ews-legal__body ul { margin: 0 0 18px; padding-left: 22px; }
.ews-legal__body li { margin-bottom: 8px; }

/* ---- Thank-you page specific (same as the EWS thank-you page) ---- */
.ews-thankyou__icon { text-align: center; font-size: 46px; margin-bottom: 6px; }
.ews-thankyou__order { text-align: center; font-size: 13px; color: var(--light); background: var(--bg-alt); border-radius: 100px; padding: 6px 16px; display: inline-block; margin: 0 auto 18px; }
.ews-thankyou__center { text-align: center; }
.ews-thankyou__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---- Sitewide disclaimer line, every one of this product's 7 pages ---- */
.ship-disclaimer { text-align: center; font-size: 12px; color: var(--light); padding: 18px 0 36px; background: var(--bg); margin: 0; }

@media (max-width: 767px) {
  .ew-section { padding: 48px 0; }
  .ew-final-cta { padding: 48px 0; }
  .ews-pricing { padding: 44px 0; }
  .ews-pricing__grid { grid-template-columns: 1fr; }
}
