/* =========================================================================
   neon-shell.css - the neon look on every WordPress surface.
   The theme loads this sheet last. The design source is the static site:
   storefront/site/css/base.css and pages.css. Tokens (--pink, --teal,
   --cream, --mute, --panel, --line) come from the neon base sheet.

   RULE: no clip-path on form fields, on buttons inside forms, or on any
   element inside .wc-block-* or .wp-block-woocommerce-*. Use border and
   box-shadow there. Chamfers break focus rings and payment overlays.
   ========================================================================= */

/* ---- 1. The shell wrapper --------------------------------------------- */
.site-content .col-full.jk-shell,
.jk-shell {
	max-width: var(--shell, 1380px) !important;
	margin: 0 auto;
	padding: 52px 28px 72px;
	width: 100%;
	box-sizing: border-box;
}
/* Keep the footer at the bottom of a short page. */
#page { min-height: calc(100vh - 122px - 250px); }
.jk-shell #primary, .jk-shell .content-area { float: none; width: 100%; margin: 0; }
.jk-shell .u-columns, .jk-shell .col2-set { float: none; width: 100%; }
.site-content { background: transparent; }
#page, .site { overflow-x: clip; }
/* The admin bar pushes the sticky header down. */
body.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .hdr { top: 46px; }
}
@media (max-width: 600px) {
	/* WordPress makes the admin bar static under 600px. */
	body.admin-bar .hdr { top: 0; }
}
@media (max-width: 749px) {
	.site-content .col-full.jk-shell,
	.jk-shell { padding: 34px 18px 56px; }
}
.site-content:focus { outline: none; }

/* ---- 2. Collisions with the neon base sheet --------------------------- */
/* base.css sets img{display:block}. Restore inline flow where WooCommerce
   puts images inside table cells and text. */
.woocommerce table img,
.woocommerce-table img,
.wc-block-components-product-image img,
.wc-block-cart-item__image img,
.woocommerce-MyAccount-content img,
.entry-content p img,
.entry-content li img {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
.woocommerce table.shop_table img,
.woocommerce-table--order-details img { width: 48px; height: auto; }
/* The scanline layer stays above the page and never takes a click. */
body::before { pointer-events: none; z-index: 40; }

/* Visible keyboard focus everywhere. */
.jk-shell a:focus-visible,
.jk-shell button:focus-visible,
.jk-shell input:focus-visible,
.jk-shell select:focus-visible,
.jk-shell textarea:focus-visible,
.jk-shell summary:focus-visible,
.jk-shell [tabindex]:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
	box-shadow: none;
}
.jk-shell .btn:focus-visible,
.jk-shell button[type="submit"]:focus-visible,
.jk-shell input[type="submit"]:focus-visible,
.jk-shell .button:focus-visible,
.jk-shell .wc-block-components-button:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
}
.skip-link:focus { background: var(--pink); color: var(--ink); z-index: 100; padding: 10px 16px; }

/* ---- 3. Page masthead -------------------------------------------------- */
.entry-header .entry-title,
.jk-masthead h1,
.jk-shell > .woocommerce > h1,
.jk-shell .page-title {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(34px, 6vw, 58px);
	line-height: .92;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--cream);
	margin: 0;
	text-align: left;
}
.jk-shell .entry-header,
.jk-shell .hentry .entry-header {
	position: relative;
	margin: 0 0 34px !important;
	padding: 0 0 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--line) !important;
	text-align: left;
}
/* Teal and pink rule under the title. */
.jk-shell .entry-header::after,
.jk-masthead::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 120px;
	height: 3px;
	background: linear-gradient(90deg, var(--pink) 0 60%, var(--teal) 60% 100%);
}
.jk-masthead {
	position: relative;
	margin: 0 0 34px;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--line);
}
.jk-masthead p { margin-top: 12px; color: var(--mute); font-size: 16px; max-width: 60ch; }
.jk-masthead .btn { margin: 10px 12px 0 0; }
.jk-404 { padding: 20px 0 40px; }

/* ---- 4. Prose for content pages --------------------------------------- */
.entry-content,
.jk-prose {
	color: var(--cream);
	font-size: 17px;
	line-height: 1.65;
}
.entry-content > *,
.jk-prose > * { max-width: 70ch; }
.entry-content > .wpcf7,
.entry-content > .woocommerce,
.entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wp-block-woocommerce-cart,
.entry-content > table,
.entry-content > .alignwide,
.entry-content > .alignfull { max-width: none; }
.entry-content p,
.jk-prose p { margin: 0 0 1.1em; }
.entry-content h2,
.jk-prose h2 {
	font-size: clamp(24px, 3.4vw, 32px);
	margin: 1.8em 0 .6em;
	color: var(--cream);
	letter-spacing: .02em;
}
.entry-content h3,
.jk-prose h3 {
	font-size: 20px;
	margin: 1.5em 0 .5em;
	color: var(--teal);
	letter-spacing: .04em;
}
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2em 1.3em; padding: 0; }
.entry-content > ul:not([class]) { list-style: none; margin-left: 0; }
.entry-content > ul:not([class]) > li {
	position: relative;
	padding-left: 20px;
	margin-bottom: .45em;
}
.entry-content > ul:not([class]) > li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 7px;
	height: 7px;
	background: var(--pink);
	transform: rotate(45deg);
}
.entry-content ol > li { margin-bottom: .45em; padding-left: 4px; }
.entry-content ol > li::marker { color: var(--teal); font-family: var(--f-display); font-weight: 700; }
.entry-content a:not(.button):not(.woocommerce-MyAccount-navigation a),
.jk-prose a,
.woocommerce-MyAccount-content a:not(.button),
.woocommerce-order a:not(.button) {
	color: var(--pink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.entry-content a:hover,
.jk-prose a:hover { color: #ff7da1; text-decoration-thickness: 2px; }
.entry-content strong, .jk-prose strong { color: #fff6e0; font-weight: 600; }
.entry-content blockquote,
.jk-prose blockquote {
	margin: 1.4em 0;
	padding: 14px 22px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-left: 3px solid var(--teal);
	color: var(--cream);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry-content table,
.jk-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	background: var(--panel);
	border: 1px solid var(--line);
	font-size: 15px;
}
.entry-content th,
.entry-content td {
	padding: 10px 14px;
	text-align: left;
	border: 1px solid var(--line);
	color: var(--cream);
	background: transparent;
}
.entry-content th {
	background: var(--panel-3);
	font-family: var(--f-display);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 13px;
}
@media (max-width: 600px) {
	.entry-content table { display: block; overflow-x: auto; }
	.entry-content { font-size: 16px; }
}

/* ---- 5. Contact Form 7 ------------------------------------------------- */
.wpcf7 { max-width: 680px; }
.wpcf7 form p { margin: 0 0 20px; }
.wpcf7 label {
	display: block;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cream);
}
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: var(--panel-2);
	color: var(--cream);
	border: 1px solid #5d6a76;
	font-family: var(--f-body);
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	clip-path: none;
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	border-color: var(--teal);
	outline: 2px solid var(--teal);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(32,189,184,.12);
}
.wpcf7 input[type="file"] {
	width: 100%;
	padding: 10px;
	background: var(--panel-2);
	color: var(--cream);
	border: 1px dashed #5d6a76;
	font-size: 15px;
}
.wpcf7 input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	background: var(--teal-deep);
	color: var(--cream);
	border: 1px solid var(--teal-dim);
	font-family: var(--f-display);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-acceptance { display: block; }
.wpcf7 .wpcf7-list-item { display: block; margin: 0 0 10px; }
.wpcf7 .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	background: var(--panel-2);
	border: 1px solid #93a0ac;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
}
.wpcf7 input[type="checkbox"]:checked::before,
.wpcf7 input[type="radio"]:checked::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--pink);
}
.wpcf7 input[type="checkbox"]:focus-visible,
.wpcf7 input[type="radio"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.wpcf7 .wpcf7-not-valid { border-color: #ff6b6b; }
.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #ff8a8a;
	font-family: var(--f-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	background: var(--panel);
	color: var(--cream);
	border: 1px solid var(--line);
	border-left: 4px solid var(--mute);
	font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--teal); border-left-color: var(--teal); color: #a6efec; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { border-color: #f0b429; border-left-color: #f0b429; color: #f7d98b; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { border-color: #ff6b6b; border-left-color: #ff6b6b; color: #ff9b9b; }
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--pink); border-left-color: var(--pink); color: #ff9db9; }
.wpcf7 .wpcf7-spinner {
	background-color: var(--teal);
	margin: 0 0 0 14px;
	vertical-align: middle;
}
.wpcf7 .wpcf7-spinner::before { background-color: var(--ink); }
/* The submit is the neon pink button. A border and a shadow replace the chamfer. */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
	appearance: none;
	-webkit-appearance: none;
	min-height: 52px;
	padding: 15px 34px;
	background: var(--pink) !important;
	color: var(--ink) !important;
	border: 1px solid var(--pink);
	box-shadow: 4px 4px 0 var(--teal-deep);
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	clip-path: none;
	transition: background .15s, box-shadow .15s;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
	background: #ff5f8c !important;
	box-shadow: 4px 4px 0 var(--teal-dim), 0 0 14px rgba(251,68,120,.45);
}
.wpcf7 input[type="submit"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wpcf7 input[type="submit"]:disabled { background: var(--line) !important; color: #93a0ac !important; box-shadow: none; cursor: not-allowed; }

/* ---- 6. WooCommerce notices ------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.jk-mail-guard {
	position: relative;
	margin: 0 0 26px;
	padding: 16px 20px 16px 22px;
	background: var(--panel);
	color: var(--cream);
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal);
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message { border-left-color: var(--teal); }
.woocommerce-info { border-left-color: var(--teal); }
.woocommerce-error { border-left-color: #ff6b6b; }
.woocommerce-error li { margin: 0 0 4px; list-style: none; }
.jk-mail-guard { border-left-color: #f0b429; }
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.jk-mail-guard a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message .button,
.woocommerce-info .button { float: right; margin-left: 16px; }
.jk-register-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: var(--panel-2);
	border-left: 3px solid #f0b429;
	color: var(--cream);
	font-size: 14px;
}
.wc-block-components-notice-banner {
	background: var(--panel);
	color: var(--cream);
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal);
	box-shadow: none;
}
.wc-block-components-notice-banner.is-error { border-left-color: #ff6b6b; }
.wc-block-components-notice-banner.is-warning { border-left-color: #f0b429; }
.wc-block-components-notice-banner > svg { background: transparent; fill: currentColor; }

/* ---- 7. Order received, order pay, view order ------------------------- */
.woocommerce-order { color: var(--cream); }
.woocommerce-thankyou-order-received {
	margin: 0 0 24px;
	padding: 18px 22px;
	background: var(--panel);
	border: 1px solid var(--line-teal);
	border-left: 4px solid var(--teal);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: .04em;
	color: var(--cream);
}
.woocommerce-order-overview,
ul.order_details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
	background: var(--line);
	border: 1px solid var(--line);
}
.woocommerce-order-overview::before,
.woocommerce-order-overview::after,
ul.order_details::before,
ul.order_details::after { display: none !important; content: none !important; }
.woocommerce-order-overview li::before,
.woocommerce-order-overview li::after,
ul.order_details li::before,
ul.order_details li::after { display: none !important; content: none !important; }
.woocommerce-order-overview li,
ul.order_details li {
	margin: 0;
	padding: 16px 18px;
	background: var(--panel);
	border: 0;
	font-family: var(--f-display);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mute);
	float: none;
}
.woocommerce-order-overview li strong,
ul.order_details li strong {
	display: block;
	margin-top: 6px;
	font-family: var(--f-body);
	font-size: 17px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cream);
	word-break: break-word;
}
.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-order-downloads__title,
.woocommerce-customer-details h2,
.woocommerce-order-details h2 {
	font-size: 22px;
	margin: 0 0 16px;
	color: var(--cream);
	letter-spacing: .04em;
}
.woocommerce-order-details,
.woocommerce-customer-details { margin: 0 0 34px; }
.woocommerce table.shop_table,
.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	background: var(--panel);
	border: 1px solid var(--line);
	color: var(--cream);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid var(--line);
	color: var(--cream);
	text-align: left;
	vertical-align: top;
	background: transparent;
}
.woocommerce table.shop_table thead th {
	background: var(--panel-3);
	border-top: 0;
	font-family: var(--f-display);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cream);
}
.woocommerce table.shop_table tfoot th {
	font-family: var(--f-display);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mute);
}
.woocommerce table.shop_table tfoot tr:last-child td,
.woocommerce table.shop_table tfoot tr:last-child th { color: var(--cream); font-size: 17px; }
.woocommerce-table--order-details .product-name a { color: var(--pink); }
.woocommerce-table--order-details .product-quantity { color: var(--mute); }
.woocommerce .wc-item-meta,
.woocommerce-table--order-details .wc-item-meta { margin: 6px 0 0; padding: 0; list-style: none; color: var(--mute); font-size: 14px; }
.woocommerce .wc-item-meta li { padding: 0; }
.woocommerce .wc-item-meta li::before { display: none; }
.woocommerce .wc-item-meta p { display: inline; margin: 0; }
.woocommerce-customer-details .woocommerce-columns--addresses,
.woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.woocommerce-columns--addresses::before,
.woocommerce-columns--addresses::after { display: none; }
.woocommerce-columns--addresses .woocommerce-column {
	float: none;
	width: auto;
	padding: 22px 24px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-top: 3px solid var(--teal);
}
.woocommerce-customer-details address,
.woocommerce-order address {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	line-height: 1.7;
	color: var(--cream);
}
.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email { color: var(--mute); margin-top: 8px; }
.woocommerce-order-pay #order_review { max-width: 760px; }
.woocommerce-order-pay #payment,
.woocommerce-checkout #payment {
	background: var(--panel);
	border: 1px solid var(--line);
}
.woocommerce-order-pay #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.woocommerce-order-pay #payment div.payment_box { background: var(--panel-2); color: var(--cream); }
.woocommerce-order-pay #payment div.payment_box::before { border-bottom-color: var(--panel-2); }

/* ---- 8. Block checkout step rail (kept subtle) ------------------------- */
.wc-block-components-checkout-step__heading {
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.wc-block-components-checkout-step__title {
	font-family: var(--f-display);
	font-size: 20px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	color: var(--teal);
	background: transparent;
	border: 1px solid var(--teal-dim);
	font-family: var(--f-display);
}

/* ---- 9. The 404 page --------------------------------------------------- */
.jk-404 .jk-masthead h1 { font-size: clamp(54px, 12vw, 120px); line-height: .85; color: var(--pink); }
.jk-404 .jk-masthead p { font-size: 18px; color: var(--cream); }

/* ---- 10. Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	body::before { animation: none; }
	.wpcf7 input[type="submit"] { transition: none; }
}

/* Fieldsets and legends: no light Storefront fill. */
.jk-shell fieldset { background: transparent; border: 0; margin: 0; padding: 0; min-width: 0; }
.jk-shell legend {
	background: transparent;
	padding: 0 0 10px;
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cream);
}

/* WooCommerce core paints its notices blue and may load after this sheet.
   The shell selector and !important keep the neon panel. */
.jk-shell .woocommerce-message,
.jk-shell .woocommerce-info,
.jk-shell .woocommerce-error,
.jk-shell .jk-mail-guard {
	background-color: var(--panel) !important;
	color: var(--cream) !important;
}
.jk-shell .woocommerce-message a:not(.button),
.jk-shell .woocommerce-info a:not(.button),
.jk-shell .woocommerce-error a:not(.button),
.jk-shell .jk-mail-guard a { color: var(--pink) !important; }

/* CF7 and other shell fields: focus and autofill keep the dark field. */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	background-color: var(--panel-2) !important;
	color: var(--cream) !important;
}
.wpcf7 input:-webkit-autofill,
.wpcf7 input:-webkit-autofill:hover,
.wpcf7 input:-webkit-autofill:focus,
.wpcf7 textarea:-webkit-autofill {
	-webkit-text-fill-color: var(--cream) !important;
	-webkit-box-shadow: 0 0 0 100rem var(--panel-2) inset !important;
	caret-color: var(--cream);
	transition: background-color 9999s ease-in-out 0s;
}

/* Contact page: phone, email and mail address above the form. */
.entry-content .jk-contact-info {
	list-style: none;
	margin: 0 0 32px;
	padding: 16px 20px;
	display: grid;
	gap: 12px;
	border: 1px solid var(--line);
	background: var(--panel);
}
.entry-content .jk-contact-info li { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; color: var(--cream); }
.entry-content .jk-contact-info strong { color: var(--mute); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8em; padding-top: .2em; }
.entry-content .jk-contact-info address { font-style: normal; }
.entry-content .jk-contact-info a { color: var(--teal); }
