/* =========================================================
   Apricity Peptides — static stylesheet
   Converted from the original React/Tailwind v4 source.
   ========================================================= */

/* ---------- 1. Minimal preflight / reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  background: none;
  cursor: pointer;
}

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

button,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --radius-sm: .2rem;
  --radius-md: .35rem;
  --radius-lg: .5rem;
  --radius-xl: .75rem;
  --font-sans: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --shadow-elegant: 0 18px 45px -25px oklch(.2 .055 232 / .55);

  --background: oklch(.985 .008 88);
  --foreground: oklch(.22 .045 228);
  --card: oklch(.998 .002 95);
  --card-foreground: oklch(.22 .045 228);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(.22 .045 228);
  --primary: oklch(.38 .09 216);
  --primary-foreground: oklch(.99 .005 90);
  --secondary: oklch(.94 .018 205);
  --secondary-foreground: oklch(.25 .05 225);
  --muted: oklch(.95 .008 225);
  --muted-foreground: oklch(.52 .025 230);
  --accent: oklch(.79 .11 190);
  --accent-foreground: oklch(.22 .05 224);
  --destructive: oklch(.58 .22 28);
  --destructive-foreground: oklch(.99 0 0);
  --border: oklch(.88 .015 220);
  --input: oklch(.88 .015 220);
  --ring: oklch(.57 .12 197);
  --surface: oklch(.965 .012 195);
  --navy: oklch(.19 .05 230);
  --aqua: oklch(.77 .12 190);
  --sun: oklch(.83 .12 79);
}

* {
  border-color: var(--border)
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  opacity: .5
}

::selection {
  background: var(--aqua);
  color: var(--navy)
}

.shell {
  width: min(100% - 40px, 1240px);
  margin-inline: auto
}

.font-display,
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 400
}

h1 {
  font-size: clamp(3rem, 7.5vw, 7.6rem);
  line-height: .91
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.75rem);
  line-height: 1.02
}

h3 {
  letter-spacing: 0
}

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary)
}

.eyebrow.light {
  color: var(--aqua)
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 88px;
  transition: .4s;
  background: color-mix(in oklab, var(--background) 12%, transparent)
}

.site-header.is-scrolled {
  height: 70px;
  background: color-mix(in oklab, var(--background) 92%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border)
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center
}

.brand img {
  width: 120px;
  height: 72px;
  object-fit: contain
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px)
}

.desktop-nav a {
  font-size: .77rem;
  position: relative
}

.desktop-nav a:after {
  content: "";
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  background: var(--primary);
  transform: scaleX(0);
  transition: .3s
}

.desktop-nav a:hover:after,
.desktop-nav a.active:after {
  transform: scaleX(1)
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px
}

.icon-link,
.cart-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center
}

.icon-link svg {
  width: 18px
}

.cart-button {
  position: relative
}

.cart-button span {
  position: absolute;
  right: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 9px
}

.mobile-menu-button {
  display: none
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: var(--primary-foreground);
  padding: 24px;
  z-index: 80
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.mobile-menu-top img {
  width: 120px;
  filter: brightness(0) invert(1)
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 11vh
}

.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent);
  font: 300 2rem var(--font-display)
}

.mobile-menu p {
  position: absolute;
  bottom: 28px;
  color: var(--aqua)
}

.hero {
  min-height: 96vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy)
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-breathe 18s ease-in-out infinite alternate
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in oklab, var(--navy) 80%, transparent) 0%, color-mix(in oklab, var(--navy) 35%, transparent) 43%, transparent 72%), linear-gradient(0deg, color-mix(in oklab, var(--navy) 35%, transparent), transparent 45%)
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--primary-foreground);
  padding-bottom: 9vh;
  max-width: 760px;
  text-align: left
}

.hero-content .hero-actions {
  justify-content: flex-start
}

.hero-logo {
  width: 170px;
  height: 112px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 20px
}

.hero h1 {
  max-width: 730px
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 26px 0 34px;
  color: color-mix(in oklab, var(--primary-foreground) 83%, transparent)
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.trust-strip {
  background: var(--navy);
  color: var(--primary-foreground);
  overflow: hidden
}

.trust-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite
}

.trust-item {
  padding: 18px 54px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase
}

.trust-item:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua)
}

section {
  padding: 110px 0
}

.section-intro {
  max-width: 700px;
  margin-bottom: 46px
}

.section-intro.center {
  text-align: center;
  margin-inline: auto
}

.section-intro h2 {
  margin: 12px 0 16px
}

.section-intro p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted-foreground);
  max-width: 620px
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 20px
}

.product-card {
  min-width: 0
}

.product-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  aspect-ratio: 4/4.75
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.product-image span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  background: color-mix(in oklab, var(--background) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  transform: translateY(80px);
  transition: .35s
}

.product-image span svg {
  width: 15px
}

.product-card:hover img {
  transform: scale(1.035)
}

.product-card:hover .product-image span {
  transform: none
}

.product-info {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 2px
}

.product-info p {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted-foreground)
}

.product-info h3 {
  font: 500 1.1rem var(--font-display);
  margin-top: 4px
}

.category-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: 1px;
  background: var(--border)
}

.category-tile {
  min-height: 360px;
  background: var(--card);
  padding: 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden
}

.category-tile:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid var(--border);
  border-radius: 50%;
  right: -50px;
  top: -40px
}

.category-tile strong {
  font: 400 2rem var(--font-display)
}

.category-tile span {
  margin-top: 10px;
  color: var(--muted-foreground)
}

.story-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 720px
}

.story-split img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.story-copy {
  padding: 9vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--primary-foreground)
}

.story-copy h2 {
  margin: 16px 0 24px
}

.story-copy p {
  line-height: 1.9;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  margin-bottom: 28px
}

.editorial-wide {
  padding: 0;
  position: relative;
  height: 78vh;
  min-height: 600px;
  overflow: hidden
}

.editorial-wide img {
  width: 100%;
  height: 115%;
  object-fit: cover
}

.editorial-caption {
  position: absolute;
  left: 7vw;
  bottom: 7vw;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 34px;
  max-width: 480px
}

.editorial-caption h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 10px 0
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.value {
  padding: 38px 25px;
  border-right: 1px solid var(--border)
}

.value:last-child {
  border: 0
}

.value svg {
  color: var(--primary);
  margin-bottom: 38px
}

.value h3 {
  font: 500 1.05rem var(--font-display)
}

.value p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-top: 12px
}

.resource-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1px;
  background: var(--border)
}

.resource-card {
  background: var(--background);
  padding: 32px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .3s
}

.resource-card:hover {
  background: var(--secondary)
}

.resource-card h3 {
  font: 400 1.8rem var(--font-display);
  margin: 12px 0
}

.resource-card p {
  line-height: 1.7;
  color: var(--muted-foreground)
}

.resource-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em
}

.faq-list {
  max-width: 900px;
  margin: auto
}

.faq-list button {
  font: 500 clamp(1.05rem, 2vw, 1.3rem) var(--font-display);
  text-decoration: none !important;
  padding: 23px 0
}

.faq-list [data-radix-accordion-content] {
  color: var(--muted-foreground);
  line-height: 1.8
}

.newsletter {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 75px 0
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 60px;
  align-items: end
}

.newsletter h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  margin-top: 10px
}

.newsletter form {
  position: relative
}

.newsletter label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 10px
}

.newsletter input {
  height: 56px;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 50%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--primary-foreground);
  padding-left: 0;
  padding-right: 60px
}

.newsletter input::placeholder {
  color: color-mix(in oklab, var(--primary-foreground) 55%, transparent)
}

.newsletter form button {
  position: absolute;
  right: 0;
  bottom: 8px
}

.newsletter-success {
  font: 400 1.4rem var(--font-display);
  padding: 20px 0;
  border-bottom: 1px solid var(--aqua)
}

footer {
  background: var(--navy);
  color: var(--primary-foreground);
  padding: 80px 0 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px
}

.footer-brand img {
  width: 160px;
  height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1)
}

.footer-brand p {
  max-width: 330px;
  line-height: 1.7;
  color: color-mix(in oklab, var(--primary-foreground) 64%, transparent)
}

footer h3 {
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--aqua);
  margin: 20px 0
}

footer .footer-grid a {
  display: block;
  margin: 12px 0;
  font-size: .88rem;
  color: color-mix(in oklab, var(--primary-foreground) 72%, transparent)
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
  display: grid !important;
  place-items: center
}

.socials svg {
  width: 15px
}

.legal {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 13%, transparent);
  font-size: .72rem;
  color: color-mix(in oklab, var(--primary-foreground) 55%, transparent)
}

.legal div {
  display: flex;
  gap: 20px
}

.disclaimer {
  font-size: .66rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--primary-foreground) 40%, transparent);
  padding-top: 22px
}

.page-hero {
  padding: 150px 0 70px;
  background: var(--surface)
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px
}

.page-hero.has-image .page-hero-inner {
  grid-template-columns: .8fr 1.2fr;
  align-items: end
}

.page-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  margin: 15px 0 24px
}

.page-hero p {
  max-width: 600px;
  line-height: 1.8;
  color: var(--muted-foreground);
  font-size: 1.05rem
}

.page-hero-media {
  height: 500px;
  overflow: hidden
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.page-section {
  padding: 100px 0
}

.bg-navy {
  background: var(--navy);
  color: var(--primary-foreground)
}

.bg-surface {
  background: var(--surface)
}

.display-quote {
  font: 300 clamp(2.2rem, 5vw, 5.5rem)/1.08 var(--font-display);
  max-width: 1050px
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start
}

.philosophy-grid p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--muted-foreground)
}

.numbered-list {
  border-top: 1px solid var(--border)
}

.numbered-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  align-items: start
}

.numbered-item span {
  color: var(--primary)
}

.numbered-item h3 {
  font: 400 1.6rem var(--font-display)
}

.numbered-item p {
  line-height: 1.7;
  color: var(--muted-foreground)
}

.shop-hero {
  padding-bottom: 0
}

.shop-banner {
  height: 430px;
  margin-top: 45px;
  overflow: hidden
}

.shop-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px
}

.search-field {
  position: relative;
  max-width: 420px
}

.search-field svg {
  position: absolute;
  left: 15px;
  top: 13px;
  width: 18px;
  color: var(--muted-foreground)
}

.search-field input {
  padding-left: 45px;
  height: 46px
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.category-tabs button {
  padding: 11px 16px;
  border: 1px solid var(--border);
  font-size: .75rem;
  background: var(--card)
}

.category-tabs button.active {
  background: var(--navy);
  color: var(--primary-foreground)
}

select {
  height: 46px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 35px 0 14px
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 55px
}

.cart-drawer {
  width: min(100%, 520px) !important;
  max-width: none !important;
  padding: 28px;
  display: flex;
  flex-direction: column
}

.cart-lines {
  flex: 1;
  overflow: auto;
  margin: 28px 0
}

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border)
}

.cart-line img {
  width: 84px;
  height: 105px;
  object-fit: cover
}

.cart-line p {
  font-size: .72rem;
  color: var(--muted-foreground);
  margin-top: 5px
}

.qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center
}

.qty svg {
  width: 12px
}

.cart-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between
}

.cart-price button svg {
  width: 15px;
  color: var(--muted-foreground)
}

.empty-cart {
  text-align: center;
  padding: 90px 20px
}

.empty-cart>svg {
  margin: auto;
  width: 40px;
  height: 40px;
  color: var(--primary)
}

.empty-cart h3 {
  font: 400 1.5rem var(--font-display);
  margin: 18px 0 8px
}

.empty-cart p {
  color: var(--muted-foreground)
}

.cart-total>div {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem
}

.cart-total p {
  font-size: .72rem;
  color: var(--muted-foreground);
  margin: 8px 0 20px
}

.cart-total>a {
  margin-top: 9px;
  width: 100%
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: .75rem;
  font-weight: 600
}

.field input,
.field textarea,
.field select {
  background: var(--card)
}

.field input {
  height: 48px
}

.field textarea {
  min-height: 140px
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 7vw
}

.contact-image {
  height: 720px
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.contact-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: .85rem;
  line-height: 1.7
}

.success-note {
  padding: 20px;
  border-left: 3px solid var(--primary);
  background: var(--secondary)
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  padding-top: 88px
}

.account-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.account-panel {
  padding: 8vw;
  display: flex;
  justify-content: center;
  flex-direction: column
}

.account-panel h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin: 13px 0 32px
}

.tabs-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px
}

.tabs-row button {
  flex: 1;
  padding: 15px;
  border-bottom: 2px solid transparent;
  font-weight: 600
}

.tabs-row button.active {
  border-color: var(--primary);
  color: var(--primary)
}

.account-form {
  display: grid;
  gap: 16px
}

.account-form a {
  font-size: .8rem;
  color: var(--primary)
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 70px
}

.order-summary {
  background: var(--surface);
  padding: 30px;
  height: max-content;
  position: sticky;
  top: 100px
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: .86rem
}

.summary-total {
  font-size: 1.15rem;
  font-weight: 600
}

.checkout-step {
  margin-bottom: 48px
}

.checkout-step h2 {
  font-size: 1.65rem;
  margin-bottom: 22px
}

.product-detail {
  padding: 145px 0 100px
}

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 7vw
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover
}

.product-gallery img:first-child {
  grid-column: 1/-1;
  aspect-ratio: 1/1
}

.product-summary {
  position: sticky;
  top: 110px;
  height: max-content
}

.product-summary h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  margin: 10px 0
}

.product-summary .price {
  font-size: 1.3rem;
  margin: 20px 0
}

.product-summary>p {
  color: var(--muted-foreground);
  line-height: 1.8
}

.product-buy {
  display: flex;
  gap: 12px;
  margin: 28px 0
}

.product-buy .qty {
  margin: 0
}

.breadcrumbs {
  font-size: .72rem;
  color: var(--muted-foreground);
  margin-bottom: 30px
}

.article-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 70px;
  max-width: 1050px
}

.article-layout aside {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary)
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.9
}

.article-body h2 {
  font-size: 2.4rem;
  margin: 55px 0 20px
}

.article-body img {
  width: 100%;
  margin: 32px 0
}

.article-body p {
  margin: 18px 0;
  color: color-mix(in oklab, var(--foreground) 78%, transparent)
}

@keyframes hero-breathe {
  to {
    transform: scale(1.035) translateX(-.5%)
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.reveal {
  animation: fade-up .8s ease both
}

.reveal-delay {
  animation: fade-up .8s .18s ease both
}

@media(max-width:1000px) {
  .header-inner {
    grid-template-columns: 150px 1fr
  }

  .desktop-nav {
    display: none
  }

  .header-actions {
    grid-column: 2
  }

  .mobile-menu-button {
    display: inline-flex
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .category-grid,
  .resource-grid {
    grid-template-columns: 1fr 1fr
  }

  .category-grid>*:first-child,
  .resource-grid>*:first-child {
    grid-column: 1/-1
  }

  .values-grid {
    grid-template-columns: 1fr 1fr
  }

  .value:nth-child(2) {
    border-right: 0
  }

  .value:nth-child(-n+2) {
    border-bottom: 1px solid var(--border)
  }

  .page-hero.has-image .page-hero-inner,
  .contact-layout,
  .product-layout,
  .checkout-layout {
    grid-template-columns: 1fr
  }

  .page-hero-media {
    height: 420px
  }

  .product-summary,
  .order-summary {
    position: static
  }

  .account-panel {
    padding: 70px 35px
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr
  }

  .footer-grid>div:last-child {
    grid-column: 2
  }

  .story-copy {
    padding: 8vw 5vw
  }
}

@media(max-width:700px) {
  .shell {
    width: min(100% - 28px, 1240px)
  }

  section {
    padding: 76px 0
  }

  .site-header {
    height: 70px
  }

  .header-inner {
    grid-template-columns: 110px 1fr
  }

  .brand img {
    width: 100px;
    height: 62px
  }

  .header-actions>.icon-link:first-child {
    display: none
  }

  .hero {
    min-height: 88svh
  }

  .hero-content {
    padding-bottom: 55px
  }

  .hero-logo {
    width: 130px;
    height: 85px
  }

  .hero p {
    font-size: .95rem;
    margin: 20px 0 27px
  }

  .trust-item {
    padding-inline: 30px
  }

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

  .product-info {
    display: block
  }

  .product-info strong {
    display: block;
    margin-top: 8px
  }

  .product-card button {
    height: 42px;
    font-size: .74rem
  }

  .category-grid,
  .resource-grid {
    grid-template-columns: 1fr
  }

  .category-grid>*:first-child,
  .resource-grid>*:first-child {
    grid-column: auto
  }

  .category-tile {
    min-height: 250px
  }

  .story-split {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .story-split>div:first-child {
    height: 520px
  }

  .story-copy {
    padding: 70px 24px
  }

  .editorial-wide {
    height: 72vh;
    min-height: 560px
  }

  .editorial-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 24px
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid var(--border) !important
  }

  .newsletter-inner {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .footer-grid>div:last-child {
    grid-column: auto
  }

  .legal {
    display: block
  }

  .legal div {
    flex-wrap: wrap;
    margin-top: 16px;
    gap: 12px
  }

  .page-hero {
    padding: 115px 0 55px
  }

  .page-hero.has-image .page-hero-inner {
    display: flex;
    flex-direction: column
  }

  .page-hero-media {
    height: 330px;
    width: 100%
  }

  .philosophy-grid {
    grid-template-columns: 1fr
  }

  .numbered-item {
    grid-template-columns: 45px 1fr
  }

  .numbered-item p {
    grid-column: 2
  }

  .shop-toolbar {
    grid-template-columns: 1fr
  }

  .category-tabs {
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px
  }

  .category-tabs button {
    white-space: nowrap
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .contact-image {
    height: 480px
  }

  .account-layout {
    grid-template-columns: 1fr;
    padding-top: 70px
  }

  .account-image {
    height: 360px
  }

  .account-panel {
    padding: 55px 20px
  }

  .checkout-layout {
    gap: 45px
  }

  .product-gallery {
    display: block
  }

  .product-gallery img {
    margin-bottom: 10px
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .product-image span {
    display: none
  }

  .cart-drawer {
    padding: 20px !important
  }

  .cart-line {
    grid-template-columns: 70px 1fr
  }

  .cart-line img {
    width: 70px;
    height: 88px
  }

  .cart-price {
    grid-column: 2;
    flex-direction: row;
    align-items: center
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }

  .trust-track {
    animation: none
  }
}

/* ---------- 3. Buttons (shadcn button variants) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  border: 1px solid transparent;
  background: none;
  text-decoration: none
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  pointer-events: none
}

.btn:disabled {
  pointer-events: none;
  opacity: .5;
  cursor: not-allowed
}

.btn-default {
  background: var(--primary);
  color: var(--primary-foreground)
}

.btn-default:hover {
  background: color-mix(in oklab, var(--primary) 90%, transparent)
}

.btn-premium {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant)
}

.btn-premium:hover {
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--primary) 92%, transparent)
}

.btn-light {
  background: var(--background);
  color: var(--foreground)
}

.btn-light:hover {
  transform: translateY(-2px);
  background: var(--secondary)
}

.btn-hero-outline {
  border-color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
  background: color-mix(in oklab, var(--background) 10%, transparent);
  color: var(--primary-foreground);
  backdrop-filter: blur(4px)
}

.btn-hero-outline:hover {
  background: color-mix(in oklab, var(--background) 20%, transparent)
}

.btn-outline {
  border-color: var(--input);
  background: var(--background)
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground)
}

.btn-quiet {
  border-color: var(--border);
  background: var(--card);
  color: var(--foreground)
}

.btn-quiet:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.btn-ghost:hover {
  background: var(--accent);
  color: var(--accent-foreground)
}

.btn-link {
  color: var(--primary);
  text-underline-offset: 4px;
  background: none;
  padding: 0;
  height: auto
}

.btn-link:hover {
  text-decoration: underline
}

.btn-sm {
  height: 34px;
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-size: .75rem
}

.btn-default-size {
  height: 38px;
  padding: 8px 16px
}

.btn-lg {
  height: 42px;
  border-radius: var(--radius-md);
  padding: 0 32px
}

.btn-icon {
  height: 38px;
  width: 38px;
  padding: 0
}

.btn-xl {
  height: 48px;
  padding: 0 24px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em
}

.w-full {
  width: 100%
}

.mt-3 {
  margin-top: 12px
}

.mt-5 {
  margin-top: 20px
}

.mt-6 {
  margin-top: 24px
}

/* ---------- 4. Form fields (shadcn input/textarea/select look) ---------- */
input,
textarea,
select {
  border-radius: var(--radius-md);
  border: 1px solid var(--input);
  background: transparent;
  padding: 6px 12px;
  font-size: 1rem;
  color: var(--foreground);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-foreground)
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 1px
}

textarea {
  min-height: 60px
}

/* ---------- 5. Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border)
}

.accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0
}

.accordion-trigger .chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform .2s
}

.accordion-item.open .accordion-trigger .chev {
  transform: rotate(180deg)
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease
}

.accordion-item.open .accordion-content {
  max-height: 600px
}

.accordion-content-inner {
  padding-bottom: 16px
}

/* ---------- 6. Cart drawer / dialog (sheet overlay) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s
}

.overlay.open {
  opacity: 1;
  pointer-events: auto
}

.sheet {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  background: var(--background);
  z-index: 91;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto
}

.sheet.open {
  transform: translateX(0)
}

.sheet-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  opacity: .7
}

.sheet-close:hover {
  opacity: 1;
  background: var(--accent)
}

.sheet-close svg {
  width: 16px;
  height: 16px
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 92;
  width: min(92%, 32rem);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1)
}

/* ---------- 7. Small utilities used inline ---------- */
.flex {
  display: flex
}

.items-center {
  align-items: center
}

.gap-2 {
  gap: 8px
}

.gap-3 {
  gap: 12px
}

.text-primary {
  color: var(--primary)
}

.text-left {
  text-align: left
}

.text-sm {
  font-size: .875rem
}

[hidden] {
  display: none !important
}


svg {
    width: 18px !important;
}