:root {
  --ink: #141414;
  --paper: #f7f7f5;
  --white: #ffffff;
  --mist: #ececea;
  --line: #dcdcd7;
  --muted: #73736e;
  --warm: #dfe3e6;
  --error: #b42318;
  --radius: 28px;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.3vw;
  background: rgba(247, 247, 245, 0.88);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}
.brand {
  font-family: var(--display);
  line-height: 1;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.brand strong {
  font-size: 44px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.brand small {
  font: 600 7px/1.15 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777773;
  white-space: nowrap;
}
/* Header logo: phoenix and wordmark on one row, studio credit underneath */
.site-header .brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* "Nix" in brushed metal with a slow shine; darker stops than .metal-word so it
   stays legible on the light header */
.brand-shimmer {
  background: var(
    --brand-shimmer,
    linear-gradient(110deg, #5f656b 10%, #a9b0b6 30%, #6b7177 48%, #c3c9cd 62%, #73736e 85%)
  );
  background-size: 220% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: metal-shine 6s linear infinite;
}
.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 38px;
}
.desktop-nav > a,
.nav-menu-toggle {
  font-size: 13px;
  color: #696965;
  padding: 26px 0;
  position: relative;
  text-decoration: none;
}
.desktop-nav > a::after,
.nav-menu-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.nav-menu:hover .nav-menu-toggle,
.nav-menu-toggle[aria-expanded="true"],
.nav-menu:has([aria-current="page"]) .nav-menu-toggle {
  color: var(--ink);
}
.desktop-nav > a[aria-current="page"]::after,
.nav-menu:has([aria-current="page"]) .nav-menu-toggle::after {
  transform: scaleX(1);
}
/* Explore dropdown: opens on hover, or on click via main.js */
.nav-menu {
  position: relative;
}
.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-menu-toggle svg {
  transition: transform 0.25s;
}
.nav-menu-panel {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  min-width: 250px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.nav-menu:hover .nav-menu-panel,
.nav-menu-toggle[aria-expanded="true"] + .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-menu:hover .nav-menu-toggle svg,
.nav-menu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-menu-panel a:hover,
.nav-menu-panel a[aria-current="page"] {
  background: var(--mist);
}
.nav-menu-panel small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
  text-decoration: none;
}
.icon-button:hover {
  background: var(--mist);
}
.bag-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 9px;
}
.menu-button {
  display: none;
}
.menu-button .icon-close,
.menu-button[aria-expanded="true"] .icon-menu {
  display: none;
}
.menu-button[aria-expanded="true"] .icon-close {
  display: block;
}
.mobile-nav {
  position: absolute;
  z-index: 15;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 20px 5vw 30px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 0;
  font-size: 19px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

/* Shared type and buttons */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 10px;
  margin: 0 0 24px;
}
.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.primary-button:hover {
  transform: translateY(-2px);
  background: #2b2b2b;
}
.primary-button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.primary-button span {
  opacity: 0.65;
}
.text-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
}
.text-button svg {
  transition: transform 0.2s;
}
.text-button:hover svg {
  transform: translateX(4px);
}
.metal-word {
  background: linear-gradient(
    110deg,
    #70777d 8%,
    #edf1f3 32%,
    #8b9399 49%,
    #fafcfd 64%,
    #858c91 88%
  );
  background-size: 220% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: metal-shine 6s linear infinite;
}
@keyframes metal-shine {
  to {
    background-position: -220% center;
  }
}

/* Home */
.hero {
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 72px 4.3vw 0;
  text-align: center;
  background: var(--paper);
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
  margin: 0;
}
.hero h1 img {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
}
.hero-sub {
  font-size: clamp(19px, 1.9vw, 27px);
  letter-spacing: -0.02em;
  margin: 12px 0 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.pill-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 15px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.pill-button:hover {
  background: #2b2b2b;
}
.pill-button span {
  opacity: 0.6;
}
.pill-outline {
  background: transparent;
  color: var(--ink);
}
.pill-outline:hover {
  background: var(--ink);
  color: white;
}

/* Solo phone: stage > pointer tilt > entrance > float */
.solo-stage {
  --tilt-x: 0;
  --tilt-y: 0;
  --scroll: 0;
  --sheen: 30%;
  flex: 1;
  width: 100%;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 28px 0 40px;
  perspective: 1800px;
}
.solo-tilt {
  transform: rotateX(calc(var(--tilt-y) * 6deg))
    rotateY(calc(var(--tilt-x) * 9deg)) rotate(calc(var(--scroll) * -6deg))
    translateY(calc(var(--scroll) * -50px))
    scale(calc(1 - var(--scroll) * 0.08));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.solo-enter {
  position: relative;
  animation: solo-enter 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes solo-enter {
  from {
    opacity: 0;
    transform: translateY(120px) rotate(-8deg) scale(0.92);
  }
}
.solo-float {
  position: relative;
  z-index: 1;
  animation: solo-float 6s ease-in-out 1.6s infinite;
}
@keyframes solo-float {
  50% {
    transform: translateY(-16px);
  }
}
.solo-phone {
  width: auto;
  height: min(calc(100svh - 470px), 600px);
  min-height: 340px;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
}
/* Light sweep, masked to the phone's own outline */
.solo-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      115deg,
      transparent calc(var(--sheen) - 16%),
      rgba(255, 255, 255, 0.55) var(--sheen),
      transparent calc(var(--sheen) + 16%)
    )
    0 0 / 250% 100%;
  mix-blend-mode: soft-light;
  -webkit-mask: url(/assets/img/feenix-one.webp) center / contain no-repeat;
  mask: url(/assets/img/feenix-one.webp) center / contain no-repeat;
  animation: solo-sheen 7s ease-in-out 1.2s infinite;
}
@keyframes solo-sheen {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
}
/* Floor shadow; it shrinks and softens as the phone floats up */
.solo-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -14px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(40, 46, 52, 0.32),
    transparent
  );
  animation: solo-shadow 6s ease-in-out 1.6s infinite;
}
@keyframes solo-shadow {
  50% {
    transform: scaleX(0.86);
    opacity: 0.6;
  }
}

.statement {
  text-align: center;
  padding: 170px 5vw 150px;
  background: white;
}
.statement h2,
.closing-cta h2 {
  font-family: var(--display);
  font-size: clamp(47px, 6.4vw, 94px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: white;
}
.feature-card {
  min-height: 690px;
  border-radius: var(--radius);
  padding: 55px 55px 45px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card h3 {
  font: 500 clamp(38px, 4vw, 62px)/1.02 var(--display);
  letter-spacing: -0.055em;
  margin: 0;
}
.feature-card > p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.65;
}
.feature-dark {
  background: linear-gradient(145deg, #f9fafb, #c9cfd3 46%, #f4f6f7);
  color: #17191a;
  border: 1px solid #e8ebed;
}
.feature-warm {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #d9dee1 45%,
    #f5f6f7 67%,
    #bcc3c8 100%
  );
  border: 1px solid #e4e7e9;
}
.sound-rings {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
}
.sound-rings span {
  position: absolute;
  border: 1px solid rgba(43, 50, 55, 0.15);
  border-radius: 50%;
  aspect-ratio: 1;
}
.sound-rings span:nth-child(1) {
  width: 160px;
}
.sound-rings span:nth-child(2) {
  width: 270px;
}
.sound-rings span:nth-child(3) {
  width: 390px;
}
.sound-rings div {
  width: 70px;
  height: 70px;
  background: linear-gradient(145deg, #fff, #cbd1d5);
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(48, 57, 63, 0.15);
}
.battery-number {
  font: 500 clamp(110px, 13vw, 210px)/1 var(--display);
  letter-spacing: -0.09em;
  margin: auto 0;
}
.battery-number span {
  font-size: 0.17em;
  letter-spacing: 0;
  margin-left: 14px;
}
.battery-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.inside {
  padding: 140px 4.3vw;
  background: var(--paper);
}
.inside-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}
.inside-heading h2 {
  font: 500 clamp(40px, 5vw, 72px)/1 var(--display);
  letter-spacing: -0.06em;
  margin: 0;
}
.inside-heading p {
  color: var(--muted);
  max-width: 380px;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.closing-cta {
  background: linear-gradient(145deg, #eef1f3, #aeb5ba 50%, #f7f8f8);
  color: #161718;
  text-align: center;
  padding: 170px 5vw;
}
.closing-cta .eyebrow {
  color: #656b70;
}
.closing-cta .primary-button {
  margin-top: 45px;
  background: #161718;
  color: white;
  border-color: #161718;
}
.closing-cta .primary-button:hover {
  background: #2b2b2b;
}

/* Shop */
.page-main {
  padding: 0 4.3vw 100px;
}
.page-heading {
  text-align: center;
  padding: 120px 20px 90px;
}
.page-heading h1,
.form-wrap h1,
.legal-page h1 {
  font: 500 clamp(52px, 7vw, 100px)/0.98 var(--display);
  letter-spacing: -0.065em;
  margin: 0;
}
.page-heading > p:last-child {
  color: var(--muted);
  max-width: 540px;
  margin: 28px auto 0;
  line-height: 1.7;
  font-size: 14px;
}
.section-title {
  font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--display);
  letter-spacing: -0.05em;
  margin: 110px 0 14px;
}
.section-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 40px;
}
.flagship-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: linear-gradient(145deg, #fff, #e9ecee);
  border: 1px solid #e3e6e8;
  border-radius: 24px;
  overflow: hidden;
}
.flagship-card .product-image-wrap {
  height: 620px;
}
.flagship-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
}
.flagship-copy h2 {
  font: 500 clamp(40px, 4.4vw, 64px)/1 var(--display);
  letter-spacing: -0.06em;
  margin: 0 0 20px;
}
.flagship-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 0 0 32px;
}
.flagship-copy .product-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  background: linear-gradient(145deg, #fff, #e9ecee);
  border: 1px solid #e3e6e8;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image-wrap {
  position: relative;
  height: 560px;
  overflow: hidden;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover img,
.flagship-card:hover img {
  transform: scale(1.035);
}
.new-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 8px 12px;
  border-radius: 100px;
  background: white;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.part-visual {
  height: 260px;
  display: grid;
  place-items: center;
  color: #5e666c;
  background: radial-gradient(
    circle at 50% 45%,
    #fff 0,
    #eef1f3 40%,
    #dfe4e7 100%
  );
}
.part-visual svg {
  width: 46%;
  height: auto;
}
.product-info {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 26px 28px 30px;
  margin-top: auto;
}
.product-info > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.product-info > div:first-child {
  display: block;
}
.product-info p {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0 0 8px;
}
.product-info h2,
.product-info h3 {
  font: 500 22px var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}
.product-info h2 a::after,
.product-info h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.product-info a {
  text-decoration: none;
}
.product-info b {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.round-add {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #c7c7c2;
  border-radius: 50%;
  font-size: 22px;
  transition: 0.2s;
}
.round-add:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: rotate(90deg);
}
.products-note {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.products-note p {
  color: var(--ink);
  margin: 0;
}

/* Product detail */
.breadcrumbs {
  padding: 28px 4.3vw 0;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--ink);
}
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: center;
  padding: 50px 4.3vw 110px;
}
.product-detail .product-media {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e9ecee);
  border: 1px solid #e3e6e8;
}
.product-detail .product-media img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.product-detail .part-visual {
  height: 520px;
}
.product-detail .part-visual svg {
  width: 52%;
}
.product-detail h1 {
  font: 500 clamp(44px, 5vw, 76px)/1 var(--display);
  letter-spacing: -0.06em;
  margin: 0 0 22px;
}
.product-detail .lead {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0 0 30px;
}
.price {
  font: 500 28px var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.product-actions .primary-button {
  min-width: 220px;
  justify-content: space-between;
}
.added-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
  min-height: 1.4em;
}
.spec-list {
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}
.spec-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec-list dt {
  color: var(--muted);
}
.spec-list dd {
  margin: 0;
}
.product-story {
  padding: 120px 4.3vw;
  background: white;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 6vw;
}
.product-story h2 {
  font: 400 clamp(26px, 3vw, 44px)/1.25 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}
.product-story p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  max-width: 640px;
}

/* Bag */
.bag-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 6vw;
  align-items: start;
}
.bag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.bag-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.bag-item h2 {
  font: 500 20px var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.bag-item h2 a {
  text-decoration: none;
}
.bag-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
}
.qty button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.qty button:hover {
  background: var(--mist);
}
.qty output {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
}
.bag-line-total {
  font-size: 14px;
  min-width: 80px;
  text-align: right;
}
.bag-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
}
.bag-summary h2 {
  font: 500 26px var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.bag-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.bag-summary > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.bag-empty {
  text-align: center;
  padding: 40px 0 60px;
}
.bag-empty p {
  color: var(--muted);
  margin: 0 0 30px;
}

/* Forms */
.split-page {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.form-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 8vw;
}
.form-wrap {
  width: 100%;
  max-width: 480px;
}
.form-wrap h1 {
  font-size: clamp(48px, 5vw, 70px);
}
.form-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 25px 0 40px;
  max-width: 430px;
}
form label {
  display: block;
  color: #5e5e5a;
  font-size: 11px;
  margin-bottom: 21px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfcfca;
  background: transparent;
  outline: none;
  padding: 12px 0 13px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #b3b3ae;
}
textarea {
  resize: vertical;
}
.form-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 12px;
}
.form-error {
  color: var(--error);
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0 0;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.switch-form {
  font-size: 12px;
  color: var(--muted);
  margin: 26px 0 0;
  text-align: center;
}
.switch-form a {
  padding: 0 0 2px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.form-visual {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #efefed;
}
.form-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10% 12% 18%;
}
.form-visual blockquote {
  position: absolute;
  bottom: 45px;
  left: 45px;
  margin: 0;
  font: 500 22px var(--display);
  letter-spacing: -0.03em;
}
.success-state {
  padding: 25px 0 15px;
}
.success-state > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border-radius: 50%;
}
.success-state h2 {
  font: 500 34px var(--display);
  margin: 24px 0 10px;
  letter-spacing: -0.04em;
}
.success-state p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 30px;
}
.success-state.compact {
  padding-top: 0;
}
.cf-turnstile {
  margin: 0 0 16px;
}

.contact-page {
  padding-bottom: 140px;
}
.contact-heading {
  text-align: left;
  padding-left: 4vw;
}
.contact-heading > p:last-child {
  margin-left: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
  padding: 0 4vw;
}
.contact-details > div {
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.contact-details span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}
.contact-details a {
  color: var(--ink);
  text-decoration: none;
  font: 500 20px var(--display);
}
.contact-details p {
  color: var(--muted);
  font-size: 11px;
  margin: 10px 0 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form {
  padding: 0 0 20px;
}

/* Account */
.account-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.account-card dl {
  margin: 0 0 30px;
}
.account-card .spec-list {
  margin-top: 0;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card div {
  padding: 26px 28px 30px;
}
.blog-card time {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.blog-card h2 {
  font: 500 22px/1.2 var(--display);
  letter-spacing: -0.03em;
  margin: 12px 0;
}
.blog-card h2 a {
  text-decoration: none;
}
.blog-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.blog-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.blog-status {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 40px 0;
}
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 5vw 140px;
}
.blog-post h1 {
  font: 500 clamp(40px, 5vw, 70px)/1.02 var(--display);
  letter-spacing: -0.055em;
  margin: 0 0 24px;
}
.blog-post time {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.blog-post img {
  border-radius: 20px;
  margin: 40px 0;
}
.blog-post .post-body {
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

/* Legal */
.legal-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 5vw 160px;
}
.legal-page h1 {
  font-size: clamp(52px, 7vw, 92px);
}
.legal-lead {
  font: 400 clamp(20px, 2.2vw, 30px)/1.45 var(--display);
  color: #5f5f5a;
  max-width: 800px;
  margin: 35px 0 100px;
  letter-spacing: -0.025em;
}
.legal-content {
  margin-left: 28%;
}
.legal-content section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  font: 500 20px var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.legal-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* About */
.about-page {
  background: #fff;
}
.about-hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw 8vw;
  background: radial-gradient(
    circle at 85% 20%,
    #fff,
    #eef1f3 32%,
    transparent 60%
  );
}
.about-hero h1 {
  font: 500 clamp(54px, 7.8vw, 118px)/0.98 var(--display);
  letter-spacing: -0.07em;
  margin: 0;
  max-width: 1200px;
}
.about-hero > p:last-child {
  color: var(--muted);
  max-width: 480px;
  margin: 40px 0 0 auto;
  font-size: 14px;
  line-height: 1.75;
}
.about-manifesto {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 6vw;
  padding: 150px 8vw;
  background: #f5f6f6;
}
.about-index {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.about-manifesto h2 {
  font: 400 clamp(30px, 4.2vw, 62px)/1.18 var(--display);
  letter-spacing: -0.045em;
  margin: 0;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dfe2e3;
}
.about-values article {
  background: white;
  padding: 70px 4vw 90px;
}
.about-values article > span {
  font-size: 9px;
  color: #9da2a5;
}
.about-values h3 {
  font: 500 26px var(--display);
  letter-spacing: -0.04em;
  margin: 80px 0 20px;
}
.about-values p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  max-width: 310px;
}
.about-material {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 800px;
  padding: 8vw;
  background: #f6f7f7;
}
.about-material h2 {
  font: 500 clamp(48px, 6vw, 88px)/1 var(--display);
  letter-spacing: -0.06em;
  margin: 0 0 38px;
}
.about-material > div:last-child > p:last-child {
  color: var(--muted);
  max-width: 430px;
  font-size: 13px;
  line-height: 1.75;
}
.material-orb {
  display: grid;
  place-items: center;
  min-height: 500px;
}
.material-orb span {
  width: min(32vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 24%,
    #fff 0,
    #ecf0f2 16%,
    #959da3 47%,
    #f9fbfc 64%,
    #778087 100%
  );
  box-shadow:
    inset -25px -35px 60px rgba(43, 51, 57, 0.28),
    0 45px 90px rgba(58, 66, 71, 0.17);
  position: relative;
  overflow: hidden;
}
.material-orb span::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    110deg,
    transparent 37%,
    rgba(255, 255, 255, 0.85) 48%,
    transparent 58%
  );
  animation: metal-orb 5s ease-in-out infinite;
}
@keyframes metal-orb {
  0%,
  20% {
    transform: translateX(-60%) rotate(12deg);
  }
  80%,
  100% {
    transform: translateX(65%) rotate(12deg);
  }
}

/* Footer */
.site-footer {
  padding: 75px 4.3vw 28px;
  background: #0e0e0e;
  color: white;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 90px;
}
.footer-brand {
  color: white;
}
.footer-brand small {
  color: #6f6f6f;
}
.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
}
.footer-top > div:first-child > p {
  color: #6f6f6f;
  font-size: 12px;
  margin-top: 18px;
}
.newsletter {
  margin-top: 40px;
  max-width: 360px;
}
.newsletter label {
  color: #9a9a9a;
  font-size: 11px;
  margin-bottom: 10px;
}
.newsletter-row {
  display: flex;
  gap: 10px;
  align-items: end;
}
.newsletter input {
  color: white;
  border-color: #3a3a3a;
}
.newsletter input:focus {
  border-color: white;
}
.newsletter button {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid #555;
  border-radius: 100px;
  font-size: 12px;
  color: white;
}
.newsletter button:hover {
  background: white;
  color: var(--ink);
}
.newsletter .form-error {
  color: #ff8f85;
}
.newsletter-done {
  color: #c7c7c7;
  font-size: 12px;
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  gap: 110px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-links b {
  font-size: 9px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.footer-links a {
  color: #c7c7c7;
  font-size: 12px;
  text-decoration: none;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #292929;
  padding-top: 25px;
  color: #686868;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-bottom div {
  display: flex;
  gap: 25px;
}
.footer-bottom a {
  color: #686868;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: white;
}

/* Shared UI: buttons, fields, code input, toasts, admin shortcut */
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.secondary-button:hover {
  background: var(--ink);
  color: white;
}
.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
button.text-button {
  border-bottom: 1px solid var(--ink);
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.action-row .form-submit {
  width: auto;
  flex: 1;
  margin-top: 0;
}
.field {
  margin-bottom: 21px;
}
.field > label {
  margin-bottom: 0;
}
.field-hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.field-hint a {
  color: var(--ink);
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}
.password-toggle:hover {
  color: var(--ink);
  background: var(--mist);
}
.password-toggle .icon-eye-off,
.password-toggle[aria-pressed="true"] .icon-eye {
  display: none;
}
.password-toggle[aria-pressed="true"] .icon-eye-off {
  display: block;
}
.code-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.code-grid input {
  height: 58px;
  padding: 0;
  border: 1px solid #cfcfca;
  border-radius: 14px;
  text-align: center;
  font: 500 24px var(--display);
}
.code-grid input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08);
}
.cf-turnstile {
  margin: 4px 0 14px;
}
.cf-turnstile:empty {
  margin: 0;
}
.button-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.toast-container {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  position: relative;
  overflow: hidden;
  padding: 15px 18px 17px 44px;
  border-radius: 16px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 18px 50px rgba(20, 20, 20, 0.22);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.toast.is-visible {
  opacity: 1;
  transform: none;
}
.toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}
.toast::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ba3a9;
}
.toast-success::before {
  background: #4cc38a;
}
.toast-warning::before {
  background: #f0b429;
}
.toast-error::before {
  background: #ff6b5e;
}
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform-origin: left;
  animation: toast-progress var(--toast-duration, 5000ms) linear forwards;
}
@keyframes toast-progress {
  to {
    transform: scaleX(0);
  }
}
.footer-sitemap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-sitemap[aria-current="page"] {
  color: white;
}
.admin-shortcut {
  position: fixed;
  z-index: 90;
  left: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.25);
  transition: transform 0.2s;
}
.admin-shortcut:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 5vw;
  }
  .desktop-nav,
  .account-button {
    display: none;
  }
  .menu-button {
    display: grid;
  }
  .hero {
    padding: 60px 5vw 0;
  }
  .feature-card {
    min-height: 570px;
    padding: 42px 35px 35px;
  }
  .sound-rings span:nth-child(3) {
    width: 330px;
  }
  .inside-heading {
    flex-direction: column;
    align-items: start;
  }
  .flagship-card {
    grid-template-columns: 1fr;
  }
  .flagship-card .product-image-wrap {
    height: 460px;
  }
  .product-image-wrap {
    height: 460px;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail .product-media img {
    height: 460px;
  }
  .product-detail .part-visual {
    height: 380px;
  }
  .product-story {
    grid-template-columns: 1fr;
  }
  .bag-layout {
    grid-template-columns: 1fr;
  }
  .split-page {
    grid-template-columns: 1fr;
  }
  .form-visual {
    display: none;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .about-material {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 5.5px;
    letter-spacing: 0.06em;
  }
  .mobile-nav {
    top: 68px;
  }
  .hero {
    padding: 48px 16px 0;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .primary-button {
    min-height: 50px;
  }
  .solo-stage {
    min-height: 360px;
  }
  .solo-phone {
    height: min(52vh, 440px);
  }
  .statement {
    padding: 105px 20px;
  }
  .statement h2,
  .closing-cta h2 {
    font-size: 46px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 8px;
  }
  .feature-card {
    min-height: 520px;
    border-radius: 20px;
    padding: 35px 28px 30px;
  }
  .feature-card h3 {
    font-size: 40px;
  }
  .sound-rings span:nth-child(3) {
    width: 300px;
  }
  .battery-number {
    font-size: 125px;
  }
  .inside {
    padding: 90px 16px;
  }
  .closing-cta {
    padding: 110px 20px;
  }
  .page-main {
    padding: 0 16px 75px;
  }
  .page-heading {
    padding: 85px 15px 60px;
  }
  .page-heading h1 {
    font-size: 52px;
  }
  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .flagship-card .product-image-wrap,
  .product-image-wrap {
    height: 380px;
  }
  .flagship-copy {
    padding: 30px 22px;
  }
  .product-info {
    padding: 22px 20px 24px;
  }
  .products-note {
    flex-direction: column;
    gap: 8px;
    padding: 30px 8px 0;
  }
  .breadcrumbs {
    padding: 22px 16px 0;
  }
  .product-detail {
    padding: 30px 16px 80px;
  }
  .product-detail .product-media img {
    height: 380px;
  }
  .product-detail .part-visual {
    height: 300px;
  }
  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .product-story {
    padding: 80px 16px;
  }
  .bag-item {
    grid-template-columns: 1fr auto;
  }
  .bag-line-total {
    grid-column: 1 / -1;
    text-align: left;
  }
  .bag-summary {
    padding: 26px 20px;
  }
  .form-panel {
    padding: 80px 16px 100px;
  }
  .form-wrap h1 {
    font-size: 49px;
  }
  .code-grid {
    gap: 6px;
  }
  .code-grid input {
    height: 50px;
    font-size: 20px;
  }
    .contact-heading {
    padding-left: 16px;
  }
  .contact-layout {
    padding: 0;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .account-card {
    padding: 26px 20px;
  }
  .legal-page {
    padding: 90px 16px 110px;
  }
  .legal-page h1 {
    font-size: 51px;
  }
  .legal-lead {
    margin-bottom: 70px;
    font-size: 21px;
  }
  .legal-content {
    margin-left: 0;
  }
  .about-hero {
    min-height: 70vh;
    padding: 90px 16px;
  }
  .about-hero h1 {
    font-size: 52px;
  }
  .about-hero > p:last-child {
    margin-left: 0;
  }
  .about-manifesto {
    grid-template-columns: 1fr;
    padding: 100px 16px;
  }
  .about-values article {
    padding: 55px 16px 65px;
  }
  .about-values h3 {
    margin-top: 50px;
  }
  .about-material {
    padding: 90px 16px;
    min-height: auto;
  }
  .material-orb {
    min-height: 390px;
    order: 2;
  }
  .material-orb span {
    width: 78vw;
  }
  .site-footer {
    padding: 60px 16px 28px;
  }
  .footer-top {
    gap: 55px;
    padding-bottom: 60px;
  }
  .footer-links {
    gap: 60px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
  }
  .footer-bottom div {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Staff area: layout */
.manage-body {
  background: var(--paper);
}
.manage-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: auto 1fr;
}
.manage-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 248px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px;
  background: #0e0e0e;
  color: #c7c7c7;
  transition: width 0.25s;
}
.manage-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.manage-brand {
  color: white;
  min-width: 0;
}
.manage-brand .brand-logo {
  width: 36px;
  height: 36px;
}
.manage-brand small {
  color: #7a7a7a;
  font-size: 8px;
}
.manage-sidebar-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9a9a9a;
  transition:
    transform 0.25s,
    background 0.2s;
}
.manage-sidebar-toggle:hover {
  background: #222;
  color: white;
}
.manage-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}
.manage-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #a9a9a9;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.manage-nav a:hover {
  background: #1c1c1c;
  color: white;
}
.manage-nav a[aria-current="page"] {
  background: white;
  color: var(--ink);
}
.manage-nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.manage-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.manage-session-timer {
  padding: 10px 12px;
  border-radius: 12px;
  background: #1a1a1a;
  font-size: 11px;
  color: #9a9a9a;
  white-space: nowrap;
}
.manage-session-timer strong {
  color: white;
  font-variant-numeric: tabular-nums;
}
.manage-session-timer.is-warning {
  background: #3a2a05;
  color: #f0c45a;
}
.manage-session-timer.is-warning strong {
  color: #ffd36b;
}
.manage-account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #1a1a1a;
  min-width: 0;
}
.manage-account-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}
.manage-account-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  font-size: 10px;
  color: #7a7a7a;
}
.manage-account-meta strong {
  color: white;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manage-logout-button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9a9a9a;
}
.manage-logout-button:hover {
  background: #2a2a2a;
  color: white;
}
.manage-sidebar.is-collapsed {
  width: 76px;
}
.manage-sidebar.is-collapsed .manage-nav-label {
  display: none;
}
.manage-sidebar.is-collapsed .manage-sidebar-header {
  flex-direction: column;
}
.manage-sidebar.is-collapsed .manage-sidebar-toggle {
  transform: rotate(180deg);
}
.manage-sidebar.is-collapsed .manage-nav a {
  justify-content: center;
  padding: 11px 0;
}
.manage-sidebar.is-collapsed .manage-account-chip {
  flex-direction: column;
}
.manage-sidebar.is-collapsed .manage-session-timer {
  padding: 8px 4px;
  text-align: center;
}
.manage-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.manage-context-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 40px;
  background: rgba(247, 247, 245, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.manage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.manage-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.manage-breadcrumb a:hover {
  color: var(--ink);
}
.manage-breadcrumb [aria-current="page"] {
  color: var(--ink);
}
.manage-context-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.manage-last-refreshed {
  font-size: 11px;
  color: var(--muted);
}
.manage-refresh {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}
.manage-content {
  padding: 40px 40px 80px;
  max-width: 1400px;
  width: 100%;
}
.manage-page-header {
  margin-bottom: 30px;
}
.manage-page-header .eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
}
.manage-page-header h1 {
  font: 500 clamp(36px, 4vw, 54px)/1 var(--display);
  letter-spacing: -0.05em;
  margin: 0;
}
.manage-page-header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 640px;
}
.manage-page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}
.manage-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.manage-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.manage-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
}
.manage-link-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
}
.manage-link-card h2 {
  font: 500 20px var(--display);
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}
.manage-link-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* Staff area: shared components (panels, notices, toolbars, tables, badges, dialogs) */
.manage-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.manage-panel + .manage-panel {
  margin-top: 16px;
}
.manage-notice {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff6df;
  border: 1px solid #f1dfae;
  color: #6b5310;
  font-size: 13px;
  line-height: 1.5;
}
.manage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}
.manage-toolbar .spacer {
  flex: 1;
}
.manage-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.manage-filter input,
.manage-filter select,
.manage-table-filter {
  min-width: 160px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 13px;
}
.manage-filter input:focus,
.manage-filter select:focus,
.manage-table-filter:focus {
  border-color: var(--ink);
}
.manage-table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.manage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.manage-table th,
.manage-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.manage-table th {
  position: sticky;
  top: 0;
  background: #fafaf8;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.manage-table tbody tr:last-child td {
  border-bottom: 0;
}
.manage-table tbody tr[data-clickable] {
  cursor: pointer;
}
.manage-table tbody tr:hover {
  background: #fafaf8;
}
.manage-table td.num,
.manage-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.manage-table img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--mist);
}
.manage-table .manage-table-filter {
  width: 100%;
  min-width: 90px;
  margin-top: 8px;
  padding: 6px 8px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.manage-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.manage-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.manage-pagination div {
  display: flex;
  gap: 8px;
}
.manage-pagination button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--mist);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.status-pending {
  background: #fff3d6;
  color: #8a6100;
}
.status-paid {
  background: #e1f1ff;
  color: #0b5ea8;
}
.status-fulfilled {
  background: #def5e8;
  color: #157347;
}
.status-cancelled {
  background: #f1f1ef;
  color: #6b6b67;
}
.status-draft {
  background: #f1f1ef;
  color: #6b6b67;
}
.status-published {
  background: #def5e8;
  color: #157347;
}
.manage-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: white;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(20, 20, 20, 0.3);
}
.manage-dialog::backdrop {
  background: rgba(14, 14, 14, 0.45);
  backdrop-filter: blur(3px);
}
.manage-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.manage-dialog-header h2 {
  font: 500 24px var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
.manage-dialog-body {
  padding: 24px 28px;
}
.manage-dialog-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 28px;
  background: white;
  border-top: 1px solid var(--line);
}
.manage-dialog-footer .cf-turnstile {
  margin: 0 auto 0 0;
}
.manage-dialog-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.manage-dialog-close:hover {
  background: var(--mist);
}
.manage-dialog .field-row {
  gap: 0 24px;
}
.manage-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.manage-form-grid .full {
  grid-column: 1 / -1;
}
.danger-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--error);
  border-radius: 100px;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
}
.danger-button:hover {
  background: var(--error);
  color: white;
}
.danger-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.kv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 10px;
  font-size: 13px;
}
.kv-table th {
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  padding: 0 8px 6px 0;
}
.kv-table td {
  padding: 4px 8px 4px 0;
  vertical-align: middle;
}
.kv-table td:last-child {
  width: 40px;
  padding-right: 0;
}
.kv-table input {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.audit-meta {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 20px;
}
@media (max-width: 900px) {
  .manage-app {
    grid-template-columns: 1fr;
  }
  .manage-sidebar,
  .manage-sidebar.is-collapsed {
    position: static;
    height: auto;
    width: auto;
    gap: 14px;
    padding: 14px 16px;
  }
  .manage-sidebar-toggle {
    display: none;
  }
  .manage-sidebar .manage-nav-label,
  .manage-sidebar.is-collapsed .manage-nav-label {
    display: inline;
  }
  .manage-sidebar.is-collapsed .manage-sidebar-header,
  .manage-sidebar.is-collapsed .manage-account-chip {
    flex-direction: row;
  }
  .manage-nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .manage-nav a,
  .manage-sidebar.is-collapsed .manage-nav a {
    padding: 9px 12px;
    justify-content: flex-start;
  }
  .manage-sidebar-footer {
    flex-direction: row;
    align-items: center;
  }
  .manage-account-chip {
    flex: 1;
  }
  .manage-context-bar {
    position: static;
    padding: 10px 16px;
    flex-wrap: wrap;
  }
  .manage-content {
    padding: 28px 16px 60px;
  }
  .manage-form-grid {
    grid-template-columns: 1fr;
  }
  .manage-panel {
    padding: 20px;
  }
}

/* Sitemap page */
.sitemap-intro {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 24px;
}
.sitemap-intro h2 {
  font: 500 28px var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}
.sitemap-count {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.sitemap-count strong {
  color: var(--ink);
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.sitemap-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}
.sitemap-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sitemap-card-heading h2 {
  font: 500 20px var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
.sitemap-card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mist);
}
.sitemap-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-tree a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}
.sitemap-tree a:hover span:first-child,
.sitemap-tree a[aria-current="page"] span:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sitemap-path {
  color: var(--muted);
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: right;
  overflow-wrap: anywhere;
}
.sitemap-help {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 50px 0 0;
}
.sitemap-help a {
  color: var(--ink);
}
@media (max-width: 640px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-intro {
    flex-direction: column;
    gap: 6px;
  }
}

/* Staff: organisation and users */
.organisation-form {
  max-width: 920px;
}
.organisation-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.organisation-fieldset:disabled {
  opacity: 0.6;
}
.kv-field {
  border: 0;
  padding: 0;
  margin: 0 0 21px;
  min-width: 0;
}
.kv-field legend {
  padding: 0;
  color: #5e5e5a;
  font-size: 11px;
}
.kv-field .kv-table label {
  margin: 0;
}
.kv-add {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}
.kv-remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}
.kv-remove:hover {
  background: var(--mist);
  color: var(--error);
}
.cell-muted {
  color: var(--muted);
}
.role-admin {
  background: #e1f1ff;
  color: #0b5ea8;
}
.role-member {
  background: #f1f1ef;
  color: #6b6b67;
}
.users-count::before {
  display: none;
}
.user-you {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 500;
  vertical-align: 1px;
}
.user-audit span {
  display: block;
  white-space: nowrap;
}
.user-actions {
  white-space: nowrap;
  text-align: right;
}
.user-actions button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}
.user-actions button + button {
  margin-left: 8px;
}
.user-delete-dialog {
  width: min(520px, calc(100vw - 32px));
}
.user-delete-dialog .manage-notice {
  margin: 16px 0 0;
}

/* Staff: products and blog */
.manage-record-table .cell-muted,
.manage-multi-filter .cell-muted {
  color: var(--muted);
}
.manage-record-table th > span:first-child {
  display: block;
}
.manage-record-table td {
  vertical-align: middle;
}
.manage-record-table code {
  font-size: 12px;
}
.manage-cell-title {
  font-weight: 500;
}
.manage-thumb {
  display: block;
  padding: 0;
  border-radius: 10px;
}
.manage-thumb:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.manage-audit-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
  font-size: 12px;
}
.manage-row-actions {
  white-space: nowrap;
  text-align: right;
}
.manage-row-actions .text-button {
  padding: 4px 0;
  margin-left: 14px;
}
.manage-row-actions .manage-delete-link {
  color: var(--error);
  border-bottom-color: var(--error);
}
.manage-clear-filters {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}
.manage-multi-filter {
  position: relative;
}
.manage-multi-filter summary {
  list-style: none;
  cursor: pointer;
  padding-right: 32px;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--ink);
}
.manage-multi-filter summary::-webkit-details-marker {
  display: none;
}
.manage-multi-filter-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
}
.manage-multi-filter-menu label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.manage-multi-filter-menu label:hover {
  background: var(--paper);
}
.manage-multi-filter-menu input {
  width: auto;
  padding: 0;
}
.manage-multi-filter-menu p {
  margin: 6px 10px;
  font-size: 12px;
}
.manage-dialog .required-mark {
  color: var(--error);
}
.manage-dialog input[readonly] {
  color: var(--muted);
  border-bottom-style: dashed;
}
.manage-confirm-dialog {
  width: min(520px, calc(100vw - 32px));
}
.manage-confirm-dialog p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.manage-image-dialog {
  width: min(820px, calc(100vw - 32px));
}
.manage-image-preview {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 14px;
  background: var(--mist);
}

/* Staff: organisation and users (continued) */
.organisation-fieldset input:disabled {
  color: var(--muted);
  border-bottom-style: dashed;
}
.users-count:empty {
  display: none;
}
@media (max-width: 640px) {
  .manage-toolbar .manage-filter {
    flex: 1 1 140px;
  }
  .manage-toolbar .manage-filter input,
  .manage-toolbar .manage-filter select {
    min-width: 0;
  }
}
.manage-record-dialog .manage-dialog-footer,
.manage-confirm-dialog .manage-dialog-footer {
  align-items: center;
}

/* Staff: orders and newsletter */
.order-status-filter {
  border: 0;
  padding: 0;
  min-width: 0;
}
.order-status-filter legend {
  padding: 0;
  margin-bottom: 6px;
}
.order-status-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.order-status-option {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  cursor: pointer;
}
.order-status-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.order-status-option .status-badge {
  padding: 9px 12px;
  border: 1px solid transparent;
  opacity: 0.45;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.order-status-option input:checked + .status-badge {
  opacity: 1;
  border-color: currentColor;
}
.order-status-option input:focus-visible + .status-badge {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.orders-count::before,
.newsletter-count::before {
  display: none;
}
.orders-count:empty,
.newsletter-count:empty {
  display: none;
}
.orders-table td {
  vertical-align: middle;
}
.orders-table tbody tr[data-clickable]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.order-date span,
.order-customer span,
.order-items td > span {
  display: block;
}
.order-date {
  white-space: nowrap;
}
.order-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.order-dialog {
  width: min(820px, calc(100vw - 32px));
}
.order-dialog .manage-dialog-header .field-hint {
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-details {
  margin: 0 0 28px;
}
.order-details dd {
  overflow-wrap: anywhere;
}
.order-multiline {
  white-space: pre-line;
}
.order-section-title {
  font: 500 18px var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.order-items-wrap {
  border-radius: 14px;
  margin-bottom: 26px;
}
.order-items tfoot th,
.order-items tfoot td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  background: #fafaf8;
}
.order-items tfoot td {
  text-align: right;
}
.order-sku {
  font-size: 11px;
}
.order-status-field {
  max-width: 280px;
  margin-bottom: 0;
}
.order-confirm-dialog {
  width: min(520px, calc(100vw - 32px));
}
.order-confirm-dialog .manage-dialog-body p:first-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.order-confirm-dialog .manage-notice {
  margin: 16px 0 0;
}
.newsletter-hint {
  margin: 0;
  align-self: center;
}
.newsletter-copy {
  min-height: 40px;
}
.newsletter-table .select-cell {
  width: 48px;
}
.newsletter-table input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.newsletter-table td {
  vertical-align: middle;
}
.newsletter-table label {
  cursor: pointer;
}
.newsletter-copy-dialog {
  width: min(520px, calc(100vw - 32px));
}
.newsletter-copy-dialog .manage-dialog-body p:first-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.newsletter-copy-dialog .manage-notice {
  margin: 16px 0 0;
}

/* Staff area: fixes (empty rows in tables, phone layout) */
.manage-table td.manage-empty {
  padding: 50px 20px;
  text-align: center;
}
@media (max-width: 900px) {
  .manage-app {
    align-content: start;
  }
  .manage-sidebar-footer {
    flex-wrap: wrap;
  }
  .manage-account-chip {
    min-width: 0;
  }
  .manage-nav {
    margin: 0 -16px;
    padding: 0 16px;
  }
}
.manage-multi-filter-menu input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  min-width: 0;
  margin: 0;
  border: 0;
}
.manage-confirm-dialog {
  width: min(660px, calc(100vw - 32px));
}

/* Customer area */
.account-page .page-heading {
  padding-bottom: 50px;
}
.account-nav {
  max-width: 720px;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.account-nav a,
.account-nav button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 100px;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.account-nav a:hover,
.account-nav button:hover {
  color: var(--ink);
  background: var(--mist);
}
.account-nav a[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.account-nav button {
  margin-left: auto;
}
.account-stack {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.account-stack .account-card {
  max-width: none;
  margin: 0;
}
.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.account-card-header h2,
.account-card-title {
  font: 500 24px var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}
.account-card-title {
  margin-bottom: 26px;
}
.account-card-header .text-button {
  padding: 6px 0;
  white-space: nowrap;
}
.account-card-header .secondary-button {
  min-height: 42px;
}
.account-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.account-card h2:focus,
.order-detail h2:focus {
  outline: none;
}
.account-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}
.account-status.is-error {
  color: var(--error);
}
.account-stack > section > .account-status {
  margin: 0 0 16px;
}
.account-empty a {
  color: var(--ink);
}
.account-empty-card {
  text-align: center;
}
.account-empty-card p {
  margin: 0 0 24px;
}
.account-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 20px 0 0;
}
.account-back {
  margin-bottom: 20px;
}
.account-bag-summary {
  font-size: 14px;
}
.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.order-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
}
.account-card .order-card {
  border-radius: 16px;
  padding: 20px 22px;
  background: var(--paper);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
}
.order-card-header h3 {
  font: 500 18px var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.order-card-header h3 a {
  text-decoration: none;
}
.order-card-header h3 a:hover {
  text-decoration: underline;
}
.order-card-header p,
.order-date {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.order-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.order-card-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  font-size: 14px;
}
.order-detail h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin: 8px 0 12px;
}
.order-detail .spec-list {
  margin-top: 30px;
}
.order-detail .spec-list dd {
  white-space: pre-line;
}

@media (max-width: 640px) {
  .account-page .page-heading {
    padding-bottom: 36px;
  }
  .account-nav {
    border-radius: 20px;
  }
  .account-nav a,
  .account-nav button {
    padding: 0 14px;
  }
  .account-nav button {
    margin-left: 0;
  }
  .account-card-header {
    flex-wrap: wrap;
  }
  .order-card {
    padding: 20px;
  }
}

/* Basket and checkout */
.bag-item.is-unavailable h2,
.bag-item.is-unavailable .bag-line-total {
  color: var(--muted);
}
.bag-item.is-unavailable p {
  color: var(--error);
}
.bag-item .text-button {
  padding: 6px 0;
}
.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.bag-unavailable {
  margin-top: 20px;
}
.checkout-form fieldset {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
  min-width: 0;
}
.checkout-form legend {
  padding: 0;
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.checkout-done {
  max-width: 560px;
  margin: 0 auto;
}
.checkout-done h2:focus {
  outline: none;
}
.checkout-done strong {
  color: var(--ink);
}
.checkout-done-actions {
  justify-content: center;
}
.bag-turnstile {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 150;
}
.bag-turnstile .cf-turnstile {
  margin: 0;
}
.orders-toolbar input[type="search"] { min-width: 260px; }
.order-status-field { margin-bottom: 24px; }
.order-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 0 0 28px; }
.order-details div { grid-template-columns: 110px 1fr; gap: 14px; padding: 11px 0; }
.order-details .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .orders-toolbar input[type="search"] { min-width: 0; }
  .order-details { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .manage-app > *, .manage-sidebar, .manage-sidebar-header, .manage-sidebar-footer { min-width: 0; }
}
/* Staff: orders and newsletter (phone layout) */
@media (max-width: 640px) {
  .orders-toolbar .order-status-filter { flex-basis: 100%; }
  .order-status-options { flex-wrap: nowrap; overflow-x: auto; }
  .order-status-option .status-badge { padding: 8px 10px; }
}

/* Basket and checkout: keeps the basket's security check clear of the admin shortcut */
.bag-turnstile { left: 50%; transform: translateX(-50%); }

/* Customer area: tighter cards and a one-line sub-navigation on phones */
.account-stack .account-card dl { margin-bottom: 0; }
@media (max-width: 640px) {
  .account-nav { gap: 2px; }
  .account-nav a, .account-nav button { padding: 0 11px; font-size: 12px; }
  .account-nav button { margin-left: auto; }
}

/* FeeNix One infographic: shown whole, never cropped, as it carries labels */
.media-contain,
.flagship-card .media-contain,
.product-detail .media-contain {
  height: auto;
  background: #ecebe8;
}
.media-contain img,
.product-detail .media-contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}
.flagship-card .media-contain {
  display: flex;
  align-items: center;
}
.flagship-card:hover .media-contain img {
  transform: none;
}
.media-caption {
  margin: 0;
  padding: 10px 16px 12px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Product image gallery */
.product-gallery {
  min-width: 0;
}
.product-gallery .product-media {
  margin: 0;
}
/* A fixed frame, so switching between portrait and landscape images doesn't move the page */
.product-gallery .product-media img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.gallery-thumbs a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid #e3e6e8;
  border-radius: 14px;
  background: #ecebe8;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gallery-thumbs a:hover {
  border-color: #b9b9b4;
}
.gallery-thumbs a[aria-current="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .gallery-thumbs {
    gap: 6px;
  }
  .gallery-thumbs a {
    padding: 4px;
    border-radius: 10px;
  }
}
/* Thumbnails sit in square frames whatever the image's shape */
.gallery-thumbs a {
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery-thumbs img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
}

/* On dark backgrounds "Nix" shines in light metal instead */
.site-footer,
.manage-sidebar {
  --brand-shimmer: linear-gradient(110deg, #9aa1a6 10%, #f4f6f7 30%, #b4bbc0 48%, #ffffff 62%, #a9afb4 85%);
}
/* Text-style buttons in the line under a form ("Wrong email? Start over") */
.switch-form button {
  padding: 0 0 2px;
  border-bottom: 1px solid var(--ink);
  font-size: inherit;
  color: var(--ink);
}

/* Sign-in emails come from MJ Hub, so the sign-in steps say who to look out for */
.sender-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
}

.sender-notice-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* The monogram is white, so it always sits on ink */
  background: var(--ink);
  box-shadow: 0 6px 16px rgb(20 20 20 / 0.18);
}

.sender-notice-logo img {
  display: block;
  width: 58%;
  height: auto;
}

.sender-notice-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sender-notice-copy .sender-notice-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.sender-notice-email {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sender-notice-compact {
  gap: 12px;
  padding: 12px 14px;
}

.sender-notice-compact .sender-notice-logo {
  width: 40px;
  height: 40px;
}
