/* Viking Core — components. Colours come from these variables (override in the child theme). */
:root {
	--vp-black: #04060A;
	--vp-panel: #0A101B;
	--vp-line-dark: #1C2A42;
	--vp-blue: #1F5FD6;
	--vp-blue-glow: #2F6BFF;
	--vp-ice: #7FB2FF;
	--vp-ink: #0B0F17;
	--vp-muted: #4A5465;
	--vp-line: #E1E6EE;
	--vp-soft: #F4F6F9;
	--vp-ok: #1E7A46;
	--vp-radius: 10px;
	--vp-head: 'Saira', 'Archivo', sans-serif;
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Buttons */
.vp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--vp-blue); border-radius: 6px; background: var(--vp-blue); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; cursor: pointer; transition: background .15s, box-shadow .15s; }
.vp-btn:hover { background: #174DB3; box-shadow: 0 0 18px rgba(47, 107, 255, .45); }
.vp-btn-ghost { background: transparent; border-color: currentColor; color: inherit !important; }
.vp-btn-white { background: #fff; border-color: #fff; color: var(--vp-ink) !important; }
.vp-btn-white:hover { background: #E9EFF8; box-shadow: 0 0 18px rgba(255, 255, 255, .25); }
.vp-btn-ghost:hover { background: rgba(127, 178, 255, .08); }
.vp-btn-dark { background: var(--vp-ink); border-color: var(--vp-ink); font-family: var(--vp-head); letter-spacing: .1em; text-transform: uppercase; padding: 0 28px; min-height: 50px; }

/* Product grid */
.vp-grid-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-bottom: 30px; }
.vp-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.vp-pill { min-height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid #23314A; background: var(--vp-panel); color: #E9EFF8; font-weight: 600; font-size: 14px; cursor: pointer; }
.vp-pill:hover { border-color: var(--vp-blue-glow); }
.vp-pill.is-active { background: #fff; border-color: #fff; color: var(--vp-ink); }
.vp-grid-search { min-height: 44px; padding: 0 14px; border: 1px solid #23314A; border-radius: 6px; min-width: 240px; font: inherit; background: #0C1220; color: #E9EFF8; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.vp-card { background: linear-gradient(160deg, #0D1422, #070B12); border: 1px solid var(--vp-line-dark); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 1px 0 #24365A; color: #E9EFF8; transition: border-color .2s, box-shadow .2s; }
.vp-card:hover { border-color: #2F6BFF; box-shadow: 0 0 24px rgba(47, 107, 255, .2); }
.vp-card[hidden] { display: none; }
.vp-card-img { display: block; background: #E7E8EC; aspect-ratio: 1 / 1; }
.vp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.vp-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.vp-card-cat { font-size: 11px; color: var(--vp-ice); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.vp-card-title { font-family: var(--vp-head); font-weight: 800; font-size: 19px; margin: 2px 0 0; text-transform: uppercase; line-height: 1.25; }
.vp-card-title a { color: inherit; text-decoration: none; }
.vp-card-tag { font-size: 13px; color: #B7C3D6; margin: 2px 0 0; }
.vp-card-price { margin-top: auto; padding-top: 14px; font-size: 13px; color: #93A2B8; }
.vp-card-price strong { font-family: var(--vp-head); font-weight: 800; font-size: 20px; color: #fff; }
.vp-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.vp-card-actions .vp-btn { flex: 1; padding: 0 10px; }
.vp-card-actions .vp-btn-ghost { background: #fff; border-color: #fff; color: var(--vp-ink) !important; }
.vp-card-actions .vp-btn:not(.vp-btn-ghost) { background: var(--vp-blue-glow); border-color: var(--vp-blue-glow); box-shadow: 0 0 16px rgba(47, 107, 255, .35); }
.vp-grid-more { text-align: center; margin-top: 34px; }
.vp-grid-empty { text-align: center; color: #93A2B8; }
.vp-grid-more .vp-btn-dark { background: #fff; border-color: #fff; color: var(--vp-ink) !important; }

/* Currency switch */
.vp-cur { display: inline-flex; border: 1px solid #23314A; border-radius: 6px; overflow: hidden; }
.vp-cur a { padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #fff; text-decoration: none; }
.vp-cur a.is-active { background: #fff; color: var(--vp-ink); }

/* Research tab, specs, COA */
.vp-tagline { color: var(--vp-ice); font-weight: 600; margin: -6px 0 14px; }
.vp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 14px 0; }
.vp-spec { background: var(--vp-panel); border: 1px solid var(--vp-line-dark); border-radius: 8px; padding: 10px 12px; }
.vp-spec span { display: block; font-size: 12px; color: #93A2B8; }
.vp-spec strong { font-size: 15px; }
.vp-ruo-note { font-size: 12px; color: #93A2B8; }
.vp-coa-form { display: flex; flex-wrap: wrap; gap: 10px; }
.vp-coa-form input { flex: 1 1 260px; min-height: 54px; padding: 0 16px; border: 1px solid #2A3A58; border-radius: 8px; background: #0C1220; color: #E9EFF8; font: inherit; letter-spacing: .04em; text-transform: uppercase; }
.vp-coa-form .vp-btn { min-height: 54px; padding: 0 28px; font-family: var(--vp-head); letter-spacing: .1em; text-transform: uppercase; }
.vp-coa-result { margin-top: 16px; }
.vp-coa-miss { color: #FF9A9A; }
.vp-coa-card { background: var(--vp-panel); color: #E9EFF8; border: 1px solid var(--vp-line-dark); border-radius: 14px; padding: 22px; box-shadow: 0 0 0 1px rgba(47, 107, 255, .14), 0 20px 50px rgba(0, 0, 0, .35); }
.vp-coa-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--vp-line-dark); padding-bottom: 12px; font-weight: 600; }
.vp-coa-card-head code { background: none; color: #6EE3A4; font-size: 14px; }
.vp-coa-card .vp-spec { background: var(--vp-black); border-color: var(--vp-line-dark); }
.vp-coa-card .vp-spec span { color: #93A2B8; }
.vp-coa-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Research-use gate */
.vp-gate { position: fixed; inset: 0; z-index: 99999; background: rgba(2, 3, 6, .88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.vp-gate[hidden] { display: none; }
html.vp-gate-open { overflow: hidden; }
.vp-gate-box { max-width: 520px; background: var(--vp-panel); color: #E9EFF8; border: 1px solid #1D4BA8; border-radius: 16px; padding: 32px; text-align: center; box-shadow: 0 0 60px rgba(47, 107, 255, .25); }
.vp-gate-box h2 { font-family: var(--vp-head); font-style: italic; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; color: #fff; }
.vp-gate-box p { color: #C3CEDF; }
.vp-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* Kit table */
.vp-kit-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.vp-kit-table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; opacity: .7; padding: 0 0 10px; border: none; background: none; }
.vp-kit-table td { padding: 12px 0; border: none; border-top: 1px solid rgba(127, 178, 255, .18); background: none; }
.vp-kit-table td a { color: inherit; font-weight: 600; text-decoration: none; }
.vp-kit-table .vp-kit-price { color: var(--vp-ice); font-weight: 700; }

/* COA gallery */
.vp-coa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.vp-coa-item { background: var(--vp-panel); border: 1px solid var(--vp-line-dark); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 14px; color: #E9EFF8; }
.vp-coa-thumb { background: #fff; border: 1px solid var(--vp-line); border-radius: 10px; padding: 16px; color: var(--vp-ink); display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.vp-coa-thumb--img { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.vp-coa-thumb--img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.vp-coa-thumb-head { display: flex; justify-content: space-between; font-size: 11px; color: #5A6474; letter-spacing: .12em; text-transform: uppercase; }
.vp-coa-thumb-head .ok { color: #1E7A46; font-weight: 700; }
.vp-coa-thumb svg { width: 100%; height: 70px; margin-top: 8px; }
.vp-coa-thumb svg path { stroke: var(--vp-blue); }
.vp-coa-thumb svg line { stroke: #CDD4DE; }
.vp-coa-thumb-foot { display: flex; justify-content: space-between; font-size: 12px; margin-top: 6px; color: #5A6474; }
.vp-coa-thumb-foot b { color: var(--vp-ink); }
.vp-coa-item-body { padding: 0 4px; }
.vp-coa-item-body h3 { font-family: var(--vp-head); font-weight: 800; font-size: 19px; margin: 0; text-transform: uppercase; }
.vp-coa-item-body p { font-size: 13px; color: #93A2B8; margin: 2px 0 0; }
.vp-coa-open { margin: auto 4px 4px; color: #E9EFF8 !important; border-color: #3A4A66 !important; }
.vp-coa-empty { color: #93A2B8; }

/* Variable products show a price range (e.g. US$40 – US$300) */
.vp-card-price--range strong { font-size: 18px; }
.vp-card-price--range .amount { white-space: nowrap; }
