/*
Theme Name: NEXTUM Select TECH
Description: Motyw sklepu NEXTUM Select TECH dla WooCommerce.
Version: 1.0.0
Author: NEXTUM
Requires PHP: 7.4
Text Domain: nextum-tech
*/
:root {
	--ink: #eaf3ff;
	--bg: #080e19;
	--panel: #111d30;
	--white: #fff;
	--quiet: #a7bdd3;
	--blue: #70c4ff;
	--line: #28415e;
	--gap: clamp(1rem, 3vw, 2.5rem);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
img { max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #3eaaef; outline-offset: 3px; }
.nt-shell { width: min(1200px, calc(100% - 2 * var(--gap))); margin-inline: auto; }
.screen-reader-text, .nt-skip:not(:focus) {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap;
}
.nt-skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .5rem 1rem; background: var(--bg); }
.nt-top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-bar .nt-top { top: 32px; }
.nt-header, .nt-section-head, .nt-footer-links {
	display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
}
.nt-header { min-height: 76px; }
.nt-header nav, .nt-footer nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.nt-brand, .nt-header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nt-brand { gap: .55rem; font-size: 1.3rem; font-weight: 780; letter-spacing: -.025em; }
.nt-brand span { color: var(--ink); font-size: .75rem; letter-spacing: .075em; }
.nt-header nav a { color: var(--ink); font-weight: 600; }
.nt-header nav a:hover { text-decoration: underline; }
.nt-header .nt-cart, .nt-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	background: var(--blue); color: #080f1c; border: 1px solid transparent;
	border-radius: .4rem; padding: .5rem .85rem; text-decoration: none; font-weight: 750;
}
.nt-button:hover, .nt-header .nt-cart:hover { background: #ace0ff; cursor: pointer; }
.nt-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: var(--gap); padding-block: clamp(2.5rem, 6vw, 5rem); }
.nt-hero h1 { font-size: clamp(2.85rem, 7vw, 6.35rem); line-height: .96; letter-spacing: -.07em; margin: 0; }
.nt-hero h1 em { color: var(--blue); font-style: normal; }
.nt-hero p { color: var(--quiet); font-size: clamp(1rem, 1.6vw, 1.23rem); max-width: 32rem; margin-block: 1.1rem 1.4rem; }
.nt-visual {
	position: relative; overflow: hidden; min-height: clamp(280px, 33vw, 430px);
	border: 1px solid #356291; border-radius: .75rem;
	background: radial-gradient(ellipse at center, #204569, #0d1b2d 52%, #0a1322 78%);
}
.nt-visual::before {
	content: ''; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, transparent 0 35px, #76bcf41a 36px),
		repeating-linear-gradient(0deg, transparent 0 35px, #76bcf41a 36px);
	mask-image: radial-gradient(ellipse at center, #000, transparent 80%);
}
.nt-orbit, .nt-core, .nt-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.nt-orbit { width: min(72%, 370px); aspect-ratio: 1.48; border: 1px solid #69bfff70; transform: translate(-50%, -50%) rotate(-22deg); }
.nt-orbit-inner { width: min(52%, 275px); transform: translate(-50%, -50%) rotate(23deg); }
.nt-core { width: clamp(64px, 10vw, 115px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #7bc6ff; background: #0c2643; color: #b7e5ff; box-shadow: 0 0 45px #4baaff63; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 800; }
.nt-node { width: 12px; height: 12px; background: #9cddff; box-shadow: 0 0 18px #76caff; }
.nt-node-light { top: 42%; left: 24%; }
.nt-node-energy { top: 35%; left: 74%; }
.nt-node-network { top: 66%; left: 68%; }
.nt-section, .nt-guide { padding-block: 2rem 3rem; }
.nt-section-head { margin-bottom: 1rem; }
.nt-section h2, .nt-guide h2 { font-size: clamp(1.65rem, 3.4vw, 2.8rem); line-height: 1.15; margin: 0; letter-spacing: -.04em; }
.nt-search { display: flex; flex: 0 1 400px; gap: .4rem; }
.nt-search input { min-width: 0; flex: 1; padding-inline: .7rem; background: #0f1a2c; color: var(--ink); border: 1px solid #5781ac; border-radius: .4rem; }
.nt-search input::placeholder { color: var(--quiet); }
.nt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.nt-card { padding: clamp(1rem, 1.8vw, 1.5rem); background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--tone, var(--blue)); border-radius: .55rem; }
.nt-card-energia { --tone: #74ddbb; }
.nt-card-bezpieczenstwo { --tone: #aaa5ff; }
.nt-card-siec { --tone: #42dbe9; }
.nt-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.nt-card p, .nt-guide p { color: var(--quiet); margin: 0 0 .5rem; }
.nt-card summary { min-height: 44px; align-content: center; color: var(--blue); cursor: pointer; }
.nt-category { display: inline-flex; align-items: center; min-height: 44px; }
.nt-guide { max-width: 65ch; }
.nt-guide p { margin-top: .75rem; }
.nt-content { min-height: 55vh; padding-block: 2rem 3rem; overflow-wrap: anywhere; }
.nt-content h1 { line-height: 1.13; }
.nt-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.nt-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a,
.woocommerce ul.products li.product .price, .woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--blue); }
.woocommerce ul.products li.product .button, .woocommerce button.button,
.woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
	min-height: 44px; line-height: 1.4; background: var(--blue); color: #080f1c;
}
.woocommerce ul.products li.product .button:hover, .woocommerce button.button.alt:hover { color: #080f1c; background: #ace0ff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #14283e; }
.woocommerce input, .woocommerce select { color: #14283e; background: var(--white); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { color: #14283e; }
@media (max-width: 850px) { .nt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 782px) { .admin-bar .nt-top { top: 46px; } }
@media (max-width: 640px) {
	.nt-hero { grid-template-columns: minmax(0, 1fr); padding-block: 2rem; }
	.nt-visual { min-height: 220px; }
	.nt-header { gap: 0 .5rem; padding-block: .2rem; }
	.nt-header nav { gap: .15rem .65rem; }
	.nt-header nav a { font-size: .875rem; }
	.nt-section { padding-block: 1.25rem 2rem; }
}
@media (max-width: 600px) { .admin-bar .nt-top { top: 0; } }
@media (max-width: 375px) { .nt-grid { grid-template-columns: minmax(0, 1fr); } }
