/* QistWay theme — main styles */
:root {
	--qw-navy: #12357A;
	--qw-navy-dark: #0B1F4F;
	--qw-ink: #0B1A3A;
	--qw-teal: #087A6B;
	--qw-teal-bright: #3FD4B8;
	--qw-teal-tint: #E3F5F1;
	--qw-teal-text: #0A5A50;
	--qw-blue-tint: #EEF2FA;
	--qw-bg: #F6F8FB;
	--qw-surface: #FFFFFF;
	--qw-line: #E2E6EE;
	--qw-line-strong: #C9D0DC;
	--qw-muted: #4B5568;
	--qw-muted-2: #566074;
	--qw-radius: 16px;
	--qw-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--qw-bg); color: var(--qw-ink); font-family: var(--qw-font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--qw-navy); }
a:hover { color: var(--qw-navy-dark); }
input, select, button, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--qw-teal-bright); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qw-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 100; }
.qw-skip:focus { left: 8px; }

.qw-container { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.qw-container--narrow { max-width: 860px; }
.qw-section { padding-top: 56px; padding-bottom: 24px; }
.qw-row { display: flex; flex-wrap: wrap; gap: 12px; }
.qw-center { text-align: center; }
.qw-muted { color: var(--qw-muted); margin: 0; }
.qw-h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; font-weight: 800; margin: 0 0 20px; }
.qw-h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; font-weight: 800; margin: 0 0 8px; line-height: 1.15; }

/* Buttons */
.qw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.qw-btn--lg { padding: 14px 26px; font-size: 16px; min-height: 50px; }
.qw-btn--block { width: 100%; }
.qw-btn--primary { background: var(--qw-teal); color: #fff; }
.qw-btn--primary:hover { background: #066557; color: #fff; }
.qw-btn--navy { background: var(--qw-navy); color: #fff; }
.qw-btn--navy:hover { background: var(--qw-navy-dark); color: #fff; }
.qw-btn--outline { background: #fff; color: var(--qw-navy); border-color: var(--qw-navy); }
.qw-btn--outline:hover { background: var(--qw-blue-tint); }
.qw-btn--white { background: #fff; color: var(--qw-navy); }

/* Top bar & header */
.qw-topbar { background: var(--qw-navy); color: #E3E9F6; font-size: 13px; }
.qw-topbar strong { color: var(--qw-teal-bright); }
.qw-topbar__in { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.qw-header { background: #fff; border-bottom: 1px solid var(--qw-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .qw-header { top: 32px; }
.qw-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 14px; padding-bottom: 14px; }
.qw-logo img { height: 42px; width: auto; display: block; }
.qw-search { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; background: #F0F3F8; border: 1px solid var(--qw-line); border-radius: 10px; padding: 0 14px; color: var(--qw-muted-2); }
.qw-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; font-size: 15px; color: var(--qw-ink); outline: none; }
.qw-nav { display: flex; align-items: center; gap: 22px; }
.qw-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.qw-nav__list a { text-decoration: none; color: var(--qw-ink); font-weight: 600; font-size: 15px; display: inline-block; padding: 10px 0; }
.qw-nav__list a:hover { color: var(--qw-teal); }
.qw-menu-toggle { display: none; background: none; border: 1px solid var(--qw-line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--qw-ink); cursor: pointer; }
@media (max-width: 860px) {
	.qw-menu-toggle { display: inline-flex; margin-left: auto; }
	.qw-search { order: 3; flex-basis: 100%; }
	.qw-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 8px; }
	.qw-nav.is-open { display: flex; }
	.qw-nav__list { flex-direction: column; }
}
@media (max-width: 782px) { .admin-bar .qw-header { top: 46px; } }

/* Hero */
.qw-hero { background: #fff; }
.qw-hero__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.qw-hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.qw-chip { align-self: flex-start; background: var(--qw-teal-tint); color: var(--qw-teal-text); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.qw-hero__title { margin: 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.qw-hero__title span { color: var(--qw-teal); }
.qw-hero__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--qw-muted); max-width: 540px; }
.qw-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--qw-muted); }
.qw-ticks li { display: flex; align-items: center; gap: 6px; }
.qw-ticks svg { color: var(--qw-teal); }
.qw-hero__card-wrap { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.qw-hero__card { width: 100%; max-width: 430px; background: var(--qw-navy); color: #fff; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 28px 56px rgba(18, 53, 122, .25); }
.qw-hero__card hr, .qw-calc__result hr { border: 0; height: 1px; background: rgba(255,255,255,.18); margin: 2px 0; width: 100%; }
.qw-hero__card-top { display: flex; justify-content: space-between; align-items: center; }
.qw-eyebrow { font-size: 12px; font-weight: 700; color: #B9C8E6; text-transform: uppercase; letter-spacing: .1em; }
.qw-eyebrow--teal { color: var(--qw-teal); }
.qw-badge { background: var(--qw-teal); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.qw-hero__pname { font-size: 21px; font-weight: 700; margin: 0; }
.qw-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.qw-hero__card .qw-kv { color: #D3DDF0; }
.qw-kv--big { align-items: baseline; }
.qw-hero__card .qw-kv--big strong { font-size: 38px; font-weight: 800; color: var(--qw-teal-bright); letter-spacing: -.02em; }
.qw-hero__total { margin: 0; font-size: 13px; color: #B9C8E6; }

/* Trust */
.qw-trust { border-top: 1px solid var(--qw-line); border-bottom: 1px solid var(--qw-line); }
.qw-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.qw-trust__item { display: flex; gap: 12px; align-items: center; }
.qw-trust__item strong { display: block; font-size: 15px; }
.qw-trust__item small { display: block; font-size: 13px; color: var(--qw-muted-2); }
.qw-iconbox { width: 46px; height: 46px; border-radius: 12px; background: var(--qw-teal-tint); color: var(--qw-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Categories */
.qw-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 18px; }
.qw-cat { text-decoration: none; color: var(--qw-ink); background: #fff; border: 1px solid var(--qw-line); border-radius: var(--qw-radius); padding: 20px; display: flex; align-items: center; gap: 14px; transition: border-color .15s, transform .15s; }
.qw-cat:hover { border-color: var(--qw-navy); color: var(--qw-ink); transform: translateY(-2px); }
.qw-cat__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--qw-navy); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qw-cat strong { display: block; font-size: 16px; }
.qw-cat small { display: block; font-size: 13px; color: var(--qw-muted-2); }

/* Product grid */
.qw-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.qw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.qw-card { background: #fff; border: 1px solid var(--qw-line); border-radius: var(--qw-radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.qw-card__media { height: 180px; border-radius: 12px; background: var(--qw-blue-tint); color: var(--qw-navy); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.qw-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.qw-card__cat, .qw-card__stock { position: absolute; top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.qw-card__cat { left: 10px; background: #fff; color: var(--qw-navy); border: 1px solid var(--qw-line); }
.qw-card__stock { right: 10px; background: var(--qw-teal); color: #fff; }
.qw-card__title { margin: 0 0 4px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.qw-card__title a { color: var(--qw-ink); text-decoration: none; }
.qw-card__price { margin: 0; font-size: 14px; color: var(--qw-muted); }
.qw-card__price strong { color: var(--qw-ink); }
.qw-empty { background: #fff; border: 1px dashed var(--qw-line-strong); border-radius: var(--qw-radius); padding: 28px; color: var(--qw-muted); }

/* Plan box */
.qw-plan { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.qw-pills { display: flex; gap: 6px; }
.qw-pill { flex: 1; min-height: 44px; font-size: 13px; font-weight: 700; border-radius: 10px; cursor: pointer; padding: 8px 4px; background: #fff; color: var(--qw-ink); border: 1px solid var(--qw-line-strong); }
.qw-pill.is-on { background: var(--qw-navy); color: #fff; border-color: var(--qw-navy); }
.qw-pills--dark .qw-pill { background: transparent; color: #fff; border-color: #3A4A70; font-size: 14px; }
.qw-pills--dark .qw-pill.is-on { background: var(--qw-teal); border-color: var(--qw-teal-bright); }
.qw-plan__box { background: var(--qw-teal-tint); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.qw-plan__row { display: flex; justify-content: space-between; align-items: baseline; }
.qw-plan__label { font-size: 13px; color: var(--qw-teal-text); font-weight: 600; }
.qw-plan__monthly { font-size: 24px; font-weight: 800; color: var(--qw-ink); }
.qw-plan__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--qw-teal-text); }
.qw-plan--lg { max-width: 460px; margin: 6px 0 24px; }
.qw-plan--lg .qw-plan__monthly { font-size: 30px; }
.qw-plan-title { font-size: 16px; margin: 12px 0 0; }
.qw-from { font-size: 14px; color: var(--qw-teal-text); margin: 4px 0 8px; }

/* Calculator */
.qw-calc { background: var(--qw-ink); color: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.qw-calc__left { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.qw-calc__left .qw-h2 { color: #fff; }
.qw-calc__sub { margin: -6px 0 0; color: #B3C0DC; font-size: 15px; }
.qw-calc__price { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #D6DEEE; }
.qw-calc__value { font-size: 30px; font-weight: 800; color: #fff; }
.qw-calc input[type=range] { width: 100%; min-height: 32px; accent-color: var(--qw-teal-bright); }
.qw-calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: #9AA8C6; margin-top: -10px; }
.qw-calc__result { flex: 1 1 320px; min-width: 0; background: #fff; color: var(--qw-ink); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.qw-calc__result .qw-kv { color: var(--qw-muted); }
.qw-calc__result .qw-kv strong { color: var(--qw-ink); }
.qw-calc__result hr { background: var(--qw-line); }
.qw-calc__result .qw-kv--big span { font-weight: 600; color: var(--qw-ink); }
.qw-calc__result .qw-kv--big strong { font-size: 36px; font-weight: 800; color: var(--qw-navy); letter-spacing: -.02em; }

/* Steps */
.qw-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.qw-steps li { background: #fff; border: 1px solid var(--qw-line); border-radius: var(--qw-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.qw-steps h3 { margin: 0; font-size: 18px; }
.qw-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--qw-muted); }
.qw-step__n { width: 40px; height: 40px; border-radius: 999px; background: var(--qw-navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.qw-step__n--teal { background: var(--qw-teal); }

/* Requirements */
.qw-req { background: var(--qw-teal-tint); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 32px; }
.qw-req > div { flex: 1 1 280px; min-width: 0; }
.qw-req > div p { margin: 0; color: #2A3550; }
.qw-req ul { flex: 2 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.qw-req li { background: #fff; border-radius: 12px; padding: 16px; font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.qw-req li svg { color: var(--qw-teal); flex-shrink: 0; }

/* Apply */
.qw-apply { background: #fff; border: 1px solid var(--qw-line); border-radius: 20px; padding: clamp(20px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 40px; }
.qw-apply__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.qw-apply__main { flex: 999 1 420px; min-width: 0; }
.qw-selected { background: var(--qw-blue-tint); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.qw-selected p { margin: 0; }
.qw-selected--empty { background: var(--qw-bg); border: 1px dashed #B7C0CF; color: var(--qw-muted); font-size: 15px; }
.qw-selected__name { font-size: 18px; font-weight: 700; }
.qw-selected__monthly { font-size: 22px; font-weight: 800; color: var(--qw-navy); }
.qw-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.qw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.qw-form input, .qw-form select { padding: 12px 14px; border: 1px solid var(--qw-line-strong); border-radius: 10px; font-size: 15px; background: #fff; color: var(--qw-ink); }
.qw-full { grid-column: 1 / -1; }
.qw-hp { position: absolute; left: -9999px; }
.qw-success { background: var(--qw-teal-tint); border-radius: 14px; padding: 28px; }
.qw-success__title { font-size: 22px; font-weight: 800; color: var(--qw-teal-text); margin: 0 0 8px; }
.qw-success p:last-child { margin: 0; }
.qw-error { background: #FDECEC; color: #8A1C1C; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-weight: 600; }

/* FAQ */
.qw-faq { background: #fff; border: 1px solid var(--qw-line); border-radius: 14px; margin-top: 10px; }
.qw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; min-height: 56px; font-weight: 700; font-size: 16px; }
.qw-faq summary::-webkit-details-marker { display: none; }
.qw-faq summary::after { content: '+'; font-size: 22px; color: var(--qw-navy); font-weight: 600; }
.qw-faq[open] summary::after { content: '−'; }
.qw-faq p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--qw-muted); }

/* CTA + footer */
.qw-cta { background: var(--qw-navy); margin-top: 56px; }
.qw-cta__in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.qw-cta__title { margin: 0 0 4px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.qw-cta__sub { margin: 0; color: #D3DDF0; }
.qw-footer { background: var(--qw-ink); color: #C3CDE3; font-size: 14px; }
.qw-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 52px; }
.qw-footer__logo { width: 190px; height: auto; display: block; margin-bottom: 10px; }
.qw-footer p { margin: 0; line-height: 1.6; }
.qw-footer__h { font-weight: 700; color: #fff; font-size: 15px; margin: 0 0 10px !important; }
.qw-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.qw-footer a { color: #C3CDE3; text-decoration: none; }
.qw-footer a:hover { color: #fff; }
.qw-footer__bottom { border-top: 1px solid #22305A; padding: 16px 20px; text-align: center; font-size: 13px; color: #9AA8C6; }

/* Generic pages */
.qw-page { padding-top: 48px; padding-bottom: 48px; }
.qw-entry { background: #fff; border: 1px solid var(--qw-line); border-radius: var(--qw-radius); padding: clamp(20px, 4vw, 40px); margin-bottom: 20px; }
.qw-content { line-height: 1.7; }

/* WooCommerce */
.qw-shop { padding-top: 40px; padding-bottom: 40px; }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--qw-line); border-radius: var(--qw-radius); padding: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--qw-font); font-size: 16px; color: var(--qw-ink); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--qw-ink); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--qw-teal); color: #fff; border-radius: 10px; font-weight: 700; padding: 12px 18px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: #066557; color: #fff; }
.woocommerce span.onsale { background: var(--qw-teal); }
.woocommerce .woocommerce-breadcrumb a { color: var(--qw-navy); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--qw-teal); }
