.letbookContainer {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding-bottom: 80px;
}

/* 타이틀/설명 영역 */
.letbookHeader {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 38px 0 12px;
      background: #FFFFFF;
      border-radius: 20px;
}

.letbookHeader .title {
      font-family: 'Pretendard', sans-serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 1.5em;
      letter-spacing: -0.03em;
      color: #191919;
}

.letbookHeader .description {
      font-family: 'Pretendard', sans-serif;
      font-weight: 400;
      font-size: 13px;
      line-height: 1.5em;
      letter-spacing: -0.02em;
      text-align: left;
      color: #595959;
}

/* 필터 영역 */
.filterSection {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 0 0 24px;
}

.filterTabs {
      display: flex;
      gap: 10px;
      padding: 5px;
      background: #EFF2F6;
      border-radius: 10px;
      width: fit-content;
}

.filterTab {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      padding: 5px 12px;
      background: transparent;
      border: none;
      border-radius: 6px;
      font-family: 'Pretendard', sans-serif;
      font-weight: 400;
      font-size: 13px;
      line-height: 1.5em;
      letter-spacing: -0.02em;
      color: #2F3642;
      cursor: pointer;
      transition: all 0.2s ease;
}

.filterTab.active {
      background: #191E24;
      color: #FFFFFF;
      box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.37);
}

.filterTab:hover:not(.active) {
      background: rgba(25, 30, 36, 0.1);
}

/* 콘텐츠 리스트 */
.contentSection {
      display: flex;
      flex-direction: column;
}

.bookList {
      display: flex;
      flex-wrap: wrap;
      column-gap: 15px;
      row-gap: 28px;
      padding-bottom: 80px;
}

/* 책 아이템 */
.bookItem {
      display: flex;
      flex-direction: column;
      gap: 4px;
      cursor: pointer;
}

.bookItem:hover .bookTitle {
      color: #1082DA;
}

/* 썸네일 */
.bookThumbnail {
      position: relative;
      width: 252px;
      height: 152px;
      background: #D7D7D7;
      border: 1px solid #EBEBEB;
      border-radius: 8px;
      overflow: hidden;
}

.bookThumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
}

/* 배지 */
.badgeGroup {
      position: absolute;
      top: 10px;
      left: 10px;
      display: flex;
      gap: 4px;
}

.badge {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      padding: 4px;
      border-radius: 2px;
      font-family: 'Pretendard', sans-serif;
      font-weight: 700;
      font-size: 11px;
      line-height: 1em;
}

.badge.new {
      background: rgba(0, 0, 0, 0.8);
      color: #5FEC55;
}

.badge.best {
      background: rgba(0, 0, 0, 0.8);
      border: 1px solid #2F3642;
      color: #FFCC00;
      font-weight: 600;
}

.badge.openAlert {
      background: rgba(16, 130, 218, 0.9);
      border: 1px solid #2094EE;
      color: #FFFFFF;
      font-size: 12px;
      padding: 1px 4px;
}

/* 책 정보 */
.bookInfo {
      display: flex;
      flex-direction: column;
      gap: 2px;
      width: 252px;
}

/* 상단 텍스트 */
.bookTopText {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding-top: 2px;
}

.bookCategory {
      display: flex;
      align-items: center;
      gap: 4px;
}

.categoryText {
      font-family: 'Pretendard', sans-serif;
      font-weight: 500;
      font-size: 13px;
      line-height: 1.4em;
      letter-spacing: -0.02em;
      color: #999999;
}

.bookTitle {
      font-family: 'Pretendard', sans-serif;
      font-weight: 500;
      font-size: 16px;
      line-height: 1.6em;
      letter-spacing: -0.02em;
      color: #404040;
      height: 52px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: color 0.2s ease;
}

/* 이용기간/제작일 */
.bookMeta {
      font-family: 'Pretendard', sans-serif;
      font-weight: 400;
      font-size: 12px;
      line-height: 1.4em;
      color: #737373;
}

/* 가격 영역 */
.priceSection {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      padding: 4px 0;
}

.priceRow {
      display: flex;
      align-items: center;
      gap: 2px;
}

.originalPrice {
      font-family: 'Pretendard', sans-serif;
      font-weight: 500;
      font-size: 13px;
      line-height: 1.4em;
      letter-spacing: -0.02em;
      color: #BFBFBF;
      text-decoration: line-through;
}

.discount {
      font-family: 'Pretendard', sans-serif;
      font-weight: 700;
      font-size: 14px;
      line-height: 1.6em;
      letter-spacing: -0.02em;
      color: #FD3112;
}

.currentPrice {
      font-family: 'Pretendard', sans-serif;
      font-weight: 500;
      font-size: 16px;
      line-height: 1.6em;
      letter-spacing: -0.02em;
      color: #191919;
}

.freePrice {
      font-family: 'Pretendard', sans-serif;
      font-weight: 700;
      font-size: 16px;
      line-height: 1.6em;
      letter-spacing: -0.02em;
      color: #191919;
}

/* 평점 */
.ratingSection {
      display: flex;
      gap: 8px;
}

.ratingRow {
      display: flex;
      align-items: center;
      gap: 2px;
}

.starIcon {
      width: 14.27px;
      height: 13.57px;
      fill: #FFC251;
}

.ratingText {
      font-family: 'Pretendard', sans-serif;
      font-weight: 400;
      font-size: 12px;
      line-height: 1.4em;
      color: #737373;
}

/* 반응형 처리 */
@media screen and (max-width: 768px) {
      .letbookHeader .title {
            font-size: 20px;
      }

      #header {
            display: none;
      }

      #footer {
            display: none;
      }

      .letbookContainer {
            padding-left: 10px;
            padding-right: 10px;
            width: calc(100% - 20px);
      }

      .letbookHeader {
            padding-top: 10px;
      }

      .filterSection {
            padding-bottom: 15px;
      }

      /* 강의 3줄 */
      .bookList {
            justify-content: flex-start;
            gap: 20px;
      }

      .bookItem {
            width: calc(33.333% - 14px);
            flex-shrink: 0;
      }

      .bookThumbnail,
      .bookInfo {
            width: 100%;
      }


      .bookTitle {
            font-size: 13px;
            height: 44px;
      }

      #top_btn2,
      #top_btn,
      #topBtn4Rn {
            display: none;
      }
}

@media screen and (max-width: 509px) {

      /* 강의 2줄 */
      .bookItem {
            width: calc(50% - 10px);
      }

      .bookList {
            gap: 20px;
      }
}