/* ============================================
   VIVAME — products-new.css (어싱신발 제품 페이지)
   ============================================ */

/* ─── NAV ─── */
.pnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(246,239,231,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.pnav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}

.pnav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
}

.pnav-logo-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-deep);
  letter-spacing: 0.06em;
}

.pnav-logo-kr {
  font-size: 0.8rem;
  color: var(--text-light);
}

.pnav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.pnav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s;
}

.pnav-links a:hover,
.pnav-links a.active {
  color: var(--accent);
}

.pnav-buy-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.pnav-buy-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.prod-hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.prod-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.prod-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.85;
}

.prod-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,14,6,0.78) 0%,
    rgba(44,30,20,0.55) 60%,
    rgba(20,14,6,0.40) 100%
  );
}

.prod-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.prod-hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(201,111,74,0.85);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.prod-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.prod-hero-content h1 span {
  color: var(--accent-light);
}

.prod-hero-content > p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.prod-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.prod-stat {
  text-align: center;
}

.prod-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-light);
  font-family: var(--font-en);
}

.prod-stat span {
  font-size: 0.75rem;
  opacity: 0.75;
}

.prod-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
}

/* ─── 어싱이란? ─── */
.earthing-section {
  padding: 7rem 0;
  background: var(--bg-warm);
}

.earthing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.earthing-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin: 0.8rem 0 1.2rem;
  color: var(--text-deep);
}

.earthing-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.earthing-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.earthing-benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-deep);
}

.earthing-benefits li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.earthing-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.earthing-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.earthing-card:first-child {
  grid-column: span 2;
}

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

.earthing-card.accent {
  background: var(--accent);
  color: #fff;
}

.earthing-card.accent p {
  color: rgba(255,255,255,0.85);
}

.earthing-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.earthing-card.accent .earthing-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.earthing-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-deep);
}

.earthing-card.accent h4 {
  color: #fff;
}

.earthing-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ─── 제품 섹션 ─── */
.products-section {
  padding: 6rem 0 5rem;
  background: var(--bg-sand);
}

.products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.products-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-deep);
  margin: 0.5rem 0 0.6rem;
}

.products-header p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* 필터 탭 */
.prod-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.4rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 제품 그리드 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* 제품 카드 */
.prod-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.prod-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-warm);
}

.prod-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prod-card:hover .prod-card-img-wrap img {
  transform: scale(1.06);
}

/* 배지 */
.prod-badges {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.badge-best {
  padding: 0.2rem 0.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.badge-new {
  padding: 0.2rem 0.6rem;
  background: #3A5A40;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.badge-sale {
  padding: 0.2rem 0.6rem;
  background: var(--text-deep);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}

/* 호버 버튼 */
.prod-card-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(20,14,6,0.85), transparent);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.prod-card:hover .prod-card-hover {
  transform: translateY(0);
}

.prod-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.prod-quick-btn:hover {
  background: var(--accent-light);
}

/* 카드 정보 */
.prod-card-info {
  padding: 1.2rem;
}

.prod-card-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.prod-tag {
  padding: 0.18rem 0.55rem;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
}

.prod-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.prod-card-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

/* 색상 도트 */
.prod-card-colors {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.3);
}

/* 가격 행 */
.prod-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.prod-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-en);
}

.prod-buy-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s;
}

.prod-buy-link:hover {
  color: var(--accent);
}

/* 준비중 비활성 버튼 */
.prod-quick-btn-disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
}

.prod-buy-link-disabled {
  font-size: 0.82rem;
  font-weight: 500;
  color: #bbb;
  cursor: default;
}

/* 더보기 카드 */
.prod-card-more {
  background: var(--text-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  text-decoration: none;
  height: 100%;
  color: #fff;
}

.prod-more-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,111,74,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.prod-card-more:hover .prod-more-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.prod-more-inner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.prod-more-inner p {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.prod-more-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(232,142,109,0.4);
  border-radius: 100px;
}

/* ─── 제품 특징 섹션 ─── */
.prod-features-section {
  padding: 7rem 0;
  background: var(--bg-warm);
}

.prod-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.prod-feature-item {
  padding: 2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: #fff;
}

.prod-feature-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.prod-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.prod-feature-icon.accent {
  background: var(--accent);
  color: #fff;
}

.prod-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 0.5rem;
}

.prod-feature-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── 사이즈 가이드 ─── */
.size-guide-section {
  padding: 6rem 0;
  background: var(--bg-sand);
}

.size-guide-inner {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}

.size-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.size-tip-box i {
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.size-tip-box strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 0.3rem;
}

.size-tip-box p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.size-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.size-table th,
.size-table td {
  padding: 0.8rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  background: #fff;
}

.size-table th {
  background: var(--text-deep);
  color: #fff;
  font-weight: 600;
}

.size-table .highlight-row td {
  background: var(--accent-pale);
}

.size-note {
  font-size: 0.82rem;
  color: var(--text-light);
}

.size-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ─── CTA 섹션 ─── */
.prod-cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.prod-cta-bg {
  position: absolute;
  inset: 0;
}

.prod-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.prod-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,14,6,0.82) 0%, rgba(44,30,20,0.65) 100%);
}

.prod-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.prod-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.prod-cta-content > p {
  font-size: 1.05rem;
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.prod-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-xl {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

.prod-cta-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.prod-cta-social a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.prod-cta-social a:hover {
  color: var(--accent-light);
}

/* ─── 반응형 ─── */
@media (max-width: 1100px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .pnav-links { display: none; }

  .earthing-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .prod-features-grid {
    grid-template-columns: 1fr;
  }

  .earthing-visual {
    grid-template-columns: 1fr;
  }

  .earthing-card:first-child {
    grid-column: span 1;
  }

  .prod-hero-stats {
    gap: 1rem;
  }

  .size-table {
    font-size: 0.78rem;
  }
}
