/* Nova Stellar Training — Product Catalogue v6
   All selectors are isolated under .nst-pc-*.
*/

.nst-pc-page,
.nst-pc-page * { box-sizing: border-box; }

.nst-pc-page {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	padding: 42px 28px 78px;
	color: #102b52;
	font-family: inherit;
}

.nst-pc-page button,
.nst-pc-page input,
.nst-pc-page textarea { font: inherit; }

.nst-pc-hero { margin-bottom: 25px; }
.nst-pc-hero h1 {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.12;
	font-weight: 750;
	letter-spacing: -.4px;
	color: #102b52;
}
.nst-pc-hero p { margin: 0; color: #62758b; font-size: 15px; line-height: 1.55; }

.nst-pc-toolbar {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 22px;
	align-items: center;
	margin-bottom: 38px;
}
.nst-pc-search-wrap { position: relative; }
.nst-pc-search-icon {
	position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
	color: #8c9bad; pointer-events: none; font-size: 17px;
}
.nst-pc-search {
	width: 100%; height: 48px; border: 1px solid #d5dee8; border-radius: 8px;
	padding: 0 15px 0 40px; background: #fff; color: #142d4f; outline: none;
	box-shadow: 0 2px 8px rgba(16,43,82,.025);
}
.nst-pc-search:focus { border-color: #1767b2; box-shadow: 0 0 0 3px rgba(23,103,178,.09); }

.nst-pc-view-cart {
	height: 48px; min-width: 140px; padding: 0 16px; display: inline-flex; align-items: center;
	justify-content: center; gap: 9px; border: 1px solid #d5dee8; border-radius: 8px;
	background: #fff; color: #142d4f; text-decoration: none; font-weight: 700; white-space: nowrap;
	box-shadow: 0 2px 8px rgba(16,43,82,.025);
}
.nst-pc-view-cart:hover { border-color: #1767b2; color: #1767b2; }
.nst-pc-cart-count {
	display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
	padding: 0 6px; border-radius: 50%; background: #1767b2; color: #fff; font-size: 12px; font-weight: 800;
}

/* Category */
.nst-pc-category-section { margin: 0 0 34px; }
.nst-pc-category-heading { margin-bottom: 18px; }
.nst-pc-category-title {
	margin: 0; padding: 0 0 10px; border-bottom: 2px solid #1767b2;
	font-size: 28px; line-height: 1.15; color: #102b52; font-weight: 750; letter-spacing: -.3px;
}

/* Horizontal product cards — one product per row */
.nst-pc-product-list { display: grid; gap: 18px; }
.nst-pc-product-card {
	min-width: 0; display: grid; grid-template-columns: 390px minmax(0,1fr);
	border: 1px solid #dbe3eb; border-radius: 14px; background: #fff; overflow: hidden;
	box-shadow: 0 5px 20px rgba(16,43,82,.055);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nst-pc-product-card:hover {
	transform: translateY(-2px); border-color: #cbd8e5; box-shadow: 0 12px 30px rgba(16,43,82,.10);
}

.nst-pc-product-media { position: relative; min-width: 0; background: #f4f7fa; }
.nst-pc-product-image-button {
	display: block; width: 100%; height: 290px; padding: 0; border: 0; background: #f1f4f7;
	cursor: zoom-in; overflow: hidden;
}
.nst-pc-product-image {
	width: 100%; height: 100%; display: block; object-fit: cover; transition: none !important;
}
.nst-pc-product-image-button:hover .nst-pc-product-image,
.nst-pc-product-image-button:focus .nst-pc-product-image {
	transform: none !important; filter: none !important; opacity: 1 !important;
}
.nst-pc-no-image { display: flex; align-items: center; justify-content: center; color: #8a98a8; background: #f1f3f5; font-size: 13px; }

.nst-pc-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
	border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.95);
	color: #12345a; display: inline-flex; align-items: center; justify-content: center;
	font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 2;
}
.nst-pc-slider-arrow:hover { background: #fff; color: #1767b2; }
.nst-pc-slider-prev { left: 14px; }
.nst-pc-slider-next { right: 14px; }
.nst-pc-slider-dots {
	position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.nst-pc-slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.62); cursor: pointer; }
.nst-pc-slider-dot.is-active { width: 20px; border-radius: 10px; background: #fff; }

.nst-pc-product-body { padding: 25px 28px 24px; display: flex; flex-direction: column; min-width: 0; }
.nst-pc-product-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.nst-pc-product-body h3 {
	margin: 0 0 11px; font-size: 25px; line-height: 1.2; color: #102b52; font-weight: 750; letter-spacing: -.3px;
}
.nst-pc-product-price { flex: 0 0 auto; font-size: 18px; font-weight: 800; color: #1767b2; }
.nst-pc-product-description {
	margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: #596d83; max-width: 760px;
}
.nst-pc-product-features { margin: 0 0 17px; padding: 14px 16px; border-radius: 10px; background: #f7f9fb; border: 1px solid #e7edf3; }
.nst-pc-product-features h4 { margin: 0 0 8px; font-size: 14px; line-height: 1.3; color: #102b52; font-weight: 800; }
.nst-pc-product-features ul { margin: 0; padding-left: 19px; font-size: 14px; line-height: 1.55; color: #3c536d; }
.nst-pc-product-features li { margin: 0 0 4px; }
.nst-pc-product-features li:last-child { margin-bottom: 0; }
.nst-pc-product-sku { margin: 0 0 19px; font-size: 13px; line-height: 1.45; color: #6a7c8f; }
.nst-pc-product-actions { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.nst-pc-btn {
	min-height: 42px; padding: 10px 17px; border-radius: 8px; border: 1px solid transparent;
	cursor: pointer; font-size: 14px; font-weight: 750;
}
.nst-pc-btn-primary { background: #1767b2; color: #fff; border-color: #1767b2; box-shadow: 0 5px 13px rgba(23,103,178,.16); }
.nst-pc-btn-primary:hover { background: #125a9d; border-color: #125a9d; color: #fff; }
.nst-pc-btn-primary.is-added { background: #178453; border-color: #178453; }
.nst-pc-share-button {
	width: 42px; height: 42px; padding: 0; border: 1px solid #d7e0e8; border-radius: 8px; background: #fff;
	color: #5c7085; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px;
}
.nst-pc-share-button:hover { border-color: #1767b2; color: #1767b2; background: #f8fbff; }

/* Loader — intentionally removed from DOM after request */
.nst-pc-loading { display: flex; align-items: center; justify-content: center; min-height: 120px; }
.nst-pc-loading[hidden], .nst-pc-loading.is-finished { display: none !important; }
.nst-pc-spinner { width: 30px; height: 30px; border: 3px solid #dce4ec; border-top-color: #1767b2; border-radius: 50%; animation: nstPcSpin .7s linear infinite; }
@keyframes nstPcSpin { to { transform: rotate(360deg); } }

.nst-pc-error { padding: 22px; border: 1px solid #e4baba; border-radius: 10px; background: #fff8f8; color: #9b2c2c; text-align: center; }
.nst-pc-retry { margin-top: 10px; padding: 9px 16px; border: 1px solid #1767b2; border-radius: 8px; background: #1767b2; color: #fff; cursor: pointer; }
.nst-pc-no-results { padding: 48px 20px; text-align: center; color: #68798b; }
.nst-pc-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 25px; }
.nst-pc-page-button { width: 36px; height: 36px; border: 1px solid #d7dfe8; border-radius: 8px; background: #fff; color: #243c5b; cursor: pointer; font-weight: 700; }
.nst-pc-page-button.is-active { background: #1767b2; border-color: #1767b2; color: #fff; }

/* Cart */
.nst-pc-cart-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.nst-pc-continue { color: #1767b2; text-decoration: none; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.nst-pc-continue:hover { text-decoration: underline; }
.nst-pc-cart-table { border: 1px solid #dbe3eb; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 5px 18px rgba(16,43,82,.045); }
.nst-pc-cart-head,
.nst-pc-cart-row { display: grid; grid-template-columns: minmax(260px,2.2fr) .8fr 1fr .9fr 70px; align-items: center; column-gap: 18px; }
.nst-pc-cart-head { min-height: 46px; padding: 0 18px; background: #f7f9fb; border-bottom: 1px solid #e1e7ed; font-size: 12px; font-weight: 800; color: #314964; }
.nst-pc-cart-row { min-height: 78px; padding: 12px 18px; border-bottom: 1px solid #e8edf2; font-size: 13px; }
.nst-pc-cart-product { display: flex; align-items: center; gap: 13px; min-width: 0; }
.nst-pc-cart-thumb { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 8px; overflow: hidden; background: #f1f3f5; }
.nst-pc-cart-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nst-pc-cart-product-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nst-pc-cart-product-info strong { color: #102b52; font-size: 14px; line-height: 1.3; }
.nst-pc-cart-product-info span { color: #617286; font-size: 11px; }
.nst-pc-cart-price,.nst-pc-cart-subtotal { font-weight: 700; color: #243c5b; }
.nst-pc-qty { display: inline-flex; align-items: center; gap: 9px; }
.nst-pc-qty-button {
	width: 30px !important; height: 30px !important; min-width: 30px !important; min-height: 30px !important;
	padding: 0 !important; border: 1px solid #ccd7e2 !important; border-radius: 50% !important;
	background: #fff !important; color: #243c5b !important; display: inline-flex !important; align-items: center !important;
	justify-content: center !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1 !important;
	cursor: pointer; box-shadow: none !important;
}
.nst-pc-qty-button:hover { background: #f4f8fc !important; border-color: #1767b2 !important; color: #1767b2 !important; }
.nst-pc-qty-number { min-width: 16px; text-align: center; font-size: 13px; color: #102b52; font-weight: 800; }
.nst-pc-remove { padding: 0; border: 0; background: transparent; color: #d92929; font-size: 12px; font-weight: 700; cursor: pointer; }
.nst-pc-remove:hover { text-decoration: underline; }
.nst-pc-cart-total { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 16px 18px; background: #fbfcfd; font-size: 15px; color: #314964; }
.nst-pc-cart-total strong { font-size: 18px; color: #102b52; }
.nst-pc-cart-empty { min-height: 180px; padding: 35px; border: 1px dashed #cfd9e3; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #6b7d90; background: #fbfcfd; text-align: center; }
.nst-pc-empty-icon { font-size: 28px; }
.nst-pc-cart-empty strong { color: #102b52; font-size: 18px; }

/* Enquiry */
.nst-pc-enquiry { margin-top: 34px; padding: 28px 30px 30px; border-radius: 14px; background: #f4f7fa; border: 1px solid #e4eaf0; }
.nst-pc-enquiry h2 { margin: 0 0 7px; font-size: 27px; color: #102b52; }
.nst-pc-enquiry > p { margin: 0 0 23px; color: #60738a; font-size: 14px; line-height: 1.55; }
.nst-pc-enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.nst-pc-form-field { display: flex; flex-direction: column; gap: 7px; }
.nst-pc-form-field-full { grid-column: 1 / -1; }
.nst-pc-form-field label { font-size: 12px; font-weight: 800; color: #193657; }
.nst-pc-form-field label span { font-weight: 500; color: #77889a; }
.nst-pc-form-field input,
.nst-pc-form-field textarea { width: 100%; border: 1px solid #ccd7e2; border-radius: 7px; background: #fff; color: #152f50; outline: none; padding: 11px 12px; }
.nst-pc-form-field input { height: 40px; }
.nst-pc-form-field textarea { min-height: 105px; resize: vertical; }
.nst-pc-form-field input:focus,
.nst-pc-form-field textarea:focus { border-color: #1767b2; box-shadow: 0 0 0 3px rgba(23,103,178,.08); }
.nst-pc-form-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 3px; }
.nst-pc-required-note { font-size: 11px; color: #75869a; }
.nst-pc-submit { min-height: 43px; padding: 10px 20px; border: 0; border-radius: 8px; background: #1767b2; color: #fff; font-weight: 800; cursor: pointer; }
.nst-pc-submit:hover { background: #125a9d; }
.nst-pc-submit:disabled { opacity: .65; cursor: wait; }
.nst-pc-form-message,.nst-pc-enquiry-success { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid #d9e2ea; color: #43586f; font-size: 13px; }
.nst-pc-form-message.is-success,.nst-pc-enquiry-success { border-color: #bfe2cf; background: #f4fbf7; color: #216a43; }

/* Share */
.nst-pc-share-menu { position: fixed; z-index: 99990; right: 28px; top: 50%; transform: translateY(-50%); width: 230px; padding: 16px; border: 1px solid #d8e1ea; border-radius: 12px; background: #fff; box-shadow: 0 15px 45px rgba(16,43,82,.18); }
.nst-pc-share-menu[hidden] { display: none !important; }
.nst-pc-share-menu h3 { margin: 0 0 10px; font-size: 16px; color: #102b52; }
.nst-pc-share-menu button { display: block; width: 100%; padding: 9px 10px; margin: 5px 0; border: 1px solid #dbe3eb; border-radius: 7px; background: #fff; text-align: left; cursor: pointer; color: #243c5b; }
.nst-pc-share-menu button:hover { border-color: #1767b2; color: #1767b2; background: #f8fbff; }

/* Lightbox */
.nst-pc-lightbox[hidden] { display: none !important; }
.nst-pc-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 30px; }
.nst-pc-lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,17,30,.84); }
.nst-pc-lightbox-dialog { position: relative; z-index: 2; max-width: min(92vw, 1180px); max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.nst-pc-lightbox-image { display: block; max-width: 88vw; max-height: 84vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.35); object-fit: contain; }
.nst-pc-lightbox-close,
.nst-pc-lightbox-prev,
.nst-pc-lightbox-next {
	position: absolute; z-index: 3; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
	background: #fff; color: #102b52; display: inline-flex; align-items: center; justify-content: center;
	font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,.18);
}
.nst-pc-lightbox-close { top: -22px; right: -22px; font-size: 28px; }
.nst-pc-lightbox-prev { left: -70px; top: 50%; transform: translateY(-50%); }
.nst-pc-lightbox-next { right: -70px; top: 50%; transform: translateY(-50%); }
.nst-pc-lightbox-close:hover,.nst-pc-lightbox-prev:hover,.nst-pc-lightbox-next:hover { background: #1767b2; color: #fff; }
body.nst-pc-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
	.nst-pc-page { padding: 30px 18px 55px; }
	.nst-pc-product-card { grid-template-columns: 1fr; }
	.nst-pc-product-image-button { height: 260px; }
	.nst-pc-cart-head { display: none; }
	.nst-pc-cart-row { grid-template-columns: 1fr auto; row-gap: 10px; padding: 16px; }
	.nst-pc-cart-product { grid-column: 1 / -1; }
	.nst-pc-cart-price { grid-column: 1; }
	.nst-pc-qty { grid-column: 2; grid-row: 2; }
	.nst-pc-cart-subtotal { grid-column: 1; }
	.nst-pc-remove { grid-column: 2; grid-row: 3; justify-self: end; }
	.nst-pc-enquiry-form { grid-template-columns: 1fr; }
	.nst-pc-form-field-full,.nst-pc-form-footer { grid-column: 1; }
	.nst-pc-lightbox-prev { left: 10px; }
	.nst-pc-lightbox-next { right: 10px; }
}

@media (max-width: 620px) {
	.nst-pc-toolbar { grid-template-columns: 1fr; gap: 10px; }
	.nst-pc-view-cart { width: 100%; }
	.nst-pc-product-body { padding: 20px; }
	.nst-pc-product-topline { display: block; }
	.nst-pc-product-price { display: block; margin: -3px 0 12px; }
	.nst-pc-product-body h3 { font-size: 21px; }
	.nst-pc-cart-header { display: block; }
	.nst-pc-continue { display: inline-block; margin-top: 8px; }
	.nst-pc-enquiry { padding: 22px 18px; }
	.nst-pc-form-footer { display: block; }
	.nst-pc-submit { width: 100%; margin-top: 12px; }
	.nst-pc-lightbox { padding: 12px; }
	.nst-pc-lightbox-close { top: 10px; right: 10px; }
	.nst-pc-lightbox-image { max-width: 94vw; max-height: 80vh; }
}
