@charset "utf-8";
/* 댓글 이벤트 v2 (PC/shop) — event.do 재설계. ev2_ 네임스페이스 */
:root{
  --ev-green:#3d6041; --ev-green-d:#2c4730; --ev-orange:#f8a31e; --ev-orange-d:#d98700;
  --ev-bg:#f3f1ec; --ev-line:#e5e2da; --ev-mut:#7a766c; --ev-sh:0 2px 12px rgba(60,80,60,.08);
}
.ev2{background:var(--ev-bg);color:#232323;font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;line-height:1.55}
.ev2 *{box-sizing:border-box}
.ev2_wrap{max-width:920px;margin:0 auto;padding:30px 24px}

/* 상단 세로형 자동재생 홍보영상 */
.ev2_vhero{position:relative;width:100%;overflow:hidden;background:#1c2c1f;display:flex;align-items:center;justify-content:center;padding:20px 0}
.ev2_vbgblur{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(22px) brightness(.45);transform:scale(1.15)}
.ev2_vfeed{position:relative;height:600px;aspect-ratio:9/16;border-radius:16px;overflow:hidden;z-index:1;box-shadow:0 10px 30px rgba(0,0,0,.45);background:#36502f}
.ev2_vfeed video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ev2_vfeed .ev2_vtag{position:absolute;top:13px;left:13px;background:rgba(0,0,0,.5);color:#fff;font-size:12px;font-weight:700;border-radius:20px;padding:5px 12px;z-index:2;display:flex;align-items:center;gap:6px}
.ev2_vfeed .ev2_vtag i{width:8px;height:8px;border-radius:50%;background:#ff5b5b;display:inline-block}
.ev2_vfeed .ev2_vsound{position:absolute;top:13px;right:13px;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;z-index:2;border:0;cursor:pointer}

/* 이벤트 헤더 + 본문 이미지 */
.ev2_cap{background:linear-gradient(135deg,#46724b,#6b8e54);color:#fff;text-align:center;padding:30px 24px 28px}
.ev2_cap .ev2_badge{display:inline-block;background:var(--ev-orange);color:#3a2700;font-weight:700;border-radius:20px;font-size:13px;padding:5px 14px;margin-bottom:10px}
.ev2_cap h2{font-size:30px;font-weight:900;letter-spacing:-.3px;text-shadow:0 1px 2px rgba(0,0,0,.15)}
.ev2_cap .ev2_period{margin-top:10px;background:rgba(0,0,0,.16);display:inline-block;border-radius:20px;font-size:15px;padding:4px 16px}
.ev2_imgs{background:#fff;max-width:680px;margin:0 auto}
.ev2_imgs img{width:100%;display:block}

/* 참여방법 */
.ev2_steps{display:flex;justify-content:space-between;gap:8px;background:#fff;border-radius:14px;box-shadow:var(--ev-sh);padding:20px;margin-bottom:30px}
.ev2_step{flex:1;text-align:center;position:relative}
.ev2_step .n{width:40px;height:40px;border-radius:50%;background:var(--ev-green);color:#fff;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.ev2_step.alt .n{background:var(--ev-orange);color:#3a2700}
.ev2_step p{color:#555;font-weight:500;font-size:13px}
.ev2_step:not(:last-child):after{content:"\203A";position:absolute;top:8px;right:-4px;color:#c4c0b6;font-size:18px}

/* 공통 섹션 타이틀 */
.ev2_block{margin-bottom:30px}
.ev2_sectt{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:16px}
.ev2_sectt h3{font-size:21px;font-weight:800}.ev2_sectt h3 b{color:var(--ev-green)}
.ev2_sectt .sm{font-size:13px;color:var(--ev-mut)}

/* 세로형 영상 reel */
.ev2_reel{display:flex;gap:12px;overflow-x:auto;padding:2px 0 6px}
.ev2_reel::-webkit-scrollbar{height:6px}.ev2_reel::-webkit-scrollbar-thumb{background:#cfcabf;border-radius:6px}
.ev2_vcard{flex:none;width:150px;height:266px;border-radius:14px;overflow:hidden;position:relative;background:#36502f;box-shadow:var(--ev-sh);cursor:pointer}
.ev2_vcard video,.ev2_vcard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ev2_vcard .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ev-green);display:flex;align-items:center;justify-content:center;font-size:16px;z-index:2}
.ev2_vcard .meta{position:absolute;left:0;right:0;bottom:0;padding:24px 11px 10px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;z-index:2}
.ev2_vcard .meta .vn{font-weight:700;font-size:13px}

/* 참여글(댓글) */
.ev2_cmt{background:#fff;border-radius:14px;box-shadow:var(--ev-sh);padding:24px;margin-bottom:30px}
.ev2_cmt > h3{font-size:20px;font-weight:800;margin-bottom:4px}.ev2_cmt > h3 b{color:var(--ev-green)}
.ev2_cmt .sub{font-size:13px;color:var(--ev-mut);margin-bottom:16px}
.ev2_write{border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);padding:18px;margin-bottom:22px}
.ev2_write textarea{width:100%;border:1.4px solid var(--ev-line);border-radius:10px;font-family:inherit;resize:none;height:84px;padding:13px;font-size:14px}
.ev2_write .meta{display:flex;align-items:center;gap:14px;margin-top:10px}
.ev2_addfile{font-size:13px;color:var(--ev-green);font-weight:600;border:1px dashed var(--ev-green);border-radius:8px;padding:8px 12px;background:#f6faf4;cursor:pointer}
.ev2_addfile input{display:none}
.ev2_write .meta .cnt{margin-left:auto;font-size:13px;color:#aaa}
.ev2_write .submit{background:var(--ev-orange);color:#3a2700;border:0;border-radius:10px;font-family:inherit;font-weight:800;font-size:15px;padding:13px 30px;cursor:pointer}
.ev2_prev{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ev2_prev .it{width:64px;height:64px;border-radius:8px;background:#dfe7da center/cover;position:relative;overflow:hidden}
.ev2_prev .it.vid{background:#000}
.ev2_prev .it video{width:100%;height:100%;object-fit:cover;display:block}
.ev2_prev .it .vplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;pointer-events:none;filter:drop-shadow(0 0 2px rgba(0,0,0,.6))}
.ev2_prev .it .rm{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.ev2_sort{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.ev2_sort a{font-size:13px;color:#666;border:1px solid var(--ev-line);background:#fff;border-radius:18px;padding:6px 14px;cursor:pointer;text-decoration:none}
.ev2_sort a.on{background:var(--ev-green);color:#fff;border-color:var(--ev-green);font-weight:700}
/* 댓글 목록 — eventComm shop 의 <table.bbs_table> 출력을 카드 느낌으로 정돈 */
.ev2_cmt .bbs_table{width:100%;border-collapse:collapse;display:block}
.ev2_cmt .bbs_table thead{display:block}
.ev2_cmt .bbs_table tr{display:block;border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);padding:13px 15px;margin-bottom:12px;background:#fff}
.ev2_cmt .bbs_table td{display:inline;border:0;padding:0}
.ev2_cmt .bbs_table td.date{color:#999;font-size:12px}
.ev2_cmt .bbs_table td.sort{color:#333;font-weight:700;font-size:13px;margin-left:8px}
.ev2_cmt .bbs_table td.title{display:block;margin-top:7px;font-size:14px;color:#333;line-height:1.6;white-space:normal}
.ev2_cmt .bbs_table td.state{float:right;color:#c0392b;font-size:12px;cursor:pointer}
.ev2_cmt .more{display:block;width:100%;text-align:center;background:#fff;border:1.4px solid var(--ev-green);color:var(--ev-green);font-family:inherit;font-weight:700;border-radius:10px;cursor:pointer;padding:13px;font-size:14px;margin-top:6px}
.ev2_yr{display:inline-block;background:#fdf3e3;color:var(--ev-orange-d);font-size:11px;font-weight:700;border-radius:5px;padding:1px 6px;margin-left:5px}

/* 연관생활재 */
.ev2_relgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:stretch}
.ev2_relcard{background:#fff;border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);overflow:hidden;cursor:pointer;display:flex;flex-direction:column}
.ev2_relcard .th{height:140px;background:#dfe7da;background-size:cover;background-position:center;overflow:hidden}
.ev2_relcard .th img,.ev2_planw .th img{width:100%;height:100%;object-fit:cover;display:block}
.ev2_relcard .bd{padding:11px 12px 12px;display:flex;flex-direction:column;flex:1}
.ev2_relcard .nm{font-size:13px;font-weight:600;color:#333;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px;line-height:1.35}
.ev2_relcard .pr{font-size:17px;font-weight:900;color:#222;margin:4px 0 0}.ev2_relcard .pr .won{font-size:12px;font-weight:600}
.ev2_relcard .cart{display:block;width:100%;text-align:center;background:#eef4ec;color:var(--ev-green);font-weight:700;border-radius:8px;padding:9px;font-size:13px;cursor:pointer;border:1px solid #cfe0c8;font-family:inherit;margin-top:auto}
.ev2_relcard .cart:hover{background:#e2efe4}

/* 관련 기획전 + 공유 */
.ev2_bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}
.ev2_planw{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);padding:12px 14px;margin-bottom:10px;cursor:pointer;text-decoration:none}
.ev2_planw .th{width:64px;height:64px;border-radius:9px;background:#ead9bd;background-size:cover;background-position:center;flex:none;overflow:hidden}
.ev2_planw .info{flex:1;min-width:0}
.ev2_planw .kr{font-size:12px;color:var(--ev-orange-d);font-weight:700}
.ev2_planw .tt{font-size:14px;font-weight:700;color:#2c2c2c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev2_planw .go{color:var(--ev-green);font-weight:800;font-size:20px;flex:none}
.ev2_sharew{background:#fff;border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);padding:18px;text-align:center;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.ev2_sharew .st{font-size:14px;font-weight:700;color:#333;margin-bottom:12px}
.ev2_shbtns{display:flex;gap:10px;justify-content:center}
.ev2_shbtns button{flex:1;border-radius:10px;padding:11px 4px;font-size:13px;font-weight:700;cursor:pointer;border:0;font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:5px}
.ev2_shbtns .ic{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px}
.ev2_sh-kakao{background:#fdf3d6;color:#5b4a18}.ev2_sh-kakao .ic{background:#fee500}
.ev2_sh-link{background:#eef3ec;color:var(--ev-green)}.ev2_sh-link .ic{background:#dbe6d8}
.ev2_sh-sms{background:#e8eef6;color:#3a5478}.ev2_sh-sms .ic{background:#d4e0ef}
/* 댓글 첨부 썸네일 */
.ev2_rvfiles{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.ev2_rvf{display:inline-block;width:84px;height:84px;border-radius:8px;background:#eee center/cover no-repeat;cursor:pointer;border:1px solid var(--ev-line);overflow:hidden;position:relative;vertical-align:top}
.ev2_rvfv{width:120px;background:#000}
.ev2_rvfv video{width:100%;height:100%;object-fit:cover;display:block}
.ev2_rvplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;border-left:15px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent;filter:drop-shadow(0 0 3px rgba(0,0,0,.6));pointer-events:none}
/* 첨부 라이트박스(다음/닫기, 모바일·PC 공통) */
.ev2_lb{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;display:none}
.ev2_lb.on{display:block}
.ev2_lb_bg{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.88)}
.ev2_lb_stage{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;padding:64px 70px}
.ev2_lb_stage img,.ev2_lb_stage video{max-width:100%;max-height:100%;border-radius:8px;box-shadow:0 8px 40px rgba(0,0,0,.5)}
.ev2_lb_close{position:absolute;top:16px;right:20px;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:28px;border:0;cursor:pointer;z-index:2;line-height:1}
.ev2_lb_prev,.ev2_lb_next{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:30px;border:0;cursor:pointer;z-index:2;line-height:1}
.ev2_lb_prev{left:18px}.ev2_lb_next{right:18px}
.ev2_lb_close:hover,.ev2_lb_prev:hover,.ev2_lb_next:hover{background:rgba(255,255,255,.3)}
.ev2_lb_count{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#fff;font-size:13.5px;background:rgba(0,0,0,.4);border-radius:14px;padding:5px 14px;z-index:2}
/* 댓글 카드(데모 스타일) + 1회제한 + 할인 */
.ev2_cmtcard{background:#fff;border:1px solid var(--ev-line);border-radius:12px;box-shadow:var(--ev-sh);padding:15px 17px;margin-bottom:12px}
.ev2_cmtcard.mine{border:1.6px solid var(--ev-green);background:#f6faf4}
.ev2_chead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:7px;gap:8px}
.ev2_cwho{font-weight:700;color:#2c2c2c;font-size:14.5px;display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;min-width:0}
.ev2_cname{font-weight:700;color:#2c2c2c}
.ev2_corg{font-style:normal;font-weight:500;color:#8a8a82;font-size:12px;margin-left:2px}
/* 가입연차 자긍심 배지 — 큰 숫자 + N년째 생협운동중 */
.ev2_cyrbadge{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,var(--ev-green),#5f8253);color:#fff;border-radius:22px;padding:4px 13px 4px 5px;font-size:12.5px;font-weight:800;white-space:nowrap;box-shadow:0 1px 5px rgba(60,80,60,.2)}
.ev2_cyrbadge b{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;background:var(--ev-orange);color:#3a2700;border-radius:50%;font-size:15px;font-weight:900;padding:0 4px}
.ev2_cbadge{display:inline-block;font-size:11px;font-weight:700;border-radius:6px;padding:1px 8px;margin-left:7px;vertical-align:middle}
.ev2_cbadge.mine{background:var(--ev-green);color:#fff}
.ev2_cbadge.fix{background:#fdebc8;color:#b9791b}
.ev2_cdate{color:#aaa;font-size:12.5px;flex:none}
.ev2_cbody{color:#3a3a3a;font-size:14.5px;line-height:1.65;word-break:break-all}
.ev2_cfoot{margin-top:9px;text-align:right}
.ev2_cdel{background:#f5f4ef;border:1px solid var(--ev-line);color:#a33;border-radius:7px;font-size:12px;padding:5px 13px;cursor:pointer;font-family:inherit}
.ev2_done{background:#eef3ec;border:1px solid #cfe0c8;border-radius:10px;padding:18px;text-align:center;color:var(--ev-green-d);font-weight:600;font-size:14.5px;margin-bottom:18px}
.ev2_done b{color:var(--ev-green)}
.ev2_relcard .pr .dc{color:#e2483d;font-weight:800;margin-right:4px;font-size:15px}
.ev2_relcard .oldpr{color:#aaa;font-size:12px;text-decoration:line-through;margin-top:-4px}
/* 가입연차·수정·댓글수 */
.ev2_cyr{display:inline-block;background:#fdf3e3;color:var(--ev-orange-d);font-size:11px;font-weight:700;border-radius:5px;padding:1px 8px;margin-left:7px;vertical-align:middle}
.ev2_cfoot{display:flex;gap:8px;justify-content:flex-end;margin-top:9px}
.ev2_cedit{background:#eef3ec;border:1px solid #cfe0c8;color:var(--ev-green);border-radius:7px;font-size:12px;padding:5px 14px;cursor:pointer;font-family:inherit;font-weight:600}
.ev2_cnt_num{color:var(--ev-green);font-weight:900;margin-left:4px}
.ev2_cancelbtn{background:#fff;border:1px solid var(--ev-line);color:#888;border-radius:10px;font-family:inherit;font-weight:700;padding:13px 22px;cursor:pointer}
@media(max-width:760px){.ev2_relgrid{grid-template-columns:repeat(2,1fr)}.ev2_bottom{grid-template-columns:1fr}}
