:root {
  --bg: #f3efe4;
  --paper: #fbf9f2;
  --ink: #24291f;
  --olive: #46553a;
  --olive2: #75805a;
  --gold: #b59a61;
  --muted: #737568;
  --line: #dcd8ca;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.announce {
  background: var(--olive);
  color: #f8f5eb;
  text-align: center;
  padding: 9px 12px;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.header {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
}

.brand img {
  display: block;
  width: 180px;
  height: auto;
  max-height: 95px;
  object-fit: contain;
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.page {
  min-height: 70vh;
  padding: 38px 0 115px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.08;
  margin: 12px 0 18px;
}

p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.card,
.item {
  background: var(--paper);
  border: 1px solid var(--line);
}

.card {
  padding: 20px;
  margin: 15px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 19px;
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.button:hover {
  background: #303b27;
}

.field {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  margin: 8px 0 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.item {
  min-width: 0;
  padding: 14px;
}

.art {
  min-height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e5e0d0, #d2cfb9);
  color: var(--olive);
  font: 20px var(--serif);
  letter-spacing: .1em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 110px;
  color: var(--muted);
  font-size: 11px;
}

.footer a {
  display: inline-block;
  margin: 5px 8px 5px 0;
}

.mobile-nav {
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px 5px calc(8px + env(safe-area-inset-bottom));
  background: #fbf9f2f5;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-nav .nav {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 0;
  font-size: 9px;
}

.mobile-nav .nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.mobile-nav .nav.active {
  color: var(--olive);
}

@media (max-width: 650px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page {
    padding-top: 28px;
  }

  .card {
    padding: 15px;
  }

  .item {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .mobile-nav .nav {
    font-size: 8px;
  }

  .mobile-nav .nav svg {
    width: 19px;
    height: 19px;
  }
}

/* KAMANEА-UNIFIED-OVERRIDES */
:root {
  color-scheme: light;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 0;
  overflow-x: clip;
  line-height: 1.6;
}
.header .brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .brand img {
  display: block;
  width: min(180px, 52vw);
  max-height: 68px;
  height: auto;
  object-fit: contain;
}
.wrap {
  width: min(1080px, calc(100% - 32px));
}
.eyebrow {
  color: var(--olive2);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.card, .item {
  color: var(--ink);
  border-color: var(--line);
  overflow-wrap: anywhere;
}
.button {
  min-height: 44px;
  border: 1px solid var(--olive);
  border-radius: 0;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.field {
  color: var(--ink);
  border-radius: 0;
}
.field:focus {
  border-color: var(--olive2);
}
.footer {
  background: transparent;
  line-height: 1.8;
}
.mobile-nav {
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.mobile-nav .nav {
  min-width: 0;
  text-align: center;
  text-decoration: none;
}
.mobile-nav .nav.active {
  color: var(--olive);
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .header {
    min-height: 76px;
    height: auto;
  }
  .header .brand img {
    width: min(165px, 48vw);
    max-height: 62px;
  }
  .product-detail,
  .cart-layout {
    min-width: 0;
  }
  .product-photo {
    max-width: 100%;
  }
}

/* KAMANEА-PRODUCT-IMAGE-FIX */
.art {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e5e0d0;
}
.art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.item h3 {
  font-size: clamp(19px, 3.8vw, 28px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.item .button {
  align-self: flex-start;
  margin-top: auto;
  max-width: 100%;
}
@media (max-width: 650px) {
  .item { padding: 10px; }
  .item .button {
    padding: 12px 10px;
    font-size: 9px;
  }
}
/* END KAMANEА-PRODUCT-IMAGE-FIX */


/* KAManea unified storefront system */
:root{--km-bg:#f3efe4;--km-paper:#fbf9f2;--km-ink:#24291f;--km-olive:#46553a;--km-olive2:#75805a;--km-gold:#b59a61;--km-muted:#737568;--km-line:#dcd8ca}
html{-webkit-text-size-adjust:100%;scroll-padding-top:18px}
body{margin:0;background:var(--km-bg);color:var(--km-ink);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
.header{height:96px;min-height:96px;display:flex;align-items:center;justify-content:center;background:var(--km-paper);border-bottom:1px solid var(--km-line);position:relative}
.header .brand{display:flex;align-items:center;justify-content:center;width:100%;min-height:80px}
.header .brand img{width:200px;max-width:76vw;height:auto;max-height:82px;object-fit:contain}
.announce{background:var(--km-olive);color:#fbf9f2;text-align:center;padding:10px 12px;font-size:9px;letter-spacing:.17em;text-transform:uppercase}
.wrap{width:min(1160px,calc(100% - 36px));margin-inline:auto}
.page{width:min(1080px,calc(100% - 36px));min-height:64vh;padding:38px 0 120px;margin-inline:auto}
.page>.eyebrow{text-align:center;justify-content:center}
.page>h1{text-align:center;color:var(--km-olive);font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}
.card,.item,.authbox,#account,.km-panel,.km-side,.cart-summary,.kamanea-fav-card{background:var(--km-paper);border:1px solid var(--km-line);box-shadow:0 8px 28px rgba(48,53,38,.045)}
.button{min-height:46px;padding:12px 19px;border:1px solid var(--km-olive);border-radius:0;background:var(--km-olive);color:#fffdf7!important;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;display:inline-flex;align-items:center;justify-content:center}
.button:hover{background:#303b27}
.field,input,select,textarea{max-width:100%;box-sizing:border-box}
.footer{padding:25px 0 112px;background:var(--km-paper);border-top:1px solid var(--km-line);color:var(--km-muted);font-size:11px}
.footer .wrap{line-height:2}
.footer a{color:var(--km-olive);margin-right:12px}
.mobile-nav{position:fixed;z-index:50;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:8px 5px calc(8px + env(safe-area-inset-bottom));background:rgba(251,249,242,.97);border-top:1px solid var(--km-line);backdrop-filter:blur(16px)}
.mobile-nav .nav{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;color:#77796f;font-size:10px;text-align:center;text-decoration:none}
.mobile-nav .nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mobile-nav .nav.active,.mobile-nav .nav[aria-current=page]{color:var(--km-olive);font-weight:700}
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.item{min-width:0}
.item img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
@media(max-width:720px){
 .header{height:82px;min-height:82px}
 .header .brand img{width:174px;max-height:70px}
 .wrap,.page{width:calc(100% - 28px)}
 .page{padding:26px 0 112px}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .item{padding:10px}
 .item img{aspect-ratio:1/1}
 .km-account{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .km-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .km-user{grid-column:1/-1}
 .km-side>a.button,.km-side>#logout{grid-column:1/-1;width:100%;box-sizing:border-box}
 #cart-content .cart-layout,.checkout-layout{grid-template-columns:minmax(0,1fr)}
 #cart-content .cart-row{grid-template-columns:76px minmax(0,1fr);gap:12px}
 #cart-content .cart-row img{width:76px;height:76px}
 .cart-summary{position:static}
 .km-statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .km-formgrid{grid-template-columns:minmax(0,1fr)}
 .km-formgrid .full{grid-column:auto}
}
@media(max-width:360px){.mobile-nav .nav{font-size:9px}.grid{gap:8px}.item{padding:8px}}

