/*
Theme Name:   향촌흑염소 자식 테마
Theme URI:    https://blog.goatfarm.co.kr
Description:  향촌흑염소 매장 페이지 전용 자식 테마. 매장 CPT, 지역 SEO, LocalBusiness Schema 자동 생성 포함.
Author:       향촌흑염소 본사 디지털마케팅실
Author URI:   https://blog.goatfarm.co.kr
Template:     twentytwentyfour
Version:      1.0.0
Text Domain:  hyangchon
*/

/* ===== 부모 테마 스타일 상속 + 향촌흑염소 브랜드 톤 ===== */

:root {
  --hc-primary: #1a3a2e;       /* 짙은 녹색 - 자연 보양 */
  --hc-accent: #c8a951;        /* 골드 - 30년 전통 */
  --hc-bg: #fafaf7;
  --hc-text: #222;
  --hc-muted: #666;
  --hc-border: #e6e6e6;
}

body {
  background: var(--hc-bg);
  color: var(--hc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

/* ===== 매장 페이지 전용 ===== */

.store-hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
}

.store-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 12px;
  font-weight: 700;
}

.store-hero .usp {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.9;
  margin-bottom: 24px;
}

.store-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.store-cta a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.store-cta a.primary {
  background: var(--hc-accent);
  color: #1a1a1a;
}

.store-cta a.secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}

.store-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 20px;
}

.store-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hc-accent);
  display: inline-block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.menu-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.menu-card-body {
  padding: 16px;
}

.menu-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.menu-card .price {
  color: var(--hc-accent);
  font-weight: 700;
  font-size: 1.05rem;
}

.menu-card .desc {
  color: var(--hc-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.info-table th, .info-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hc-border);
}

.info-table th {
  background: #f5f5ef;
  font-weight: 600;
  width: 130px;
}

.faq-item {
  border-bottom: 1px solid var(--hc-border);
  padding: 16px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  cursor: pointer;
}

.faq-item h3::before {
  content: "Q. ";
  color: var(--hc-accent);
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--hc-text);
  padding-left: 20px;
}

.subway-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subway-list li {
  padding: 8px 0 8px 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%231a3a2e'><circle cx='12' cy='12' r='10'/></svg>") no-repeat left center;
  background-size: 18px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.trust-list li {
  background: #fff;
  border-left: 4px solid var(--hc-accent);
  padding: 14px 16px;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .store-hero { padding: 60px 16px 40px; }
  .store-section { padding: 36px 16px; }
  .info-table th { width: 100px; font-size: 0.9rem; }
}
