/*!
 * Cure Corner Core - interior pages, enquiry forms and the product enquiry dialog (Round 1.4).
 * Same language as the approved homepage: Montserrat, the official mark, real product cut-outs on one floor,
 * white and cool blue-white grounds, brand-gradient panels for white text, navy used once per page at most.
 * Elementor containers carry the cc- classes; everything is scoped to body.cc-site.
 */

/* ---------- Elementor neutralisation (designed pages only) ---------- */
body.cc-page .e-con { padding: 0; gap: 0; margin: 0; }
body.cc-page .elementor-widget { margin: 0 !important; }
body.cc-page .elementor-widget-text-editor, body.cc-page .elementor-widget-shortcode { color: inherit; font-family: var(--cc-font); font-size: inherit; font-weight: inherit; line-height: inherit; width: 100%; }
body.cc-page .elementor-widget-text-editor :is(p, ul, ol, table):last-child, body.cc-page .elementor-widget-text-editor .elementor-widget-container > :last-child { margin-bottom: 0; }
body.cc-page .elementor-shortcode { width: 100%; }

/* ---------- Shared bands ---------- */
body.cc-site .cc-band { padding-block: var(--cc-section); padding-inline: max(var(--cc-gutter), calc((100% - var(--cc-max)) / 2)); position: relative; }
body.cc-site .cc-band--soft { background: var(--cc-surface-soft); }
body.cc-site :where(.cc-band, .cc-phero) h2 { font-size: var(--cc-fs-h2); line-height: 1.1; letter-spacing: -0.022em; color: var(--cc-heading); margin: 0 0 0.45em; }
body.cc-site :where(.cc-band) h3 { font-size: var(--cc-fs-h3); line-height: 1.25; color: var(--cc-heading); margin: 0 0 0.5em; }
.cc-eyebrow { display: inline-block; font-size: var(--cc-fs-small); font-weight: 700; letter-spacing: 0.01em; color: var(--cc-ctl); margin: 0 0 12px !important; }
.cc-more { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.cc-more::after { content: "\2192"; transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-more:hover::after { transform: translateX(3px); }
.cc-effective { font-size: var(--cc-fs-small); font-weight: 650; color: var(--cc-ink-soft); margin-top: 14px !important; }

/* ---------- Page head ---------- */
body.cc-site .cc-phero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 4vw, 72px); padding-block: clamp(24px, 3vw, 44px) clamp(44px, 5vw, 88px); padding-inline: max(var(--cc-gutter), calc((100% - var(--cc-max)) / 2)); background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%); overflow: hidden; isolation: isolate; }
body.cc-site .cc-phero__copy { position: relative; z-index: 1; max-width: 700px; }
body.cc-site .cc-phero .cc-crumbs { margin: 0 0 clamp(18px, 2.4vw, 30px); }
body.cc-site .cc-phero h1 { font-size: clamp(2rem, 1.25rem + 2.9vw, 3.5rem); line-height: 1.06; letter-spacing: -0.028em; font-weight: 750; margin: 0 0 20px; }
body.cc-site .cc-phero .cc-lead { font-size: var(--cc-fs-lead); max-width: 58ch; }
body.cc-site .cc-phero .cc-actions { margin-top: 26px !important; }
body.cc-site .cc-phero__aside { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
body.cc-site .cc-phero--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); padding-bottom: clamp(36px, 4vw, 64px); }
body.cc-site .cc-phero--compact h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
body.cc-site .cc-phero--card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; }
@media (max-width: 900px) {
  body.cc-site .cc-phero, body.cc-site .cc-phero--card { grid-template-columns: 1fr; row-gap: 28px; }
  body.cc-site .cc-phero__aside { justify-content: center; }
  body.cc-site .cc-phero--compact { grid-template-columns: minmax(0, 1fr) 132px; align-items: start; }
  body.cc-site .cc-phero--compact .cc-phero__aside { justify-content: flex-end; margin-top: 46px; }
}
@media (max-width: 560px) {
  body.cc-site .cc-phero .cc-actions .cc-btn { flex: 1 1 100%; }
  body.cc-site .cc-phero--compact { grid-template-columns: 1fr; }
  body.cc-site .cc-phero--compact .cc-phero__aside { display: none; }
}

/* page artwork: the mark with real products on one floor */
.cc-pageart { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 0.86; }
.cc-pageart__mark { position: absolute; right: 0; top: 0; width: 82%; height: auto; overflow: visible; filter: drop-shadow(0 22px 30px rgba(31, 90, 146, 0.16)); }
.cc-pageart__floor { position: absolute; left: 2%; right: 4%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 46, 92, 0.24), rgba(16, 46, 92, 0)); }
body.cc-site .cc-pageart .cc-pageart__p { position: absolute; height: auto; max-width: none; filter: drop-shadow(0 16px 14px rgba(17, 45, 85, 0.22)); animation: cc-arrive 720ms var(--cc-ease-out) both; animation-delay: 140ms; }
.cc-pageart--about .cc-pageart__p--back { left: 0; bottom: 9%; width: 19%; animation-delay: 100ms; }
.cc-pageart--about .cc-pageart__p--main { left: 9%; bottom: 5%; width: 58%; animation-delay: 160ms; }
.cc-pageart--about .cc-pageart__p--front { right: 6%; bottom: 3%; width: 30%; animation-delay: 230ms; }
.cc-pageart--pro .cc-pageart__p--main { left: 0; bottom: 16%; width: 70%; animation-delay: 120ms; }
.cc-pageart--pro .cc-pageart__p--front { right: 1%; bottom: 4%; width: 50%; animation-delay: 220ms; }
.cc-pageart--help .cc-pageart__p--main { left: 16%; bottom: 5%; width: 34%; }
.cc-pageart--help .cc-pageart__p--front { right: 14%; bottom: 7%; width: 26%; animation-delay: 220ms; }
.cc-pageart--mark { aspect-ratio: 1; width: min(100%, 280px); }
.cc-pageart--mark .cc-pageart__mark { width: 100%; }
.cc-phero--compact .cc-pageart { width: 100%; }

/* ---------- Split sections ---------- */
body.cc-site .cc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
body.cc-site .cc-split__text p { max-width: 60ch; font-size: var(--cc-fs-lead); }
body.cc-site .cc-split--reverse .cc-split__text { order: 2; }
@media (max-width: 900px) { body.cc-site .cc-split { grid-template-columns: 1fr; } body.cc-site .cc-split--reverse .cc-split__text { order: 0; } }

/* category links (About) */
.cc-catlinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.cc-catlinks a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 72px; padding: 8px 16px 8px 8px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cc-line); color: var(--cc-heading) !important; font-weight: 700; line-height: 1.25; text-decoration: none; transition: box-shadow var(--cc-dur) var(--cc-ease-out), transform var(--cc-dur) var(--cc-ease-out); }
.cc-catlinks a:hover { box-shadow: inset 0 0 0 2px var(--cc-blue), var(--cc-shadow-lift); transform: translateY(-2px); }
.cc-catlinks__thumb { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--cc-card-media); }
body.cc-site .cc-catlinks__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cc-catlinks .cc-arrow { color: var(--cc-ctl); transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-catlinks a:hover .cc-arrow { transform: translateX(3px); }

/* checklist card */
.cc-checkcard { box-shadow: inset 0 0 0 1.5px var(--cc-line); border-radius: var(--cc-radius-lg); padding: clamp(26px, 3.5vw, 44px); background: linear-gradient(140deg, #eef5fc 0%, #e2eef9 100%); }
.cc-checkcard__title { font-weight: 750; font-size: 1.125rem; color: var(--cc-heading); margin: 0 0 16px !important; }
.cc-checkcard .cc-ticks { gap: 14px; font-weight: 600; }

/* ---------- Audience + route cards ---------- */
body.cc-site .cc-audience { display: grid; gap: clamp(24px, 3vw, 40px); }
body.cc-site .cc-audience__head { max-width: 760px; }
body.cc-site .cc-audience__cards, body.cc-site .cc-routes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 26px); }
body.cc-site .cc-acard, body.cc-site .cc-route { display: flex; flex-direction: column; border-radius: 30px; background: #fff; padding: 12px 12px clamp(20px, 2.4vw, 30px); box-shadow: 0 0 0 1px var(--cc-border); transition: box-shadow 260ms var(--cc-ease-out), transform 260ms var(--cc-ease-out); }
body.cc-site .cc-acard:hover, body.cc-site .cc-route:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #cfe3ee, var(--cc-shadow-lift); }
body.cc-site .cc-acard > .elementor-widget-text-editor, body.cc-site .cc-route > .elementor-widget-text-editor { padding-inline: clamp(10px, 1.6vw, 18px); }
body.cc-site .cc-audience__note { max-width: 70ch; color: var(--cc-ink); }
.cc-route__art { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--cc-card-media); margin-bottom: 20px; isolation: isolate; }
.cc-route__mark { position: absolute; z-index: -1; right: -8%; top: -14%; width: 62%; height: auto; opacity: 0.55; }
body.cc-site .cc-route__art .cc-route__p { position: absolute; bottom: 10%; height: 72%; width: auto; max-width: 56%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(17, 45, 85, 0.22)); transition: transform 600ms var(--cc-ease-out); }
body.cc-site .cc-route__art .cc-route__p--0 { left: 10%; }
body.cc-site .cc-route__art .cc-route__p--1 { right: 9%; height: 52%; }
body.cc-site .cc-route__art .cc-route__p--0:only-of-type { left: 50%; translate: -50% 0; max-width: 78%; height: 66%; }
.cc-acard:hover .cc-route__p, .cc-route:hover .cc-route__p { transform: translateY(-4px); }
.cc-linklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.cc-linklist a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; text-decoration: none; }
.cc-linklist a::after { content: "\2192"; transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-linklist a:hover::after { transform: translateX(3px); }
body.cc-site .cc-routes { display: grid; gap: clamp(24px, 3vw, 40px); }
body.cc-site .cc-routes__head { max-width: 760px; }

/* ---------- Professional process (the page's one navy surface) ---------- */
body.cc-site .cc-process { background: var(--cc-navy); color: #fff; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
body.cc-site .cc-process h2 { color: #fff; }
.cc-process__steps { list-style: none; counter-reset: ccstep; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.cc-process__steps li { counter-increment: ccstep; position: relative; padding-top: 58px; line-height: 1.55; color: #e6eef8; }
.cc-process__steps li::before { content: counter(ccstep); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--cc-mint); color: var(--cc-navy); font-weight: 800; display: grid; place-items: center; }
.cc-process__steps strong { display: block; color: #fff; font-size: 1.125rem; margin-bottom: 4px; }
.cc-process__note { margin-top: 30px !important; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); color: #e6eef8; font-weight: 600; max-width: 70ch; }
body.cc-site .cc-process .cc-pageart { width: 100%; opacity: 0.9; }
body.cc-site .cc-process :focus-visible { outline-color: #fff; }
@media (max-width: 960px) { body.cc-site .cc-process { grid-template-columns: 1fr; } body.cc-site .cc-process .elementor-widget-shortcode { display: none; } .cc-process__steps { grid-template-columns: 1fr; } .cc-process__steps li { padding: 4px 0 0 58px; } }

/* ---------- Student card ---------- */
body.cc-site .cc-student { padding-block: 0 var(--cc-section); }
body.cc-site .cc-student__card { position: relative; overflow: hidden; border-radius: var(--cc-radius-lg); padding: clamp(30px, 4vw, 56px); background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; }
body.cc-site .cc-student__card::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; background: url("../img/cc-mark.svg") center / contain no-repeat; opacity: 0.14; filter: brightness(0) invert(1); pointer-events: none; }
body.cc-site .cc-student__card h2 { color: #fff; }
body.cc-site .cc-student__card p { max-width: 62ch; position: relative; z-index: 1; }
body.cc-site .cc-student :focus-visible { outline-color: #fff; }

/* ---------- Form band (For Professionals) ---------- */
body.cc-site .cc-formband { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: start; scroll-margin-top: calc(var(--cc-header-h) + 16px); }
body.cc-site .cc-formband__intro { position: sticky; top: calc(var(--cc-header-h) + 32px); }
.cc-formband__direct { font-weight: 650; }
@media (max-width: 960px) { body.cc-site .cc-formband { grid-template-columns: 1fr; } body.cc-site .cc-formband__intro { position: static; } }

/* ---------- Contact page ---------- */
body.cc-site .cc-contactmain { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
body.cc-site .cc-contactmain__form { background: #fff; border-radius: 34px; padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 0 0 1px var(--cc-border); scroll-margin-top: calc(var(--cc-header-h) + 16px); }
body.cc-site .cc-contactmain__aside { display: grid; gap: 18px; }
@media (max-width: 960px) { body.cc-site .cc-contactmain { grid-template-columns: 1fr; } }

/* contact card (Contact head) */
.cc-ccard { position: relative; overflow: hidden; isolation: isolate; width: 100%; max-width: 520px; border-radius: var(--cc-radius-lg); padding: clamp(26px, 3.4vw, 44px); background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; }
.cc-ccard__mark { position: absolute; z-index: -1; right: -40px; top: -50px; width: 220px; height: auto; opacity: 0.22; overflow: visible; }
body.cc-site .cc-ccard__title { font-size: 1.5rem; color: #fff; margin: 0 0 16px; }
.cc-ccard__list { margin: 0 0 22px; display: grid; gap: 14px; }
.cc-ccard__list dt { font-size: var(--cc-fs-small); font-weight: 650; color: #e6eef8; }
.cc-ccard__list dd { margin: 2px 0 0; }
.cc-ccard__list a { color: #fff !important; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.cc-ccard__list a:hover { text-decoration: underline; }
body.cc-site .cc-ccard :focus-visible { outline-color: #fff; }
@media (max-width: 560px) { .cc-ccard .cc-actions .cc-btn { flex: 1 1 100%; } }

/* location card */
.cc-loc { color: var(--cc-ink); border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--cc-border); }
.cc-loc__map { position: relative; height: 150px; background: linear-gradient(135deg, #e2eef9 0%, #d9e9f8 60%, #d8ecf4 100%); }
.cc-loc__streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-loc__streets path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: 0.9; }
.cc-loc__pin { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -38px 0 0 -27px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cc-grad-deco); display: grid; place-items: center; box-shadow: 0 14px 22px -12px rgba(23, 62, 104, 0.6); }
.cc-loc__pin svg { width: 26px; height: 26px; color: #fff; transform: rotate(45deg); }
.cc-loc__body { padding: clamp(20px, 2.6vw, 30px); }
body.cc-site .cc-loc__title { font-size: 1.375rem; color: var(--cc-heading); margin: 0 0 10px; }
.cc-loc__addr { line-height: 1.55; }
.cc-loc__note { font-size: var(--cc-fs-small); color: var(--cc-ink-soft); }
.cc-loc .cc-btn svg { width: 20px; height: 20px; }

/* social + professional cards */
.cc-socialcard, .cc-procard { color: var(--cc-ink); border-radius: 30px; padding: clamp(20px, 2.6vw, 30px); background: #fff; box-shadow: 0 0 0 1px var(--cc-border); }
body.cc-site .cc-socialcard__title, body.cc-site .cc-procard h2 { font-size: 1.375rem; color: var(--cc-heading); margin: 0 0 8px; }
.cc-procard p:last-child { margin-bottom: 0; }

/* ---------- FAQs ---------- */
body.cc-site .cc-faqs { display: grid; gap: 0; }
body.cc-site .cc-faqgroup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(16px, 4vw, 72px); padding-block: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--cc-line); }
body.cc-site .cc-faqgroup:first-child { border-top: 0; padding-top: 0; }
body.cc-site .cc-faqgroup__head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); position: sticky; top: calc(var(--cc-header-h) + 24px); }
body.cc-site .cc-faqgroup__qa h3 { font-size: 1.125rem; margin: 26px 0 6px; }
body.cc-site .cc-faqgroup__qa h3:first-child { margin-top: 0; }
body.cc-site .cc-faqgroup__qa p { max-width: 68ch; }
@media (max-width: 860px) { body.cc-site .cc-faqgroup { grid-template-columns: 1fr; } body.cc-site .cc-faqgroup__head h2 { position: static; } }

/* ---------- Help and legal documents ---------- */
body.cc-site .cc-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(28px, 5vw, 88px); align-items: start; padding-top: clamp(40px, 4vw, 72px); }
body.cc-site .cc-doc__main { max-width: 74ch; }
body.cc-site .cc-doc__main h2, body.cc-site .cc-prose h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); margin: 1.7em 0 0.5em; }
body.cc-site .cc-doc__main h2:first-child, body.cc-site .cc-prose h2:first-child { margin-top: 0; }
body.cc-site .cc-doc__main :is(ul, ol), body.cc-site .cc-prose :is(ul, ol) { margin: 0 0 1.1em; padding-left: 1.3em; display: grid; gap: 8px; }
body.cc-site .cc-doc__main li::marker { color: var(--cc-ctl); font-weight: 700; }
body.cc-site .cc-doc__aside { position: sticky; top: calc(var(--cc-header-h) + 28px); }
.cc-tablewrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 18px; box-shadow: 0 0 0 1px var(--cc-line); }
.cc-tablewrap table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: var(--cc-fs-small); }
.cc-tablewrap th, .cc-tablewrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--cc-line); }
.cc-tablewrap th { background: var(--cc-surface-sky); color: var(--cc-heading); font-weight: 700; }
.cc-tablewrap tr:last-child td { border-bottom: 0; }
.cc-helpaside { display: grid; gap: 16px; }
.cc-helpaside__card { border-radius: 28px; padding: 24px; background: linear-gradient(140deg, #eef5fc 0%, #e2eef9 100%); }
body.cc-site .cc-helpaside__title { font-size: 1.25rem; margin: 0 0 6px; color: var(--cc-heading); }
.cc-helpaside__card p { font-size: var(--cc-fs-small); }
.cc-helpaside__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cc-helpaside__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.cc-helpaside__contact svg { width: 18px; height: 18px; flex: none; color: var(--cc-teal); }
.cc-helpaside__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cc-helpaside__nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 14px; color: var(--cc-ink) !important; font-weight: 600; text-decoration: none; }
.cc-helpaside__nav a:hover { background: var(--cc-surface-sky); }
.cc-helpaside__nav a[aria-current="page"] { background: var(--cc-surface-blue); color: var(--cc-ctl) !important; font-weight: 700; }
@media (max-width: 900px) { body.cc-site .cc-doc { grid-template-columns: 1fr; } body.cc-site .cc-doc__aside { position: static; } }

/* ---------- Closing action band ---------- */
body.cc-site .cc-ctaband { padding-top: 0; }
body.cc-site .cc-ctaband__in { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: center; border-radius: var(--cc-radius-lg); padding: clamp(30px, 4vw, 56px); background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; }
body.cc-site .cc-ctaband__in h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); }
body.cc-site .cc-ctaband__in p { max-width: 60ch; }
body.cc-site .cc-ctaband .cc-pageart { width: 100%; opacity: 0.5; }
body.cc-site .cc-ctaband :focus-visible { outline-color: #fff; }
@media (max-width: 760px) { body.cc-site .cc-ctaband__in { grid-template-columns: 1fr; } body.cc-site .cc-ctaband .elementor-widget-shortcode { display: none; } body.cc-site .cc-ctaband .cc-btn { flex: 1 1 100%; } }

/* visit band (About) */
body.cc-site .cc-visitband { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 72px); align-items: center; background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; }
body.cc-site .cc-visitband h2 { color: #fff; }
body.cc-site .cc-visitband__text p { max-width: 58ch; font-size: var(--cc-fs-lead); }
body.cc-site .cc-visitband__text :focus-visible { outline-color: #fff; }
@media (max-width: 900px) { body.cc-site .cc-visitband { grid-template-columns: 1fr; } body.cc-site .cc-visitband .cc-btn { flex: 1 1 100%; } }

/* ---------- Category page: editorial content under the products ---------- */
.cc-catinfo { margin-top: clamp(48px, 5vw, 96px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.cc-catinfo__body { max-width: 72ch; }
.cc-prose h3 { font-size: 1.125rem; color: var(--cc-heading); margin: 1.4em 0 0.4em; }
.cc-prose p { max-width: 68ch; }
.cc-tags { list-style: none !important; padding: 0 !important; margin: 0 0 1em !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.cc-tags li { padding: 7px 14px; border-radius: 999px; background: var(--cc-surface-sky); color: var(--cc-heading); font-weight: 650; font-size: var(--cc-fs-small); }
.cc-catinfo__side { display: grid; gap: 18px; position: sticky; top: calc(var(--cc-header-h) + 24px); }
.cc-catinfo__related { border-radius: 28px; padding: 24px; background: var(--cc-surface-soft); }
.cc-catinfo__related h2 { margin: 0 0 8px; }
.cc-catinfo__related p { font-size: var(--cc-fs-small); }
.cc-catinfo__related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cc-catinfo__related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.cc-catinfo__cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 28px; background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; }
.cc-catinfo__cta h2 { color: #fff !important; margin: 0 0 8px; }
.cc-catinfo__mark { position: absolute; z-index: -1; right: -40px; bottom: -50px; width: 200px; height: auto; opacity: 0.16; overflow: visible; }
body.cc-site .cc-catinfo__cta :focus-visible { outline-color: #fff; }
@media (max-width: 960px) { .cc-catinfo { grid-template-columns: 1fr; } .cc-catinfo__side { position: static; } }

/* ---------- Product cards: details + enquiry ---------- */
body.cc-site ul.products li.product .cc-card__actions { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; margin: 14px 2px 0; }
.cc-card__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; border-radius: 999px; font: 650 0.9375rem/1.2 var(--cc-font); text-decoration: none !important; text-align: center; transition: background-color var(--cc-dur) var(--cc-ease-out), box-shadow var(--cc-dur) var(--cc-ease-out), color var(--cc-dur); }
.cc-card__btn--more { background: #fff; color: var(--cc-heading) !important; box-shadow: inset 0 0 0 2px var(--cc-border-strong); }
.cc-card__btn--more:hover { box-shadow: inset 0 0 0 2px var(--cc-ctl); color: var(--cc-ctl) !important; }
.cc-card__btn--enq { background: var(--cc-ctl); color: #fff !important; }
.cc-card__btn--enq:hover { background: var(--cc-ctl-hover); color: #fff !important; }
@media (max-width: 560px) { body.cc-site ul.products li.product .cc-card__actions { margin-top: 10px; } }

/* ---------- Product page: enquiry panel ---------- */
body.cc-site .cc-enquire { padding: clamp(22px, 2.6vw, 30px); }
body.cc-site .cc-enquire__msg { font-weight: 600; margin-bottom: 18px; }
body.cc-site .cc-enquire__main { width: 100%; max-width: 420px; }
body.cc-site .cc-enquire__main svg { width: 22px; height: 22px; }
@media (max-width: 420px) { body.cc-site .cc-enquire__main { white-space: normal; text-align: center; line-height: 1.25; padding-inline: 18px; font-size: 1rem; } }
.cc-enquire__alt { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 14px; }
.cc-enquire__alt a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; text-decoration: none; }
.cc-enquire__alt svg { width: 20px; height: 20px; color: var(--cc-teal); }
body.cc-site .cc-enqsec { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 64px); border-radius: var(--cc-radius-lg); padding: clamp(24px, 3.4vw, 48px); background: var(--cc-surface-soft); scroll-margin-top: calc(var(--cc-header-h) + 16px); }
body.cc-site .cc-enqsec > h2 { margin: 0 0 18px; }
body.cc-site .cc-enqsec[hidden] { display: none; }

/* ---------- Enquiry forms ---------- */
.cc-enq { position: relative; }
.cc-enq__product { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; margin: 0 0 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--cc-border); }
.cc-enq__thumb { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--cc-card-media); }
body.cc-site .cc-enq__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cc-enq__plabel { margin: 0 !important; font-size: var(--cc-fs-small); font-weight: 650; color: var(--cc-ctl); }
.cc-enq__pname { margin: 2px 0 6px !important; font-weight: 750; font-size: 1.125rem; line-height: 1.3; color: var(--cc-heading); }
.cc-enq__pmeta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 0.875rem; }
.cc-enq__pmeta > div { display: flex; gap: 6px; min-width: 0; }
.cc-enq__pmeta dt { font-weight: 700; color: var(--cc-heading); }
.cc-enq__pmeta dd { margin: 0; overflow-wrap: anywhere; color: var(--cc-ink); }
@media (max-width: 480px) { .cc-enq__product { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px; } .cc-enq__thumb { width: 64px; height: 64px; } }

.cc-form { display: grid; gap: 18px; }
.cc-form[hidden] { display: none; }
.cc-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cc-form__req { margin: 0 !important; font-size: var(--cc-fs-small); color: var(--cc-ink-soft); }
.cc-req { color: #b32d2e; font-weight: 700; }
.cc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.cc-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.cc-field--wide, .cc-fieldset { grid-column: 1 / -1; }
.cc-form[data-cc-form="product"] [data-cc-field="name"], .cc-form[data-cc-form="contact"] [data-cc-field="name"] { grid-column: 1 / -1; }
.cc-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cc-fieldset > legend { padding: 0; margin-bottom: 2px; }
.cc-form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 8px; }
.cc-field__label { font-weight: 650; font-size: 0.97rem; color: var(--cc-heading); line-height: 1.35; }
.cc-field__opt { font-weight: 500; color: var(--cc-ink-soft); }
.cc-field__hint { margin: 0 !important; font-size: 0.875rem; line-height: 1.45; color: var(--cc-ink-soft); }
.cc-field__error { margin: 0 !important; display: flex; gap: 6px; align-items: flex-start; font-size: 0.9rem; font-weight: 650; color: #b32d2e; }
.cc-field__error::before { content: "!"; content: "!" / ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #b32d2e; color: #fff; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
.cc-field__error[hidden] { display: none; }
body.cc-site .cc-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--cc-border-strong); background: #fff; font: 500 1rem/1.4 var(--cc-font); color: var(--cc-ink); box-shadow: none; transition: border-color var(--cc-dur), box-shadow var(--cc-dur); }
body.cc-site .cc-form textarea { min-height: 120px; resize: vertical; }
body.cc-site .cc-form select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23276ba5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
body.cc-site .cc-form :is(input, select, textarea):hover { border-color: #8fb6d4; }
body.cc-site .cc-form :is(input, select, textarea):focus { outline: none; border-color: var(--cc-ctl); box-shadow: 0 0 0 4px rgba(39, 107, 165, 0.18); }
body.cc-site .cc-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--cc-focus); outline-offset: 2px; }
body.cc-site .cc-form [aria-invalid="true"] { border-color: #b32d2e !important; background-color: #fffafa; }
.cc-check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cc-line); }
.cc-check.is-invalid { box-shadow: inset 0 0 0 2px #b32d2e; }
body.cc-site .cc-check input[type="checkbox"] { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--cc-ctl); cursor: pointer; }
.cc-check label { font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.cc-check .cc-field__error { grid-column: 2; }
.cc-form__alert { border-radius: 16px; padding: 14px 18px; background: #fdf0f0; color: #8a2021; font-weight: 600; box-shadow: inset 0 0 0 1.5px #f2c7c7; }
.cc-form__alert:focus { outline: 3px solid #b32d2e; outline-offset: 2px; }
.cc-form__alert p { margin: 0 !important; }
.cc-form__alert[hidden] { display: none; }
.cc-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cc-form__submit .cc-btn[disabled] { opacity: 0.75; cursor: progress; }
.cc-form__note { margin: 0 !important; font-size: 0.875rem; color: var(--cc-ink-soft); max-width: 44ch; }
.cc-form__direct { margin: 0 !important; font-size: 0.9375rem; color: var(--cc-ink); }
.cc-form__direct a { font-weight: 650; }
@media (max-width: 640px) { .cc-form__grid, .cc-form__pair { grid-template-columns: 1fr; } .cc-form__submit .cc-btn { width: 100%; } }

/* success */
.cc-enq__done { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: clamp(24px, 3vw, 40px); background: #fff; box-shadow: inset 0 0 0 2px var(--cc-mint); outline: none; }
.cc-enq__done[hidden] { display: none; }
.cc-enq__done-mark { position: absolute; z-index: -1; right: -36px; top: -40px; width: 180px; height: auto; opacity: 0.35; overflow: visible; }
body.cc-site .cc-enq__done-h { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); color: var(--cc-heading); margin: 0 0 8px; max-width: 26ch; }
.cc-enq__ref { font-size: 1.0625rem; }
.cc-enq__ref strong { letter-spacing: 0.04em; color: var(--cc-ctl); }
.cc-enq__ref[hidden] { display: none; }
.cc-enq__next { font-size: var(--cc-fs-small); color: var(--cc-ink-soft); }
@media (prefers-reduced-motion: no-preference) { .cc-enq__done:not([hidden]) { animation: cc-arrive 420ms var(--cc-ease-out) both; } }

/* ---------- Product enquiry dialog ---------- */
.cc-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 30px; background: var(--cc-surface-soft); color: var(--cc-ink); box-shadow: 0 40px 80px -30px rgba(17, 40, 80, 0.55); overflow: hidden; font-family: var(--cc-font); }
.cc-dialog[open] { display: flex; flex-direction: column; }
.cc-dialog::backdrop { background: rgba(28, 42, 78, 0.55); }
.cc-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 14px 28px; background: #fff; box-shadow: 0 1px 0 var(--cc-line); flex: none; }
body.cc-site .cc-dialog__title { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); margin: 0; color: var(--cc-heading); }
.cc-dialog__close { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--cc-surface-sky); color: var(--cc-heading); cursor: pointer; transition: background-color var(--cc-dur); }
.cc-dialog__close:hover, .cc-dialog__close:focus { background: var(--cc-surface-blue); color: var(--cc-heading); }
.cc-dialog__body { padding: 22px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
html.cc-dialog-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .cc-dialog[open] { animation: cc-dlg-in 260ms var(--cc-ease-out); }
  .cc-dialog[open]::backdrop { animation: cc-fade-in 260ms var(--cc-ease-out); }
}
@keyframes cc-dlg-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes cc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  .cc-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .cc-dialog__head { padding: 10px 10px 10px 18px; padding-top: max(10px, env(safe-area-inset-top)); }
  .cc-dialog__body { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------- 404 ---------- */
.cc-404 { padding-block: clamp(32px, 4vw, 72px) var(--cc-section); }
.cc-404__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.cc-404 h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.06; letter-spacing: -0.028em; margin: 0 0 18px; }
.cc-404 .cc-searchform { margin: 26px 0; max-width: 620px; margin-inline: 0; }
@media (max-width: 860px) { .cc-404__grid { grid-template-columns: 1fr; } .cc-404 .cc-pageart { display: none; } }

/* ---------- Reveal (secondary cards only; never forms or key information). cc-core.js adds data-cc-reveal. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cc-js body.cc-page :is(.cc-route, .cc-acard)[data-cc-reveal] { transition: opacity 650ms var(--cc-ease-out), transform 650ms var(--cc-ease-out), box-shadow 260ms var(--cc-ease-out); transition-delay: var(--cc-delay, 0ms); }
}
