/* Cobra Support — customer-facing styles. Scoped to .cs-* so Woodmart and WooCommerce styles stay untouched.
   Colours inherit Woodmart's primary colour when available. */
.cs-contact, .cs-account, .cs-ticket, .cs-guest, .cs-kb {
	--cs-accent: var(--wd-primary-color, #c8102e);
	--cs-line: rgba(0, 0, 0, .12);
	--cs-muted: rgba(0, 0, 0, .58);
	--cs-soft: rgba(0, 0, 0, .035);
	--cs-radius: var(--wd-brd-radius, 6px);
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
/* Contact form as a centred card that sits naturally inside Woodmart content areas. */
.cs-contact { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--cs-line); border-radius: calc(var(--cs-radius) * 2); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05); margin-top: 10px; margin-bottom: 40px; }
.cs-contact .cs-form__title { font-size: clamp(1.4em, 2.6vw, 1.9em); line-height: 1.2; }

.cs-contact *, .cs-contact *::before, .cs-contact *::after, .cs-ticket *, .cs-guest * { box-sizing: border-box; }
.cs-contact [hidden], .cs-ticket [hidden], .cs-guest [hidden] { display: none !important; }
.cs-form__title { margin: 0 0 6px; }
.cs-form__intro { margin: 0 0 22px; color: var(--cs-muted); }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.cs-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.cs-field--wide { grid-column: 1 / -1; }
.cs-field label, .cs-files > label { font-weight: 600; margin: 0; }
.cs-field input, .cs-field select, .cs-field textarea, .cs-reply textarea { width: 100%; margin: 0; }
.cs-field textarea { min-height: 150px; resize: vertical; }
.cs-field small, .cs-files small { color: var(--cs-muted); font-size: .88em; }
.cs-optional { font-weight: 400; color: var(--cs-muted); font-size: .88em; margin-left: 4px; }
.cs-check { display: flex; gap: 8px; align-items: center; font-weight: 400 !important; }
.cs-check input { width: auto !important; }
.cs-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cs-files { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.cs-files__list { list-style: none; margin: 0; padding: 0; font-size: .92em; }
.cs-files__list li { padding: 2px 0; }
.cs-files__err { color: #b42318; }
.cs-form__actions, .cs-reply__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.cs-form__status { margin: 0; color: var(--cs-muted); }
.cs-form__error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #f1b5ae; background: #fdf0ee; color: #8a1c12; border-radius: var(--cs-radius); }
.cs-form__warn { color: #8a5300; }
.cs-suggest { position: static; margin: 8px 0 2px; padding: 8px 8px 10px; background: var(--cs-soft, #f6f7f9); border: 1px solid rgba(17, 24, 39, .1); border-radius: 12px; opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease; }
.cs-suggest.is-open { opacity: 1; transform: none; }
.cs-suggest__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 4px 10px; }
.cs-suggest__title { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; }
button.cs-suggest__close, .cs-portal button.cs-suggest__close, form button.cs-suggest__close {
	display: inline-flex !important; align-items: center; justify-content: center; flex: none;
	width: 32px !important; height: 32px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important;
	color: #6b7280 !important; line-height: 1 !important; font-size: 0 !important; cursor: pointer; transition: color .15s, background-color .15s;
}
button.cs-suggest__close:hover, button.cs-suggest__close:focus-visible { color: #111827 !important; background: rgba(17, 24, 39, .07) !important; }
button.cs-suggest__close:focus-visible { outline: 2px solid var(--cs-accent) !important; outline-offset: 1px; }
.cs-suggest ul { margin: 0; padding: 0; list-style: none; }
.cs-suggest li { margin: 0; }
.cs-suggest a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--cs-ink); text-decoration: none; line-height: 1.35; }
.cs-suggest a svg { flex: none; color: #9ca3af; transition: color .15s; }
.cs-suggest a:hover, .cs-suggest a:focus-visible { background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .06); }
.cs-suggest a:hover svg, .cs-suggest a:focus-visible svg { color: var(--cs-accent); }
.cs-suggest__note { margin: 6px 10px 0 !important; font-size: 12px; color: #6b7280; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }
@media (prefers-reduced-motion: reduce) { .cs-suggest { transition: none; transform: none; } }
.cs-success { padding: 26px 24px; border: 1px solid var(--cs-line); border-left: 4px solid #16794a; border-radius: var(--cs-radius); outline: none; }
.cs-success h2 { margin: 0 0 6px; }
.cs-success__ref { font-size: 1.15em; font-weight: 600; }
.cs-form--compact { max-width: 620px; }

/* Status chips (My Account + ticket view) */
.cs-status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: .85em; font-weight: 600; background: var(--cs-soft); white-space: nowrap; }
.cs-status--pending_customer { background: #fff1d6; color: #7a4a00; }
.cs-status--pending_support, .cs-status--new, .cs-status--open { background: #e6efff; color: #1d4fb8; }
.cs-status--resolved { background: #e5f4ea; color: #16794a; }
.cs-status--closed { background: #eceef1; color: #59616c; }
.cs-account__new { text-align: right; margin: 0 0 14px; }
.cs-tickets-table .cs-actions { text-align: right; }

/* Conversation */
.cs-ticket__back { margin: 0 0 12px; }
.cs-ticket__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--cs-line); margin-bottom: 18px; }
.cs-ticket__ref { margin: 0; color: var(--cs-muted); font-size: .9em; }
.cs-ticket__subject { margin: 2px 0 0; }
.cs-thread { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-msg { padding: 14px 16px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); }
.cs-msg--staff { border-left: 3px solid var(--cs-accent); background: var(--cs-soft); }
.cs-msg__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: .9em; }
.cs-msg__meta time { color: var(--cs-muted); }
.cs-msg__body { overflow-wrap: anywhere; }
.cs-msg__body > :first-child { margin-top: 0; }
.cs-msg__body > :last-child { margin-bottom: 0; }
.cs-msg__body img { max-width: 100%; height: auto; }
.cs-msg__files { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--cs-line); font-size: .92em; }
.cs-msg__files span { color: var(--cs-muted); margin-left: 6px; }
.cs-reply { padding: 18px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); }
.cs-reply > label { display: block; font-weight: 600; margin-bottom: 6px; }
.cs-reply textarea { min-height: 130px; margin-bottom: 12px; }
.cs-resolve, .cs-guest-logout { margin: 12px 0 0; }
.cs-linkbutton { background: none !important; border: 0 !important; padding: 0 !important; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; min-height: 0 !important; box-shadow: none !important; }

/* Help center */
.cs-kb__search { display: flex; gap: 10px; margin: 0 0 22px; }
.cs-kb__search input { flex: 1; margin: 0; }
.cs-kb__topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.cs-kb__topic h3 { margin: 0 0 8px; font-size: 1.1em; }
.cs-kb__topic h3 span { color: var(--cs-muted); font-weight: 400; font-size: .85em; }
.cs-kb__list { list-style: none; margin: 0; padding: 0; }
.cs-kb__list li { padding: 8px 0; border-bottom: 1px solid var(--cs-line); }
.cs-kb__list p { margin: 3px 0 0; color: var(--cs-muted); font-size: .92em; }
.cs-kb__meta, .cs-kb__crumbs { color: var(--cs-muted); font-size: .92em; }
.cs-kb-article__feedback { display: flex; gap: 10px; align-items: center; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--cs-line); }
.cs-notice--staff { padding: 10px 14px; margin: 0 0 18px; background: #fff7df; border: 1px solid #ecc768; border-radius: var(--cs-radius, 6px); }

@media (max-width: 640px) {
	.cs-grid, .cs-kb__topics { grid-template-columns: 1fr; }
	.cs-ticket__head { flex-direction: column; }
	.cs-account__new { text-align: left; }
	.cs-form__actions .button, .cs-reply__actions .button { width: 100%; }
}

.cs-group { margin: 8px 0 4px; }
.cs-group h3 { margin: 0; font-size: 1.1em; }
.cs-field fieldset { border: 0; margin: 0; padding: 0; }
.cs-field legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.cs-subreason { margin-top: 8px; }
.cs-order-support { margin-top: 16px; }
.cf-turnstile { margin: 4px 0 16px; }

/* ===================== Help Center ===================== */
.cs-hc { --cs-accent: var(--wd-primary-color, #d71920); --cs-ink: #111418; --cs-line: #e6e8eb; --cs-muted: #5b6470; --cs-soft: #f5f6f8; --cs-radius: 12px; max-width: 1240px; margin: 0 auto 56px; color: var(--cs-ink); }
.cs-hc *, .cs-hc *::before, .cs-hc *::after { box-sizing: border-box; }
.cs-hc a { text-decoration: none; }
.cs-hc h1, .cs-hc h2, .cs-hc h3 { color: inherit; }
/* Hero */
.cs-hc__hero { position: relative; margin: 0 0 44px; padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 64px); border-radius: var(--cs-radius); background: radial-gradient(circle at 80% 30%, #2a2f36 0%, #111418 60%); color: #fff; overflow: visible; z-index: 3; } /* Not clipped: the search dropdown may extend below the hero. */
.cs-hc__hero--image { background: linear-gradient(90deg, rgba(10, 12, 15, .92) 0%, rgba(10, 12, 15, .72) 42%, rgba(10, 12, 15, .15) 78%, rgba(10, 12, 15, 0) 100%), var(--cs-hero) center / cover no-repeat, #111418; }
.cs-hc--full .cs-hc__hero { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; padding-left: max(20px, calc(50vw - 600px)); padding-right: max(20px, calc(50vw - 600px)); }
.cs-hc__hero-inner { max-width: 620px; }
.cs-hc__eyebrow { margin: 0 0 14px; font-size: .8em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-accent); }
.cs-hc__hero .cs-hc__eyebrow { color: color-mix(in srgb, var(--cs-accent) 55%, #ff4d4d); } /* Stays bright on the dark hero even when the theme colour is a deep red. */
.cs-hide-theme-title .cs-hc--full > .cs-hc__hero:first-child { margin-top: 0; }
.cs-hc__title { margin: 0 0 14px; font-size: clamp(2.3em, 5.2vw, 4.1em); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.cs-hc__hero .cs-hc__title { color: #fff; }
.cs-hc__subtitle { margin: 0 0 26px; font-size: clamp(1em, 1.6vw, 1.15em); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 460px; }
.cs-hc__search { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--cs-line); border-radius: 999px; padding: 0 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.cs-hc__search:focus-within { border-color: var(--cs-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-accent) 22%, transparent), 0 10px 30px rgba(0, 0, 0, .12); }
.cs-hc__search-icon { color: #4b5563; flex: none; }
.cs-hc__search input[type=search] { flex: 1; border: 0 !important; box-shadow: none !important; background: transparent !important; height: 54px; padding: 0 12px !important; font-size: 1em; margin: 0; color: var(--cs-ink); }
.cs-hc__search:not(.cs-hc__search--hero) { margin: 0 0 24px; box-shadow: none; }
.cs-hc__suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--cs-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .16); text-align: left; }
.cs-hc__suggest a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--cs-ink); }
.cs-hc__suggest a:hover, .cs-hc__suggest a[aria-selected="true"] { background: var(--cs-soft); }
.cs-hc__suggest small { display: block; color: var(--cs-muted); }
.cs-hc__chips { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 18px 0 0; font-size: .92em; }
.cs-hc__chips span { font-weight: 700; color: #fff; }
.cs-hc__chips a { color: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(255, 255, 255, .35); }
.cs-hc__chips a:hover { color: #fff; border-bottom-color: #fff; }
/* Sections */
.cs-hc__section { margin: 0 0 48px; }
.cs-hc__section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 22px; flex-wrap: wrap; }
.cs-hc__h2 { margin: 0; font-size: clamp(1.45em, 2.4vw, 1.9em); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.cs-hc__h3 { margin: 0 0 14px; font-size: 1.2em; font-weight: 800; }
.cs-hc__sub { margin: 6px 0 0; color: var(--cs-muted); }
.cs-hc__pill-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--cs-line); border-radius: 999px; font-weight: 700; color: var(--cs-ink); background: #fff; }
.cs-hc__pill-btn:hover { border-color: var(--cs-ink); }
.cs-hc__textlink { font-weight: 700; color: var(--cs-accent); }
/* Topic cards */
.cs-hc__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cs-hc__card { --cs-topic: var(--cs-accent); display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: #fff; color: var(--cs-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cs-hc__card:hover, .cs-hc__card:focus-visible { border-color: var(--cs-topic); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.cs-hc__card .cs-hc__icon { color: var(--cs-topic); width: 34px; height: 34px; margin-bottom: 8px; }
.cs-hc__card-title { font-weight: 800; font-size: 1.08em; }
.cs-hc__card-desc { color: var(--cs-muted); font-size: .94em; line-height: 1.5; }
.cs-hc__card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.cs-hc__card-count { font-size: .88em; color: var(--cs-muted); }
.cs-hc__round { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--cs-soft); color: var(--cs-ink); transition: background .15s, color .15s; }
.cs-hc__card:hover .cs-hc__round { background: var(--cs-topic); color: #fff; }
/* Article cards */
.cs-hc__acards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cs-hc__acard { display: flex; flex-direction: column; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: #fff; overflow: hidden; color: var(--cs-ink); transition: box-shadow .15s, transform .15s; }
.cs-hc__acard:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .09); transform: translateY(-2px); }
.cs-hc__media { display: block; aspect-ratio: 16 / 7; background: var(--cs-soft); overflow: hidden; }
.cs-hc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-hc__media--icon { --cs-topic: var(--cs-accent); display: grid; place-items: center; background: color-mix(in srgb, var(--cs-topic) 10%, #fff); color: var(--cs-topic); }
.cs-hc__acard-body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 40px 18px 16px; flex: 1; }
.cs-hc__acard-title { font-weight: 800; line-height: 1.3; }
.cs-hc__acard-text { color: var(--cs-muted); font-size: .92em; line-height: 1.5; }
.cs-hc__chev { color: #6b7280; flex: none; }
.cs-hc__acard .cs-hc__chev { position: absolute; right: 14px; bottom: 16px; }
/* Lists */
.cs-hc__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: #fff; overflow: hidden; }
.cs-hc__list li + li { border-top: 1px solid var(--cs-line); }
.cs-hc__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; color: var(--cs-ink); font-weight: 600; }
.cs-hc__list a:hover { background: var(--cs-soft); }
.cs-hc__list--rich a { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; }
.cs-hc__rl-title { font-weight: 700; }
.cs-hc__rl-text { grid-column: 1; color: var(--cs-muted); font-weight: 400; font-size: .94em; }
.cs-hc__list--rich .cs-hc__chev { grid-column: 2; grid-row: 1 / span 2; }
/* Topic / search / all headers */
.cs-hc__back { margin: 4px 0 10px; }
.cs-hc__back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cs-ink); }
.cs-hc__back a:hover { color: var(--cs-accent); }
.cs-hc__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .9em; color: var(--cs-muted); margin: 0 0 22px; }
.cs-hc__crumbs a { color: var(--cs-muted); }
.cs-hc__crumbs a:hover { color: var(--cs-ink); }
.cs-hc__crumbs [aria-current] { color: var(--cs-ink); }
.cs-hc__crumb-sep { color: #9ca3af; }
.cs-hc__head { --cs-topic: var(--cs-accent); display: flex; gap: 18px; align-items: center; margin: 0 0 24px; }
.cs-hc__head-icon { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--cs-topic) 12%, #fff); color: var(--cs-topic); flex: none; }
.cs-hc__title--sm { font-size: clamp(1.7em, 3.4vw, 2.4em); margin: 0; }
.cs-hc__meta { color: var(--cs-muted); font-size: .95em; margin: 0 0 20px; }
.cs-hc__empty { color: var(--cs-muted); }
/* Header band (topic, all articles, search) */
.cs-hc__band { --cs-topic: var(--cs-accent); padding: clamp(22px, 3.5vw, 36px) clamp(20px, 3.5vw, 40px) clamp(22px, 3vw, 32px); border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--cs-topic) 9%, #f7f8fa) 0%, #f7f8fa 70%); border: 1px solid var(--cs-line); }
.cs-hc__band-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .92em; color: var(--cs-muted); margin: 0 0 18px; }
.cs-hc__band-nav a { color: var(--cs-muted); }
.cs-hc__band-nav a:hover { color: var(--cs-ink); }
.cs-hc__band-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cs-ink) !important; margin-right: 4px; }
.cs-hc__band-main { display: flex; gap: 18px; align-items: center; margin: 0 0 20px; }
.cs-hc__band-main .cs-hc__head-icon { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.cs-hc__band-count { margin: 6px 0 0; font-size: .88em; font-weight: 700; color: var(--cs-muted); letter-spacing: .02em; }
.cs-hc__band .cs-hc__search { margin: 0; max-width: 680px; background: #fff; }
.cs-hc__after-band { margin-top: 30px; }
.cs-hc__label { margin: 0 0 12px; font-size: .78em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-muted); }
.cs-hc__group { --cs-topic: var(--cs-accent); margin: 0 0 30px; }
.cs-hc__group-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.cs-hc__group-head .cs-hc__h3 { margin: 0; }
.cs-hc__group-head .cs-hc__band-count { margin: 0; }
.cs-hc__group-head .cs-hc__textlink { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.cs-hc__group-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--cs-topic) 12%, #fff); color: var(--cs-topic); }
.cs-hc__group-icon .cs-hc__icon { width: 22px; height: 22px; margin: 0; color: inherit; }
.cs-hc__textlink { color: var(--cs-ink) !important; }
.cs-hc__textlink:hover { color: var(--cs-accent) !important; }

/* Article */
.cs-hc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.cs-hc__layout--single { grid-template-columns: minmax(0, 860px); }
.cs-hc__tag { --cs-topic: #374151; display: inline-block; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--cs-topic) 11%, #f3f4f6); color: var(--cs-ink); font-size: .85em; font-weight: 600; margin: 0 0 12px; }
.cs-hc__title--article { font-size: clamp(1.8em, 3.6vw, 2.5em); margin: 0 0 8px; }
.cs-hc__body { font-size: 1.04em; line-height: 1.72; }
.cs-hc__body > p:first-child { margin-top: 0; }
.cs-hc__body h2 { font-size: 1.3em; font-weight: 800; margin: 30px 0 10px; padding-top: 26px; border-top: 1px solid var(--cs-line); scroll-margin-top: 100px; }
.cs-hc__body h3 { font-size: 1.1em; font-weight: 800; margin: 22px 0 8px; scroll-margin-top: 100px; }
.cs-hc__body img { max-width: 100%; height: auto; border-radius: 10px; }
.cs-hc__body a { color: #1d4ed8; text-decoration: underline; }
.cs-hc__body ul, .cs-hc__body ol { padding-left: 1.3em; }
.cs-card { display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; align-items: start; margin: 12px 0; padding: 18px 20px; border-radius: 12px; background: var(--cs-soft, #f5f6f8); }
.cs-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #e9ebef; color: #111418; overflow: hidden; font-size: 0; }
.cs-card__icon svg { width: 24px; height: 24px; }
.cs-card__body > :first-child { margin-top: 0; }
.cs-card__body > :last-child { margin-bottom: 0; }
.cs-card__body p { margin: 0 0 4px; line-height: 1.55; }
.cs-card__body strong { font-size: 1.04em; }
.cs-card--warning { background: #fff7e6; }
.cs-card--warning .cs-card__icon { background: #ffe8b8; color: #8a5300; }
.cs-card--info { background: #eef4ff; }
.cs-card--info .cs-card__icon { background: #dbe7ff; color: #1d4ed8; }
.cs-hc__feedback { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 34px 0 0; padding: 18px 22px; background: var(--cs-soft); border-radius: 12px; }
.cs-hc__feedback > span { font-weight: 700; margin-right: 8px; }
.cs-hc__fb { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--cs-line); border-radius: 999px; background: #fff; color: var(--cs-ink); font: inherit; font-weight: 600; cursor: pointer; }
.cs-hc__fb:hover, .cs-hc__fb[aria-pressed="true"] { border-color: var(--cs-ink); }
.cs-hc__aside { display: grid; gap: 18px; position: sticky; top: 110px; }
.cs-hc__box { border: 1px solid var(--cs-line); border-radius: 12px; background: #fafbfc; padding: 18px 18px 10px; }
.cs-hc__box-title { font-size: 1.02em; font-weight: 800; margin: 0 0 10px; }
.cs-hc__box ul { list-style: none; margin: 0; padding: 0; }
.cs-hc__toc li a { display: block; padding: 7px 8px; border-radius: 8px; color: #374151; font-size: .95em; }
.cs-hc__toc li a:hover { background: #eef0f3; color: var(--cs-ink); }
.cs-hc__related { padding-bottom: 6px; }
.cs-hc__related li + li { border-top: 1px solid var(--cs-line); }
.cs-hc__related a { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; color: var(--cs-ink); font-weight: 600; line-height: 1.3; }
.cs-hc__related .cs-hc__media { aspect-ratio: 1; border-radius: 8px; }
.cs-hc__related .cs-hc__media-icon { width: 26px; height: 26px; }
.cs-hc__related a:hover span { color: var(--cs-accent); }
/* Products */
.cs-hc__products-wrap { margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--cs-line); }
.cs-hc__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cs-hc__product { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--cs-line); border-radius: 12px; color: var(--cs-ink); }
.cs-hc__product:hover { border-color: var(--cs-accent); }
.cs-hc__product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cs-hc__product-name { font-weight: 700; line-height: 1.3; }
.cs-hc__product-price { color: var(--cs-muted); font-size: .92em; }
/* Call to action */
.cs-hc__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; padding: clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 38px); border-radius: var(--cs-radius); background: #111418; color: #fff; }
.cs-hc__cta-icon { color: #fff; flex: none; }
.cs-hc__cta-text { flex: 1; min-width: 220px; }
.cs-hc__cta h2 { color: #fff; margin: 0 0 4px; font-size: 1.45em; font-weight: 800; }
.cs-hc__cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.cs-hc__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-hc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: .92em; letter-spacing: .02em; text-transform: uppercase; }
.cs-hc__btn--primary { background: var(--cs-accent); color: #fff !important; }
.cs-hc__btn--primary:hover { filter: brightness(1.08); }
.cs-hc__btn--ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff !important; }
.cs-hc__btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.cs-hc--article .cs-hc__btn--primary { background: #fff; color: #111418 !important; }
/* Staff preview notice */
.cs-notice--staff { max-width: 1240px; margin: 0 auto 14px; padding: 10px 14px; border-radius: 8px; background: #fff7e6; border: 1px solid #f6d28b; color: #6b4a00; font-size: .92em; }
/* Responsive */
@media (max-width: 1100px) { .cs-hc__cards, .cs-hc__acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cs-hc__layout { grid-template-columns: minmax(0, 1fr); } .cs-hc__aside { position: static; } .cs-hc--full .cs-hc__hero { padding-top: 48px; padding-bottom: 48px; } .cs-hc__hero--image { background: linear-gradient(180deg, rgba(10, 12, 15, .65), rgba(10, 12, 15, .9)), var(--cs-hero) center / cover no-repeat, #111418; } }
@media (max-width: 560px) { .cs-hc__acards { grid-template-columns: minmax(0, 1fr); } .cs-hc__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cs-hc__card { padding: 14px; gap: 4px; } .cs-hc__card .cs-hc__icon { width: 28px; height: 28px; margin-bottom: 4px; } .cs-hc__card-title { font-size: .98em; line-height: 1.25; } .cs-hc__card-desc { display: none; } .cs-hc__card-foot { padding-top: 8px; } .cs-hc__round { width: 28px; height: 28px; } .cs-hc__cta { flex-direction: column; align-items: flex-start; } .cs-hc__cta-actions, .cs-hc__btn { width: 100%; } .cs-hc__section-head { align-items: flex-start; } .cs-card { grid-template-columns: 44px 1fr; padding: 14px; } .cs-card__icon { width: 44px; height: 44px; } }
.cs-guest { max-width: 680px; margin-left: auto; margin-right: auto; }
.cs-expired { padding: clamp(22px, 4vw, 36px); border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); text-align: center; }
.cs-expired p { color: rgba(0, 0, 0, .62); margin: 0 auto 20px; max-width: 460px; }

/* ===================== Buttons & fields (plugin-wide, matches the Help Center "Submit a ticket" button) ===================== */
:root { --cs-brand: #d71920; }
a.cs-btn, button.cs-btn, .woocommerce a.button.cs-btn, .woocommerce button.button.cs-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px !important; padding: 0 28px !important; margin: 0;
	border: 0 !important; border-radius: 999px !important;
	background: var(--cs-brand) !important; color: #fff !important;
	font-family: inherit; font-size: .9em !important; font-weight: 800 !important; letter-spacing: .03em; text-transform: uppercase; line-height: 1 !important;
	text-decoration: none !important; box-shadow: 0 6px 16px color-mix(in srgb, var(--cs-brand) 28%, transparent) !important;
	cursor: pointer; transition: filter .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
a.cs-btn:hover, button.cs-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff !important; }
a.cs-btn:focus-visible, button.cs-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--cs-brand) 35%, transparent); outline-offset: 2px; }
button.cs-btn[disabled], button.cs-btn.is-busy { opacity: .65; cursor: progress; transform: none; }
a.cs-btn.cs-btn--ghost, button.cs-btn.cs-btn--ghost { background: #fff !important; color: #111418 !important; border: 1.5px solid #d6d9de !important; box-shadow: none !important; }
a.cs-btn.cs-btn--ghost:hover, button.cs-btn.cs-btn--ghost:hover { border-color: #111418 !important; color: #111418 !important; filter: none; }
a.cs-btn.cs-btn--sm, button.cs-btn.cs-btn--sm { min-height: 36px !important; padding: 0 18px !important; font-size: .8em !important; }
.cs-account__new, .cs-order-support { margin: 18px 0 0; }

/* Fields: one look for text, email, number, select and textarea inside Cobra Support forms */
.cs-contact input[type=text], .cs-contact input[type=email], .cs-contact input[type=tel], .cs-contact input[type=number], .cs-contact input[type=url], .cs-contact select, .cs-contact textarea,
.cs-guest input[type=text], .cs-guest input[type=email], .cs-ticket textarea, .cs-reply textarea {
	width: 100%; min-height: 48px; padding: 10px 16px !important; margin: 0;
	border: 1px solid #d6d9de !important; border-radius: 12px !important; background: #fff !important;
	font: inherit; color: inherit; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.cs-contact textarea, .cs-ticket textarea, .cs-reply textarea { min-height: 140px; line-height: 1.55; resize: vertical; }
.cs-contact input:focus, .cs-contact select:focus, .cs-contact textarea:focus, .cs-guest input:focus, .cs-ticket textarea:focus {
	outline: none; border-color: var(--cs-brand) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-brand) 18%, transparent) !important;
}
/* File picker: a tidy outline button instead of the browser default */
.cs-contact input[type=file], .cs-ticket input[type=file] { font: inherit; font-size: .92em; color: rgba(0, 0, 0, .6); max-width: 100%; }
.cs-contact input[type=file]::file-selector-button, .cs-ticket input[type=file]::file-selector-button {
	margin-right: 12px; padding: 9px 18px; border: 1.5px solid #d6d9de; border-radius: 999px; background: #fff; color: #111418;
	font: inherit; font-weight: 700; font-size: .92em; cursor: pointer; transition: border-color .15s;
}
.cs-contact input[type=file]::file-selector-button:hover, .cs-ticket input[type=file]::file-selector-button:hover { border-color: #111418; }

/* Ticket reply box: Send reply (left) · "My issue is solved" link (right) */
.cs-reply { padding: clamp(18px, 3vw, 26px) !important; border-radius: 14px !important; background: #fff; }
.cs-reply__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.cs-textlink { background: none !important; border: 0 !important; padding: 4px 0 !important; min-height: 0 !important; box-shadow: none !important; color: #1d5fd1 !important; font: inherit !important; font-size: .95em !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; cursor: pointer; }
.cs-textlink:hover { text-decoration: underline !important; color: #174ea6 !important; }
.cs-textlink--muted { color: rgba(0, 0, 0, .55) !important; font-weight: 500 !important; }
.cs-guest-logout { margin: 18px 0 0; text-align: center; font-size: .9em; color: rgba(0, 0, 0, .55); }
.cs-resolve[hidden] { display: none !important; }
.cs-thread .cs-msg, .cs-thread > li { border-radius: 14px; }
@media (max-width: 560px) {
	a.cs-btn, button.cs-btn { width: 100%; }
	a.cs-btn.cs-btn--sm, button.cs-btn.cs-btn--sm { width: auto; }
	.cs-reply__actions { flex-direction: column; align-items: stretch; }
	.cs-reply__actions .cs-textlink { text-align: center; }
}
.cs-reply .cs-files, .cs-contact .cs-files { margin-top: 16px; }
.cs-reply .cs-files > label { display: block; margin-bottom: 8px; font-weight: 600; }

/* ===================== Article typography (one consistent style for every article) ===================== */
.cs-hc__body { font-size: 1.04em; line-height: 1.72; color: #1f2329; }
.cs-hc__body > :first-child { margin-top: 0; }
.cs-hc__body p { margin: 0 0 1.1em; }
.cs-hc__body h2 { font-size: 1.32em; line-height: 1.3; font-weight: 800; margin: 1.8em 0 .6em; padding-top: 1.3em; border-top: 1px solid var(--cs-line); }
.cs-hc__body > h2:first-child { border-top: 0; padding-top: 0; }
.cs-hc__body h3 { font-size: 1.12em; line-height: 1.35; font-weight: 800; margin: 1.6em 0 .45em; }
.cs-hc__body h4 { font-size: 1em; font-weight: 800; margin: 1.3em 0 .35em; }
.cs-hc__body h2 + h3, .cs-hc__body h2 + h4, .cs-hc__body h3 + h4 { margin-top: .6em; }
.cs-hc__body ul, .cs-hc__body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.cs-hc__body li { margin: .35em 0; padding-left: .15em; }
.cs-hc__body li::marker { color: var(--cs-accent); }
.cs-hc__body ol li::marker { font-weight: 700; }
.cs-hc__body strong { font-weight: 700; color: #111418; }
.cs-hc__body blockquote { margin: 1.3em 0; padding: 14px 18px; border-left: 3px solid var(--cs-accent); background: var(--cs-soft); border-radius: 0 10px 10px 0; }
.cs-hc__body blockquote p:last-child { margin-bottom: 0; }
.cs-hc__body code { padding: 1px 6px; border-radius: 6px; background: #f1f3f5; font-size: .92em; }
.cs-hc__body pre { margin: 0 0 1.2em; padding: 14px 16px; border-radius: 10px; background: #f1f3f5; overflow-x: auto; }
.cs-hc__body pre code { padding: 0; background: none; }
.cs-hc__body .cs-card p { margin: 0 0 4px; }

/* ===================== My Account: empty tickets state ===================== */
.cs-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: clamp(32px, 6vw, 56px) 24px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 16px; background: #fafafa; }
.cs-empty-state__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: color-mix(in srgb, var(--cs-brand) 10%, #fff); color: var(--cs-brand); }
.cs-empty-state__title { margin: 0; font-size: 1.12em; font-weight: 700; color: #111418; }
.cs-empty-state__text { margin: 0 0 10px; color: rgba(0, 0, 0, .6); max-width: 420px; }
.cs-empty-state__link { font-weight: 700; color: var(--cs-brand) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.cs-empty-state__link:hover { text-decoration-thickness: 2px !important; }

/* ===================== Article feedback: question + Yes/No pair that never splits ===================== */
.cs-hc__feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.cs-hc__fb-q { font-weight: 700; flex: 1 1 auto; min-width: 0; margin: 0 !important; }
.cs-hc__fb-actions { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.cs-hc__feedback .cs-hc__fb {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	min-height: 40px !important; padding: 0 18px !important; margin: 0 !important;
	border: 1.5px solid #d6d9de !important; border-radius: 999px !important; background: #fff !important; color: #111418 !important;
	font: inherit !important; font-size: .9em !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
	box-shadow: none !important; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s;
}
.cs-hc__feedback .cs-hc__fb:hover { border-color: var(--cs-brand) !important; color: var(--cs-brand) !important; }
.cs-hc__feedback .cs-hc__fb-icon { width: 17px; height: 17px; margin: 0; }
@media (max-width: 560px) {
	.cs-hc__fb-q { flex-basis: 100%; }
	.cs-hc__fb-actions { flex: 1 1 100%; }
	.cs-hc__feedback .cs-hc__fb { flex: 1 1 0; }
}

/* Search dropdowns: clearly separated from the page */
.cs-hc__suggest { border: 1px solid rgba(17, 24, 39, .14); box-shadow: 0 18px 44px rgba(17, 24, 39, .22), 0 2px 6px rgba(17, 24, 39, .08); padding: 6px; }
.cs-hc__suggest li + li { border-top: 1px solid rgba(17, 24, 39, .06); }
.cs-hc__suggest small { display: block; margin-top: 2px; font-size: 12px; color: #6b7280; }
.cs-hc__suggest .cs-hc__none { padding: 10px 12px 6px; font-weight: 600; color: var(--cs-ink); border: 0; }
.cs-hc__suggest .cs-hc__group { padding: 10px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7280; border: 0; }
.cs-hc__suggested-title { margin-top: 28px; }
/* ✕ clear button inside search fields — a plain icon, immune to theme button styles */
.cs-has-clear { padding-right: 44px !important; }
button.cs-clear, .cs-hc button.cs-clear, .cs-portal button.cs-clear, form button.cs-clear {
	position: absolute !important; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2;
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 34px !important; height: 34px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important; outline: 0;
	color: #6b7280 !important; line-height: 1 !important; font-size: 0 !important; text-transform: none !important; letter-spacing: 0 !important;
	cursor: pointer; transition: color .15s, background-color .15s;
}
button.cs-clear svg { width: 20px; height: 20px; display: block; pointer-events: none; }
button.cs-clear:hover, button.cs-clear:focus-visible { color: #111827 !important; background: rgba(17, 24, 39, .06) !important; }
button.cs-clear:focus-visible { outline: 2px solid var(--cs-accent) !important; outline-offset: 1px; }
button.cs-clear[hidden] { display: none !important; }
input[type=search].cs-has-clear::-webkit-search-cancel-button { -webkit-appearance: none; }
.cs-hc__suggest .cs-hc__group + li, .cs-hc__suggest .cs-hc__none + li { border-top: 0; }
.cs-hc__suggest .cs-hc__none + .cs-hc__group { padding-top: 4px; }

/* Products in this article — phones: one at a time (swipe + arrows); desktop grid unchanged */
.cs-hc__car { position: relative; }
/* Arrows exist only on phones — hidden everywhere else, even against theme button styles. */
.cs-hc__car-btn, button.cs-hc__car-btn, .cs-hc button.cs-hc__car-btn, .cs-hc__car > button { display: none !important; }
@media (max-width: 767px) {
	.cs-hc__car .cs-hc__products { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.cs-hc__car .cs-hc__products::-webkit-scrollbar { display: none; }
	.cs-hc__car .cs-hc__product { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; box-sizing: border-box; }
	.cs-hc__car-btn, button.cs-hc__car-btn, .cs-hc button.cs-hc__car-btn, .cs-hc__car > button {
		display: inline-flex !important; align-items: center; justify-content: center; position: absolute; z-index: 2;
		top: calc(50% - 40px); transform: translateY(-50%); width: 42px !important; height: 42px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
		border-radius: 50% !important; border: 1px solid rgba(17, 24, 39, .08) !important; background: rgba(255, 255, 255, .94) !important; color: #111827 !important;
		box-shadow: 0 4px 14px rgba(17, 24, 39, .18) !important; cursor: pointer; line-height: 1 !important;
	}
	.cs-hc__car-btn--prev { left: 8px; }
	.cs-hc__car-btn--next { right: 8px; }
	.cs-hc__car-btn:focus-visible { outline: 2px solid var(--cs-accent) !important; outline-offset: 2px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .cs-hc__car .cs-hc__products { scroll-behavior: auto; } }

/* ===================== Help Center: inline images ===================== */
/* Images never exceed the text column; only Small/Medium images let text wrap; everything structural starts below them. */
.cs-hc__body { display: flow-root; }
.cs-hc__body figure.cs-figure { display: block; margin: 1.4em auto; padding: 0; max-width: 100%; float: none; box-sizing: border-box; }
.cs-hc__body figure.cs-figure img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; border-radius: 10px; box-shadow: none; }
.cs-hc__body figure.cs-figure a { display: block; text-decoration: none !important; border: 0; }
.cs-hc__body figure.cs-figure a:hover img { opacity: .92; }
.cs-hc__body figure.cs-figure figcaption { margin: .6em 0 0; padding: 0; font-size: .86em; line-height: 1.45; color: var(--cs-muted, #6b7280); text-align: center; overflow-wrap: anywhere; }
.cs-hc__body .cs-figure--sm { width: 33%; min-width: 160px; }
.cs-hc__body .cs-figure--md { width: 50%; min-width: 220px; }
.cs-hc__body .cs-figure--lg { width: 75%; }
.cs-hc__body .cs-figure--full { width: 100%; }
.cs-hc__body .cs-figure--sm.cs-figure--left, .cs-hc__body .cs-figure--md.cs-figure--left { float: left; margin: .35em 1.6em 1em 0; }
.cs-hc__body .cs-figure--sm.cs-figure--right, .cs-hc__body .cs-figure--md.cs-figure--right { float: right; margin: .35em 0 1em 1.6em; }
.cs-hc__body h2, .cs-hc__body h3, .cs-hc__body h4, .cs-hc__body .cs-card, .cs-hc__body .cs-figure--lg, .cs-hc__body .cs-figure--full, .cs-hc__body hr { clear: both; }
.cs-hc__body ul, .cs-hc__body ol, .cs-hc__body blockquote, .cs-hc__body pre { display: flow-root; }
.cs-hc__body > p > img { display: block; max-width: 100%; height: auto; margin: 1em auto; }
.cs-hc__body a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.cs-hc__body figure.cs-figure { float: none !important; margin: 1.2em auto !important; width: 100%; min-width: 0; }
	.cs-hc__body .cs-figure--sm { width: min(100%, 320px); }
	.cs-hc__body .cs-figure figcaption { text-align: center; }
}
