:root {
  --bg: #F7F3EA;
  --paper: #FFFFFF;
  --text: #1F1F1F;
  --muted: #66615A;
  --accent: #8A6A43;
  --accent-dark: #5E472B;
  --border: #E4DDD0;
  --soft: #EFE8DA;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.skip-link {
  background: var(--accent-dark);
  color: var(--paper);
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -48px;
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  background: rgba(247, 243, 234, 0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(18px, 6vw, 72px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-mark {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 50%;
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--accent-dark);
}

.hero,
.section,
.legal-main {
  padding-left: clamp(18px, 6vw, 72px);
  padding-right: clamp(18px, 6vw, 72px);
}

.hero {
  padding-bottom: 48px;
  padding-top: 64px;
}

.hero-banner {
  line-height: 0;
  margin: 0;
  width: 100%;
}

.hero-banner img {
  display: block;
  height: auto;
  width: 100%;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 14px;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-text,
.section-heading p,
.product-card p,
.value-card p,
.collection-card p,
.legal-content p,
.legal-content li,
.about-copy p {
  color: var(--muted);
}

.hero-text {
  font-size: 19px;
  max-width: 560px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid var(--accent);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
}

.button-primary,
.button:hover {
  background: var(--accent);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
}

.button-small {
  font-size: 14px;
  min-height: 42px;
  padding: 10px 16px;
}



.section {
  padding-bottom: 72px;
  padding-top: 72px;
}

.section-soft {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.category-card,
.collection-card,
.value-card,
.product-card,
.legal-content {
  background: var(--paper);
  border: 1px solid var(--border);
}

.category-card {
  align-items: flex-end;
  display: flex;
  min-height: 150px;
  padding: 22px;
}

.category-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
}

.category-card:hover,
.collection-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

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

.product-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card[hidden] {
  display: none;
}

.product-image {
  aspect-ratio: 4 / 5;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-image img {
  background: var(--soft);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.product-body .button {
  margin-top: auto;
}

.product-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.product-category {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
  overflow: hidden;
}

.prod-badge {
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.prod-badge--digital {
  background: #e3f0f9;
  color: #005a8e;
}

.prod-badge--print {
  background: #fdf1e4;
  color: #a0440c;
}

.product-price {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.shop-section {
  scroll-margin-top: 110px;
}

.bio-block {
  max-width: 680px;
  margin: 0 auto;
}

.bio-block p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.contact-block {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.contact-block h2 {
  margin-bottom: 12px;
}

.contact-block p {
  color: var(--muted);
  margin-bottom: 28px;
}

.value-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr repeat(3, 1fr);
}

.value-card,
.collection-card {
  padding: 24px;
}

.collection-card {
  min-height: 190px;
}

.about-layout {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.about-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 28px;
}

.about-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-main {
  margin: 0 auto;
  max-width: 980px;
  padding-bottom: 72px;
  padding-top: 56px;
}

.legal-content {
  padding: clamp(24px, 5vw, 48px);
}

.legal-content h1 {
  font-size: clamp(36px, 5vw, 54px);
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 34px;
}

.legal-content ul {
  padding-left: 20px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.site-footer {
  align-items: center;
  background: var(--text);
  color: var(--bg);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 34px clamp(18px, 6vw, 72px);
}

.site-footer p {
  color: #D8D0C0;
  margin: 6px 0 0;
}

.site-footer .footer-links a {
  color: #D8D0C0;
}

.site-footer .footer-links a:hover,
.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .collection-grid,
  .product-grid,
  .product-grid-featured,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 17px;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .hero {
    padding-bottom: 32px;
    padding-top: 42px;
  }

  .category-grid,
  .collection-grid,
  .product-grid,
  .product-grid-featured,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════
   HAMBURGER NAV TOGGLE
═══════════════════════════════════════════════ */
.header-controls {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  justify-content: center;
  padding: 8px;
  width: 40px;
}

.nav-toggle span {
  background: var(--text);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.2s, opacity 0.2s;
  width: 24px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    border-top: 1px solid var(--border);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    width: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 4px;
  }
}

/* ═══════════════════════════════════════════════
   NAV ETSY LINK
═══════════════════════════════════════════════ */
.nav-etsy {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.nav-etsy img {
  border-radius: 2px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   PRODUCT CARD — FULLY CLICKABLE LINK
═══════════════════════════════════════════════ */
.product-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  transition: border-color 0.2s, transform 0.2s;
}

.product-image img {
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════
   SKELETON LOADER
═══════════════════════════════════════════════ */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.skeleton-box,
.skeleton-line {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  background: var(--border);
  border-radius: 3px;
}

.skeleton-box {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.skeleton-line {
  height: 13px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-line--xs { width: 38%; }
.skeleton-line--sm { width: 60%; }

/* ═══════════════════════════════════════════════
   SECTION — CTA BELOW FEATURED GRID
═══════════════════════════════════════════════ */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ═══════════════════════════════════════════════
   SOCIAL SECTION (homepage)
═══════════════════════════════════════════════ */
.social-section {
  text-align: center;
}

.section-heading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}

.social-icon-link {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.social-icon-link:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.social-icon-link img {
  border-radius: 50%;
  display: block;
}

/* ═══════════════════════════════════════════════
   FOOTER — BRAND + SOCIAL
═══════════════════════════════════════════════ */
.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-logo {
  border-radius: 50%;
  filter: brightness(4);
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social .social-icon-link img {
  border-radius: 50%;
  opacity: 0.85;
}

.footer-social .social-icon-link:hover img {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════ */
.pagination-bar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  padding-bottom: 16px;
}

.page-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  min-height: 40px;
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--paper);
}

.page-btn:disabled {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
  opacity: 0.45;
}

.page-info {
  color: var(--muted);
  font-size: 14px;
  min-width: 80px;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   PRODUCTS EMPTY / ERROR STATE
═══════════════════════════════════════════════ */
.products-empty,
.products-error {
  color: var(--muted);
  font-size: 16px;
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
}

.products-empty a,
.products-error a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   REVIEW CARDS
═══════════════════════════════════════════════ */
.reviews-section {
  text-align: center;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 24px;
}

.review-stars {
  color: #c8860a;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.review-author {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

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

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 5px;
  height: 36px;
  letter-spacing: 0.04em;
  padding: 0 10px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--soft);
  border-color: var(--accent);
}

.lang-arrow {
  font-size: 10px;
  opacity: 0.6;
}

.lang-dropdown {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  display: none;
  list-style: none;
  margin: 0;
  min-width: 140px;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
}

.lang-dropdown.is-open {
  display: block;
}

.lang-dropdown li {
  cursor: pointer;
  font-size: 14px;
  padding: 9px 16px;
  transition: background 0.12s;
  white-space: nowrap;
}

.lang-dropdown li:hover {
  background: var(--soft);
}

.lang-dropdown li.is-active {
  color: var(--accent-dark);
  font-weight: 700;
}
