/*
Theme Name: Nordics Stationery
Theme URI: https://nordics-stationery.com
Author: Nordics Stationery
Description: Artistic, editorial WooCommerce theme for stationery and office supplies.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: nordics-stationery
License: GNU General Public License v2 or later
*/

:root {
  --ns-ink: #193247;
  --ns-ink-deep: #102635;
  --ns-charcoal: #252a2d;
  --ns-green: #556f5f;
  --ns-green-soft: #dbe5dc;
  --ns-paper: #fbfaf6;
  --ns-paper-deep: #f1ecdf;
  --ns-white: #ffffff;
  --ns-blue: #dbe9ef;
  --ns-rose: #ead8d4;
  --ns-yellow: #f0e2b5;
  --ns-lilac: #e2deeb;
  --ns-coral: #dd8d76;
  --ns-gold: #c8a255;
  --ns-muted: #677178;
  --ns-line: #deded7;
  --ns-radius-sm: 14px;
  --ns-radius: 24px;
  --ns-radius-lg: 38px;
  --ns-shadow-sm: 0 9px 24px rgba(25, 50, 71, 0.07);
  --ns-shadow: 0 24px 70px rgba(25, 50, 71, 0.13);
  --ns-container: 1320px;
  --ns-serif: Georgia, "Times New Roman", serif;
  --ns-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ns-charcoal);
  background: var(--ns-paper);
  font-family: var(--ns-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.ns-search-open,
body.ns-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ns-ink); text-decoration: none; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
a:hover { color: var(--ns-green); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 18px;
  color: var(--ns-ink);
  font-family: var(--ns-serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.45rem, 7vw, 7rem); }
h2 { font-size: clamp(2.55rem, 5vw, 5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { margin: 0 0 18px; }
::selection { color: var(--ns-white); background: var(--ns-ink); }

.ns-container { width: min(var(--ns-container), calc(100% - 48px)); margin-inline: auto; }
.ns-main { min-height: 60vh; }
.ns-section { padding: 112px 0; position: relative; }
.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ns-green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ns-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.ns-spark { color: var(--ns-gold); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
  width: auto; height: auto; margin: 12px; padding: 12px 18px;
  clip: auto; overflow: visible; background: #fff; color: #111;
  z-index: 999999; border-radius: 8px;
}

/* Buttons and links */
.ns-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button[type="submit"],
input[type="submit"] {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid var(--ns-ink);
  border-radius: 999px;
  color: var(--ns-white);
  background: var(--ns-ink);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.ns-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  color: var(--ns-white);
  background: var(--ns-green);
  border-color: var(--ns-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(25, 50, 71, .16);
}
.ns-button--paper { color: var(--ns-ink); background: transparent; border-color: rgba(25, 50, 71, .28); }
.ns-button--paper:hover { color: var(--ns-ink); background: var(--ns-white); border-color: var(--ns-white); }
.ns-button--light { color: var(--ns-ink); background: var(--ns-white); border-color: var(--ns-white); }
.ns-arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ns-ink); font-size: .83rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 5px;
}
.ns-arrow-link b { font-size: 1.1rem; font-weight: 500; }
.ns-arrow-link:hover { transform: translateX(3px); }

/* Header */
.ns-announcement { color: #e9eef0; background: var(--ns-ink-deep); font-size: .72rem; letter-spacing: .07em; }
.ns-announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ns-utility-nav ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ns-utility-nav a { color: #e9eef0; opacity: .82; }
.ns-site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid rgba(25, 50, 71, .08);
  backdrop-filter: blur(18px);
  transition: transform .35s ease, box-shadow .25s ease, background .25s ease;
}
.ns-site-header.is-scrolled { box-shadow: 0 10px 30px rgba(25, 50, 71, .08); }
.ns-site-header.is-hidden { transform: translateY(-100%); }
.ns-header-main { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.ns-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ns-ink); justify-self: center; }
.ns-brand .custom-logo-link { display: block; }
.ns-brand .custom-logo { width: auto; max-height: 56px; }
.ns-brand-emblem {
  width: 47px; height: 47px; position: relative; display: grid; place-items: center;
  color: var(--ns-white); background: var(--ns-ink); overflow: hidden;
  border-radius: 54% 46% 59% 41% / 42% 58% 42% 58%;
}
.ns-brand-emblem i { position: absolute; width: 46px; height: 1px; background: rgba(255,255,255,.2); transform: rotate(-42deg); }
.ns-brand-emblem b { font-family: var(--ns-serif); font-size: 1.35rem; font-weight: 500; z-index: 1; }
.ns-brand-type { display: flex; flex-direction: column; line-height: 1; }
.ns-brand-type strong { font-family: var(--ns-serif); font-size: 1.36rem; letter-spacing: -.025em; }
.ns-brand-type small { margin-top: 5px; font-size: .61rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.ns-header-tools { justify-self: end; display: flex; align-items: center; gap: 7px; }
.ns-tool-button {
  min-width: 52px; height: 52px; padding: 0 11px; position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ns-ink); background: transparent; border: 0; border-radius: 14px;
}
.ns-tool-button:hover { color: var(--ns-green); background: rgba(85, 111, 95, .07); }
.ns-tool-button svg { width: 21px; height: 21px; }
.ns-tool-button > span:not(.ns-cart-count) { font-size: .57rem; font-weight: 700; letter-spacing: .05em; }
.ns-cart-count {
  position: absolute; right: 2px; top: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  color: #fff; background: var(--ns-coral); font-size: .64rem; font-weight: 800;
}
.ns-menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; border-radius: 12px; }
.ns-menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 1.5px; margin: 5px 0; background: var(--ns-ink); transition: transform .2s ease, opacity .2s ease; }
.ns-menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ns-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.ns-menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.ns-nav-shell { border-top: 1px solid rgba(25, 50, 71, .07); }
.ns-nav-row { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ns-primary-nav ul { display: flex; align-items: center; gap: 31px; margin: 0; padding: 0; list-style: none; }
.ns-primary-nav li { position: relative; }
.ns-primary-nav a { display: block; padding: 15px 0; color: var(--ns-charcoal); font-size: .82rem; font-weight: 750; letter-spacing: .025em; }
.ns-primary-nav > ul > li > a::after {
  content: ""; position: absolute; right: 0; bottom: 8px; left: 0; height: 1px;
  background: var(--ns-green); transform: scaleX(0); transform-origin: right; transition: transform .22s ease;
}
.ns-primary-nav > ul > li:hover > a::after,
.ns-primary-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.ns-primary-nav .sub-menu {
  position: absolute; left: -22px; top: calc(100% - 1px); min-width: 225px;
  display: block; padding: 14px; visibility: hidden; opacity: 0; transform: translateY(10px);
  background: var(--ns-white); border: 1px solid var(--ns-line); border-radius: 16px;
  box-shadow: var(--ns-shadow); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.ns-primary-nav li:hover > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.ns-primary-nav .sub-menu a { padding: 9px 11px; border-radius: 9px; }
.ns-primary-nav .sub-menu a:hover { background: var(--ns-paper-deep); }
.ns-nav-highlight { display: flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }

/* Search panel */
.ns-search-panel {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  padding: 30px; visibility: hidden; opacity: 0; background: rgba(16, 38, 53, .96);
  transition: opacity .28s ease, visibility .28s ease;
}
.ns-search-panel.is-open { visibility: visible; opacity: 1; }
.ns-search-inner { width: min(850px, 100%); color: #fff; text-align: center; transform: translateY(14px); transition: transform .28s ease; }
.ns-search-panel.is-open .ns-search-inner { transform: translateY(0); }
.ns-search-panel .ns-eyebrow { color: #e0c77e; }
.ns-search-panel h2 { margin: 17px 0 35px; color: #fff; font-size: clamp(2.5rem, 6vw, 5.8rem); }
.ns-search-close { position: absolute; right: 28px; top: 22px; width: 52px; height: 52px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 2rem; }
.ns-search-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.ns-search-form label { display: block; }
.ns-search-form .search-field {
  width: 100%; height: 66px; padding: 0 24px; color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; outline: none;
}
.ns-search-form .search-field::placeholder { color: rgba(255,255,255,.65); }
.ns-search-form .search-field:focus { border-color: #fff; }
.ns-search-form .search-submit { height: 66px; padding-inline: 30px; color: var(--ns-ink); background: #fff; border-color: #fff; }
.ns-search-suggestions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: .82rem; }
.ns-search-suggestions a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

/* Hero */
.ns-hero {
  min-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 77% 20%, rgba(255,255,255,.82) 0 8%, transparent 8.3%),
    linear-gradient(145deg, #fbfaf6 0%, #f2eee4 48%, #dce6df 100%);
}
.ns-hero::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(rgba(25,50,71,.1) .7px, transparent .7px); background-size: 20px 20px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.ns-hero-orbit { position: absolute; border: 1px solid rgba(25,50,71,.12); border-radius: 50%; }
.ns-hero-orbit--one { width: 510px; height: 510px; left: -260px; bottom: -310px; }
.ns-hero-orbit--two { width: 220px; height: 220px; right: -65px; top: 85px; }
.ns-hero-grid { min-height: 760px; display: grid; grid-template-columns: .94fr 1.06fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.ns-hero-copy { padding: 65px 0; }
.ns-hero-copy h1 { max-width: 760px; margin: 20px 0 28px; }
.ns-hero-copy > p { max-width: 650px; color: #59646b; font-size: 1.12rem; line-height: 1.75; }
.ns-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 46px; }
.ns-hero-proof { max-width: 710px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(25,50,71,.18); }
.ns-hero-proof > div { padding: 20px 17px 0 0; }
.ns-hero-proof > div + div { padding-left: 20px; border-left: 1px solid rgba(25,50,71,.14); }
.ns-hero-proof strong { display: block; margin-bottom: 3px; color: var(--ns-ink); font-family: var(--ns-serif); font-size: 1.05rem; }
.ns-hero-proof span { color: var(--ns-muted); font-size: .72rem; }
.ns-hero-visual { min-width: 0; }
.ns-hero-photo { overflow: hidden; border-radius: 44% 56% 33% 67% / 56% 40% 60% 44%; box-shadow: var(--ns-shadow); }
.ns-hero-photo img { width: 100%; min-height: 590px; object-fit: cover; }
.ns-creative-board {
  min-height: 610px; position: relative; overflow: hidden; isolation: isolate;
  border-radius: 44% 56% 34% 66% / 58% 38% 62% 42%;
  background: #dce5de; box-shadow: var(--ns-shadow);
}
.ns-board-label { position: absolute; left: 10%; top: 8%; z-index: 8; font-size: .65rem; font-weight: 900; letter-spacing: .18em; }
.ns-board-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(25,50,71,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(25,50,71,.07) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(170deg, black 0%, transparent 82%); }
.ns-board-shadow { position: absolute; width: 300px; height: 300px; right: 4%; top: 4%; border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(1px); }
.ns-paper-sheet { position: absolute; z-index: 3; background: #fffdf7; box-shadow: 0 25px 45px rgba(25,50,71,.17); }
.ns-paper-sheet--back { width: 238px; height: 320px; left: 9%; top: 17%; padding: 33px; transform: rotate(-9deg); background: repeating-linear-gradient(#fffdf7 0 28px, #d5e0e4 29px); }
.ns-paper-sheet--back span { display: block; margin-bottom: 38px; color: var(--ns-coral); font-family: var(--ns-serif); font-size: 1.2rem; font-weight: 700; }
.ns-paper-sheet--back i { display: block; width: 75%; height: 9px; margin: 17px 0; border-radius: 9px; background: rgba(25,50,71,.13); }
.ns-paper-sheet--front { width: 255px; height: 350px; right: 14%; top: 15%; padding: 40px 35px; transform: rotate(5deg); color: #fff; background: var(--ns-ink); border-radius: 5px 24px 24px 5px; }
.ns-paper-sheet--front::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(to bottom, var(--ns-gold) 0 12px, transparent 12px 22px); }
.ns-paper-sheet--front small { display: block; margin-bottom: 36px; font-size: .62rem; letter-spacing: .18em; }
.ns-paper-sheet--front strong { display: block; font-family: var(--ns-serif); font-size: 2.25rem; font-weight: 500; line-height: .98; }
.ns-paper-sheet--front b { position: absolute; left: 35px; bottom: 35px; color: #b7c7d0; font-size: .64rem; letter-spacing: .08em; }
.ns-visual-pen, .ns-visual-pencil, .ns-visual-ruler { position: absolute; z-index: 6; border-radius: 999px; box-shadow: 0 14px 25px rgba(25,50,71,.2); }
.ns-visual-pen { width: 305px; height: 20px; left: 14%; bottom: 22%; background: #aa5f50; transform: rotate(27deg); }
.ns-visual-pen::after { content: ""; position: absolute; right: -23px; top: 0; border-left: 24px solid #c9a580; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.ns-visual-pen i { position: absolute; left: 22px; top: 4px; width: 70px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.45); }
.ns-visual-pencil { width: 260px; height: 17px; left: 23%; bottom: 10%; background: var(--ns-gold); transform: rotate(-19deg); }
.ns-visual-pencil::after { content: ""; position: absolute; right: -20px; border-left: 21px solid #d9b78f; border-top: 8.5px solid transparent; border-bottom: 8.5px solid transparent; }
.ns-visual-ruler { width: 205px; height: 30px; right: -3%; bottom: 15%; border-radius: 2px; background: rgba(122,157,177,.85); transform: rotate(-54deg); }
.ns-visual-ruler::after { content: ""; position: absolute; inset: 5px; background: repeating-linear-gradient(90deg, transparent 0 13px, rgba(25,50,71,.4) 14px 15px); }
.ns-visual-tape { position: absolute; z-index: 5; left: 7%; top: 11%; width: 86px; height: 86px; border: 22px solid #d69a8d; border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 14px 25px rgba(25,50,71,.12); }
.ns-visual-clip { position: absolute; z-index: 6; right: 7%; top: 12%; width: 47px; height: 78px; border: 6px solid var(--ns-green); border-radius: 28px; transform: rotate(21deg); }
.ns-board-note { position: absolute; right: 10%; bottom: 4%; z-index: 7; color: var(--ns-green); font-family: var(--ns-serif); font-size: .95rem; font-style: italic; line-height: 1.45; text-align: right; transform: rotate(-3deg); }

.ns-motion-strip { overflow: hidden; color: #fff; background: var(--ns-ink-deep); border-top: 1px solid rgba(255,255,255,.1); }
.ns-motion-strip > div { width: max-content; min-width: 100%; display: flex; align-items: center; justify-content: center; gap: 35px; padding: 17px 25px; font-size: .7rem; font-weight: 850; letter-spacing: .18em; }
.ns-motion-strip i { color: #e2c569; font-style: normal; }

/* Section headings */
.ns-section-header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: end; margin-bottom: 54px; }
.ns-section-header h2 { margin: 16px 0 0; }
.ns-section-header > p { max-width: 570px; justify-self: end; color: var(--ns-muted); font-size: 1.04rem; }
.ns-section-header--compact { grid-template-columns: 1fr auto; }
.ns-section-header--compact > p { max-width: 480px; }

/* Collection shelf */
.ns-collection-section { background: var(--ns-paper); }
.ns-collection-shelf { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.ns-collection-card {
  min-height: 355px; grid-column: span 4; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 29px;
  color: var(--ns-charcoal); border-radius: var(--ns-radius-lg); transition: transform .3s ease, box-shadow .3s ease;
}
.ns-collection-card--large { grid-column: span 8; min-height: 430px; }
.ns-collection-card:hover { color: var(--ns-charcoal); transform: translateY(-7px) rotate(-.25deg); box-shadow: var(--ns-shadow); }
.ns-tone-blue { background: var(--ns-blue); }
.ns-tone-rose { background: var(--ns-rose); }
.ns-tone-yellow { background: var(--ns-yellow); }
.ns-tone-green { background: var(--ns-green-soft); }
.ns-tone-ink { color: #fff; background: var(--ns-ink); }
.ns-tone-ink h3, .ns-tone-ink p, .ns-tone-ink .ns-arrow-link { color: #fff; }
.ns-tone-lilac { background: var(--ns-lilac); }
.ns-collection-index { position: absolute; left: 29px; top: 26px; font-size: .66rem; font-weight: 900; letter-spacing: .18em; }
.ns-collection-symbol { position: absolute; right: 31px; top: 20px; font-family: var(--ns-serif); font-size: 2.5rem; font-weight: 400; opacity: .7; }
.ns-collection-doodle { position: absolute; right: 5%; top: 18%; width: 190px; height: 180px; }
.ns-collection-doodle i { position: absolute; width: 120px; height: 82px; left: 0; bottom: 16px; border-radius: 50%; background: rgba(255,255,255,.47); transform: rotate(-21deg); }
.ns-collection-doodle b { position: absolute; right: 25px; top: 0; width: 14px; height: 154px; border-radius: 9px; background: rgba(25,50,71,.65); transform: rotate(32deg); }
.ns-collection-doodle em { position: absolute; right: 64px; top: 15px; width: 72px; height: 72px; border: 12px solid rgba(255,255,255,.55); border-radius: 50%; }
.ns-collection-card > div:last-child { position: relative; z-index: 2; max-width: 620px; }
.ns-collection-card h3 { margin-bottom: 10px; font-size: clamp(2rem, 3vw, 3.25rem); }
.ns-collection-card p { max-width: 520px; margin-bottom: 22px; color: rgba(37,42,45,.72); }
.ns-tone-ink p { color: rgba(255,255,255,.72); }

/* Product edit */
.ns-product-edit { background: #f3eee3; }
.ns-product-edit::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(25,50,71,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(25,50,71,.055) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
.ns-product-edit .ns-container { position: relative; }
.ns-empty-store { padding: 40px; border: 1px dashed var(--ns-line); border-radius: var(--ns-radius); text-align: center; }

/* Editorial story */
.ns-editorial-story { padding: 120px 0; position: relative; overflow: hidden; color: #dce5e9; background: var(--ns-ink-deep); }
.ns-editorial-story::after { content: "N"; position: absolute; right: -50px; bottom: -180px; color: rgba(255,255,255,.025); font-family: var(--ns-serif); font-size: 39rem; line-height: 1; }
.ns-editorial-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; position: relative; z-index: 1; }
.ns-story-collage { min-height: 530px; position: relative; }
.ns-collage-grid { position: absolute; inset: 10% 0 0 10%; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; }
.ns-collage-card { position: absolute; box-shadow: 22px 30px 45px rgba(0,0,0,.24); }
.ns-collage-card--one { width: 320px; height: 405px; left: 8%; top: 7%; padding: 45px; transform: rotate(-7deg); color: var(--ns-ink); background: #f2eadb; box-shadow: 22px 30px 0 #c98069; }
.ns-collage-card--one small { display: block; margin-bottom: 58px; font-size: .68rem; font-weight: 850; letter-spacing: .2em; }
.ns-collage-card--one strong { font-family: var(--ns-serif); font-size: 3.35rem; font-weight: 500; line-height: .95; }
.ns-collage-card--two { width: 235px; height: 205px; right: 0; top: 12%; padding: 35px; transform: rotate(7deg); color: var(--ns-ink); background: #dce8ec; }
.ns-collage-card--two span { font-family: var(--ns-serif); font-size: 1.35rem; line-height: 1.25; }
.ns-collage-pencil { position: absolute; width: 330px; height: 28px; right: 2%; bottom: 18%; background: var(--ns-gold); transform: rotate(-31deg); box-shadow: 0 15px 25px rgba(0,0,0,.22); }
.ns-collage-pencil::after { content: ""; position: absolute; right: -32px; top: 0; border-left: 34px solid #d2b18a; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.ns-collage-circle { position: absolute; right: 4%; bottom: 2%; width: 118px; height: 118px; border: 25px solid #789cac; border-radius: 50%; }
.ns-story-copy { position: relative; z-index: 2; }
.ns-story-copy .ns-eyebrow { color: #dec576; }
.ns-story-copy h2 { margin: 18px 0 27px; color: #fff; }
.ns-story-copy > p { max-width: 650px; color: #c6d0d5; font-size: 1.05rem; }
.ns-story-values { margin: 35px 0; border-top: 1px solid rgba(255,255,255,.15); }
.ns-story-values > div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.ns-story-values span { color: #dec576; font-size: .68rem; letter-spacing: .13em; }
.ns-story-values strong { color: #fff; font-size: .92rem; }

/* Confidence */
.ns-confidence-section { padding: 112px 0; background: var(--ns-green-soft); }
.ns-confidence-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 90px; }
.ns-confidence-intro { position: sticky; top: 170px; align-self: start; }
.ns-confidence-intro h2 { margin: 18px 0 25px; font-size: clamp(2.7rem, 4.3vw, 4.45rem); }
.ns-confidence-intro p { max-width: 510px; color: var(--ns-muted); }
.ns-confidence-list article { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start; padding: 27px 0; border-top: 1px solid rgba(25,50,71,.17); }
.ns-confidence-list article:last-child { border-bottom: 1px solid rgba(25,50,71,.17); }
.ns-confidence-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--ns-ink); background: rgba(255,255,255,.52); border-radius: 50%; }
.ns-confidence-icon svg { width: 27px; height: 27px; }
.ns-confidence-list small { color: var(--ns-green); font-size: .65rem; letter-spacing: .15em; }
.ns-confidence-list h3 { margin: 4px 0 8px; font-family: var(--ns-sans); font-size: 1.03rem; letter-spacing: 0; }
.ns-confidence-list p { margin: 0; color: var(--ns-muted); }

/* Journal */
.ns-journal-section { background: var(--ns-paper); }
.ns-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ns-journal-card { min-width: 0; }
.ns-journal-image { min-height: 320px; display: grid; place-items: center; overflow: hidden; border-radius: 26px; background: var(--ns-blue); }
.ns-journal-card:nth-child(2) .ns-journal-image { background: var(--ns-yellow); }
.ns-journal-card:nth-child(3) .ns-journal-image { background: var(--ns-rose); }
.ns-journal-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .45s ease; }
.ns-journal-card:hover .ns-journal-image img { transform: scale(1.035); }
.ns-journal-placeholder { color: rgba(25,50,71,.55); font-family: var(--ns-serif); font-size: 6rem; }
.ns-journal-meta { display: block; margin: 21px 0 8px; color: var(--ns-green); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ns-journal-card h3 { margin-bottom: 15px; font-size: 1.65rem; line-height: 1.18; }
.ns-journal-card p { color: var(--ns-muted); }

/* Newsletter */
.ns-newsletter-section { padding: 0 0 110px; background: var(--ns-paper); }
.ns-newsletter-card { min-height: 385px; position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 50px; align-items: center; padding: 58px; border-radius: 44px; background: #d9e6df; }
.ns-newsletter-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(25,50,71,.08) .8px, transparent .8px); background-size: 18px 18px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.ns-newsletter-art, .ns-newsletter-copy, .ns-newsletter-form { position: relative; z-index: 1; }
.ns-newsletter-art { min-height: 260px; }
.ns-newsletter-art span { position: absolute; width: 175px; height: 220px; left: 8%; top: 5%; background: #fffdf7; transform: rotate(-8deg); box-shadow: 18px 22px 0 #d48872; }
.ns-newsletter-art span::after { content: "NOTES"; position: absolute; left: 28px; top: 34px; color: var(--ns-ink); font-family: var(--ns-serif); font-size: 2rem; }
.ns-newsletter-art i { position: absolute; width: 230px; height: 18px; left: 12%; bottom: 10%; background: var(--ns-ink); transform: rotate(28deg); border-radius: 20px; }
.ns-newsletter-art b { position: absolute; right: 0; top: 5%; color: var(--ns-gold); font-family: var(--ns-serif); font-size: 5rem; font-weight: 400; }
.ns-newsletter-copy h2 { margin: 18px 0; font-size: clamp(2.5rem, 4vw, 4.4rem); }
.ns-newsletter-copy p { max-width: 530px; color: var(--ns-muted); }
.ns-newsletter-form { display: grid; gap: 11px; }
.ns-newsletter-form input { width: 100%; height: 58px; padding: 0 21px; color: var(--ns-charcoal); background: rgba(255,255,255,.72); border: 1px solid rgba(25,50,71,.14); border-radius: 999px; outline: none; }
.ns-newsletter-form input:focus { background: #fff; border-color: var(--ns-ink); }
.ns-newsletter-form button { width: 100%; }

/* Page and inner heroes */
.ns-inner-hero, .ns-shop-hero { min-height: 355px; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(145deg, #f3eee3, #dce6df); }
.ns-inner-hero::before, .ns-shop-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(25,50,71,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(25,50,71,.06) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(90deg, transparent, black); }
.ns-inner-hero .ns-container, .ns-shop-hero .ns-container { position: relative; z-index: 2; }
.ns-inner-hero h1, .ns-shop-hero h1 { max-width: 900px; margin: 18px 0 0; font-size: clamp(3.2rem, 6vw, 6rem); }
.ns-inner-hero p { max-width: 700px; color: var(--ns-muted); font-size: 1.05rem; }
.ns-inner-hero-art, .ns-shop-hero-art { position: absolute; right: 8%; top: 11%; width: 300px; height: 260px; }
.ns-inner-hero-art span, .ns-shop-hero-art span { position: absolute; width: 160px; height: 210px; right: 25px; background: #fffdf7; transform: rotate(8deg); box-shadow: 15px 20px 0 #d48c77; }
.ns-inner-hero-art i, .ns-shop-hero-art i { position: absolute; left: 0; bottom: 35px; width: 230px; height: 18px; border-radius: 999px; background: var(--ns-ink); transform: rotate(-25deg); }
.ns-inner-hero-art b, .ns-shop-hero-art b { position: absolute; left: 18px; top: 10px; width: 68px; height: 68px; border: 15px solid var(--ns-gold); border-radius: 50%; }
.ns-page-layout { padding: 80px 0 110px; }
.ns-page-content { max-width: 920px; margin: auto; }
.ns-page-content > * + * { margin-top: 1.2em; }
.ns-page-content h2 { margin-top: 1.3em; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.ns-page-content h3 { margin-top: 1.3em; font-family: var(--ns-sans); font-size: 1.25rem; letter-spacing: 0; }
.ns-page-content ul, .ns-page-content ol { padding-left: 1.35em; }
.ns-page-content blockquote { margin: 35px 0; padding: 30px 35px; border-left: 4px solid var(--ns-green); background: var(--ns-paper-deep); font-family: var(--ns-serif); font-size: 1.35rem; }

/* Footer */
.ns-site-footer { padding: 100px 0 28px; position: relative; overflow: hidden; color: #cbd5da; background: var(--ns-ink-deep); }
.ns-footer-art { position: absolute; right: -5%; top: 0; width: 480px; height: 420px; opacity: .16; }
.ns-footer-art span { position: absolute; right: 50px; top: 25px; width: 210px; height: 280px; background: #fff; transform: rotate(8deg); }
.ns-footer-art i { position: absolute; left: 25px; bottom: 55px; width: 350px; height: 26px; background: var(--ns-gold); transform: rotate(-28deg); }
.ns-footer-art b { position: absolute; left: 20px; top: 40px; width: 130px; height: 130px; border: 30px solid var(--ns-blue); border-radius: 50%; }
.ns-footer-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; align-items: end; padding-bottom: 65px; position: relative; z-index: 1; border-bottom: 1px solid rgba(255,255,255,.14); }
.ns-footer-intro .ns-eyebrow { color: #dec576; }
.ns-footer-intro h2 { margin: 15px 0 0; color: #fff; font-size: clamp(3rem, 5vw, 5.4rem); }
.ns-footer-intro p { max-width: 560px; color: #b9c6cc; font-size: 1rem; }
.ns-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; padding: 65px 0; position: relative; z-index: 1; }
.ns-brand--footer { justify-self: start; color: #fff; }
.ns-brand--footer .ns-brand-emblem { color: var(--ns-ink); background: #fff; }
.ns-footer-brand-column > p { max-width: 350px; margin: 23px 0; color: #b9c6cc; }
.ns-footer-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-footer-trust span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .65rem; letter-spacing: .05em; }
.ns-site-footer h3 { margin-bottom: 20px; color: #fff; font-family: var(--ns-sans); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ns-site-footer ul { margin: 0; padding: 0; list-style: none; }
.ns-site-footer li { margin: 9px 0; }
.ns-site-footer a { color: #c5d0d5; font-size: .86rem; }
.ns-site-footer a:hover { color: #fff; }
.ns-footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 25px; position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); color: #899ba5; font-size: .72rem; }

/* WooCommerce general */
.ns-commerce-shell { padding: 60px 0 110px; }
.woocommerce { width: 100%; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 28px; color: var(--ns-muted); font-size: .76rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ns-green); }
.woocommerce .woocommerce-result-count { color: var(--ns-muted); font-size: .8rem; }
.woocommerce .woocommerce-ordering select { min-width: 210px; height: 46px; padding: 0 40px 0 15px; border: 1px solid var(--ns-line); border-radius: 999px; color: var(--ns-charcoal); background: #fff; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; padding: 0 0 18px !important; position: relative;
  overflow: hidden; background: transparent; border: 0; border-radius: 22px;
  transition: transform .28s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); }
.woocommerce ul.products li.product a.woocommerce-loop-product__link { display: block; }
.woocommerce ul.products li.product img {
  width: 100%; aspect-ratio: 1 / 1; margin: 0 0 17px !important; object-fit: cover;
  background: #fff; border: 1px solid var(--ns-line); border-radius: 22px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.woocommerce ul.products li.product:hover img { box-shadow: var(--ns-shadow-sm); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 48px; padding: 0 4px !important; color: var(--ns-charcoal); font-family: var(--ns-sans); font-size: .91rem !important; font-weight: 750; line-height: 1.45; letter-spacing: 0; }
.woocommerce ul.products li.product .price { display: block; margin: 7px 4px 0 !important; color: var(--ns-ink) !important; font-size: .95rem !important; font-weight: 850; }
.woocommerce ul.products li.product .price del { color: var(--ns-muted); opacity: .65; font-size: .78rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { margin: 9px 4px !important; color: var(--ns-gold); font-size: .8rem; }
.woocommerce ul.products li.product .button { width: calc(100% - 8px); min-height: 45px; margin: 13px 4px 0 !important; padding-inline: 16px; color: var(--ns-ink); background: transparent; border-color: rgba(25,50,71,.25); font-size: .75rem; }
.woocommerce ul.products li.product .button:hover { color: #fff; background: var(--ns-ink); border-color: var(--ns-ink); }
.woocommerce span.onsale { display: none; }
.ns-product-label { position: absolute; left: 13px; top: 13px; z-index: 5; padding: 7px 10px; color: #fff; background: var(--ns-coral); border-radius: 999px; font-size: .63rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ns-product-label--new { background: var(--ns-green); }
.woocommerce nav.woocommerce-pagination { margin-top: 50px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ns-line); border-radius: 50%; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: #fff; background: var(--ns-ink); border-color: var(--ns-ink); }

/* Product page */
.single-product .ns-shop-hero { min-height: 170px; }
.single-product .ns-shop-hero-art { display: none; }
.single-product .ns-shop-hero .ns-eyebrow { display: none; }
.single-product .ns-shop-hero-label { color: var(--ns-muted); font-family: var(--ns-serif); font-size: 1.2rem; }
.woocommerce div.product { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { overflow: hidden; border-radius: 30px; background: #fff; }
.woocommerce div.product div.images img { border-radius: 28px; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 1px solid var(--ns-line); border-radius: 12px; }
.woocommerce div.product div.summary { position: sticky; top: 175px; padding: 9px 0; }
.woocommerce div.product .product_title { margin: 10px 0 18px; font-size: clamp(2.7rem, 4vw, 4.8rem); }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 18px; }
.woocommerce .star-rating { color: var(--ns-gold); }
.woocommerce div.product p.price, .woocommerce div.product span.price { margin: 15px 0 24px; color: var(--ns-ink); font-size: 1.45rem; font-weight: 850; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ns-muted); font-size: 1rem; }
.woocommerce div.product form.cart { display: flex; align-items: center; gap: 10px; margin: 28px 0 20px; }
.woocommerce div.product form.cart .variations { margin-bottom: 15px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 8px 10px 8px 0; }
.woocommerce div.product form.cart .variations select { min-height: 46px; padding: 0 14px; border: 1px solid var(--ns-line); border-radius: 12px; background: #fff; }
.woocommerce .quantity .qty { width: 72px; min-height: 54px; border: 1px solid var(--ns-line); border-radius: 999px; background: #fff; }
.woocommerce div.product form.cart .button { flex: 1; }
.woocommerce div.product .product_meta { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ns-line); color: var(--ns-muted); font-size: .76rem; }
.woocommerce div.product .product_meta > span { display: block; margin: 5px 0; }
.ns-product-assurance { display: grid; gap: 8px; margin-top: 22px; padding: 18px; border-radius: 17px; background: var(--ns-green-soft); }
.ns-product-assurance span { display: flex; align-items: center; gap: 9px; color: var(--ns-ink); font-size: .76rem; font-weight: 750; }
.ns-product-assurance b { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--ns-green); border-radius: 50%; font-size: .68rem; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 10px; margin: 0 0 28px !important; padding: 0 !important; border-bottom: 1px solid var(--ns-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 18px !important; color: var(--ns-muted); font-size: .8rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ns-ink); border-bottom: 2px solid var(--ns-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 45px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { margin-bottom: 35px; font-size: clamp(2.3rem, 4vw, 4rem); }

/* Cart, checkout, account */
.woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--ns-line); border-radius: 20px; background: #fff; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 17px 15px; border-top-color: var(--ns-line); }
.woocommerce-cart table.cart img { width: 76px; border-radius: 12px; }
.woocommerce-cart .cart-collaterals .cart_totals { padding: 28px; border: 1px solid var(--ns-line); border-radius: 24px; background: #fff; }
.woocommerce-cart .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-family: var(--ns-sans); font-size: 1.15rem; letter-spacing: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single { min-height: 50px; padding: 10px 15px; border: 1px solid var(--ns-line); border-radius: 12px; background: #fff; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 28px; border: 1px solid var(--ns-line); border-radius: 24px; background: #fff; }
.woocommerce-checkout #order_review_heading { margin-top: 35px; }
.woocommerce-checkout #payment { background: var(--ns-paper-deep); border-radius: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 18px 22px 18px 48px; border-top: 0; border-radius: 14px; background: var(--ns-green-soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ns-green); }
.woocommerce-error { background: #f5ded8; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 15px; list-style: none; border: 1px solid var(--ns-line); border-radius: 18px; background: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 12px; border-radius: 9px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ns-paper-deep); }

/* Widgets */
.ns-filter-card { margin-bottom: 18px; padding: 20px; border: 1px solid var(--ns-line); border-radius: 18px; background: #fff; }
.ns-filter-card .widget-title { margin-bottom: 14px; font-family: var(--ns-sans); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.widget ul { padding-left: 0; list-style: none; }
.widget li { margin: 7px 0; }
.widget_product_categories .count { float: right; color: var(--ns-muted); }

/* Blog/search/archive basics */
.ns-content { padding: 80px 0 110px; }
.ns-page-header { padding: 75px 0; background: var(--ns-paper-deep); }
.ns-page-header h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.ns-post-card { margin-bottom: 25px; padding: 28px; border: 1px solid var(--ns-line); border-radius: 22px; background: #fff; }

/* Reveal animation */
.js .ns-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .ns-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .ns-reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1120px) {
  .ns-header-main { grid-template-columns: auto 1fr auto; }
  .ns-brand { justify-self: start; }
  .ns-menu-toggle { display: block; }
  .ns-nav-shell { border: 0; }
  .ns-nav-highlight { display: none; }
  .ns-primary-nav {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 1100; width: min(390px, 90vw);
    padding: 120px 30px 35px; visibility: hidden; opacity: 0; transform: translateX(-100%);
    background: var(--ns-paper); box-shadow: var(--ns-shadow); transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  }
  .ns-primary-nav.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
  .ns-primary-nav ul { display: block; }
  .ns-primary-nav a { padding: 12px 0; font-family: var(--ns-serif); font-size: 1.5rem; }
  .ns-primary-nav > ul > li > a::after { display: none; }
  .ns-primary-nav .sub-menu { position: static; min-width: 0; display: block; padding: 0 0 0 18px; visibility: visible; opacity: 1; transform: none; background: transparent; border: 0; box-shadow: none; }
  .ns-primary-nav .sub-menu a { font-family: var(--ns-sans); font-size: .9rem; }
  .ns-hero-grid { gap: 45px; }
  .ns-creative-board { min-height: 540px; }
  .ns-collection-card { grid-column: span 6; }
  .ns-collection-card--large { grid-column: span 6; min-height: 380px; }
  .ns-editorial-story-grid { gap: 55px; }
  .ns-newsletter-card { grid-template-columns: .8fr 1.2fr; }
  .ns-newsletter-form { grid-column: 1 / -1; grid-template-columns: 1fr auto; }
  .ns-newsletter-form button { width: auto; }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ns-container { width: min(var(--ns-container), calc(100% - 34px)); }
  .ns-section { padding: 82px 0; }
  .ns-announcement-inner { justify-content: center; text-align: center; }
  .ns-utility-nav { display: none; }
  .ns-header-main { min-height: 76px; }
  .ns-tool-button > span:not(.ns-cart-count) { display: none; }
  .ns-tool-button { min-width: 44px; width: 44px; height: 44px; padding: 0; }
  .ns-hero, .ns-hero-grid { min-height: auto; }
  .ns-hero-grid { grid-template-columns: 1fr; padding: 25px 0 65px; }
  .ns-hero-copy { padding: 40px 0 0; }
  .ns-hero-visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .ns-hero-proof { max-width: none; }
  .ns-section-header, .ns-section-header--compact { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .ns-section-header > p { justify-self: start; }
  .ns-collection-card, .ns-collection-card--large { min-height: 350px; }
  .ns-editorial-story-grid, .ns-confidence-grid { grid-template-columns: 1fr; }
  .ns-editorial-story-grid { gap: 55px; }
  .ns-story-collage { max-width: 650px; width: 100%; margin-inline: auto; }
  .ns-confidence-intro { position: static; }
  .ns-journal-grid { grid-template-columns: 1fr 1fr; }
  .ns-journal-card:last-child { grid-column: 1 / -1; max-width: 50%; }
  .ns-newsletter-card { grid-template-columns: 1fr; padding: 45px; }
  .ns-newsletter-art { display: none; }
  .ns-newsletter-form { grid-column: auto; }
  .ns-footer-intro { grid-template-columns: 1fr; gap: 25px; }
  .ns-footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 35px; }
  .woocommerce div.product div.summary { position: static; }
  .ns-inner-hero-art, .ns-shop-hero-art { opacity: .42; right: -90px; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .ns-container { width: min(var(--ns-container), calc(100% - 26px)); }
  .ns-announcement { font-size: .61rem; }
  .ns-brand-emblem { width: 39px; height: 39px; }
  .ns-brand-type strong { font-size: 1.08rem; }
  .ns-brand-type small { font-size: .51rem; }
  .ns-account-link { display: none; }
  .ns-header-tools { gap: 1px; }
  .ns-search-panel { padding: 18px; }
  .ns-search-form { grid-template-columns: 1fr; }
  .ns-search-form .search-submit { width: 100%; }
  .ns-hero-copy > p { font-size: 1rem; }
  .ns-hero-actions { display: grid; }
  .ns-button { width: 100%; }
  .ns-hero-proof { grid-template-columns: 1fr; }
  .ns-hero-proof > div { padding: 13px 0; border-bottom: 1px solid rgba(25,50,71,.12); }
  .ns-hero-proof > div + div { padding-left: 0; border-left: 0; }
  .ns-creative-board { min-height: 415px; border-radius: 90px 26px 82px 25px; }
  .ns-board-label { left: 7%; top: 6%; }
  .ns-paper-sheet--back { width: 155px; height: 220px; left: 6%; top: 17%; padding: 22px; }
  .ns-paper-sheet--front { width: 170px; height: 238px; right: 10%; padding: 28px 24px; }
  .ns-paper-sheet--front strong { font-size: 1.45rem; }
  .ns-paper-sheet--front b { left: 24px; bottom: 25px; font-size: .48rem; }
  .ns-visual-pen { width: 210px; height: 15px; bottom: 22%; }
  .ns-visual-pencil { width: 180px; height: 13px; }
  .ns-visual-ruler { width: 145px; height: 22px; }
  .ns-visual-tape { width: 59px; height: 59px; border-width: 15px; }
  .ns-visual-clip { width: 36px; height: 62px; border-width: 5px; }
  .ns-board-note { display: none; }
  .ns-motion-strip > div { justify-content: flex-start; }
  .ns-collection-card, .ns-collection-card--large { grid-column: 1 / -1; min-height: 320px; border-radius: 28px; }
  .ns-collection-card h3 { font-size: 2.25rem; }
  .ns-collection-doodle { width: 135px; height: 135px; opacity: .75; }
  .ns-story-collage { min-height: 395px; }
  .ns-collage-card--one { width: 225px; height: 300px; left: 2%; padding: 30px; }
  .ns-collage-card--one strong { font-size: 2.35rem; }
  .ns-collage-card--two { width: 165px; height: 155px; right: 0; padding: 23px; }
  .ns-collage-card--two span { font-size: 1rem; }
  .ns-collage-pencil { width: 230px; height: 21px; }
  .ns-collage-circle { width: 75px; height: 75px; border-width: 17px; }
  .ns-confidence-list article { grid-template-columns: 54px 1fr; gap: 15px; }
  .ns-confidence-icon { width: 48px; height: 48px; }
  .ns-journal-grid { grid-template-columns: 1fr; }
  .ns-journal-card:last-child { grid-column: auto; max-width: none; }
  .ns-newsletter-card { padding: 34px 23px; border-radius: 28px; }
  .ns-newsletter-form { grid-template-columns: 1fr; }
  .ns-newsletter-form button { width: 100%; }
  .ns-inner-hero, .ns-shop-hero { min-height: 300px; }
  .ns-inner-hero-art, .ns-shop-hero-art { display: none; }
  .ns-footer-grid { grid-template-columns: 1fr; }
  .ns-footer-bottom { align-items: flex-start; flex-direction: column; padding-top: 20px; }
  .woocommerce ul.products { gap: 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 58px; font-size: .82rem !important; }
  .woocommerce ul.products li.product .button { min-height: 42px; font-size: .67rem; }
  .woocommerce div.product form.cart { align-items: stretch; flex-wrap: wrap; }
  .woocommerce div.product form.cart .button { flex-basis: calc(100% - 82px); }
  .woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; }
}

/* Editorial archive and article templates */
.ns-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ns-post-card { margin: 0; padding: 0 0 24px; overflow: hidden; border: 0; background: transparent; }
.ns-post-image { min-height: 270px; display: block; overflow: hidden; margin-bottom: 19px; border-radius: 24px; background: var(--ns-blue); }
.ns-post-image img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; transition: transform .4s ease; }
.ns-post-card:hover .ns-post-image img { transform: scale(1.035); }
.ns-post-meta { display: block; margin-bottom: 8px; color: var(--ns-green); font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ns-post-card h2 { margin-bottom: 12px; font-size: 1.8rem; line-height: 1.14; }
.ns-post-card p { color: var(--ns-muted); }
.ns-archive-description { max-width: 700px; color: var(--ns-muted); }
.ns-empty-state { max-width: 700px; margin: 30px auto; padding: 60px; text-align: center; border: 1px solid var(--ns-line); border-radius: 28px; background: #fff; }
.navigation.pagination { margin-top: 55px; }
.nav-links { display: flex; justify-content: center; gap: 7px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--ns-line); border-radius: 999px; background: #fff; }
.page-numbers.current { color: #fff; background: var(--ns-ink); border-color: var(--ns-ink); }
.ns-article-hero { padding: 100px 0 65px; text-align: center; background: linear-gradient(145deg, #f3eee3, #dce6df); }
.ns-article-hero h1 { max-width: 980px; margin: 20px auto; font-size: clamp(3.2rem, 6vw, 6.2rem); }
.ns-article-hero p { max-width: 760px; margin-inline: auto; color: var(--ns-muted); font-size: 1.05rem; }
.ns-article-layout { padding: 65px 0 110px; }
.ns-article-featured { max-width: 1120px; margin: 0 auto 55px; overflow: hidden; border-radius: 32px; }
.ns-article-featured img { width: 100%; }
.ns-article-content { max-width: 820px; margin: auto; font-size: 1.03rem; }
.ns-article-content > * + * { margin-top: 1.25em; }
.ns-article-content h2 { margin-top: 1.45em; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.ns-article-content h3 { margin-top: 1.35em; font-family: var(--ns-sans); font-size: 1.25rem; letter-spacing: 0; }
.ns-article-content blockquote { margin: 38px 0; padding: 30px 35px; border-left: 4px solid var(--ns-green); background: var(--ns-paper-deep); font-family: var(--ns-serif); font-size: 1.45rem; }
.ns-404-page { min-height: 720px; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; background: linear-gradient(145deg, #f3eee3, #dce6df); }
.ns-404-copy { grid-column: 1; padding-right: 50px; }
.ns-404-copy h1 { margin: 20px 0 25px; font-size: clamp(3.5rem, 6vw, 6.5rem); }
.ns-404-copy p { max-width: 650px; color: var(--ns-muted); }
.ns-404-art { position: absolute; right: 7%; top: 12%; width: 440px; height: 520px; }
.ns-404-paper { position: absolute; width: 310px; height: 405px; right: 30px; top: 30px; padding: 55px 40px; transform: rotate(7deg); color: #fff; background: var(--ns-ink); border-radius: 8px 28px 28px 8px; box-shadow: var(--ns-shadow); }
.ns-404-paper::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(to bottom, var(--ns-gold) 0 12px, transparent 12px 22px); }
.ns-404-paper span { display: block; font-family: var(--ns-serif); font-size: 7rem; line-height: 1; }
.ns-404-paper small { letter-spacing: .18em; }
.ns-404-pencil { position: absolute; left: 0; bottom: 70px; width: 350px; height: 26px; border-radius: 999px; background: var(--ns-coral); transform: rotate(-31deg); box-shadow: 0 15px 25px rgba(25,50,71,.18); }
.ns-404-pencil::after { content: ""; position: absolute; right: -32px; top: 0; border-left: 34px solid #d2b18a; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.ns-404-clip { position: absolute; left: 25px; top: 45px; width: 74px; height: 115px; border: 10px solid var(--ns-green); border-radius: 45px; transform: rotate(-17deg); }
@media (max-width: 900px) { .ns-archive-grid { grid-template-columns: 1fr 1fr; } .ns-404-page { display: block; padding: 90px 0; } .ns-404-copy { padding-right: 0; } .ns-404-art { position: relative; right: auto; top: auto; width: min(440px, 100%); margin: 0 auto 50px; } }
@media (max-width: 620px) { .ns-archive-grid { grid-template-columns: 1fr; } .ns-empty-state { padding: 38px 22px; } .ns-article-hero { padding: 70px 0 45px; } .ns-article-layout { padding-top: 35px; } .ns-404-art { height: 390px; transform: scale(.78); transform-origin: top center; margin-bottom: -55px; } }

/* ================================================================
   Final quality and commerce refinement — v2.1
   ================================================================ */

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(200, 162, 85, .48);
  outline-offset: 3px;
}

input, select, textarea {
  color: var(--ns-charcoal);
}

input::placeholder, textarea::placeholder {
  color: #8a9297;
  opacity: 1;
}

.ns-brand--custom .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.ns-brand--custom .custom-logo {
  width: auto;
  max-width: min(260px, 36vw);
  max-height: 58px;
}

.ns-cart-count.is-empty {
  opacity: 0;
  transform: scale(.7);
  pointer-events: none;
}

.ns-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  visibility: hidden;
  opacity: 0;
  background: rgba(16, 38, 53, .38);
  backdrop-filter: blur(3px);
  transition: opacity .25s ease, visibility .25s ease;
}

.ns-menu-open .ns-menu-backdrop {
  visibility: visible;
  opacity: 1;
}

.ns-menu-toggle {
  position: relative;
  z-index: 1201;
}

/* Product page: quieter, more natural hierarchy. */
.ns-commerce-shell--product {
  padding-top: 34px;
}

.single-product .woocommerce-breadcrumb {
  margin-bottom: 32px;
}

.woocommerce div.product {
  gap: clamp(40px, 5vw, 72px);
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  border: 1px solid rgba(25, 50, 71, .08);
  box-shadow: 0 18px 55px rgba(25, 50, 71, .07);
}

.woocommerce div.product div.summary {
  padding-top: 4px;
}

.woocommerce div.product .product_title {
  max-width: 760px;
  margin: 8px 0 16px;
  font-size: clamp(2.15rem, 3.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 12px 0 20px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.woocommerce div.product .stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
  color: var(--ns-green);
  font-size: .78rem;
  font-weight: 800;
}

.woocommerce div.product .stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(85, 111, 95, .12);
}

.woocommerce div.product .stock.out-of-stock {
  color: #a34f42;
}

.woocommerce div.product form.cart {
  display: block;
  margin: 26px 0 20px;
}

/* Simple and external products. */
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ns-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 34px rgba(25, 50, 71, .06);
}

.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button {
  flex: 1 1 220px;
}

/* Quantity control shared by product and cart pages. */
.woocommerce .quantity {
  width: auto;
  min-width: 142px;
  min-height: 58px;
  display: inline-grid;
  grid-template-columns: 43px minmax(48px, 1fr) 43px;
  align-items: stretch;
  float: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9dcd7;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.woocommerce .quantity .qty {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid #ecece7;
  border-left: 1px solid #ecece7;
  border-radius: 0;
  color: var(--ns-ink);
  background: #fff;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.woocommerce .quantity .qty:focus {
  position: relative;
  z-index: 2;
  outline: 2px solid rgba(200, 162, 85, .45);
  outline-offset: -2px;
}

.woocommerce .quantity .ns-qty-button {
  min-width: 0;
  width: 43px;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ns-ink);
  background: #fff;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: color .18s ease, background-color .18s ease;
}

.woocommerce .quantity .ns-qty-button:hover:not(:disabled) {
  color: var(--ns-ink);
  background: var(--ns-paper-deep);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.woocommerce .quantity .ns-qty-button:disabled {
  color: #bbc0c2;
  background: #fafaf8;
  cursor: not-allowed;
  opacity: 1;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 58px;
  padding-inline: 30px;
  border-radius: 16px;
  font-size: .9rem;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled[disabled] {
  color: #737b80;
  background: #e8e9e5;
  border-color: #e8e9e5;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

/* Variable products. */
.woocommerce div.product form.variations_form {
  padding: 20px;
  border: 1px solid var(--ns-line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 34px rgba(25,50,71,.05);
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin: 0 0 10px;
  border: 0;
}

.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
}

.woocommerce div.product form.cart .variations tr + tr {
  margin-top: 15px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  padding: 0;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  display: block;
  margin-bottom: 7px;
  color: var(--ns-ink);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .045em;
}

.woocommerce div.product form.cart .variations select {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 15px;
  border: 1px solid #d9dcd7;
  border-radius: 14px;
  color: var(--ns-charcoal);
  background-color: #fff;
}

.woocommerce div.product form.cart .reset_variations {
  display: inline-flex;
  margin-top: 9px;
  color: var(--ns-muted);
  font-size: .72rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce div.product .single_variation {
  margin: 12px 0 5px;
}

.woocommerce div.product .woocommerce-variation-description {
  color: var(--ns-muted);
  font-size: .9rem;
}

.woocommerce div.product .woocommerce-variation-price {
  margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-top: 6px;
}

.woocommerce div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1 1 220px;
}

/* Grouped products. */
.woocommerce div.product form.grouped_form {
  padding: 20px;
  border: 1px solid var(--ns-line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
}

.woocommerce div.product form.grouped_form table.group_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.woocommerce div.product form.grouped_form table.group_table td {
  padding: 14px 8px;
  vertical-align: middle;
  border-bottom: 1px solid var(--ns-line);
}

.woocommerce div.product form.grouped_form table.group_table td:first-child {
  width: 126px;
  padding-left: 0;
}

.woocommerce div.product form.grouped_form table.group_table td:last-child {
  padding-right: 0;
}

.woocommerce div.product form.grouped_form .quantity {
  min-width: 118px;
  min-height: 48px;
  grid-template-columns: 35px minmax(42px, 1fr) 35px;
  border-radius: 13px;
}

.woocommerce div.product form.grouped_form .quantity .qty,
.woocommerce div.product form.grouped_form .quantity .ns-qty-button {
  min-height: 46px;
}

.woocommerce div.product form.grouped_form .quantity .ns-qty-button {
  width: 35px;
}

.woocommerce div.product form.grouped_form > .single_add_to_cart_button {
  width: 100%;
  margin-top: 16px;
}

/* Product information and reassurance. */
.ns-product-assurance {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--ns-line);
  border-bottom: 1px solid var(--ns-line);
  border-radius: 0;
  background: transparent;
}

.ns-product-assurance span {
  min-width: 0;
  padding: 0 13px;
  align-items: flex-start;
  color: var(--ns-charcoal);
  font-size: .7rem;
  line-height: 1.35;
}

.ns-product-assurance span:first-child {
  padding-left: 0;
}

.ns-product-assurance span + span {
  border-left: 1px solid var(--ns-line);
}

.ns-product-assurance b {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: -1px;
  font-size: .62rem;
}

.woocommerce div.product .product_meta {
  line-height: 1.6;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

/* Loop add-to-cart states. */
.woocommerce ul.products li.product .button.loading {
  padding-right: 36px;
  opacity: .72;
}

.woocommerce ul.products li.product .button.added::after {
  margin-left: 8px;
}

.woocommerce ul.products li.product .added_to_cart {
  display: block;
  margin: 9px 4px 0;
  color: var(--ns-green);
  font-size: .73rem;
  font-weight: 850;
  text-align: center;
}

/* Cart and checkout refinements. */
.woocommerce-cart table.cart .quantity {
  min-width: 118px;
  min-height: 46px;
  grid-template-columns: 35px minmax(42px, 1fr) 35px;
  border-radius: 13px;
}

.woocommerce-cart table.cart .quantity .qty,
.woocommerce-cart table.cart .quantity .ns-qty-button {
  min-height: 44px;
}

.woocommerce-cart table.cart .quantity .ns-qty-button {
  width: 35px;
}

.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 8px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  min-width: 170px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
}

.woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled {
  color: #767d81;
  background: #e8e9e5;
  border-color: #e8e9e5;
  opacity: 1;
  cursor: not-allowed;
}

.woocommerce a.remove {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ns-line);
  color: #8d4f47 !important;
  background: #fff;
  line-height: 1;
}

.woocommerce a.remove:hover {
  color: #fff !important;
  background: #8d4f47;
  border-color: #8d4f47;
}

.woocommerce-checkout .woocommerce-checkout-payment .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
}

@media (max-width: 1120px) {
  .ns-primary-nav {
    z-index: 1100;
  }

  .ns-menu-toggle.is-active {
    color: var(--ns-ink);
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 24px rgba(25,50,71,.12);
  }
}

@media (max-width: 900px) {
  .ns-commerce-shell--product {
    padding-top: 26px;
  }

  .woocommerce div.product div.summary {
    padding-top: 0;
  }

  .woocommerce div.product .product_title {
    font-size: clamp(2.05rem, 7vw, 3.35rem);
  }
}

@media (max-width: 620px) {
  .ns-brand--custom .custom-logo {
    max-width: 170px;
    max-height: 46px;
  }

  .woocommerce div.product form.cart:not(.variations_form):not(.grouped_form),
  .woocommerce div.product .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) {
    padding: 10px;
    border-radius: 18px;
  }

  .woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) .quantity,
  .woocommerce div.product .woocommerce-variation-add-to-cart .quantity {
    width: 100%;
    min-width: 0;
    grid-template-columns: 48px 1fr 48px;
  }

  .woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) .ns-qty-button,
  .woocommerce div.product .woocommerce-variation-add-to-cart .ns-qty-button {
    width: 48px;
  }

  .woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 56px;
  }

  .woocommerce div.product form.variations_form,
  .woocommerce div.product form.grouped_form {
    padding: 15px;
    border-radius: 18px;
  }

  .ns-product-assurance {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ns-product-assurance span,
  .ns-product-assurance span:first-child {
    padding: 0;
  }

  .ns-product-assurance span + span {
    padding-top: 10px;
    border-top: 1px solid var(--ns-line);
    border-left: 0;
  }

  .woocommerce div.product form.grouped_form table.group_table,
  .woocommerce div.product form.grouped_form table.group_table tbody,
  .woocommerce div.product form.grouped_form table.group_table tr,
  .woocommerce div.product form.grouped_form table.group_table td {
    display: block;
    width: 100%;
  }

  .woocommerce div.product form.grouped_form table.group_table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--ns-line);
  }

  .woocommerce div.product form.grouped_form table.group_table td {
    padding: 4px 0;
    border: 0;
  }

  .woocommerce div.product form.grouped_form table.group_table td:first-child {
    width: 100%;
  }

  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce-cart table.cart td.actions .coupon .button {
    width: 100%;
  }
}

.ns-newsletter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.ns-newsletter-actions .ns-arrow-link {
  color: #fff;
}

@media (max-width: 1120px) {
  .ns-newsletter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .ns-newsletter-actions {
    display: grid;
    justify-items: stretch;
  }

  .ns-newsletter-actions .ns-arrow-link {
    justify-self: start;
  }
}


/* ================================================================
   v2.2 — Product gallery reliability and intentional empty states
   ================================================================ */

/* WooCommerce writes opacity:0 inline until its gallery JavaScript starts.
   Keep the product visible even when optimization/cache plugins delay or
   prevent that initialization. Slider, zoom and lightbox still work when
   WooCommerce initializes normally. */
.single-product .woocommerce-product-gallery {
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 0;
}

.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__wrapper .wp-post-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Branded, calm empty state for products that do not yet have photography. */
.single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper {
  aspect-ratio: 1 / 1;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f1eee6;
}

.single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image > a {
  height: 100%;
}

.single-product .woocommerce-product-gallery--without-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make catalog placeholders feel deliberate instead of like broken boxes. */
.woocommerce ul.products li.product img[src*="product-placeholder"],
.woocommerce ul.products li.product img[src*="placeholder"] {
  object-fit: cover;
  background: #f1eee6;
}

/* A product page should never look like an empty half-page while assets load. */
.single-product .woocommerce div.product div.images {
  min-width: 0;
  min-height: 1px;
}

/* The gallery trigger should remain attached to the image area. */
.single-product .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  z-index: 12;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25, 50, 71, .12);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(25,50,71,.10);
}

@media (max-width: 900px) {
  .single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper {
    min-height: 0;
  }
}
.single-product .woocommerce-product-gallery.ns-gallery-visible { opacity: 1 !important; visibility: visible !important; }
.single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__trigger { display: none !important; }
