/* Pages beyond the home page: product, checkout, results, messages */
.card__link { display: block; width: 100%; height: 100%; }
.card__name a:hover { color: var(--orange-deep); }
.card__add { text-decoration: none; }
.card__add--muted { background: var(--paper-2); color: var(--ink); }
.card__add--muted:hover { background: var(--ink); color: #fff; }
.stock--out { color: var(--ink-3); }
.card.is-hidden { display: none; }

body.is-inner { background: var(--paper); }
.page-top { padding-top: 116px; padding-bottom: 90px; }
.page-title { font-size: clamp(34px, 4vw, 48px); }

.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--orange-deep); }

.pd--page { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pd--page .pd__media { position: relative; }
.pd--page .badges { z-index: 1; }
.pd__title { font-family: var(--sans); font-weight: 700; font-size: 32px; letter-spacing: -.02em; line-height: 1.15; }
.pd .pd__buy { grid-template-columns: auto 1fr; }
.related { margin-top: 70px; }
.related h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 26px; }

.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.checkout__form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; display: grid; gap: 14px; }
.checkout__form > .muted { margin-top: -4px; }
.checkout__summary { position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.checkout__summary h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }
.btn--tall { height: 56px; font-size: 16px; margin-top: 18px; }
.line__ph { width: 80px; height: 80px; border-radius: 8px; background: var(--paper-2); display: block; }
.form-error { background: #fbe3de; color: #c4361d; padding: 12px 16px; border-radius: 10px; font-weight: 500; }

.result { max-width: 620px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 14px; }
.result > p { color: var(--ink-2); font-size: 17px; }
.result__card { width: 100%; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 24px 20px; margin: 16px 0 10px; }
.result__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.done__tick--warn { background: var(--ink); font-size: 30px; font-weight: 700; }

.flash { position: fixed; z-index: 45; top: 96px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: 8px; }
.flash__msg { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 14.5px; box-shadow: 0 16px 40px -20px rgba(0,0,0,.5); animation: rise .4s var(--ease) both; }
.flash__msg--error { background: #c4361d; }

@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
  .page-top { padding-top: 96px; }
}
@media (max-width: 560px) {
  .checkout__form { padding: 24px 18px; }
  .checkout__summary { padding: 20px 18px; }
  .pd__title { font-size: 24px; }
  .flash { top: 84px; }
}

/* Product options wrap onto lines, so every scent or colour is visible at once on phones */
.pd__variants .chips { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
