.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
    /* padding: 30px 0; */
    box-sizing: border-box;
}
.visual-section {
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 600px;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 텍스트 수직 중앙 정렬을 위한 Flexbox 설정 */
    display: flex;
    align-items: center;
}

.tough .visual-section {
    background-image: url('/resources/img/toolbox/tough/tough_visual.png');
}

.tough_dxl .visual-section {
    background-image: url('/resources/img/toolbox/tough_dxl/dxl_visual.png');
}
.tstak .visual-section {
    background-image: url('/resources/img/toolbox/tstak/tstak_visual.png');
}

.visual-text-box {
    font-family: GMarketSans;
    color: #ffffff;
    padding: 0 20px;
}

/* 하단 설명 섹션 (흰색 배경) */
.info-section {
    width: 100%;
    background-color: #ffffff;
    padding: 70px 0;
}

.info-text-box {
    color: #000000;
    padding: 0 20px;
}

/* 공통 타이틀 스타일 (데스크톱) */
.section-title {
    font-family: 'GMarketSans';
    font-size: 41px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 32px 0;
    word-break: keep-all;
    text-align: left;
}
.visual-text-box .section-title {
  /* font-family: 'Archivo Expanded', sans-serif; */
  /* font-weight: 900; */
  font-style: normal;
  /* text-transform: uppercase; */
  letter-spacing: -0.02em;
}


.section-title .light-weight {
    font-weight: 300;
    display: block; /* 두 번째 줄로 분리 */
    font-size: 38px;
    margin-top: 8px;
}

/* 공통 본문 스타일 (데스크톱) */
.section-desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* 전체 배경 섹션 */
.feature-section {
    width: 100%;
    height: 800px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    transition: background-image 0.5s ease-in-out;
}

.tough .feature-section {
    background-image: url('/resources/img/toolbox/tough/bg-feature-0.png');
}
.tough_dxl .feature-section {
    background-image: url('/resources/img/toolbox/tough_dxl/bg-dxl-feature-0.png');
}
.tstak .feature-section {
    background-image: url('/resources/img/toolbox/tstak/tstak1.png');
}


/* 콘텐츠 좌측 정렬 래퍼 */
.content-wrapper {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* === 개별 항목 래퍼 === */
.feature-item-wrapper {
    display: flex;
    flex-direction: column;
}

/* 확장된 상세 정보 박스 (기본적으로 숨김 상태로 시작) */
.expanded-view {
    background-color: rgba(28, 28, 28, 0.7);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: default;
    /* 부드러운 애니메이션을 위한 속성 설정 */
    max-height: 0;
    opacity: 0;
    padding: 0 40px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

/* 활성화 상태의 상세 정보 박스 */
.feature-item-wrapper.active .expanded-view {
    max-height: 300px; /* 내용물보다 여유있는 값으로 설정 */
    opacity: 1;
    padding: 32px 40px; /* 상하 여백 복구 */
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    word-break: keep-all;
}

.info-desc {
    font-size: 18px;
    font-weight: 500;
    color: #dddddd;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

.info-desc .highlight {
    color: #ffc20e; /* 디월트 옐로우 포인트 컬러 */
}

/* 축소된 list 형태 버튼 */
.pill-view {
    display: flex;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.6);
    color: #ffffff;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    gap: 10px;
    /* 부드러운 애니메이션을 위한 속성 설정 */
    max-height: 100px;
    opacity: 1;
    padding: 16px 24px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.pill-view:hover {
    background-color: rgba(50, 50, 50, 0.95);
}

/* 활성화 시 list 형태 버튼 숨김 애니메이션 */
.feature-item-wrapper.active .pill-view {
    max-height: 0;
    opacity: 0;
    padding: 0 24px; /* 세로 여백만 0으로 만들어 스무스하게 사라지도록 유도 */
    pointer-events: none; /* 숨겨진 상태에서 클릭 방지 */
}

/* =========================================
   카드 라인업 영역
   ========================================= */
.lineup-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 20px;
    box-sizing: border-box;
}

/* 메인 타이틀 & 본문 */
.lineup-title {
    font-size: 41px;
    font-weight: 700;
    margin: 0 0 24px 0;
    word-break: keep-all;
}

.lineup-desc {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 60px 0;
    word-break: keep-all;
}

/* 제품 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* 이미지 영역 */
.img-box {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 12px;
    width: 100%;
    padding-top: 80%; /* 1:1 정방형 비율 유지 */
    overflow: hidden;
    text-align: center;
    margin: 0;
}

.img-box img {
    position: absolute;
    max-width: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain; /* 이미지가 잘리지 않게 비율 유지 */
    padding:  0 20px;
    box-sizing: border-box;
}

.badge-best {
    position: absolute;
    top: 16px;
    left: 0;
    background-color: #ffc20e;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 16px 5px;
    z-index: 2;
}

/* 카드 텍스트 정보 */
.prod-info {
    flex-grow: 1; /* 높이가 달라도 버튼을 하단으로 맞추기 위함 */
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 8px 0;
}

.prod-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.prod-desc {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 1.4;
    word-break: keep-all;
}

.prod-specs {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 30px 0;
    line-height: 1.6;
    color: #111;
    flex-grow: 1; /* 스펙 내용 길이가 달라도 버튼 위치 하단 정렬 */
}

.btn-more {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 14px 30px 11px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
    margin-top: auto; /* 항상 카드 최하단에 위치 */
}

.btn-more:hover {
    background-color: #333;
}


/* =========================================
   반응형 구간
   ========================================= */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .visual-section {
        padding: 270px 0 0;
        height: 450px;
        min-height: 450px;
        background-position: 77% 50%;
        background-size: cover;
    }

    .tstak .visual-section {
        background-position: 68% 50%;
    }

    .visual-section .container {
      background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    }

    .info-section {
        padding: 0;
    }

    .section-title,
    .lineup-title {
        font-size: 20px !important;
        margin-bottom: 10px;
        /* text-align: center; */
    }

    .visual-section .section-title {
        text-shadow:0px 2px 7px black;
    }

    .section-title .light-weight {
        font-size: 20px !important;
    }

    .section-desc,
    .lineup-desc {
        font-size: 14px !important;
        line-height: 1.5;
    }

    .lineup-desc {
        margin-bottom: 20px;
        /* text-align: center; */
    }
    .badge-best {top: 0px; padding:3px 11px 3px;font-size:12px; letter-spacing:-0.05em}
    .img-box img {max-width:95%;}
    .prod-title {font-size:14px;}
    .prod-desc {font-size:15px;}
    .prod-specs{font-size:12px;margin-bottom: 10px;}
    .btn-more {font-size:13px; padding:10px 20px 8px;}

    .feature-section {
        height: 450px;
        min-height: 450px;
        max-height: 450px;
        padding: 0 10px;
        background-position: 72% 50%;
        overflow: hidden;
    }

    .feature-section .container {
        padding-top: 16px;
    }

    .feature-item-wrapper.active .expanded-view {
        padding: 24px;
        max-width: 80%;
    }

    .info-title {
        font-size: 17px;
    }

    .info-desc {
        font-size: 13px;
    }

    .pill-view {
        font-size: 14px;
        padding: 9px 12px;
        gap: 6px;
    }
    .pill-view img{
        width: 16px;
    }

    .lineup-section {
        padding: 60px 10px;
    }
    .lineup-section .lineup-title,
    .lineup-section .lineup-desc {padding: 0 10px;}

    .product-grid {
        /* grid-template-columns: 1fr; */
        gap: 10px;
        padding: 0 10px;
    }

    .content-wrapper {
        gap: 8px;
    }
}