/* ============================================
   JESUS LAUGHING — design tokens
   ============================================ */
:root {
  --parchment: #F0E6D2;
  --parchment-light: #FBF7EE;
  --ink: #3E2C1F;
  --ink-soft: #6B5745;
  --clay: #8C5A3C;
  --clay-dark: #6E4429;
  --sage: #8E9370;
  --sage-dark: #6D7254;
  --slate: #6E8299;
  --line: rgba(62, 44, 31, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, sans-serif;
  --font-tag: "Space Mono", monospace;

  --radius: 6px;
  --shadow: 0 4px 16px rgba(62, 44, 31, 0.08);
  --shadow-hover: 0 10px 28px rgba(62, 44, 31, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.55;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 230, 210, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo span { color: var(--clay); }

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--clay); }

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink) !important;
}

.cart-count {
  background: var(--clay);
  color: var(--parchment-light);
  font-family: var(--font-tag);
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* HERO — radiating-ray motif (signature element) */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.35;
}

.hero-rays svg { width: 100%; height: 100%; }

.hero-content { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-tag);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 18px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 14ch;
  margin: 0 auto 20px;
}

.hero h1 em { font-style: italic; color: var(--clay); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary { background: var(--clay); color: var(--parchment-light); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--clay); color: var(--clay); }

.btn-block { width: 100%; justify-content: center; }

/* COLLECTIONS */
.collections { padding: 60px 0 80px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 { font-size: 2rem; margin: 0; }

.section-head a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clay);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 2px;
}

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

.collection-card {
  background: var(--parchment-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.collection-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--sage-dark);
}

.collection-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.collection-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* PRODUCT GRID + CARD (with hangtag price label) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--parchment-light);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: visible;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.product-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  border-bottom: 1px solid var(--line);
  padding: 20%;
  overflow: hidden;
}

.product-media.has-image { padding: 0; background: var(--parchment-light); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 18px 20px 22px; }

.product-cat {
  font-family: var(--font-tag);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  display: block;
}

.product-info h3 { font-size: 1.1rem; margin-bottom: 4px; }

.hangtag {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--parchment-light);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 6px 12px 6px 16px;
  font-family: var(--font-tag);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transform: rotate(4deg);
  box-shadow: var(--shadow);
}

.hangtag::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1.5px solid var(--ink);
}

.product-actions { margin-top: 14px; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

.footer-links { display: flex; gap: 24px; }

.footer-links a { font-size: 0.85rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--clay); }

/* SHOP PAGE */
.page-header { padding: 56px 0 20px; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* About page */
.about-content { max-width: 720px; padding: 20px 24px 80px; }
.about-lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-content p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 40px;
}
.value-card {
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Contact page */
.contact-section { padding: 20px 24px 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.contact-info p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.contact-detail { color: var(--ink); }
.contact-note { font-size: 0.85rem; font-style: italic; }
.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-family: var(--font-tag);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 10px;
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--parchment-light);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; }
.contact-form .btn { margin-top: 16px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; margin-top: 10px; }

@media (max-width: 720px) {
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-chip {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--parchment-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover { border-color: var(--clay); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: var(--parchment-light); }

.shop-section { padding-bottom: 90px; }

/* PRODUCT DETAIL PAGE */
.product-detail { padding: 50px 0 90px; }

.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 32px; }
.breadcrumb a:hover { color: var(--clay); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.detail-media {
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18%;
  color: var(--sage);
  position: relative;
  overflow: hidden;
}

.detail-media.has-image { padding: 0; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.detail-info .product-cat { margin-bottom: 10px; }
.detail-info h1 { font-size: 2.2rem; margin-bottom: 14px; }

.detail-price {
  font-family: var(--font-tag);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 22px;
}

.detail-desc { color: var(--ink-soft); margin-bottom: 32px; max-width: 46ch; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }

.variant-row { margin-bottom: 20px; }
.variant-label {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--parchment-light);
  cursor: pointer;
  transition: all 0.15s ease;
}
.variant-chip:hover { border-color: var(--clay); }
.variant-chip.active { background: var(--ink); border-color: var(--ink); color: var(--parchment-light); }

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.qty-control button {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}
.qty-control input {
  width: 40px;
  border: none;
  background: none;
  text-align: center;
  font-family: var(--font-tag);
  font-size: 0.95rem;
}

.detail-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 28px;
}

/* CART PAGE */
.cart-section { padding: 56px 0 100px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-media {
  width: 72px;
  height: 72px;
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--sage);
  overflow: hidden;
}

.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-family: var(--font-tag); font-size: 0.85rem; color: var(--ink-soft); }

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-decoration: underline;
  padding: 0;
}
.cart-item-remove:hover { color: var(--clay); }

.cart-summary {
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  margin-bottom: 22px;
}

.empty-cart { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .collection-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .cart-layout { grid-template-columns: 1fr; gap: 32px; }
  .cart-summary { position: static; }
}

@media (max-width: 520px) {
  .collection-grid, .product-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 56px; }
}
