/* ===== 제품 페이지 공통 ===== */

body.page-product {
  background: #fff;
  color: #111;
}

.section-products {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px); /* 네비 아래 여백 */
  padding-bottom: 120px;
}

.products-inner {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 180px;         /* 메인/뉴스랑 동일 좌우 패딩 */
  box-sizing: border-box;
}

/* ===== 헤더 영역 (제목 + 필터) ===== */

.products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.products-title {
  margin: 0;
  font-size: 36px;
  margin-top : 50px
}

/* 제품 페이지에서만 제목 굵기 강제 */
.page-product .products-title {
  font-weight: 600 !important;  /* 원하는 값으로 변경 */
}


/* 구분선 */
.products-divider {
  border-bottom: 1.2px solid #e5e5e5;
  margin-bottom: 40px;
}

/* 필터 탭 */
.products-filter {
  display: flex;
  gap: 24px;
  font-size: 16px;
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 0;
  color: #777;
  cursor: pointer;
  position: relative;
  font-size : 16px
}

/* 밑줄 */
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: transparent;
}

.filter-btn.is-active {
  color: #111;
  font-weight: 600;
}

.filter-btn.is-active::after {
  background: #111;
}

/* ===== 카드 레이아웃 ===== */

.products-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

/* 카드 */
.product-card {
  display: block;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 55px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* 🎯 이미지 크게 — 기존 260px → 360px */
.product-thumb {
  width: 100%;
  height: 360px;
  background-color: #e4e4e4;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #eee;
}

/* 🎯 텍스트 영역을 더 아래로 */
.product-meta {
  padding: 26px 26px 32px;
}

/* 제품명 */
.product-name {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
}

/* 태그 텍스트 */
.product-tag {
  margin: 0;
  font-size: 16px;
  color: #777;
}

/* Hover 효과 */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(0,0,0,0.14);
}



/* ===== 반응형 ===== */

@media (max-width: 1280px) {
  .products-inner {
    padding: 0 60px;
  }
}

@media (max-width: 960px) {
  .products-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .products-inner {
    padding: 0 32px;
  }

  .products-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .products-inner {
    padding: 0 20px;
  }
}

/* ===== Footer ===== */

.site-footer {
  background: #000;
  color: #fff;
  padding: 50px 0 36px;
  font-size: 13px;
}

.footer-inner {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 180px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo cols"
    ".    bottom";
  column-gap: 240px;
}

/* 왼쪽 로고 */
.footer-logo {
  grid-area: logo;
  align-self: flex-start;
}
.footer-logo img {
  height: 32px;
  display: block;
}

/* 가운데/오른쪽 3컬럼 */
.footer-columns {
  grid-area: cols;
  display: flex;
  gap: 160px;
  font-size: 13px;
}

.footer-col {
  min-width: 120px;
}

.footer-heading {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  font-weight: 300 !important;
}

.footer-col p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* 하단 회사 정보 */
.footer-bottom {
  grid-area: bottom;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}


/* ===== 반응형 ===== */

@media (max-width: 1280px) {
  .footer-inner {
    padding: 0 60px;
    column-gap: 80px;
  }
}

@media (max-width: 960px) {
  .footer-inner {
    display: block;
    padding: 0 32px;
  }

  .footer-logo {
    margin-bottom: 24px;
  }

  .footer-columns {
    gap: 150px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    padding: 0 20px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
}
