:root{
  --black:#0b0b0b;
  --text:#111;
  --muted:#666;
  --line:#e7e7e7;
  --yellow:#FCF958;
  --pill:#111;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:#fff; color:var(--text); font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif; }
img{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }

.m-header{
  position:sticky; top:0; z-index:50;
  background: var(--black);
  padding: 10px 14px;
}
.m-header__inner{
  display:flex; align-items:center; justify-content:space-between;
}
.m-header__logoText{
  color:#ff2a2a; font-weight:800; letter-spacing:.5px; font-size:20px;
}
.m-header__actions{ display:flex; gap:12px; align-items: center; }
.icon-btn{
  width:32px; height:32px; border:0; border-radius:8px;
  background:transparent; color:#fff; font-size:18px;
}

.m-wrap{ max-width: 420px; margin:0 auto; }

.hero{
  padding: 14px 14px 18px;
  color:#fff;
}
.hero__badgeRow{
  display:flex; align-items:stretch; gap:10px;
  margin-bottom: 10px;
}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.75);
  background: rgba(0,0,0,.15);
  color:#fff;
}
.badge--cnet{ padding:6px 10px; font-weight:800; }
.badge--award{ padding:6px 10px; font-size:11px; line-height:1.1; font-weight:700; }

.hero__desc{
  margin:0;
  font-size:13px;
  line-height:1.6;
  opacity:.95;
  padding: 5px 13px;
}

.introCard{
  padding: 14px 14px 12px;
  background:#fff;
}
.introCard__head{ display:flex; align-items:center; gap:10px; }
.introCard__dot{
  width:24px; height:24px; border-radius:6px;
  background:#111; color:#fff; display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px;
}
.introCard__title{ margin:0; font-size:16px; font-weight:700; 
	color: #E81D1D;
  	display: inline-block;   /* transform 적용용 */
  	transform: skewX(-6deg);
}
.introCard__p{ margin:10px 0 12px; font-size:15px; line-height:1.65; color:#2a2a2a; }
.intro__text_s{ font-size:12px; }
.introCard__author{ display:flex; align-items:center; gap:10px; }

.introCard__author img,
.introCard__author .avatar{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* 오른쪽 인용 텍스트 덩어리 */
.introCard__meta{
  display: inline;       /* ⬅️ 핵심: 블록 말고 인라인 */
  font-size: 12px;
  line-height: 1.4;
}

.avatar{ width:36px; height:36px; border-radius:999px; background:#ddd; }
.introCard__name{ font-size:12px; font-weight:700; }
.introCard__role{ font-size:11px; color:var(--muted); margin-top:2px; }

/* pills */
.pills{
  position: sticky;
  top: 52px; /* header 높이에 따라 조정 */
  z-index: 40;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.pills__scroller{
  display:flex; gap:8px;
  padding: 10px 14px;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pills__scroller::-webkit-scrollbar{ display:none; }

.pill{
  flex: 0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pill.is-active{
  background: var(--yellow);
  color:#111;
  border-color: var(--yellow);
}

/* category section */
.cat{
  position: relative;
  padding: 14px;
}
.cat__title{
  margin: 0 0 6px;
  text-align:center;
  font-size: 20px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 7px;
  
}
.cat__desc{
  margin: 0 0 10px;
  text-align:center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  padding: 16px 0
}

.cat__desc::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;        /* 화면 전체 가로 */
  height: 100%;
  background-color: #f9f9f9;
  z-index: -1;
}

.cat__empty{ margin: 10px 0 0; color: var(--muted); font-size:12px; text-align:center; }

/* product block */
.product{ padding-top: 10px; }
.product__name{
  margin: 8px 0 10px;
  font-size: 23px;
  font-weight: 700;
}

.flag{   
  width: 100%;
  height: 10px; /* 이미지 실제 높이에 맞게 조정 */
  background-image: url("/images/ec_bar3x.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto; /* 가로 100% */
 }

.product__img{
  border-radius: 10px;
  overflow:hidden;
}
.product__img img{ display:block; width:100%; }

.buyBtn{
  display:flex; align-items:center; justify-content:center;
  height: 42px;
  margin: 10px 0 8px;
  border-radius: 10px;
  background: var(--yellow);
  color:#111;
  font-weight: 900;
  font-size: 15px;
}

/* QnA blocks */
.qna__block{ padding: 10px 0;/* border-bottom:1px solid var(--line);*/ }
.qna__q{
  margin:0 0 6px;
  font-size: 20px;
  font-weight: 700;
}
.qna__a{
  margin:0;
  font-size: 16px;
  line-height: 1.7;
  color:#222;
}


/* =========================
   Mobile image downscale overrides
   (HTML in 모바일에디터초이스_fixed.zip 기준)
========================= */

/* 상단 로고/검색 아이콘이 커보이면 한 번 더 강제 */
.m-header__logo img{
  height: 28px;
  width: auto;
  max-width: 120px;
}
.icon-btn img{
  width: 26px;
  /* height: 26px; */
}

/* 히어로 배지 이미지(award) 크기 줄이기 */
.badge--award img{
  height: 36px;          /* 기존 44px → 더 작게 */
  width: auto;
}

/* intro 카드 C 로고(점 안) 살짝 축소 */
.introCard__dot{
  width: 22px;
  height: 22px;
}

/* 프로필(아바타) 더 작게 */
img.avatar{
  width: 32px;           /* 기존 36px → 더 작게 */
  height: 32px;
}

/* ec_bar(상단 얇은 바) : 높이 제한(크게 보이는 원인 1순위) */
.flag img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 상품 이미지: 화면에서 너무 커지지 않게 폭/높이 제한 */
.product__img{
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

.product__img img{
  width: 100%;
  height: 100%;
  max-height: 42vh;      /* ✅ 핵심: 세로로 너무 커지는 것 방지 */
  object-fit: contain;
  display: block;
}

.hero{
  position: relative;
  padding-bottom: 28px;
    /* 전체 배경 */
  background-image: url("/images/top_bg3x.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  /* 기존 hero 패딩 유지 */
  padding-top: 55px;
  padding-bottom: 70px;
}

.hero__top{
  display: flex;
  align-items: center;   /* 세로 가운데 정렬 */
  gap: 10px;
  margin-bottom: 10px;
}

/* m_Badge */
.hero__badge{
  flex: 0 0 auto;
  height: 107px;          /* 모바일 기준 적정 크기 */
  width: auto;
  object-fit: contain;
}

/* title */
.hero__title{
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
}

.menu-btn{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: #B4FC8C;     /* 연두색 라운드 네모 */
  border-radius: 6px;      /* 이미지 기준 살짝 둥근 모서리 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;                /* 삼선 간격 */
}

/* 기존 아이콘 제거용 (있을 경우) */
.menu-btn img,
.menu-btn svg{
  display: none;
}

/* 삼선 생성 */
.menu-btn::before,
.menu-btn::after,
.menu-btn span{
  content: "";
  display: block;
  width: 14px;             /* 삼선 길이 */
  height: 2px;             /* 삼선 두께 */
  background: #131218;     /* 거의 검정 */
  border-radius: 1px;
}

.menu-btn span{
  /* 가운데 선 */
}

.menu-btn::before{
  /* 위 선 */
}

.menu-btn::after{
  /* 아래 선 */
}

/* 푸토 */
#cnetFooter {background-color: #000; position: relative; color: #959595; overflow: hidden;}
#cnetLegal {margin:25px 20px 25px 20px; position:relative; font-size:14px; z-index:100;}
#cnetLegal .disclosure .hed {color: #fff; text-transform: uppercase; font-weight: bold;}
#cnetLegal .copyright { margin-bottom:6px;}
#cnetLegal .copyright span {font-weight: bold; text-transform: uppercase; color: #fff;}
#cnetLegal a {padding-right: 6px; margin-right: 6px; position: relative; color: #959595; display: inline-block;}
#cnetLegal a::after {content: "/"; display: block; position: absolute; right: -5px; top: 0;}
#cnetLegal a:last-of-type::after {display: none;}

.closeButton{
  display: none;
  color :#FFF;
  background-color: #000;
  border: 0 !important;
}

body:not(.mobile-nav-open) .m-toolbar .headerWrapper  {
	height:120px; pointer-events: none; margin-top:-38px;
	bbackground: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 17%, rgba(0,0,0,0.3) 33%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.03) 73%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.5) 17%,rgba(0,0,0,0.3) 33%,rgba(0,0,0,0.2) 45%,rgba(0,0,0,0.03) 73%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.5) 17%,rgba(0,0,0,0.3) 33%,rgba(0,0,0,0.2) 45%,rgba(0,0,0,0.03) 73%,rgba(0,0,0,0) 100%);
}

/**/
.cnet-nav-panel, .cnet-nav-search-container {background-color:#000; color:#fff; opacity:0; visibility:hidden; width:100%; left:0; height:100%; position:fixed; overflow-y:scroll; top:44px;}
.cnet-nav-panel.showNav {z-index: 9999999; opacity: .9; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; visibility: visible;}
/**/
.cnet-nav-panel li, .cnet-nav-search-container li {position: relative;}
/* 로그인 정보 */
.cnet-nav-panel .logged-in {display:none;}
.cnet-nav-panel li .menuCaret, .cnet-nav-search-container li .menuCaret {right:25px; top:15px; position:absolute; width:7px; height:12px; color:#B80000; font-size:14px;}

.cnet-nav-panel li.reducedPadding a, .cnet-nav-search-container li.reducedPadding a {padding: 5px 0 8px 20px;}
.cnet-nav-panel li, .cnet-nav-search-container li {position: relative;}
.cnet-nav-panel .subnav, .cnet-nav-search-container .subnav {padding: 0; display: none;}
.cnet-nav-panel .subnav li, .cnet-nav-search-container .subnav li { font-weight: normal;}
/**/
.cnet-nav-panel li:last-of-type, .cnet-nav-panel li.head, .cnet-nav-search-container li:last-of-type, .cnet-nav-search-container li.head {border-bottom: none;}
.cnet-nav-panel a, .cnet-nav-search-container a {color: #fff; padding: 10px 0 8px 20px; display: inline-block; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 21px;}
.cnet-nav-panel .scrollable-list, .cnet-nav-search-container .scrollable-list {overflow-x: hidden; margin-top: 15px;}
/* 로그인 버튼 */
.cnet-nav-panel li.login-container, .cnet-nav-search-container li.login-container {margin: 20px;}
.cnet-nav-panel li .login, .cnet-nav-search-container li .login {padding: 12px; border: 2px solid #B80000; border-radius: 7px; text-align: center; font-size: 14px; text-transform: uppercase; letter-spacing: 2px;}
/* 확장 검색메뉴 */
.cnet-nav-search-container.showSearch {z-index:9999999; opacity:.9; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; visibility: visible;}
.cnet-nav-search-cancel svg {fill: #fff; opacity: 1;}
.cnet-nav-search-container li {box-shadow: none; border-bottom: 0;}
.cnet-nav-panel .search-form, .cnet-nav-search-container .search-form {padding: 0 13px 0 13px; margin: 0;}
.cnet-nav-panel .search-form .search-panel, .cnet-nav-search-container .search-form .search-panel {margin-right:5px; height:100%; width:100%;}
.cnet-nav-panel .search-form .search-panel input[type="search"], .cnet-nav-search-container .search-form .search-panel input[type="search"] {
    box-sizing:border-box; background-color:transparent; border:none; border-bottom-color:currentcolor; border-bottom-style: none; border-bottom-width: medium; font-size: 21px;
    height:32px; margin:25px 10px; padding:0 25px 0 0; width:calc(100% - 10px); border-bottom:1px solid #242424; color:#fff; -webkit-appearance:none;
}
.cnet-nav-panel .search-form .search-panel input[type="search"]::-moz-placeholder, .cnet-nav-search-container .search-form .search-panel input[type="search"]::-moz-placeholder {color: #fff; opacity: 1;}
/**/
.mobile-nav-search, .mobile-nav-toggle {cursor: pointer; border: none; background-color: transparent; padding: 0;}
.searchButton {top:30px; color:#B80000;}





