/* Accept Me For Me — warm, playful, clean */
:root {
  --sand: #F4EEE4;
  --cream: #FBF7F0;
  --paper: #FFFCF7;
  --ink: #2C2620;
  --ink-soft: #5E554C;
  --teal: #1F5C5A;
  --teal-deep: #164845;
  --teal-hover: #2A6E6B;
  --teal-mist: #E4EFED;
  --peach: #E8A07A;
  --coral: #C96B55;
  --gold: #C4A574;
  --line: #E4D9C8;
  --shadow: 0 12px 32px rgba(44, 38, 32, 0.08);
  --shadow-sm: 0 4px 16px rgba(44, 38, 32, 0.06);
  --radius: 18px;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, .wordmark-text {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.15rem); margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--teal); color: #fff; padding: 0.5rem 0.8rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Preview banner */
.preview-banner {
  background: #F3E2CF;
  color: var(--ink);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #E8C9A4;
}
.preview-banner strong { font-weight: 700; }

/* Header */
.site-header {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.wordmark:hover { color: var(--teal-deep); }
.wordmark-icon {
  width: 1.85rem; height: 1.85rem; flex: none;
}
.wordmark-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.wordmark-text em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 1.05rem; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0 0 1rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.65rem 0.4rem;
  border-radius: 10px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal-mist);
  color: var(--teal-deep);
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav { display: block !important; }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }
  .site-nav a { padding: 0.45rem 0.8rem; }
  .wordmark-text { font-size: 1.3rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-deep);
}
.btn-ghost:hover { background: var(--teal-mist); color: var(--teal-deep); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Hero */
.hero {
  padding: 2.2rem 0 2.6rem;
}
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}
.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36rem;
}
.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
@media (min-width: 800px) {
  .hero { padding: 3.2rem 0 3.6rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}

/* Sections */
.section { padding: 2.4rem 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.35rem;
}
.blurb {
  background: var(--teal);
  color: #F7F1E6;
  padding: 2.6rem 0;
}
.blurb h2, .blurb p { color: #F7F1E6; }
.blurb p { color: #E4EDE9; max-width: 38rem; font-size: 1.08rem; }
.blurb .confirm-note { background: rgba(255,252,247,0.12); border-color: rgba(247,241,230,0.28); color: #F7F1E6; }
.blurb .confirm-note strong { color: #F7F1E6; }

.split-cats {
  display: grid;
  gap: 1rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 11rem;
  display: flex;
  align-items: end;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 30, 28, 0.72), rgba(22, 30, 28, 0.05));
}
.cat-card span {
  position: relative; z-index: 1;
  padding: 1.2rem 1.3rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}
@media (min-width: 640px) {
  .split-cats { grid-template-columns: 1fr 1fr; }
  .cat-card { min-height: 14rem; }
}

/* Product grid */
.grid-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 0.7rem;
}
@media (min-width: 720px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.15rem; }
}
@media (min-width: 1020px) {
  .grid-products { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-img {
  aspect-ratio: 4 / 5;
  background: var(--sand);
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.card-body { padding: 0.75rem 0.8rem 0.95rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.card-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.price { font-weight: 800; color: var(--teal-deep); }
.swatches-mini { display: flex; gap: 0.22rem; }
.swatch-dot {
  width: 0.78rem; height: 0.78rem;
  border-radius: 50%;
  border: 1px solid rgba(44,38,32,0.18);
  display: inline-block;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  border-color: var(--teal);
  background: var(--teal-mist);
  color: var(--teal-deep);
}

/* Product detail */
.product-layout {
  display: grid;
  gap: 1.75rem;
  padding: 1.6rem 0 3rem;
}
@media (min-width: 860px) {
  .product-layout { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
}
.gallery-main {
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.gallery-main img.fit-contain {
  object-fit: contain;
  object-position: center;
  background: var(--sand);
}
.thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
}
.thumb {
  width: 4.4rem; height: 5.4rem;
  padding: 0; border: 2px solid transparent;
  border-radius: 12px; overflow: hidden;
  background: var(--sand);
  cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.thumb[aria-selected="true"],
.thumb:focus-visible { border-color: var(--teal); }

.product-color,
.product-price-lg { margin: 0 0 0.35rem; }
.product-price-lg { font-size: 1.45rem; font-weight: 800; color: var(--teal-deep); }
.product-desc { color: var(--ink-soft); }

.option-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 1.15rem 0 0.5rem;
}
.photo-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
  min-height: 1.3em;
}
.color-row, .size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.9rem;
}
.color-btn .swatch {
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  border: 1px solid rgba(44,38,32,0.2);
  flex: none;
}
.color-btn[aria-pressed="true"],
.color-btn:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-mist);
}
.size-btn {
  min-width: 3rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.size-btn[aria-pressed="true"],
.size-btn:hover {
  border-color: var(--teal);
  background: var(--teal-mist);
  color: var(--teal-deep);
}

.qty-row { display: flex; align-items: center; gap: 0.55rem; }
.qty-row button {
  width: 2.4rem; height: 2.4rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.qty-row input {
  width: 3.2rem;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem;
  background: var(--paper);
}
.buy-wrap { margin-top: 1.4rem; }

/* Forms */
.form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
.form-row { display: grid; gap: 0.85rem; }
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label.field { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; }
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  font-weight: 500;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--teal-mist);
  border-color: var(--teal);
}
.form-note, .form-status {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.form-status.success {
  background: var(--teal-mist);
  color: var(--teal-deep);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 650;
}
.order-panel {
  margin-top: 1.4rem;
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.order-panel[hidden] { display: none; }

/* Confirm / placeholder callouts */
.confirm-note {
  background: #F8EBDA;
  border: 1.5px dashed #E2C49A;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 1rem 0;
}
.confirm-note strong {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A5A28;
  margin-bottom: 0.25rem;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.7rem 0 0.2rem; color: var(--ink-soft); }

/* Page heads */
.page-head { padding: 2rem 0 0.5rem; }
.page-head p { max-width: 38rem; color: var(--ink-soft); }
.prose { max-width: 42rem; padding-bottom: 3rem; }
.prose .lead { font-size: 1.12rem; }

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--teal-deep);
  color: #E8F0EE;
  padding: 2.4rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
}
.site-footer a { color: #F7F1E6; }
.site-footer .wordmark-text,
.site-footer .wordmark { color: #F7F1E6; }
.site-footer .wordmark-text em { color: #E8C9A4; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; }
.footer-nav a { text-decoration: none; font-weight: 650; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { margin-top: 1.8rem; font-size: 0.85rem; color: #C5D5D2; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

/* 404 */
.empty-state { text-align: center; padding: 4rem 0 5rem; }
.empty-state h1 { margin-bottom: 0.4em; }

/* Utils */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-soft); }
