/* ============================================================
   FORTIS ECOLOGY — v2-shop.css
   Page-specific styles for training.html, checkout.html, thank-you.html.
   Loaded AFTER styles-v2.css. Uses only v2 tokens.
   ============================================================ */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Section header ---------- */
.shop-head { max-width: 660px; margin-bottom: 44px; }
.shop-head h2 { margin-bottom: 14px; }
.shop-head p { margin: 0; font-size: 17px; line-height: 1.65; }

/* ---------- Product shelf ---------- */
.shelf { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.shop-card { position: relative; }
.shop-card .card__body { padding: 28px 28px 26px; }
.shop-card .eyebrow { margin-bottom: 12px; }
.shop-card .card__title { font-size: 20px; margin-bottom: 12px; }
.shop-card .card__desc { margin-bottom: 16px; }
.shop-card__rule { height: 2px; width: 36px; background: var(--gold); border-radius: 2px; margin: 0 0 18px; }

/* Full real description, tucked behind a disclosure */
.shop-more { margin: 0 0 22px; }
.shop-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--moss);
}
.shop-more summary::-webkit-details-marker { display: none; }
.shop-more summary::after { content: "+"; font-weight: 400; font-size: 17px; line-height: 1; transition: transform var(--t-fast); }
.shop-more[open] summary::after { transform: rotate(45deg); }
.shop-more p { font-size: 14px; line-height: 1.65; margin: 4px 0 0; }

.shop-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
}
.shop-price { display: flex; flex-direction: column; gap: 2px; }
.shop-price__amount { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--forest); letter-spacing: -0.01em; }
.shop-price__meta { font-size: 12.5px; color: var(--muted); }

/* Featured bundle card (dark / forest) */
.shop-card--bundle { background: var(--forest); border-color: var(--forest); box-shadow: var(--e3); }
.shop-card--bundle .card__title { color: var(--off-white); font-size: 22px; }
.shop-card--bundle .card__desc { color: var(--on-dark-82); }
.shop-card--bundle .shop-card__foot { border-top-color: var(--on-dark-line); }
.shop-card--bundle .shop-price__amount { color: var(--off-white); font-size: 32px; }
.shop-card--bundle .shop-price__meta { color: var(--on-dark-65); }
.shop-price__was { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--on-dark-65); text-decoration: line-through; margin-left: 8px; }
.shop-card--bundle .included li { color: var(--on-dark-90); font-size: 14px; }
.shop-card--bundle .included__tick { color: var(--gold-light); }
.shop-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.seal--save { width: 78px; height: 78px; border-width: 2.5px; }
.seal--save .seal__unit { font-size: 9px; margin-bottom: 2px; }
.seal--save .seal__num { font-size: 22px; }

/* ---------- Feature tiles (why choose) ---------- */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 26px 24px; box-shadow: var(--e1); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(64,145,108,0.12); color: var(--moss);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------- Delivery split ---------- */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.step__body h3 { font-size: 19px; }
.step__body p { font-size: 15.5px; line-height: 1.7; margin: 0; max-width: 62ch; }
.step__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 8px; }

/* ---------- Dark CTA band ---------- */
.band__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(64px,8vw,88px) var(--gutter); }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.band__row h2 { margin-bottom: 12px; }
.band__row p { font-size: 17px; margin: 0; max-width: 560px; }

.hero__lead--tight { margin-bottom: 30px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 30px; box-shadow: var(--e1); }
.panel--raised { box-shadow: var(--e2); }
.panel h2 { font-size: 22px; margin-bottom: 20px; color: var(--forest); }
.checkout-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.checkout-table th { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 8px 12px 0; border-bottom: 1px solid var(--line); }
.checkout-table td { padding: 16px 8px 16px 0; border-bottom: 1px solid var(--line); color: var(--charcoal); vertical-align: middle; }
.checkout-table td:first-child { font-family: var(--font-head); font-weight: 600; }
.checkout-table th:nth-child(2), .checkout-price { text-align: right; white-space: nowrap; }
.checkout-price { font-family: var(--font-head); font-weight: 700; color: var(--forest); }
.checkout-table td:last-child { text-align: right; width: 1%; padding-right: 0; }
.checkout-remove {
  background: none; border: 0; cursor: pointer; min-height: 44px; padding: 0 4px 0 12px;
  font-family: var(--font-body); font-size: 13.5px; color: var(--moss); text-decoration: underline; text-underline-offset: 3px;
}
.checkout-remove:hover { color: var(--danger); }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--charcoal); }
.checkout-total #checkout-total { font-weight: 700; font-size: 26px; color: var(--forest); }
.checkout-note { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; }
.checkout-trust { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.checkout-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--charcoal); }
.checkout-trust svg { width: 18px; height: 18px; color: var(--moss); flex-shrink: 0; }
.checkout-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.checkout-empty h2 { margin-bottom: 12px; }
.checkout-empty p { margin: 0 0 26px; }

/* ---------- Thank you ---------- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks__icon {
  width: 76px; height: 76px; border-radius: 50%; border: 2.5px solid var(--gold); color: var(--gold-light);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.thanks__icon svg { width: 34px; height: 34px; }
.thanks h1 { color: var(--off-white); margin-bottom: 20px; }
.thanks p { font-size: 18px; line-height: 1.65; margin: 0 auto 16px; max-width: 540px; }
.thanks p.thanks__small { font-size: 15px; color: var(--on-dark-65); }
.thanks p a { color: var(--gold-light); }
.thanks__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .shelf { grid-template-columns: 1fr; }
  .shop-card .card__body { padding: 24px 22px 22px; }
  .shop-card__foot .btn { flex: 1 1 auto; }
  .panel { padding: 22px 20px; }
  .band__row .btn { width: 100%; }
}
