/* 멜로디펫 v8: v7.css 위에 얹는다. v7 3차 평가의 남은 지적(첫 화면 한 장면, 되풀이 틀, 오려 붙인 컷)을 고친 배치 */

/* 홈 첫 화면: 제목, 값, 단추를 사진 안에 */
.hero8{position:relative;min-height:clamp(640px,92svh,980px);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:#2a1c10}
.hero8>.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.hero8::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(24,15,7,.86) 0,rgba(24,15,7,.55) 26%,rgba(24,15,7,.12) 50%,rgba(24,15,7,0) 62%),linear-gradient(90deg,rgba(24,15,7,.42) 0,rgba(24,15,7,0) 52%)}
.hero8 .wrap{position:relative;z-index:1;width:100%;padding-bottom:96px}
.h8t{max-width:660px}
.h8b{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.hero8 .badge{position:static;width:92px;height:92px;flex:none;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.hero8 .eyebrow{color:var(--lime)!important;margin:0}
.hero8 h1{font-size:clamp(40px,5vw,72px);letter-spacing:-.035em;line-height:1.08;margin:0 0 .18em;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.hero8 br.m{display:none}
.hero8 .hero-sub{color:rgba(255,255,255,.9);margin:0}
.h8buy{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:26px}
.hero8 .price{margin:0;color:#fff}
.hero8 .btns{margin:0}
.hero8 .btn.line{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7);border-color:transparent}
.h8facts{position:absolute;z-index:1;right:max(24px,calc((100vw - 1180px)/2 + 24px));bottom:34px;display:flex;gap:0;margin:0;padding:0;list-style:none;font-size:13.5px;color:rgba(255,255,255,.72)}
.h8facts li{padding:0 16px;border-left:1px solid rgba(255,255,255,.28)}
.h8facts li:first-child{border-left:0}
.h8facts b{color:#fff;font-weight:700}
@media(max-width:960px){
  .hero8{min-height:0;flex-direction:column;align-items:stretch;background:#21150b}
  .hero8>.bg{position:relative;height:auto;aspect-ratio:1/1.02;object-position:30% 40%}
  .hero8::after{inset:0 0 auto;height:calc(100vw * 1.02);background:linear-gradient(0deg,#21150b 0,rgba(33,21,11,.6) 22%,rgba(33,21,11,0) 46%)}
  .hero8 .wrap{margin-top:-130px;padding-bottom:26px}
  .hero8 h1{font-size:clamp(36px,10vw,48px)}.hero8 br.m{display:inline}
  .hero8 .badge{width:72px;height:72px}
  .h8facts{position:static;flex-wrap:wrap;gap:8px 0;padding:0 16px 30px;font-size:13px}
  .h8facts li{padding:0 12px}.h8facts li:first-child{padding-left:0}
}

/* 홈 제품 소개 (실제 생활 장면) */
.intro8{background:#f2efea}.intro8 .bm .cover{object-position:40% 50%}
.intro8 .badge{position:static;width:116px;height:116px;margin:16px 0 6px;display:block}

/* 끝맺음 넷: 페이지마다 다른 모양 */
.end8 small{display:block;font-size:14px;font-weight:700;letter-spacing:.02em;color:var(--green)}
.end8 b{display:block}
.end8 .btn.line em{font-style:normal;opacity:.75;margin-left:4px}
/* 1 글과 다음 장 미리보기 */
.etype{background:#fff;padding:110px 0 120px;border-top:1px solid var(--line)}
.etitle{display:grid;grid-template-columns:1fr auto;align-items:end;gap:0 30px;text-decoration:none;color:var(--ink)}
.etitle small{grid-column:1/-1;margin-bottom:12px}
.etitle b{font-size:clamp(34px,4.4vw,62px);font-weight:850;letter-spacing:-.035em;line-height:1.12;max-width:900px}
.etitle i{font-style:normal;font-size:clamp(40px,5vw,72px);line-height:1;color:var(--green);transition:transform .25s}
.etitle:hover i{transform:translateX(8px)}
.ethumbs{list-style:none;margin:44px 0 34px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ethumbs li{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:5/4}
.ethumbs img{width:100%;height:100%;object-fit:cover;display:block}
.ethumbs span{position:absolute;left:14px;bottom:12px;color:#fff;font-weight:700;font-size:15px;text-shadow:0 1px 10px rgba(0,0,0,.5)}
/* 2 다음 장 사진을 화면 가득 */
.ephoto{position:relative;min-height:min(820px,90svh);display:flex;align-items:flex-start;overflow:hidden;background:#e9e2d8}
.ephoto>.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.ephoto::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(240,234,226,.94) 0,rgba(240,234,226,.55) 24%,rgba(240,234,226,0) 42%)}
.ephoto .wrap{position:relative;z-index:1;width:100%;padding-top:80px}
.ephoto b{font-size:clamp(30px,3.6vw,50px);font-weight:850;letter-spacing:-.03em;line-height:1.15;margin:10px 0 22px;max-width:640px;color:var(--ink)}
/* 3 앞 장면 안의 한 줄 (맞춤 조절 끝) */
.nextline{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:26px;padding:14px 22px;border-radius:999px;background:rgba(255,255,255,.72);color:var(--ink);text-decoration:none;font-weight:750;font-size:18px;backdrop-filter:blur(4px)}
.nextline small{font-size:13px;color:var(--green);font-weight:700}
.nextline i{font-style:normal;color:var(--green);transition:transform .25s}
.nextline:hover i{transform:translateX(6px)}
/* 4 밝은 바탕 가운데, 값과 넓은 사진 */
.ecard{background:#f6f1ea;padding:110px 0 0;overflow:hidden}
.ecard b{font-size:clamp(32px,4vw,56px);font-weight:850;letter-spacing:-.035em;margin:10px 0 0}
.ecard .price{margin:14px 0 0}
.ecard .btns{justify-content:center;margin-top:22px}
.ecimg{display:block;width:100%;max-width:1180px;margin:56px auto 0;aspect-ratio:21/9;object-fit:cover;object-position:50% 74%;border-radius:28px 28px 0 0}
@media(max-width:960px){
  .etype{padding:70px 0 80px}.ethumbs{grid-template-columns:1fr 1fr;gap:10px}
  .ephoto{min-height:640px}.ephoto .wrap{padding-top:52px}
  .ecard{padding-top:70px}.ecimg{aspect-ratio:4/3;margin-top:40px;border-radius:20px 20px 0 0}
  .nextline{font-size:16px;padding:12px 18px}
}

/* 맞춤 조절의 기능 이름표 (check 줄 대신) */
.flab{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--green);background:var(--mint);border-radius:6px;padding:6px 10px;margin:0 0 18px}
.bg-dark .flab,.bg-dark2 .flab,.timersec .flab{color:var(--lime);background:rgba(127,221,36,.12)}
.lapcard .flab{margin-bottom:14px}
/* 어디서나 칸의 아이콘 (check 줄 대신) */
.bic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff;color:var(--green);margin-bottom:18px}
.bic .ic{width:28px;height:28px}
.bx.dark .bic,.bx.green .bic{background:rgba(255,255,255,.1);color:var(--lime)}

/* 20가지 사운드: 와디즈 s18 실사 한 장면 */
.s18sec{display:grid;grid-template-columns:1.05fr 1fr;background:#f0f0f0;min-height:640px}
.s18img{position:relative;overflow:hidden}
.s18img .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:0 60%}
.s18t{align-self:center;padding:80px clamp(24px,6vw,110px) 80px 40px;max-width:640px}
.s18t .chips li{background:#fff}
@media(max-width:960px){.s18sec{grid-template-columns:1fr;min-height:0}.s18img{aspect-ratio:1/1}.s18t{padding:48px 24px 56px}}
/* 와디즈 s32 제목 */
.s32{margin:16px 0 0;font-size:14px;color:var(--ink2);line-height:1.55}.s32 b{display:block;font-size:17px;color:var(--ink);margin-bottom:4px}

/* 8시간 장면: 세로 사진을 늘리지 않고 오른쪽 기둥에 */
.scene8.n8{min-height:0;background:#17100b}
.scene8.n8::after{display:none}
.scene8.n8 .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:70px;align-items:center;min-height:0;padding-top:110px;padding-bottom:110px}
.n8img{margin:0;order:2}.n8img .cover{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 46%;border-radius:26px;display:block}
.n8t{display:grid;gap:10px}
.n8 .s8b{grid-row:auto;grid-column:auto;grid-template-columns:1fr;gap:18px;align-items:start}
@media(max-width:960px){.scene8.n8 .wrap{grid-template-columns:1fr;gap:34px;padding-top:64px;padding-bottom:64px;min-height:0}.n8img{order:0}.n8img .cover{aspect-ratio:1/1}}

/* 쓰는 방법 세 칸: 영상을 원본 비율 그대로 (카드 구멍이 잘리지 않게) */
.ways3 video{aspect-ratio:16/9;object-position:50% 70%}

/* 어디서나 블루투스와 SD 칸 */
.bx.s18bx{background:#f0f0f0}
.bxs18{display:block;width:calc(100% + 36px);margin:0 -36px -36px 0;justify-self:end;aspect-ratio:860/740;object-fit:cover;object-position:0 100%;border-radius:0}
.sd8{display:block;width:calc(100% + 36px);margin:0 0 -36px -36px;max-width:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%);mask-image:linear-gradient(180deg,transparent 0,#000 22%)}
@media(max-width:960px){.bxs18{width:calc(100% + 28px);margin:0 -28px -28px 0}.sd8{width:calc(100% + 28px);margin:0 0 -28px -28px}}

/* 어디서나: 소음 이야기는 한 줄로 */
.livline{background:#fff;padding:54px 0;border-bottom:1px solid var(--line)}
.livline .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px 40px;flex-wrap:wrap}
.livline p{margin:0;max-width:720px;font-size:18px;color:var(--ink2)}.livline p b{color:var(--ink)}

/* 돌봄 현장 세 컷: 화면 끝까지 크게 (로고가 읽히도록) */
.trio.cap.care8{width:100vw;margin-left:calc(50% - 50vw);gap:6px}
.trio.cap.care8 img{aspect-ratio:4/5;border-radius:0}
.care8 figure:nth-child(1) img{object-position:22% 70%}.care8 figure:nth-child(2) img{object-position:28% 70%}.care8 figure:nth-child(3) img{object-position:40% 60%}
.trio.cap.care8 figcaption{padding:16px 24px 0}
@media(max-width:960px){.trio.cap.care8{gap:14px}.trio.cap.care8 img{aspect-ratio:4/3}}

/* 제품 정보: 카드 대신 선으로 */
.bubbles{gap:0 60px}
.bubbles .review{background:none;border:0;border-top:1px solid #d5d5d5;border-radius:0;padding:34px 0 30px;box-shadow:none}
.bubbles .review .tab{position:static;margin:0 0 12px}
.b2cards{gap:0}.b2cards>div{border:0;border-left:1px solid rgba(255,255,255,.22);border-radius:0;padding:6px 26px}.b2cards>div:first-child{border-left:0;padding-left:0}
.cert3{gap:0}.cert3>div{border:0;border-left:1px solid var(--line);border-radius:0;background:none;padding:6px 30px}.cert3>div:first-child{border-left:0;padding-left:0}
@media(max-width:960px){.b2cards>div:nth-child(odd){border-left:0;padding-left:0}.b2cards>div{padding:16px 16px}
  .cert3>div{border-left:0;border-top:1px solid var(--line);padding:20px 0}.cert3>div:first-child{border-top:0}}

/* 1차 손질 (캡처 검토) */
/* 첫 화면: 사진을 덜 확대해 제품을 위로, 글 덩어리를 낮게 */
.hero8{min-height:clamp(620px,86svh,900px)}
.hero8>.bg{object-position:50% 100%}
.hero8 .wrap{padding-bottom:70px}
.hero8 h1{font-size:clamp(40px,4.4vw,62px)}
.h8b{margin-bottom:6px}.hero8 .badge{width:76px;height:76px}
.h8buy{margin-top:20px}
@media(min-width:961px){.hero8 .wrap{padding-left:max(24px,calc((100vw - 1180px)/2 + 24px));max-width:none}.h8t{max-width:560px}}
/* 제품 소개 로고를 어둡게 */
.intro8 .so-dark{width:170px;filter:invert(1);margin:14px 0 16px}
/* 8시간 장면: 밝은 바탕으로 바꿔 어두운 구역이 둘 이어지지 않게, 빈 줄 없애기 */
.scene8.n8{background:#f6f1ea;color:var(--ink)}
.scene8.n8 .wrap{grid-template-rows:none;align-items:center}
.n8 .s8b p{color:var(--ink2)}.n8 .s8n b{color:var(--green)}.n8 .s8b .g{color:var(--green)}.n8 .s8a .checkline{color:var(--green)}
/* 끝맺음 사진: 글을 오른쪽 빈 벽에 */
.ephoto .wrap{display:flex;justify-content:flex-end}
.ephoto .wrap>div{max-width:520px}
.ephoto>.bg{object-position:50% 70%}
.ephoto::after{background:linear-gradient(270deg,rgba(240,234,226,.95) 0,rgba(240,234,226,.75) 30%,rgba(240,234,226,0) 52%)}
@media(max-width:960px){.ephoto{flex-direction:column;align-items:stretch;min-height:0}.ephoto>.bg{position:relative;height:auto;aspect-ratio:1/1;order:2}.ephoto::after{display:none}.ephoto .wrap{display:block;padding-bottom:30px}}
@media(min-width:961px){.ephoto{background:#efe9e1}.ephoto>.bg{width:74%;right:auto;-webkit-mask-image:linear-gradient(90deg,#000 78%,transparent);mask-image:linear-gradient(90deg,#000 78%,transparent)}.ephoto::after{display:none}.ephoto .wrap>div{max-width:400px}.ephoto b{font-size:clamp(28px,2.8vw,42px)}}
@media(max-width:960px){.h8facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.h8facts li,.h8facts li:first-child{border:0;padding:0}}

/* 형광 강조 줄이기: 형광 박스(.hl)는 페이지마다 한 곳만, 후기 이름표와 밑줄은 옅게 */
.rvw .tab,.review .tab{background:var(--mint)!important;color:var(--green)!important}
mark{background:linear-gradient(transparent 60%,rgba(127,221,36,.38) 0);color:inherit;padding:0 .05em}
.bg-dark mark,.bg-forest mark{background:linear-gradient(transparent 60%,rgba(127,221,36,.32) 0)}
/* 휴대폰 첫 화면: 5:4 로 잘라 제품과 개가 함께 들어오게 */
@media(max-width:960px){.hero8>.bg{aspect-ratio:5/4;object-position:50% 45%}.hero8::after{height:calc(100vw * .8);background:linear-gradient(0deg,#21150b 0,rgba(33,21,11,.55) 20%,rgba(33,21,11,0) 42%)}.hero8 .wrap{margin-top:-70px}}
/* 첫 화면 소제목은 흰색, VET 마크는 크게 */
.hero8 .eyebrow{color:rgba(255,255,255,.92)!important;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.hero8 .badge{width:104px;height:104px}
@media(max-width:960px){.hero8 .badge{width:84px;height:84px}}
@media(min-width:961px){.h8t{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:24px;max-width:700px}.h8b{display:contents}.hero8 .badge{grid-column:1;grid-row:1/4;align-self:center}.hero8 .eyebrow,.hero8 h1,.hero8 .hero-sub,.h8buy{grid-column:2}.hero8 .eyebrow{margin-bottom:8px}}
/* 어디서나 칸: 블루투스 사진은 자르지 않고, USB 사진은 잘린 윗면을 칸 위 끝에 붙인다 */
.bxs18{aspect-ratio:auto;object-fit:contain}
.bx .bxp.usb{margin:-36px -36px 0 0;width:calc(100% + 36px)}
@media(max-width:960px){.bx .bxp.usb{margin:-28px -28px 0 0;width:calc(100% + 28px)}}
/* 돌봄 현장 세 컷: 정사각으로 바꿔 제품과 강아지가 함께 들어오게 (펫 호텔 제품 잘림) */
.trio.cap.care8 img{aspect-ratio:1/1}
.care8 figure:nth-child(1) img{object-position:30% 70%}.care8 figure:nth-child(2) img{object-position:30% 70%}.care8 figure:nth-child(3) img{object-position:8% 60%}
/* 비교표: 왼쪽 항목 열의 검정 칸을 없애 위 제품 카드와 끝이 맞아 보이게 */
.cmp tbody th{background:none;color:var(--ink);text-align:left;font-weight:750;padding-left:4px;border-bottom:1px solid #d9d9d9}
.cmp tbody tr:first-child th{border-top:0}
/* 20가지 사운드 앱 화면 세 개: 아래가 잘리지 않게 전체를 보이고 다음 구역과 여백 */
.pickup{padding-bottom:96px}
.pickup .phones3{height:auto!important;align-items:flex-start}
.pickup .phones3 .ph,.pickup .phones3 .ph:last-child{height:auto!important;object-fit:fill}
@media(max-width:960px){.pickup{padding-bottom:56px}}
/* 휴대폰 머리글에도 작은 구매 문의 버튼 */
@media(max-width:960px){.top .btn{display:inline-flex;height:36px;padding:0 14px;font-size:14px;margin-left:auto}.top .menu{margin-left:6px}}
/* 창 높이가 낮은 데스크톱에서 제품 윗면이 잘리지 않게 첫 화면 최소 높이를 올림 */
@media(min-width:1300px){.hero8{min-height:max(770px,53.3vw)}}
