/* styles.css */
@font-face {
    font-family: 'Pretendard';
    src: url('/static/fonts/Pretendard-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'NanumSquareNeo';
    src: url('/static/fonts/NanumSquareNeoOTF-Rg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
@font-face {
    font-family: 'NanumSquareNeo';
    src: url('/static/fonts/NanumSquareNeoOTF-Eb.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
  }

body {
    margin: 0;
    visibility: visible;
    text-align: center;
    background-color: #ffffff;
    font-family: 'Pretendard', sans-serif  !important; 
}
/* body.fonts-loaded {
    visibility: visible; 
} */

main {
    max-width: 360px;
    margin: 0 auto;
    padding: 0px;
}

.container {
    width: 100%;
    max-width: 360px; /* 예를 들어, 더 큰 최대 너비를 설정 */
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px; /* 로고 이미지 크기 조정 */
    height: auto;
    margin: 0px 10px 0px 14px; /* 로고와 텍스트 간격 조정 */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
    font-family: 'NanumSquareNeo', sans-serif;  
    background: linear-gradient(to right, #3DC2F5, #3CE4DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cart-icon img {
    width: 30px; /* 카트 아이콘 크기 조정 */
    height: auto;
    margin-left: 20px; /* 텍스트와 아이콘 간격 */
}


footer {
    background-color: #1D1B20; /* 푸터 배경색 설정 */
    padding: 20px;
    text-align: center;
    
    font-size: 12px; /* 텍스트 크기 설정 */
    color: #FFFFFF; /* 텍스트 색상 설정 */
}
.footer-content {
    margin: 0 auto;  /* 가운데 정렬 */
    padding: 0 10px;  /* 좌우 여백 */
    text-align: left;  /* 텍스트 왼쪽 정렬 */
}
.copyright {
    margin-top: 10px;
    font-size: 10px;  
    padding: 0 10px;  /* 좌우 여백 */
    opacity: 0.6;
    text-align: left;
  }

.footer-content p {
    margin: 0;
    line-height: 1.5; /* 줄 간격 조정 */
    font-family: 'Pretendard', sans-serif  !important; 
}

a {
    color: inherit;
}
a {
    text-decoration: none; /* 기본적으로 밑줄 제거 */
}

a:hover {
    text-decoration: none; /* 마우스 올렸을 때도 밑줄 제거 */
}

.overlap-container {
    position: relative;
}

.text-container {
    background-color: #F6F7F9;
    padding: 40px 0px 50px 0px;
}

/* 메인 배너 스타일 */
.main-banner {
    background-image: url('/static/images/img_main01.png');
    background-size: cover;
    background-position: center;
    height: 360px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    position: relative;
    padding-bottom: 60px; /* grid-section과의 겹침을 위한 여유 공간 */
}

.main-banner-1 {
    /* background-image: url('/static/images/brand/img_brand.png'); */
    background-size: cover;
    background-position: center;
    height: 189px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    color: white;
    text-align: center;
}

.banner-content {
    /* background-color: rgba(0, 0, 0, 0.5); */
    background: linear-gradient(to right, #3DC2F5, #3CE4DA);
    padding: 2px 10px;
    font-size: 14px;
    margin-top: 40px;
}

.banner-text-1 {
    font-size: 20px;
    margin: 10px 0;
}

.banner-text-2 {
    font-size: 28px;
    font-weight: bold;
}

.banner-content2 {
    margin: 15px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-text-3 {
    margin: 0px;
    font-size: 12px;
}

.banner-text-4 {
    margin: 0px;
    font-size: 12px;
    font-weight: bold;
}

.banner-content2 {
    margin: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-line {
    width: 80%;
    border: none;
    border-top: 1px solid white;
}

.banner-line2{
    width: 50%;
    border: none;
    border-top: 1px solid white;
}


/* 3x2 그리드 섹션 */
.grid-section1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 20px;
    transform: translateY(80%); /* 섹션의 절반만큼 아래로 이동 */
    background-color: transparent; /* 배경색 제거 또는 필요에 따라 설정 */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 한 줄에 2개의 칸 */
    grid-template-rows: repeat(3, auto);  /* 3개의 행 */
    gap: 0px;
    width: 100%;
    max-width: 360px;
}

.grid-container2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 한 줄에 2개의 칸 */
    grid-template-rows: repeat(2, auto);  /* 2개의 행 */
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.grid-item1 {
    grid-column: span 2; /* 첫 번째 아이템이 2칸을 차지 */
}

.grid-item2 {
    grid-column: span 1; /* 나머지는 1칸씩 */
}

.icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 텍스트 섹션 스타일 */
.text-section {
    margin: 330px 0px 0px 0px;
    padding: 20px 0px 0px 0px; 
    text-align: center;
}

.text-section-1 {
    margin: 0px 0px 0px 0px;
    padding: 20px 20px 0px 20px; 
    text-align: center;
}

.text-section-2 {
    background-image: url('/static/images/brand/Frame 126.png');
    background-size: cover;
    background-position: center;
    margin: 0px 0px 0px 0px;
    padding: 40px 30px 100px 30px; 
    text-align: left;
    color: white;
}
.text-section-3 {
    background-image: url('/static/images/brand/Frame 127.png');
    background-size: cover;
    background-position: center;
    margin: 0px 0px 0px 0px;
    padding: 40px 30px 100px 30px; 
    text-align: left;
    color: white;
}
.section-line {
    width: 20%;
    border: none;
    border-top: 1px solid black;
    opacity: 0.4;
    margin-top: 20px;
}

.section-line-b {
    width: 20%;
    border: none;
    border-top: 2px solid black;
    opacity: 0.4;
    margin-top: 20px;
}

.section-line-w {
    width: 20%;
    border: none;
    border-top: 2px solid white;
    opacity: 0.4;
    margin: 20px 0px 20px 0px;
}


.grid-section2 {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* 박스 섹션 스타일 */
.horizontal-boxes, .single-box {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    padding: 0 20px;
}

.box {
    background-color: #f4f4f4;
    padding: 15px;
    margin: 5px 0;
    border-radius: 5px;
}

/* 유튜브 비디오 영역 스타일 */
.youtube-video {
    margin: 20px 0px 0px 0px;
    padding: 0px;
}

.youtube-video iframe {
    max-width: 100%; 
    height: 200px;
    margin: 0px;
    padding: 0px;
    display:block;
}

.brand-value {
    margin: 20px 0px;
}

/* 탭메뉴 */
.tab-container {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    margin: 20px 20px;
}
.tab-container2 {
    background-color: #fff;
    margin: 20px 20px;
}
.content-section {
    padding: 50px 20px;
    max-width: 360px;
    margin: 0 auto;
}
.tab-menu {
    display: flex;
    justify-content: space-between;
    /* border-bottom: 2px solid #ddd; */
}
.tab-menu2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
}
.tab-content {
    display: none;
    align-items: center;
}
.tab-button {
    font-size: 14px;
    flex: 1;
    padding: 10px 5px;
    background-color: #ffffff;
    border: 1px solid #EBEBEB;
    cursor: pointer;
    color: black;
    font-family: 'Pretendard', sans-serif  !important; 
    transition: background-color 0.3s;
}
/* .tab-button:hover {
    background-color: #35B6E5;
    color: white;
} */
.tab-button.active {
    background-color: #35B6E5;
    color: white;
}
.tab-content.active {
    display: block;
}
.psg-image {
    width: 100%;
    height: auto;
    display: block;
}
.psg-box{
    position: absolute;
    bottom: -70px; /* 원하는 위치로 조정 */
    left: 20px; /* 원하는 위치로 조정 */
    right: 20px; /* 원하는 위치로 조정 */
    background-color: #386277;
    padding: 20px;
    color: white;
    line-height: 1.5; /* 줄 간격 조정 */
    
}
.psg-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;  /* 좌우 간격 */
    row-gap: 14px;     /* 위아래 간격 */
    max-width: 360px;
    margin: 20px 0px;
    padding: 10px;
}

.grid-item {
    border: 1px solid #EBEBEB;
    border-radius: 20px;
    padding: 8px 2px;
    text-align: center;
    background-color: #F3F7F8;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif  !important; 
}
.psg-textbox{
    background-size: cover;
    background-position: center;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.column {
    flex: 0 0 100%;
    max-width: 100%;    
}
.column-content {
    display: flex;
    align-items: center;
}
.column-image {
    width: 40%;
    height: 130px; /* 원하는 높이로 조정 가능 */
    object-fit: contain; /* 이미지가 div에 맞게 조절되면서 비율 유지 */
    margin-right: 10px;
}
.column-text {
    width: 60%;
    text-align: left;
}
.column hr {
    margin: 10px 0 0;
    border: none;
    border-top: 1px solid #EBEBEB;
}

.text-12 {
    font-size: 12px;
}
.text-13 {
    font-size: 13px;
}
.text-14 {
    font-size: 14px;
}
.text-15 {
    font-size: 15px;
}
.text-16 {
    font-size: 16px;
}
.text-18 {
    font-size: 18px;
}
.text-20 {
    font-size: 20px;
}
.text-bold{
    font-weight: bold;
}
.text-opacity80{
    opacity: 0.8;
}
.text-opacity60{
    opacity: 0.6;
}
.text-lh15 {
    line-height: 1.5;
}

.text-grd {
    background: linear-gradient(to right, #13A3DB, #1FCEC4);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    color: transparent;
}

.img-half{
    width: 50%;
}
.img-half2{
    width: 20%;
}
.img-100v{
    width: 100%;
}

.mt-0{
    margin: 0px 0px;
}
.mt-4{
    margin: 4px 0px;
}
.mt-10{
    margin: 10px 0px;
}
.mt-20{
    margin: 20px 0px;
}