/* IIPC 2027 checkout. Loaded after home.css and pages.css on the checkout page only.
   The WordPress plugin (iipc-checkout) reuses these classes around the WooCommerce checkout form. */

.co-hero { padding-bottom: 36px; }
.co-section { padding: 8px 0 calc(var(--section-gap) / 2); background: linear-gradient(180deg, var(--h-paper) 0%, var(--h-grey) 26%, #e2f0f1 82%, #d6ebed 100%); }
.co-section .container { position: relative; z-index: 2; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; max-width: 1120px; margin: 0 auto; }
.co-steps { display: grid; gap: 18px; min-width: 0; }

/* Step cards */
.co-card { min-width: 0; margin: 0; padding: 30px 32px 32px; border: 1px solid var(--h-line); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -52px #03384880; }
.co-head { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; color: var(--h-ink); font: 700 21px/1.2 var(--h-font); }
.co-num { min-width: 22px; flex-shrink: 0; color: var(--h-orange-text); font: 800 28px/1 var(--h-font); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.co-head + * { clear: both; }
.co-head + .co-fields { margin-top: 0; padding-top: 20px; }
.co-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.co-optional { padding: 3px 10px; border-radius: 999px; background: var(--h-mist); color: var(--h-muted); font: 700 12px/1.3 Arial, Helvetica, sans-serif; }
.co-sub { padding-top: 8px; margin: 0 0 0 34px; color: var(--h-muted); font-size: 15px; line-height: 1.5; }
.co-label { color: var(--h-ink); font-size: 13px; font-weight: 700; }
.co-req { color: var(--h-orange-text); }

.co-rate { margin-top: 22px; }
.co-rate select { max-width: 420px; }

/* Option cards (payment method) */
.co-opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #034c6033; cursor: pointer; transition: box-shadow .15s, background .15s; }
.co-opt:hover { box-shadow: inset 0 0 0 1px #034c6080; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt:has(input:checked) { background: #f7fbfb; box-shadow: inset 0 0 0 2px var(--h-ink); }
.co-opt:has(input:focus-visible) { outline: 3px solid #c3161f; outline-offset: 3px; }
.co-opt-text { display: grid; gap: 2px; min-width: 0; }
.co-opt-text strong { color: var(--h-ink); font-size: 16px; }
.co-opt-text small { color: var(--h-muted); font-size: 13px; line-height: 1.35; }

/* Ticket cards */
.co-tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.co-ticket { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--h-line); border-radius: 20px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.co-ticket:hover { border-color: #034c6059; }
.co-ticket input { position: absolute; opacity: 0; pointer-events: none; }
.co-ticket:has(input:checked) { border-color: var(--h-ink); background: #f7fbfb; box-shadow: inset 0 0 0 1px var(--h-ink), 0 24px 40px -34px #03384899; }
.co-ticket:has(input:focus-visible) { outline: 3px solid #c3161f; outline-offset: 3px; }
.co-flag { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: 999px; background: var(--h-ink); color: #fff; font-size: 11.5px; font-weight: 700; }
.co-ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.co-days { color: var(--h-orange-text); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.co-radio { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #b5c7cd; transition: box-shadow .15s; }
.co-ticket:has(input:checked) .co-radio, .co-opt:has(input:checked) .co-radio { box-shadow: inset 0 0 0 7px var(--h-ink); }
.co-ticket-name { margin-top: 8px; color: var(--h-ink); font: 700 20px/1.2 var(--h-font); letter-spacing: -.2px; }
.co-incl { display: grid; gap: 6px; margin: 14px 0 18px; }
.co-incl > span { position: relative; display: block; padding-left: 22px; color: var(--h-body); font-size: 14px; line-height: 1.4; }
.co-incl > span::before { content: ''; position: absolute; left: 1px; top: 5px; width: 10px; height: 5px; border-left: 2px solid var(--h-teal); border-bottom: 2px solid var(--h-teal); transform: rotate(-45deg); }
.co-incl b { margin-right: 6px; color: var(--h-ink); white-space: nowrap; }
.co-incl .is-out, .co-incl .is-out b { color: #9ab0b8; }
.co-incl .is-out::before { top: 9px; width: 11px; height: 0; border-left: 0; border-bottom-color: #b5c7cd; transform: none; }
.co-price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--h-line); }
.co-cur { color: var(--h-muted); font-size: 14px; font-weight: 700; }
.co-amount { color: var(--h-ink); font: 700 34px/1 var(--h-font); letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.co-price-note { margin-top: 6px; color: var(--h-muted); font-size: 13px; }
.co-price-note b { color: var(--h-orange-text); }

/* Fields */
.co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 22px; }
.co-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.co-field[hidden], .co-fields[hidden] { display: none; }
.co-wide { grid-column: 1 / -1; }
.co-field label { color: var(--h-ink); font-size: 13px; font-weight: 700; }
.co-card input:not([type="radio"]):not([type="checkbox"]), .co-card select, .co-card textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff;
  color: var(--h-ink); font: 400 16px/1.4 Arial, Helvetica, sans-serif; box-shadow: inset 0 0 0 1px #034c6033;
  transition: box-shadow .15s;
}
.co-card textarea { min-height: 96px; resize: vertical; }
.co-card select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23034c60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 16px center / 16px 16px no-repeat; cursor: pointer; }
.co-card input:hover, .co-card select:hover, .co-card textarea:hover { box-shadow: inset 0 0 0 1px #034c6066; }
.co-card input:focus, .co-card select:focus, .co-card textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--h-teal); }
.co-card [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #a8181c !important; }
.co-card ::placeholder { color: #8aa3ab; opacity: 1; }
.co-hint { color: var(--h-muted); font-size: 12.5px; line-height: 1.4; }
.co-field .co-error, .co-hint.is-error { color: #a8181c; }
.co-error { margin-top: 10px; color: #a8181c; font-size: 13.5px; font-weight: 700; }
.co-form-error { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fdeeee; line-height: 1.45; }
.co-form-error ul { margin: 0; padding-left: 18px; }
.co-form-error li + li { margin-top: 4px; }

/* Checkboxes */
.co-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--h-ink); font-size: 15px; line-height: 1.45; cursor: pointer; }
.co-check input { width: 20px; height: 20px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--h-ink); cursor: pointer; }
.co-check.is-invalid { color: #a8181c; }
.co-check.is-invalid input { outline: 2px solid #a8181c; outline-offset: 2px; }
.co-check a { color: var(--h-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-check a:hover { color: #a8181c; }
.co-reveal { margin-top: 18px; }

/* Payment */
.co-methods { display: grid; gap: 10px; margin-top: 20px; }
.co-method-logos { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.co-method-logos img, .co-badges img { width: auto; }
.co-mini { display: none; margin: 20px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--h-mist); }
.co-mini div { display: flex; justify-content: space-between; gap: 16px; }
.co-mini div + div { margin-top: 8px; }
.co-mini dt { color: var(--h-muted); font-size: 14px; }
.co-mini dd { margin: 0; color: var(--h-ink); font-size: 14px; font-weight: 700; text-align: right; }
.co-mini .co-mini-total dt, .co-mini .co-mini-total dd { color: var(--h-ink); font: 700 20px/1.2 var(--h-font); }
.co-consent { margin-top: 22px; font-size: 14px; }
.co-pay { width: 100%; margin-top: 20px; border: 0; font-family: inherit; font-size: 17px; }
.co-pay.is-busy { opacity: .75; cursor: progress; }
.co-ticket.is-soldout { cursor: not-allowed; opacity: .6; }
.co-soldout { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--h-ink); color: #fff; font-size: 12px; font-weight: 700; }
.co-notice { padding: 16px 18px; border-radius: 16px; background: var(--h-mist); color: var(--h-body); font-size: 15px; line-height: 1.5; }
.co-notice strong { color: var(--h-ink); }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--h-muted); font-size: 13px; text-align: center; }
.co-secure svg { width: 16px; height: 16px; color: var(--h-teal); }

/* Order summary */
.co-summary { position: sticky; top: 104px; }
.co-sum-card { padding: 28px 26px; border: 1px solid var(--h-line); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -48px #03384880; }
.co-sum-card h2 { color: var(--h-ink); font: 700 20px/1.2 var(--h-font); }
.co-sum-item { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--h-line); }
.co-sum-name { color: var(--h-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.co-sum-meta { margin-top: 4px; color: var(--h-muted); font-size: 13px; line-height: 1.4; }
.co-sum-price { color: var(--h-ink); font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-sum-rows { margin: 14px 0 0; }
.co-sum-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.co-sum-rows dt { color: var(--h-muted); font-size: 14px; }
.co-sum-rows dd { min-width: 0; margin: 0; color: var(--h-ink); font-size: 14px; text-align: right; overflow-wrap: anywhere; }
.co-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--h-line); color: var(--h-ink); font-weight: 700; }
.co-sum-total strong { font: 700 30px/1 var(--h-font); letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.co-sum-note { margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: #fdeeee; color: #a8181c; font-size: 13px; font-weight: 700; }
.co-sum-note:empty { display: none; }
.co-sum-pay { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--h-line); }
.co-sum-secure { display: flex; align-items: center; gap: 8px; color: var(--h-ink); font-size: 14px; font-weight: 700; }
.co-sum-secure svg { width: 18px; height: 18px; color: var(--h-teal); }
.co-paychip { display: block; width: 120px; height: auto; margin-top: 14px; }
.co-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.co-badges li { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--h-line); border-radius: 10px; background: #fff; }
.co-badge-fpx span { padding-left: 8px; border-left: 1px solid var(--h-line); color: var(--h-ink); font-size: 12px; font-weight: 800; letter-spacing: .6px; }
.co-sum-small { margin-top: 12px; color: var(--h-muted); font-size: 12.5px; line-height: 1.45; }
.co-sum-help { margin-top: 16px; color: var(--h-body); font-size: 13px; }

/* Preview notice */
.co-preview { max-width: 440px; padding: 32px; border: 0; border-radius: 24px; color: var(--h-body); box-shadow: 0 40px 80px -30px #03384899; }
.co-preview::backdrop { background: #03384866; }
.co-preview h2 { color: var(--h-ink); font: 700 24px/1.2 var(--h-font); }
.co-preview p { margin-top: 12px; line-height: 1.55; }
.co-preview .pill-cta { margin-top: 22px; border: 0; font-family: inherit; }

@media (max-width: 1080px) {
  .co-layout { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .co-summary { display: none; }
  .co-mini { display: block; }
}
@media (max-width: 760px) {
  .co-hero { padding-bottom: 24px; }
  .co-card { padding: 22px 18px 24px; border-radius: 22px; }
  .co-head { font-size: 19px; }
  .co-sub { margin-left: 0; }
  .co-tickets, .co-fields { grid-template-columns: 1fr; }
    .co-opt { min-height: 64px; padding: 12px 16px; }
  .co-method { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; }
  .co-method-logos { grid-column: 2; margin-left: 0; }
  .co-num { font-size: 25px; }
  .co-sub { margin-left: 0; }
  .co-amount { font-size: 30px; }
}

/* WordPress states: registration closed, thank-you and payment pages */
.co-closed { grid-template-columns: minmax(0, 760px); justify-content: center; }
.co-head-static { float: none; margin: 0; }
.co-sub-flush { margin-left: 0; }
.co-sub a { color: var(--h-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-thanks { max-width: 760px; margin: 0 auto; }
.co-thanks .co-card + .co-card { margin-top: 18px; }
.co-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #e3f3ee; color: #0b6b4f; font-size: 13px; font-weight: 700; }
.co-status.is-warn { background: #fdeeee; color: #a8181c; }
.co-thanks h2 { margin-top: 14px; color: var(--h-ink); font: 700 26px/1.2 var(--h-font); }
.co-thanks p { margin-top: 10px; color: var(--h-body); line-height: 1.55; }
.co-thanks dl { margin: 18px 0 0; }
.co-thanks dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--h-line); }
.co-thanks dt { color: var(--h-muted); font-size: 14px; }
.co-thanks dd { margin: 0; color: var(--h-ink); font-size: 14px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.co-thanks .co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.co-thanks .pill-cta { border: 0; font-family: inherit; }
/* WooCommerce's own markup on the order-pay page */
.co-wc table.shop_table { width: 100%; border-collapse: collapse; color: var(--h-ink); font-size: 14px; }
.co-wc table.shop_table th, .co-wc table.shop_table td { padding: 10px 8px; border-top: 1px solid var(--h-line); text-align: left; }
.co-wc .wc_payment_methods { margin: 18px 0 0; padding: 0; list-style: none; }
.co-wc .wc_payment_method { padding: 12px 0; border-top: 1px solid var(--h-line); }
.co-wc .payment_box { color: var(--h-muted); font-size: 13px; }
.co-wc #place_order { margin-top: 16px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: #c3161f; color: #fff; font: 700 16px Arial, Helvetica, sans-serif; cursor: pointer; }
.co-wc .woocommerce-error, .co-wc .woocommerce-message, .co-wc .woocommerce-info { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--h-mist); color: var(--h-ink); list-style: none; }

/* My Account pages */
.ac-narrow { max-width: 520px; margin: 0 auto; }
.ac-fields { margin-top: 0; }
.ac-password { position: relative; }
.ac-password input { padding-right: 76px !important; }
.ac-show { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--h-mist); color: var(--h-ink); font: 700 13px Arial, Helvetica, sans-serif; }
.ac-show:hover { background: #e2eeee; }
.co-card input[readonly] { background: var(--h-mist); color: var(--h-body); }
.ac-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ac-remember { margin-top: 0; font-size: 14px; }
.ac-link, .ac-note a { color: var(--h-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ac-link:hover, .ac-note a:hover { color: #a8181c; }
.ac-note { margin-top: 16px; color: var(--h-body); font-size: 14px; line-height: 1.5; text-align: center; }
.ac-layout { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
/* Account tabs: My ticket and Account details on the left, Sign out apart on the right (hard to hit by mistake). */
.ac-tabs { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ac-tabs-main { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-tabs a { padding: 10px 18px; border-radius: 999px; color: var(--h-ink); font-size: 14px; font-weight: 700; }
.ac-tabs a:hover { background: #ffffffb3; text-decoration: none; }
.ac-tabs a[aria-current="page"] { background: var(--h-ink); color: #fff; }
.ac-tabs .ac-signout { display: inline-flex; align-items: center; gap: 8px; color: var(--h-muted); }
.ac-tabs .ac-signout:hover { color: #a8181c; background: transparent; }
.ac-signout-icon { width: 18px; height: 18px; }
.ac-ticket { border: 2px solid var(--h-ink); }
.ac-ticket-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.ac-regno { color: var(--h-muted); font-size: 14px; }
.ac-regno b { color: var(--h-ink); font-variant-numeric: tabular-nums; }
.ac-ticket-name { margin-top: 8px; color: var(--h-ink); font: 700 clamp(22px, 2.4vw, 28px)/1.15 var(--h-font); letter-spacing: -.3px; }
.ac-ticket-meta { margin-top: 6px; color: var(--h-muted); font-size: 15px; }
.ac-days { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--h-line); }
.ac-days li { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--h-line); }
.ac-day { grid-row: span 2; color: var(--h-body); font-size: 14px; }
.ac-day b { display: block; color: var(--h-orange-text); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.ac-what { color: var(--h-ink); font-size: 15px; font-weight: 700; }
.ac-where { margin-top: 3px; color: var(--h-body); font-size: 14px; line-height: 1.45; }
.ac-where a { color: var(--h-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ac-actions .pill-cta { border: 0; font-family: inherit; }
.ac-h2 { color: var(--h-ink); font: 700 20px/1.2 var(--h-font); }
.ac-h2-gap { margin-top: 28px; margin-bottom: 16px; }
.ac-dl { margin: 14px 0 0; }
.ac-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--h-line); }
.ac-dl dt { color: var(--h-muted); font-size: 14px; }
.ac-dl dd { margin: 0; color: var(--h-ink); font-size: 14px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.ac-details .ac-note { text-align: left; }
.ac-hint-gap { display: block; margin-top: 10px; }
.ac-save { width: auto; padding: 0 30px; }
@media (max-width: 760px) {
  .ac-tabs { gap: 4px; }
  .ac-tabs-main { flex-wrap: nowrap; gap: 2px; }
  .ac-tabs a { padding: 10px 12px; font-size: 13.5px; white-space: nowrap; }
  .ac-tabs .ac-signout { padding: 10px 4px 10px 8px; gap: 6px; }
  .ac-days li { grid-template-columns: 1fr; }
  .ac-day { grid-row: auto; margin-bottom: 4px; }
  .ac-row { flex-wrap: wrap; }
  .ac-dl div { flex-direction: column; gap: 2px; }
  .ac-dl dd { text-align: left; }
}

/* Checkout and account pages: logo-only header (no menu, Sign In or ticket button) so nothing pulls people away
   mid-registration; the logo still links to the main site. */
.page-checkout .site-header .header-inner, .page-account .site-header .header-inner { grid-template-columns: 1fr; justify-items: center; }
.page-checkout .site-header .brand, .page-account .site-header .brand { justify-self: center; }
.page-checkout .site-header .navigation, .page-checkout .site-header .header-actions,
.page-account .site-header .navigation, .page-account .site-header .header-actions { display: none; }
.ac-msg { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: var(--h-mist); color: var(--h-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.ac-msg.is-error { background: #fdeeee; color: #a8181c; }
.ac-msg.is-success { background: #e3f3ee; color: #0b6b4f; }
.ac-notices { margin-bottom: 18px; }
.ac-notices ul { margin: 0; padding: 0; list-style: none; }
.ac-notices .woocommerce-error, .ac-notices .wc-block-components-notice-banner.is-error { background: #fdeeee; color: #a8181c; }
.ac-notices .wc-block-components-notice-banner { display: flex; gap: 10px; margin: 0 0 10px; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--h-mist); color: var(--h-ink); font-size: 14px; font-weight: 700; }
.ac-notices .wc-block-components-notice-banner.is-success { background: #e3f3ee; color: #0b6b4f; }
.ac-notices .wc-block-components-notice-banner svg { display: none; }
.ac-notices a { color: inherit; }
.ac-lead { color: var(--h-body); font-size: 16px; line-height: 1.6; }
.ac-note-left { text-align: left; }
.co-thanks-note { color: var(--h-muted); font-size: 14px; }

/* Early-bird countdown (checkout): soft pink pill like the Tickets page, no outline. On phones it moves into the
   sticky header, to the right of the logo. */
.co-countdown { display: inline-block; margin-top: 22px; padding: 9px 18px; border: 0; border-radius: 999px; background: #fdeeee; color: #a8181c; font-size: 15px; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-countdown strong { margin-left: 3px; color: #a8181c; font-family: var(--h-font); font-size: 17px; }
.co-countdown[hidden], .co-countdown-head { display: none; }
@media (max-width: 760px) {
  .co-hero .co-countdown { display: none; }
  .page-checkout.has-co-countdown .site-header .header-inner { grid-template-columns: auto minmax(0, 1fr); justify-items: stretch; }
  .page-checkout.has-co-countdown .site-header .brand { justify-self: start; }
  .co-countdown-head:not([hidden]) { display: inline-block; justify-self: end; margin: 0; padding: 7px 12px; font-size: 12.5px; }
  .co-countdown-head strong { margin-left: 2px; font-size: 14px; }
}

/* Names, ID and institution details are printed on certificates and receipts in capitals. */
#billing_first_name, #iipc_id_number, #iipc_workplace, #billing_company, #iipc_institution_address, #ac_name { text-transform: uppercase; }
#billing_first_name::placeholder, #iipc_id_number::placeholder, #iipc_workplace::placeholder, #billing_company::placeholder, #iipc_institution_address::placeholder { text-transform: none; }

/* Thank-you page: breathing room around the account note; WooCommerce's order details set apart below. */
.co-thanks .co-thanks-note { margin: 20px 0 0; line-height: 1.55; }
.co-thanks .co-thanks-note strong { color: var(--h-ink); }
.co-thanks .co-thanks-extra { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--h-line); }

/* Registration terms: tick box link and popup */
.co-terms-check { margin-top: 22px; }
.co-terms-check + .co-consent { margin-top: 12px; }
.co-terms-open { padding: 0; border: 0; background: none; color: var(--h-ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-terms-open:hover { color: #a8181c; }
.co-terms-modal { width: min(680px, calc(100% - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 24px; color: var(--h-body); box-shadow: 0 40px 80px -30px #03384899; }
.co-terms-modal[open] { display: flex; flex-direction: column; height: auto; }
.co-terms-head, .co-terms-foot { flex-shrink: 0; }
.co-terms-modal::backdrop { background: #03384866; }
.co-terms-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px 16px; border-bottom: 1px solid var(--h-line); }
.co-terms-head h2 { color: var(--h-ink); font: 700 24px/1.2 var(--h-font); }
.co-terms-close { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--h-mist); color: var(--h-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.co-terms-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 28px 20px; font-size: 15px; line-height: 1.6; }
.co-terms-body h3 { margin-top: 20px; color: var(--h-ink); font: 700 16px/1.3 var(--h-font); }
.co-terms-body p { margin-top: 8px; }
.co-terms-body strong { color: var(--h-ink); }
.co-terms-body ul { margin: 8px 0 0; padding-left: 20px; }
.co-terms-body li + li { margin-top: 6px; }
.co-terms-body a { color: var(--h-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-terms-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 28px 24px; border-top: 1px solid var(--h-line); }
.co-terms-foot .pill-cta { border: 0; font-family: inherit; }
@media (max-width: 760px) {
  .co-terms-head { padding: 20px 20px 14px; }
  .co-terms-head h2 { font-size: 21px; }
  .co-terms-body { padding: 4px 20px 18px; font-size: 14.5px; }
  .co-terms-foot { padding: 14px 20px 20px; }
  .co-terms-foot .pill-cta { flex: 1; min-height: 50px; }
}
.co-terms-body:focus { outline: none; }
