    .footer-flex {
        display: inline-flex;
        align-items: center;
        gap: 1px;
    }

    .footer-text { 
        line-height: 1.6;
        text-align: left;
    }

    .top-img {
        vertical-align: middle; 
        height: auto; 
        padding: 10px; 
        width:300px;
    }
    .bottom-img {
        vertical-align: middle; 
        height: auto; 
        padding: 10px; 
        width:200px;
    }    
    .hero {
        position: relative; 
        background: #000; /* 필요 시 배경 지정 */
        padding: 0;
    }
     
    .hero .container {
        max-width: 1000px;
        height: 250px;
        margin: 0 auto;
        position: relative;
    }

    .hero img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }
    

    .hero-text {
        position: absolute;
        bottom: 5px;
        right: 20px;
        color: white;
        font-size: 18px;
        font-weight: bold;
        text-shadow: 1px 1px 3px black;
        background-color: transparent;
        padding: 5px 10px;
        border-radius: 5px;
    }
    section {
      background-color: #050505;
      max-width: 1000px;
      margin: auto;
      padding: 30px 5px;
    }

    .section-title-wrapper {
      position: relative;
      text-align: left;
      margin: 2px 0;
    }

    .section-title-wrapper::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 10px;
      background-color: #002060; /* 파란색 라인 */
      z-index: 0;
    }

    .section-title {
      display: inline-block;
      background-color: #050505; /* 텍스트 배경색 */
      color: white;
      padding: 5px 20px;
      font-size: 24px;
      font-weight: bold;
      position: relative;
      z-index: 1; /* 라인 위로 올라오게 */
      margin-left: 30px;       /* 왼쪽에서 50px 띄움 */
    }

    .title { 
        color: white;   
        white-space: normal;
        padding: 15px;
        margin-top: 10px;
        cursor: pointer;
        word-break: keep-all;
    }
    .product-item {
      background-color: #161515; 
      margin: 30px 0 10px 0;  /* 위 30px, 아래 10px */
      padding: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #444;
      border-bottom: 1px solid #444;
    }
    .product-item span {
      display: inline-block; 
      color: #ddd; 
      font-size: 16px;
      overflow: hidden;
      text-overflow: ellipsis;
      flex-grow: 1;
      min-width: 0; /* 중요: 줄바꿈 대신 말줄임 처리 위해 필요 */
    }
    .product-item .buttons {
      display: flex;
      gap: 10px;
    }
    .product-item .buttons button {
      background: #444;
      color: #fff;
      border: none;
      padding: 5px 10px;
      font-size: 12px;
      cursor: pointer;
    }
    .product-item .buttons button:hover {
      background: #007bff;
    }
    
    .content {  
        word-break: keep-all;
        background-color: #151115;
        line-height: 2;
        padding: 12px;
        font-size: 14px;
        color: #ccc; 
        border: 0px solid #ddd;
        border-top: none;
        display: none; 
    }  

    .content .buttons {
      display: flex;
      justify-content: right;
      gap: 10px;
      margin-bottom: 20px;
    }
    .content .buttons button {
      background: #444;
      color: #fff;
      border: none;
      padding: 5px 10px;
      font-size: 12px;
      cursor: pointer;
    }
    .content .buttons button:hover {
      background: #007bff;
    }
    

    .active {
      display: block;
    }

    .gallery {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .thumb {
      width: 140px;
      height: 200px;
      background-color: #ddd;
      border-radius: 8px;
      overflow: hidden;      
      cursor: pointer;
    }
    .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
    }
    .pagination button {
      padding: 8px 16px;
      font-size: 14px;
      border: none;
      background-color: #333;
      color: white;
      cursor: pointer;
      border-radius: 5px;
    }
    .pagination button:disabled {
      background-color: #aaa;
      cursor: not-allowed;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      align-items: center;
      justify-content: center;
    }
    .modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0,0,0,0.4);
    }
    .modal .close {
      position: absolute;
      top: 30px;
      right: 40px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }

    .catalog-popup {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease;
      text-align: center;
      margin: 10px 0;
    }
    .catalog-popup img {
      max-width: 90%;
      height: auto;
      border: 1px solid #ccc;
      border-radius: 8px;
    }
    .catalog-popup.open {
      max-height: 1000px; /* 충분히 큰 값 */
    }

    .key-text {
      text-align: left; 
      padding: 2px; 
      font-size: 13px; 
      vertical-align: top;
    }

    .video-container {
      max-width: 800px;       /* 최대 너비 제한 */
      width: 100%;            /* 부모 너비에 따라 반응형 */
      aspect-ratio: 16 / 12;   /* 자동 높이 비율 설정 (지원되는 브라우저 기준) */
      margin: auto;
    }

    .video-container iframe {
      width: 100%;
      height: 100%;
      border: 1px solid #ccc;
    }

    /* 기본에서는 줄바꿈 없음 */
    .mobile-break {
        display: none;
    }

  .youtube-slide {
    display: inline-block;
    width: 30%; /* 3개씩 보이도록 */
    height: auto;
    margin-right: 10px;
    vertical-align: top;
    color: white;
    cursor: pointer;
  }

  .youtube-slide img {
    width: 100%;
    border-radius: 4px;
  }

  .youtube-slide div {
    text-align: center;
    font-size: 12px;
    margin-top: 5px;
  }

  #youtubeSliderWrapper::-webkit-scrollbar {
    display: none;
  }





  