/*
Theme Name: ViaLux Bio
Theme URI: https://example.com/vialux-bio
Author: OpenAI Codex
Author URI: https://openai.com/
Description: A bespoke WooCommerce theme with a protected catalog, editorial landing page, and luxury research-lab styling.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: northline-research
*/

:root {
  --northline-ink: #171513;
  --northline-ink-soft: #2b2825;
  --northline-paper: #f4efe8;
  --northline-paper-strong: #efe6db;
  --northline-panel: #f9f6f1;
  --northline-panel-dark: #1d1b19;
  --northline-accent: #b68652;
  --northline-accent-soft: rgba(182, 134, 82, 0.18);
  --northline-border: rgba(23, 21, 19, 0.11);
  --northline-border-strong: rgba(23, 21, 19, 0.18);
  --northline-shadow: 0 24px 80px rgba(23, 21, 19, 0.08);
  --northline-radius: 28px;
  --northline-radius-sm: 18px;
  --northline-font-sans: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  --northline-font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--northline-ink);
  background:
    radial-gradient(circle at top left, rgba(182, 134, 82, 0.12), transparent 32%),
    radial-gradient(circle at right 10%, rgba(23, 21, 19, 0.08), transparent 22%),
    linear-gradient(180deg, #fbf8f4 0%, #f3ede4 100%);
  font-family: var(--northline-font-sans);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.northline-site-shell {
  min-height: 100vh;
}

.northline-announcement {
  padding: 0.8rem 1.5rem;
  background: var(--northline-panel-dark);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.northline-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(249, 246, 241, 0.84);
  border-bottom: 1px solid rgba(23, 21, 19, 0.08);
}

.northline-header__bar,
.northline-footer__inner,
.northline-section,
.northline-content-shell,
.northline-shop-shell,
.northline-product-shell,
.northline-default-loop,
.northline-page-shell,
.northline-single-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.northline-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
}

.northline-menu-toggle {
  display: none;
  border: 1px solid var(--northline-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.northline-nav ul,
.northline-footer__menu ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.northline-nav a,
.northline-actions a,
.northline-footer a {
  color: rgba(23, 21, 19, 0.72);
  transition: color 180ms ease;
}

.northline-nav a:hover,
.northline-actions a:hover,
.northline-footer a:hover {
  color: var(--northline-ink);
}

.northline-brand {
  justify-self: center;
  font-family: var(--northline-font-serif);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.northline-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.northline-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  margin-left: 0.3rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: var(--northline-accent-soft);
  color: var(--northline-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.northline-main {
  padding-bottom: 5rem;
}

.northline-button,
.button,
button.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--northline-ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  box-shadow: none;
}

.northline-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
  background: #0f0e0d;
  color: #fff;
}

.northline-button--ghost,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: transparent;
  color: var(--northline-ink);
  border-color: var(--northline-border-strong);
}

.northline-button--ghost:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #fff;
  color: var(--northline-ink);
}

.northline-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding-top: 3.5rem;
  align-items: stretch;
}

.northline-hero__copy,
.northline-hero__stage,
.northline-bento-card,
.northline-preview-card,
.northline-product-trust,
.northline-shop-intro,
.northline-product-layout,
.northline-article,
.northline-archive-card,
.northline-access-shell,
.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce .woocommerce-form-coupon,
.woocommerce .shop_table,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content {
  border: 1px solid var(--northline-border);
  border-radius: var(--northline-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--northline-shadow);
}

.northline-hero__copy {
  padding: clamp(2rem, 4vw, 4rem);
}

.northline-kicker,
.northline-shop-intro__eyebrow,
.northline-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--northline-accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.northline-kicker::before,
.northline-shop-intro__eyebrow::before,
.northline-card-eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
}

.northline-display,
.northline-product-summary .product_title,
.northline-page-shell h1,
.northline-single-shell h1,
.northline-archive-card h1 {
  margin: 0;
  font-family: var(--northline-font-serif);
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.northline-hero__lead,
.northline-shop-intro__lead,
.northline-product-summary .woocommerce-product-details__short-description,
.northline-article p,
.northline-archive-card p {
  color: rgba(23, 21, 19, 0.72);
  font-size: 1.06rem;
  max-width: 39rem;
}

.northline-hero__actions,
.northline-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.northline-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.northline-stat {
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.northline-stat strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.northline-stat span {
  color: rgba(23, 21, 19, 0.68);
  font-size: 0.95rem;
}

.northline-hero__stage {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 240, 232, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.northline-hero__orb,
.northline-hero__orb::before {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.northline-hero__orb {
  inset: auto auto 2rem 2rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(182, 134, 82, 0.24), transparent 68%);
}

.northline-hero__orb::before {
  content: "";
  inset: -7rem -6rem auto auto;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(23, 21, 19, 0.1), transparent 72%);
}

.northline-hero__card {
  position: absolute;
  left: 2.25rem;
  right: 2.25rem;
  bottom: 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: end;
}

.northline-hero__panel {
  min-height: 15rem;
  padding: 2rem;
  border-radius: 30px;
  background: rgba(16, 15, 14, 0.95);
  color: rgba(255, 255, 255, 0.82);
}

.northline-hero__panel strong {
  display: block;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.northline-vial {
  position: absolute;
  right: 8%;
  top: 10%;
  width: min(430px, 74%);
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 36px rgba(23, 21, 19, 0.22));
}

.northline-section {
  padding-top: 1.75rem;
}

.northline-bento-grid,
.northline-editorial-grid,
.northline-preview-grid,
.northline-footer__inner {
  display: grid;
  gap: 1.25rem;
}

.northline-bento-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.northline-bento-card {
  padding: 2rem;
}

.northline-bento-card--light {
  grid-column: span 5;
}

.northline-bento-card--dark {
  grid-column: span 7;
  background: linear-gradient(180deg, rgba(28, 26, 24, 0.98), rgba(18, 17, 15, 0.98));
  color: rgba(255, 255, 255, 0.86);
}

.northline-bento-card--dark p,
.northline-bento-card--dark .northline-card-meta {
  color: rgba(255, 255, 255, 0.72);
}

.northline-card-title,
.northline-preview-card h3,
.northline-article h2,
.northline-product-trust h3,
.northline-access-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--northline-font-serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.northline-card-meta {
  color: rgba(23, 21, 19, 0.72);
}

.northline-editorial-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.northline-article {
  padding: 2.2rem;
}

.northline-article--dark {
  background: linear-gradient(160deg, #211f1c, #151311);
  color: rgba(255, 255, 255, 0.84);
}

.northline-article--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.northline-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.northline-preview-card {
  padding: 1.35rem;
}

.northline-preview-card__art,
.northline-product-card__media,
.northline-single-art,
.northline-placeholder-art {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--northline-radius) - 8px);
  background:
    radial-gradient(circle at top center, rgba(182, 134, 82, 0.26), transparent 28%),
    linear-gradient(180deg, #fffdf8, #f3ecdf 100%);
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.northline-preview-card__art {
  aspect-ratio: 4 / 4.6;
  margin-bottom: 1rem;
}

.northline-preview-card__art--locked::after {
  content: "Protected";
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--northline-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.northline-preview-card__art--locked::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 226, 0.92)),
    linear-gradient(135deg, rgba(182, 134, 82, 0.08), transparent);
  filter: blur(0);
}

.northline-preview-card__silhouette {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 32%;
  aspect-ratio: 0.62;
  transform: translateX(-50%);
  border-radius: 36% 36% 18% 18% / 16% 16% 12% 12%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 224, 208, 0.9)),
    linear-gradient(180deg, rgba(23, 21, 19, 0.08), transparent 40%);
  box-shadow: 0 26px 30px rgba(23, 21, 19, 0.12);
}

.northline-preview-card__silhouette::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -9%;
  height: 14%;
  border-radius: 14px;
  background: #262320;
}

.northline-preview-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.northline-preview-card__copy {
  margin-top: 0.35rem;
  color: rgba(23, 21, 19, 0.68);
}

.northline-shop-shell,
.northline-product-shell,
.northline-default-loop,
.northline-page-shell,
.northline-single-shell {
  padding-top: 2.5rem;
}

.northline-shop-intro,
.northline-page-shell .northline-article,
.northline-single-shell .northline-article,
.northline-default-loop .northline-archive-card {
  padding: 2rem;
}

.northline-shop-layout {
  margin-top: 1.25rem;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0 0 1rem;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.northline-product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--northline-border);
  border-radius: var(--northline-radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--northline-shadow);
}

.northline-product-card__media {
  aspect-ratio: 4 / 4.9;
  display: block;
}

.northline-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.northline-placeholder-art {
  min-height: 100%;
}

.northline-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
}

.northline-product-card__category,
.product_meta,
.woocommerce-product-attributes-item__label,
.woocommerce-breadcrumb {
  color: rgba(23, 21, 19, 0.54);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.northline-product-card__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.northline-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--northline-accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.northline-product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.northline-product-card__note {
  color: rgba(23, 21, 19, 0.64);
  font-size: 0.92rem;
}

.onsale {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--northline-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(23, 21, 19, 0.08);
}

.northline-product-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  padding: 1.3rem;
}

.northline-product-gallery,
.northline-product-summary,
.northline-product-trust {
  min-width: 0;
}

.northline-product-gallery {
  padding: 0.3rem;
}

.northline-product-gallery .woocommerce-product-gallery,
.northline-product-gallery .woocommerce-product-gallery__wrapper,
.northline-product-gallery .woocommerce-product-gallery__image,
.northline-product-gallery .woocommerce-product-gallery__image a,
.northline-product-gallery .woocommerce-product-gallery__image img {
  height: 100%;
}

.northline-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.northline-product-summary {
  padding: 2rem;
}

.northline-product-summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 1.3rem 0 0;
}

.northline-product-summary .quantity .qty {
  min-height: 3.15rem;
  width: 5rem;
  border: 1px solid var(--northline-border);
  border-radius: 999px;
  padding: 0 1rem;
  background: #fff;
}

.northline-product-trust {
  margin-top: 1.3rem;
  padding: 2rem;
}

.northline-product-trust ul,
.northline-access-copy ul {
  padding-left: 1.15rem;
  margin: 1rem 0 0;
}

.northline-product-extended {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.northline-account-page.northline-logged-out {
  background: #f1f1ee;
}

.northline-account-page.northline-logged-out .northline-announcement,
.northline-account-page.northline-logged-out .northline-header,
.northline-account-page.northline-logged-out .northline-footer {
  display: none;
}

.northline-account-page.northline-logged-out .northline-main,
.northline-account-page.northline-logged-out .northline-account-gate {
  min-height: 100vh;
}

.northline-access-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.northline-access-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.northline-access-slider__slides {
  position: relative;
  min-height: inherit;
}

.northline-access-visual {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
  background:
    radial-gradient(circle at 10% 20%, rgba(219, 230, 226, 0.74), transparent 21%),
    linear-gradient(142deg, #33413f 0%, #171d1e 44%, #6d655b 100%);
}

.northline-access-visual.is-active {
  opacity: 1;
  pointer-events: auto;
}

.northline-access-visual--2 {
  background:
    radial-gradient(circle at 78% 19%, rgba(225, 218, 188, 0.4), transparent 23%),
    linear-gradient(148deg, #182d35 0%, #233237 48%, #837259 100%);
}

.northline-access-visual--3 {
  background:
    radial-gradient(circle at 17% 15%, rgba(223, 231, 224, 0.55), transparent 24%),
    linear-gradient(138deg, #39413f 0%, #202722 48%, #494238 100%);
}

.northline-access-visual.has-image {
  background:
    linear-gradient(120deg, rgba(10, 16, 17, 0.26), rgba(10, 16, 17, 0.06)),
    var(--northline-slide-image) center / cover no-repeat;
}

.northline-access-visual.has-image .northline-access-window,
.northline-access-visual.has-image .northline-access-wall,
.northline-access-visual.has-image .northline-access-bench,
.northline-access-visual.has-image .northline-access-case,
.northline-access-visual.has-image .northline-access-vials {
  opacity: 0.12;
}

.northline-access-slider__controls {
  position: absolute;
  z-index: 5;
  right: 12%;
  bottom: 4.3%;
  display: flex;
  gap: 0.55rem;
}

.northline-access-slider__controls button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.52);
  cursor: pointer;
}

.northline-access-slider__controls button[aria-current="true"] {
  background: #ddbd61;
}

.northline-access-window,
.northline-access-wall,
.northline-access-bench,
.northline-access-case,
.northline-access-vials {
  position: absolute;
}

.northline-access-window {
  inset: 0 auto auto 0;
  width: 28%;
  height: 48%;
  border-right: 12px solid rgba(233, 236, 230, 0.6);
  background: linear-gradient(135deg, rgba(250, 252, 248, 0.92), rgba(185, 202, 195, 0.34));
}

.northline-access-wall {
  inset: 0 0 auto 28%;
  height: 53%;
  background: linear-gradient(90deg, rgba(10, 16, 17, 0.62), rgba(16, 25, 28, 0.92));
}

.northline-access-bench {
  left: -6%;
  right: -5%;
  bottom: -9%;
  height: 51%;
  transform: perspective(900px) rotateX(10deg);
  transform-origin: top center;
  background: linear-gradient(106deg, rgba(241, 228, 203, 0.8), rgba(157, 127, 90, 0.42) 52%, rgba(64, 49, 35, 0.48));
}

.northline-access-case {
  left: 21%;
  right: 17%;
  bottom: 22%;
  height: 37%;
  border: 1px solid rgba(86, 80, 68, 0.17);
  border-radius: 15px;
  background: linear-gradient(155deg, #eeeae1, #cfc7ba);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.2);
}

.northline-access-case::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 43%;
  height: 56%;
  border: 1px solid rgba(86, 80, 68, 0.17);
  border-radius: 15px;
  background: linear-gradient(155deg, #eeeae1, #cfc7ba);
  transform: perspective(850px) rotateX(58deg);
  transform-origin: bottom center;
}

.northline-access-case span {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 15%;
  right: 15%;
  color: #4f4b44;
  font-family: var(--northline-font-serif);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  text-align: center;
}

.northline-access-vials {
  z-index: 2;
  left: 28%;
  right: 25%;
  bottom: 20%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.northline-access-vials i {
  position: relative;
  display: block;
  width: 26%;
  aspect-ratio: 0.58;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(100deg, rgba(255,255,255,0.7), rgba(217, 225, 220, 0.33) 55%, rgba(255,255,255,0.76));
  box-shadow: 0 19px 26px rgba(0,0,0,0.22);
}

.northline-access-vials i::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 11%;
  width: 78%;
  height: 13%;
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(180deg, #111719, #3b4444);
}

.northline-access-vials i::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 13%;
  height: 28%;
  background: #c4d6df;
}

.northline-access-vials i:nth-child(2)::after { background: #d5d0c5; }
.northline-access-vials i:nth-child(3)::after { background: #b1c7c0; }

.northline-access-note {
  position: absolute;
  z-index: 3;
  left: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 4vw, 3rem);
  max-width: 350px;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(16, 20, 19, 0.72);
  color: white;
}

.northline-access-note strong {
  display: block;
  font-family: var(--northline-font-serif);
  font-size: 1.42rem;
}

.northline-access-note span {
  display: block;
  margin-top: 0.45rem;
  color: #d7ba75;
  font-size: 0.85rem;
}

.northline-access-form {
  display: flex;
  flex-direction: column;
  width: min(100% - 4rem, 540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(3.2rem, 11vh, 9.5rem) 0 clamp(2rem, 6vh, 4rem);
  background: #fff;
}

.northline-access-brand {
  font-family: var(--northline-font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.northline-access-brand span {
  color: var(--northline-accent);
  font-size: 0.44em;
  letter-spacing: -0.04em;
}

.northline-access-brandline {
  margin: 0.78rem 0 0;
  color: #8d8b86;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.northline-access-copy {
  margin-top: clamp(3.8rem, 11vh, 8.5rem);
}

.northline-access-copy h1 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.7vw, 3.55rem);
}

.northline-access-copy p {
  max-width: 31rem;
  color: #7b8082;
}

.northline-access-copy .northline-visually-muted {
  font-size: 0.8rem;
}

.northline-access-form .northline-kicker {
  color: var(--northline-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.woocommerce form.login,
.woocommerce form.register {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.woocommerce #customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.woocommerce form .form-row {
  margin: 0 0 1rem;
}

.woocommerce form .form-row label,
.woocommerce-checkout label,
.woocommerce-cart-form th,
.woocommerce table.shop_table th {
  margin-bottom: 0.35rem;
  color: rgba(23, 21, 19, 0.8);
  font-size: 0.94rem;
  font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .password-input input,
.select2-container--default .select2-selection--single,
.woocommerce-cart .coupon .input-text {
  min-height: 3.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--northline-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.northline-account-page.northline-logged-out .northline-main {
  padding-bottom: 0;
}

.northline-account-page.northline-logged-out .woocommerce #customer_login {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-top: 2.25rem;
}

.northline-account-page.northline-logged-out .woocommerce #customer_login > div {
  float: none;
  width: 100%;
}

.northline-account-page.northline-logged-out .woocommerce #customer_login h2 {
  margin: 0 0 0.65rem;
  font-family: var(--northline-font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.northline-account-page.northline-logged-out .woocommerce form .form-row {
  margin-bottom: 1rem;
}

.northline-account-page.northline-logged-out .woocommerce form .form-row label {
  color: var(--northline-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.northline-account-page.northline-logged-out .woocommerce form .form-row input.input-text,
.northline-account-page.northline-logged-out .woocommerce form .password-input input {
  min-height: 4rem;
  border-color: #e4e5e2;
  border-radius: 0;
  background: #fcfcfb;
}

.northline-account-page.northline-logged-out .woocommerce form.login .form-row:last-child,
.northline-account-page.northline-logged-out .woocommerce form.register .form-row:last-child {
  margin-bottom: 0;
}

.northline-account-page.northline-logged-out .woocommerce form .woocommerce-form-login__rememberme {
  margin-top: 0.9rem;
  color: #7b8082;
  font-size: 0.88rem;
}

.northline-account-page.northline-logged-out .woocommerce form .button {
  width: 100%;
  min-height: 4rem;
  margin-top: 0.8rem;
  border-radius: 0;
  background: #171a19;
}

.northline-access-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.45rem;
  margin-top: 2rem;
  color: #6f7474;
  font-size: 0.78rem;
}

.northline-access-assurance span::before {
  content: "";
  display: inline-block;
  width: 0.44rem;
  height: 0.44rem;
  margin: 0 0.45rem 0.06rem 0;
  border: 1px solid var(--northline-accent);
  border-radius: 50%;
  vertical-align: middle;
}

.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content {
  padding: 1.5rem;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce .woocommerce-MyAccount-navigation-link a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.25rem;
}

.woocommerce-account.logged-in .entry-title,
.woocommerce-account .page-title {
  display: none;
}

.woocommerce table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce-cart table.cart img {
  width: 92px;
  border-radius: 14px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--northline-border);
  background: rgba(255, 255, 255, 0.92);
}

.northline-footer {
  padding: 1.5rem 0 2rem;
}

.northline-footer__inner {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  padding: 2rem;
}

.northline-footer__brand {
  font-family: var(--northline-font-serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.04em;
}

.northline-footer__copy {
  color: rgba(23, 21, 19, 0.66);
  max-width: 34rem;
}

.northline-footer__meta {
  color: rgba(23, 21, 19, 0.56);
  font-size: 0.92rem;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 0.6rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--northline-border);
  background: rgba(255, 255, 255, 0.84);
}

.woocommerce-pagination .page-numbers .current {
  background: var(--northline-ink);
  color: #fff;
}

.northline-visually-muted,
.northline-page-shell .entry-meta,
.northline-single-shell .entry-meta {
  color: rgba(23, 21, 19, 0.6);
}

@media (max-width: 1100px) {
  .northline-hero,
  .northline-editorial-grid,
  .northline-product-layout,
  .northline-product-extended,
  .northline-access-shell,
  .woocommerce-account .woocommerce,
  .northline-footer__inner {
    grid-template-columns: 1fr;
  }

  .northline-bento-card--light,
  .northline-bento-card--dark {
    grid-column: span 12;
  }

  .woocommerce ul.products,
  .northline-preview-grid,
  .woocommerce #customer_login {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .northline-header__bar {
    grid-template-columns: auto 1fr auto;
  }

  .northline-menu-toggle {
    display: inline-flex;
  }

  .northline-access-slider {
    min-height: 640px;
  }

  .northline-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 106px;
    padding: 1rem;
    border: 1px solid var(--northline-border);
    border-radius: 22px;
    background: rgba(249, 246, 241, 0.98);
    box-shadow: var(--northline-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-open .northline-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .northline-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .northline-header__bar,
  .northline-footer__inner,
  .northline-section,
  .northline-content-shell,
  .northline-shop-shell,
  .northline-product-shell,
  .northline-default-loop,
  .northline-page-shell,
  .northline-single-shell {
    width: min(100% - 1rem, 1240px);
  }

  .northline-announcement {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .northline-actions {
    gap: 0.75rem;
    font-size: 0.92rem;
  }

  .northline-access-slider {
    min-height: 520px;
  }

  .northline-access-form {
    width: min(100% - 2.25rem, 540px);
    min-height: 0;
    padding-top: 3.2rem;
  }

  .northline-stat-row,
  .woocommerce ul.products,
  .northline-preview-grid,
  .woocommerce #customer_login {
    grid-template-columns: 1fr;
  }

  .northline-hero__card {
    position: static;
    margin-top: 19rem;
    grid-template-columns: 1fr;
  }

  .northline-vial {
    width: 68%;
    right: 50%;
    top: 7%;
    transform: translateX(50%) rotate(-3deg);
  }

  .northline-hero__stage {
    min-height: 720px;
  }
}
