

#submenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  background-color: #f9f9f9dd;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;

  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 5rem;
}

#submenu a {
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: #fff;
  border: 1px solid transparent;
}

#submenu a:hover {
  background-color: #eee;
  color: #000;
}

#submenu a.active {
  background-color: #111;
  color: #fff;
  border: 1px solid #111;
}



  #page-content {
    line-height: 1.8;
    background: #fff;
    padding: 40px;
    max-width: 800px;
    margin: auto;
    font-size: 20px;
  }
  
  
  #page-content .logo {
      text-align: center;
      margin-bottom: 20px;
    }
    
  #page-content  .logo img {
    width: 250px;
  }
  
  #page-content  .title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 4rem;
  }
  
  #page-content  .subtitle {
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    margin-top: 4rem;
    margin-bottom: 2rem;
  }
  
  #page-content  .section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
  }

  #page-content .section-title::after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      background-color: none;
      margin: 1rem auto 0;
  }
  
  #page-content  .content {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  #page-content  .bold {
    font-weight: bold;
  }
  
  /* TECH BLOCKS */
  #page-content  .tech-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  #page-content  .tech-block img {
    width: 64px;
    height: 64px;
    margin-right: 20px;
    flex-shrink: 0;
  }
  
  #page-content .tech-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
  }
  
  #page-content  .tech-text .kr-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  
  #page-content  .tech-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  #page-content  .tech-img {
    text-align: center;
  }
  
  #page-content .tech-img img {
    display: inline-block;
    max-width: 80%;
  }
  
  
  /* SIZE GUIDE */
  #page-content .size-guide {
    margin-top: 20px;
    font-size: 1rem;
  }
  
  #page-content .size-guide-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  
  #page-content .size-guide-title .icon {
    width: 46px;
    height: 46px;
    vertical-align: middle;
  }
  
  #page-content .size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 1rem;
  }
  
  #page-content .size-guide-table th,
  #page-content .size-guide-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
  }
  
  #page-content .size-guide-table thead {
    background-color: #f5f5f5;
    font-weight: bold;
  }
  
  #page-content .size-guide-table td.kr {
    font-weight: bold;
  }
  
  #page-content .sock-length {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #111;
  }
  
  #page-content .note {
    font-size: 0.95rem;
    color: #555;
  }

  #page-content .wash-guide {
    text-align: center;
    margin-top: 40px;
  }
  
  #page-content .wash-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  #page-content .wash-icons img {
    width: 60px;
    height: auto;
  }
  
  #page-content .wash-instructions {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
  
    /* 가운데 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #page-content .wash-instructions li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
  }
  
  #page-content .wash-instructions li::before {
    content: "・";
    margin-right: 0.5em;
    color: #999;
  }
  
  
  

  /* ✅ 모바일 대응: 화면 너비 600px 이하일 때 */
  @media (max-width: 600px) {
    body, #page-content {
      font-size: 16px;
    }
  
    #submenu {
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 16px;
      position: static;
      padding-top: 6rem;
    }
  
    #submenu a {
      width: 90%;
      text-align: center;
    }
    #page-content .title {
        font-size: 2rem;
      }
    
    #page-content .subtitle {
      font-size: 1.5rem;
      margin-bottom: 30px;
    }
  
    #page-content .section-title {
      font-size: 1.25rem;
    }
  
    #page-content .content {
      font-size: 0.95rem;
    }
  
    #page-content .tech-block {
      flex-direction: column;
      align-items: flex-start;
    }
  
    #page-content .tech-block img {
      width: 60px;
      height: 60px;
      margin-right: 0;
      margin-bottom: 12px;
    }
  
    #page-content .tech-text h3,
    #page-content .tech-text .kr-title {
      font-size: 1rem;
    }
  
    #page-content .tech-text p {
      font-size: 0.95rem;
    }
    #page-content .tech-img {
        width: 100%;
      text-align: center;
      margin-top: 20px;
    }
    #page-content .tech-img img {
      margin: auto;
      max-width: 100%;
      display: inline-block;
    }
  
    #page-content .size-guide-title {
      flex-direction: column;
      gap: 6px;
    }
  
    #page-content .size-guide-title .icon {
      width: 40px;
      height: 40px;
    }
  
    #page-content .size-guide-table th,
    #page-content .size-guide-table td {
      padding: 8px;
      font-size: 0.95rem;
    }
  
    #page-content .sock-length {
      font-size: 0.95rem;
    }
  
    #page-content .note {
      font-size: 0.9rem;
    }
    #page-content .wash-icons {
      gap: 12px;
    }
  
    #page-content .wash-icons img {
      width: 48px;
    }
  
    #page-content .wash-instructions {
      font-size: 0.95rem;
    }
  }


  #grid-gallery {
    display: flex;
    flex-direction: row; /* 가로로 배치 */
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto; /* 가운데 정렬 */
    padding: 20px 16px; /* 좌우 여백 */
    padding-top: 12rem;
  }
  
  /* 각 컬럼: 세로 정렬 */
  #grid-gallery .split-row {
    display: flex;
    flex-direction: column; /* 세로 배치 */
    gap: 16px;
    flex: 1;
  }
  
  /* 이미지 스타일 */
  #grid-gallery .split-row img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
  }
  
  #grid-gallery .split-row img:hover {
    transform: scale(1.02);
  }

  @media (max-width: 768px) {
    #grid-gallery {
      flex-direction: column;
    }
  }
  