/* Shared styles for Contact, FAQ, and Gallery pages — scoped under .page-content */

.page-content, .page-content *, .page-content *::before, .page-content *::after {
  box-sizing: border-box;
}

.page-content {
  --walnut:    #2C1A0E;
  --walnut-mid:#4A2E18;
  --cream:     #F5ECD7;
  --grain:     #C8943A;
  --ash:       #E8DFD0;
  --ink:       #1A1008;
  --muted:     #8C7155;
  --border:    #D4C4A8;
  --error:     #B04A2A;
  --success:   #4A7C59;
}

/* ── Page banner (subpage header, replaces the homepage hero) ── */
.page-banner {
  background: var(--walnut);
  padding: 72px 24px 56px;
  text-align: center;
  border-bottom: 3px solid var(--grain);
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: #A9CDE0;
}
.page-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ash);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Contact page ── */
.contact-section {
  background: var(--cream);
  padding: 64px 24px;
}
.contact-section.bg-sky { background: #A9CDE0; }
.contact-section.bg-moss { background: #76AD55; }
.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
}
.contact-wrap .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-wrap label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--walnut-mid);
}
.contact-wrap label .req { color: var(--grain); margin-left: 2px; }
.contact-wrap input[type=text], .contact-wrap input[type=email], .contact-wrap textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-wrap input:focus, .contact-wrap textarea:focus {
  border-color: var(--grain);
  box-shadow: 0 0 0 3px rgba(200,148,58,0.15);
}
.contact-wrap textarea { resize: vertical; min-height: 120px; }
.contact-wrap .submit-btn {
  width: 100%;
  padding: 14px 28px;
  background: var(--walnut);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border-bottom: 3px solid var(--grain);
}
.contact-wrap .submit-btn:hover { background: var(--walnut-mid); transform: translateY(-1px); }
.contact-wrap .contact-success {
  display: none;
  background: #EFF7F2;
  border: 1px solid var(--success);
  border-radius: 8px;
  padding: 18px 20px;
  color: #2E5C3A;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-top: 18px;
}
.contact-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--walnut);
  margin-bottom: 20px;
}
.contact-wrap .form-error {
  background: #FBEAE4;
  border: 1px solid var(--error);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--error);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-top: 14px;
}

/* ── About page ── */
.about-section {
  background: var(--cream);
  padding: 64px 24px 80px;
}
.about-section.bg-sky { background: #A9CDE0; }
.about-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--walnut);
  margin-bottom: 8px;
}
.about-wrap p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.about-cta {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .about-wrap { padding: 28px 22px; }
}

/* ── Wholesale page ── */
.wholesale-section {
  background: var(--cream);
  padding: 64px 24px 80px;
}
.wholesale-section.bg-sky { background: #A9CDE0; }
.wholesale-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wholesale-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--walnut);
  margin-bottom: 8px;
}
.wholesale-wrap p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.wholesale-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wholesale-list li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.wholesale-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grain);
}
.wholesale-list li strong { color: var(--walnut); font-weight: 600; }
.wholesale-cta {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .wholesale-wrap { padding: 28px 22px; }
}

/* ── 404 page ── */
.notfound-section {
  background: var(--cream);
  padding: 96px 24px;
  text-align: center;
}
.notfound-section.bg-sky { background: #A9CDE0; }
.notfound-code {
  font-family: 'Playfair Display', serif;
  font-size: 88px;
  color: var(--walnut);
  line-height: 1;
  margin-bottom: 8px;
}
.notfound-text {
  max-width: 480px;
  margin: 0 auto 28px;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.notfound-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FAQ page ── */
.faq-section {
  background: var(--cream);
  padding: 64px 24px 80px;
}
.faq-section.bg-sky { background: #A9CDE0; }
.faq-section.bg-moss { background: #76AD55; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--walnut);
}
.faq-question .faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: var(--grain);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 20px;
}

/* ── Gallery page ── */
.gallery-section {
  background: var(--cream);
  padding: 64px 24px 80px;
}
.gallery-section.bg-sky { background: #A9CDE0; }
.gallery-section.bg-moss { background: #76AD55; }
.gallery-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 15px;
}
.gallery-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.etsy-shop-embed {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.gallery-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(44,26,14,0.12); }
.gallery-card-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--walnut-mid), var(--walnut));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grain);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-card-body { padding: 18px 20px; }
.gallery-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--walnut);
  margin-bottom: 4px;
}
.gallery-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.gallery-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--grain);
}
.gallery-card-status {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
}
.gallery-card-status.available { background: rgba(74,124,89,0.15); color: var(--success); }
.gallery-card-status.sold { background: rgba(176,74,42,0.15); color: var(--error); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-wrap { padding: 28px 22px; }
  .page-banner h1 { font-size: 30px; }
}
