/* /css/pages/gift-card.css */

/* 탭 메뉴 */
.tab-menu-container {
  width: 100%;
  background-color: #f2f4ff;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.tab-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 35px;
}

.tab-menu__item {
  padding: 24px 20px 8px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  color: #929292;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
}

.tab-menu__item.active {
  color: #454545;
  font-weight: 700;
  background-color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* 탭 콘텐츠 */
.tab-content {
  display: none;
  padding: 150px 0;
  animation: fadeIn 0.5s;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 상품권 소개 콘텐츠 */
.gift-card-intro {
  max-width: 1164px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.intro-title {
  text-align: center;
}

.intro-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #454545;
  margin-bottom: 22px;
  line-height: 1.25;
}

.intro-title p {
  font-size: 18px;
  color: #929292;
  line-height: 1.72;
}

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intro-section h3 {
  font-size: 30px;
  font-weight: 700;
  color: #454545;
}

.paper-voucher-image {
  width: 100%;
  background-color: #f6f8f9;
  border: 1px solid #929292;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.paper-voucher-image img {
  max-width: 100%;
  height: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-box {
  border-top: 2px solid #0073bc;
  padding-top: 20px;
}

.info-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0073bc;
  margin-bottom: 20px;
}

.info-box p,
.info-box ul {
  font-size: 16px;
  font-weight: 300;
  color: #454545;
  line-height: 1.4;
}

.info-box ul {
  padding-left: 25px;
}

.info-box li {
  margin-bottom: 10px;
}

.info-box span {
  font-size: 18px;
  color: #666;
  display: block;
  margin-top: 10px;
}

/* 비교 테이블 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #929292;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #dddddd;
  padding: 15px 20px;
  text-align: center;
  font-size: 16px;
}

.comparison-table thead th {
  background-color: #0073bc;
  color: white;
  font-weight: 700;
}

.comparison-table tbody td {
  color: #929292;
  font-weight: 500;
  line-height: 1.7;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 문의처 */
.contact-info {
  border-top: 2px solid #454545;
  padding-top: 24px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 16px;
  font-weight: 300;
  color: #454545;
  line-height: 2.1;
}

/* 반응형 */
@media (max-width: 1023px) {
  .tab-content {
    padding: 80px 40px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tab-menu-container {
    width: 100%;
    background-color: #f2f4ff;
    display: flex;
    justify-content: center;
  }
  .tab-menu {
    width: 100%;
    gap: 0;
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .tab-menu__item {
    flex: 1;
    font-size: 16px;
    padding: 15px 5px;
    color: #454545;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid transparent;
    background-color: transparent;
    border-radius: 0;
    box-sizing: border-box;
    min-width: 0;
    line-height: 1.2;
    transition: all 0.3s ease;
  }
  .tab-menu__item.active {
    color: #454545;
    font-weight: 700;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 4px solid transparent;
  }
  .tab-content {
    padding: 40px 20px;
  }
  .gift-card-intro {
    gap: 60px;
  }
  .intro-title h2 {
    font-size: 28px;
  }
  .intro-title p {
    font-size: 16px;
  }
  .intro-section h3 {
    font-size: var(--font-size-3xl);
  }
  .info-box h4 {
    font-size: var(--font-size-2xl);
  }
  .info-box p,
  .info-box ul {
    font-size: var(--font-size-lg);
  }
  .info-box span {
    font-size: var(--font-size-lg);
  }
  .comparison-table th,
  .comparison-table td {
    font-size: 14px;
    padding: 10px;
  }
  .contact-info li {
    font-size: 18px;
  }
}

/* 위변조 식별방법 콘텐츠 */
.counterfeit-identification {
  max-width: 1164px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.voucher-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 80px;
}

.voucher-section:last-child {
  border-bottom: none;
}

.voucher-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.voucher-title h3 {
  font-size: 30px;
  font-weight: 700;
  color: #454545;
  margin-bottom: 10px;
}

.voucher-title p {
  font-size: 16px;
  font-weight: 300;
  color: #454545;
}

.voucher-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #929292;
  border-radius: 20px;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-number {
  font-size: 36px;
  font-weight: 700;
  color: #0073bc;
  line-height: 1;
  width: 66px;
  flex-shrink: 0;
}

.feature-icon {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.feature-icon-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 157px;
}

.feature-description {
  flex-grow: 1;
}

.feature-description h4 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.feature-description p {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .counterfeit-identification {
    gap: 60px;
  }
  .voucher-section {
    gap: 40px;
    padding-bottom: 40px;
  }
  .voucher-title h3 {
    font-size: 28px;
  }
  .voucher-title p {
    font-size: 16px;
  }
  .security-features {
    gap: 30px;
  }
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-description h4 {
    font-size: 22px;
  }
  .feature-description p {
    font-size: 16px;
  }
}
