/* goodflap.co.kr 레이아웃 참고 — 폰트 로드 (Montserrat + Noto Sans KR) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* Scoped to the homepage; checkout and item detail styles are unaffected. */
body.jm-home-page{background:#fff!important;color:#242424!important}
body.jm-home-page #hd,body.jm-home-page #ft,body.jm-home-page>.footer,body.jm-home-page #text_size,body.jm-home-page #aside,body.jm-home-page #gnb_all{display:none!important}
body.jm-home-page #wrapper,body.jm-home-page #container,body.jm-home-page .shop-content{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;background:#fff!important;position:static!important}
.jm-home{font-family:Arial,'Malgun Gothic',sans-serif;font-size:12px;line-height:1.6;letter-spacing:0;color:#333;background:#fff}
.jm-home *{box-sizing:border-box}.jm-home a{color:inherit;text-decoration:none}.jm-home button,.jm-home input{font:inherit}.jm-home a:focus-visible,.jm-home button:focus-visible,.jm-home input:focus-visible{outline:2px solid #ed9299;outline-offset:3px}.jm-home h2,.jm-home p{margin:0}.jm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.jm-header{max-width:1200px;margin:auto}.jm-top{display:flex;justify-content:space-between;padding:9px 0;color:#999;font-size:10px;border-bottom:1px solid #f1f1f1}.jm-top div{display:flex;gap:17px}.jm-brand-row{height:115px;position:relative;display:flex;justify-content:center;align-items:center}.jm-logo{font:italic 55px Georgia,serif;color:#ed9299!important;line-height:1;text-align:center}.jm-logo span{display:block;font:8px Arial,sans-serif;letter-spacing:2px;margin-top:9px}.jm-search{position:absolute;right:0;bottom:29px;display:flex;border-bottom:1px solid #aaa;width:150px}.jm-search input{width:123px;border:0;background:transparent;padding:5px;outline-offset:0}.jm-search button{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer}.jm-nav{border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7;display:flex;justify-content:space-between;gap:20px;padding:15px 18px;white-space:nowrap;font-size:10px;letter-spacing:.5px;overflow-x:auto}.jm-nav a:hover{color:#ed9299}.jm-main{max-width:1200px;margin:auto}.jm-hero{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:27px}.jm-hero-card{position:relative;aspect-ratio:1.25;overflow:hidden;background:#f5f5f5}.jm-hero-photo{position:absolute;inset:0;background-image:url('../shop/img/jmimi-main.jpg');background-size:400% 100%;background-position:calc(var(--panel)*100%/3) center;transition:transform .35s}.jm-hero-card:hover .jm-hero-photo{transform:scale(1.025)}.jm-hero-label{position:absolute;bottom:0;left:0;right:0;height:24%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;color:#222}.jm-hero-label small{font-size:10px;letter-spacing:2px}.jm-hero-label strong{font-size:16px;letter-spacing:3px;font-weight:400}.jm-section{margin-top:72px}.jm-section-heading{text-align:center;position:relative;margin-bottom:27px}.jm-section-heading h2{font-size:17px;letter-spacing:2px;font-weight:500}.jm-section-heading p{font-size:10px;color:#999;margin-top:5px}.jm-more{position:absolute;right:0;bottom:0;font-size:9px;color:#999!important}.jm-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 18px}.jm-product{min-width:0;position:relative}.jm-photo{display:block;aspect-ratio:4/5;background:#f8f8f8;overflow:hidden}.jm-photo img{width:100%!important;height:100%!important;object-fit:contain;display:block;transition:transform .3s}.jm-photo:hover img{transform:scale(1.035)}.jm-product-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.6;margin-top:11px;min-height:35px}.jm-price{font-weight:600;font-size:11px;margin-top:5px}.jm-soldout{color:#999;font-size:9px}.jm-empty{padding:30px;text-align:center;color:#999}.jm-new-track{display:grid;grid-auto-columns:calc((100% - 72px)/5);grid-auto-flow:column;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#ddd transparent;padding-bottom:12px}.jm-new-track .jm-product{scroll-snap-align:start}.jm-slider-controls{position:absolute;right:0;bottom:0;display:flex;gap:4px}.jm-slider-controls button{border:1px solid #ddd;background:#fff;width:25px;height:25px;cursor:pointer;font-size:18px}.jm-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:65px}.jm-promo{height:180px;display:flex;justify-content:center;flex-direction:column;align-items:center;text-align:center}.jm-promo small{font-size:9px;letter-spacing:2px}.jm-promo strong{font:24px Georgia,serif;letter-spacing:2px;margin:10px 0}.jm-promo span{font-size:10px}.jm-review{background:#ece5df}.jm-watch{background:#e7e7e5}.jm-join{background:#f7e9e8}.jm-blue-banner{margin-top:75px;background:#d4e9f8;min-height:175px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#31526b!important}.jm-blue-banner>span{font-size:10px;letter-spacing:2px}.jm-blue-banner strong{font:30px Georgia,serif;letter-spacing:3px;margin:8px}.jm-blue-banner p{font-size:12px}.jm-support{margin:60px 0;display:grid;grid-template-columns:1.2fr 1fr;gap:70px}.jm-support h2{font-size:14px;font-weight:500;letter-spacing:2px;margin-bottom:17px}.jm-notice>a{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #eee;font-size:11px}.jm-notice>a>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jm-notice time{flex-shrink:0;color:#aaa;font-size:10px}.jm-help>strong{font-size:23px;font-weight:400}.jm-help>div{display:flex;gap:12px;margin-top:20px}.jm-help>div>a{border:1px solid #ddd;padding:9px 13px;font-size:11px}.jm-footer{background:#f6f6f6;color:#888;font-size:10px}.jm-footer-links{max-width:1200px;margin:auto;display:flex;gap:25px;padding:17px 0;border-bottom:1px solid #e7e7e7}.jm-footer-inner{max-width:1200px;margin:auto;display:flex;gap:70px;align-items:center;padding:38px 0 55px}.jm-footer-brand{font:italic 45px Georgia,serif;color:#ed9299}.jm-footer-inner p{margin:3px 0}
@media(max-width:1250px){.jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{margin-left:24px;margin-right:24px}}
@media(max-width:767px){.jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{margin-left:14px;margin-right:14px}.jm-top{justify-content:flex-end}.jm-top>span{display:none}.jm-top div{gap:13px;font-size:10px}.jm-brand-row{height:100px}.jm-logo{font-size:45px}.jm-search{position:static;width:28px;margin-left:20px;align-self:center;border:0}.jm-search input{display:none}.jm-search:focus-within{position:absolute;right:0;bottom:5px;width:150px;background:white;border-bottom:1px solid #aaa}.jm-search:focus-within input{display:block}.jm-nav{justify-content:flex-start;gap:22px;padding:12px 0}.jm-hero{grid-template-columns:repeat(2,1fr);margin-top:18px;gap:5px}.jm-hero-label small{font-size:8px}.jm-hero-label strong{font-size:13px}.jm-section{margin-top:43px}.jm-section-heading{margin-bottom:20px}.jm-section-heading h2{font-size:15px;letter-spacing:1.5px}.jm-more{position:static;display:block;margin-top:6px}.jm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.jm-new-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}.jm-product-name{font-size:11px}.jm-promos{gap:6px;margin-top:40px}.jm-promo{height:120px;padding:8px}.jm-promo small{font-size:7px;letter-spacing:.5px}.jm-promo strong{font-size:14px;letter-spacing:.5px}.jm-promo span{font-size:9px}.jm-blue-banner{margin-top:45px;min-height:140px}.jm-blue-banner strong{font-size:24px}.jm-support{margin:40px 0;grid-template-columns:1fr;gap:30px}.jm-footer-inner{display:block;padding:25px 0}.jm-footer-brand{margin-bottom:17px}.jm-footer-links{gap:18px}.jm-help>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.jm-home *{scroll-behavior:auto!important;transition:none!important}}

.jm-logo img{display:block;width:170px!important;height:85px!important;object-fit:contain}.jm-footer-brand img{width:140px;height:70px;object-fit:contain}
@media(max-width:767px){.jm-logo img{width:150px!important;height:75px!important}.jm-search,.jm-search:focus-within{position:absolute;right:0;bottom:0;width:115px;border-bottom:1px solid #ccc;margin:0;background:#fff}.jm-search input,.jm-search:focus-within input{display:block;width:90px;font-size:10px}.jm-search button{font-size:20px}}

/* Menu names and two rows verified against the original header capture. */
.jm-nav{display:block;padding:8px 0;font-size:12px;letter-spacing:0}
.jm-nav-row{display:flex;align-items:center;justify-content:center;gap:clamp(20px,3.1vw,53px);min-height:32px;white-space:nowrap}
.jm-nav .jm-sale-link{color:#ef6485}
@media(max-width:1000px){.jm-nav-row{gap:22px;width:max-content;min-width:100%;padding:0 12px}.jm-nav{overflow-x:auto;font-size:11px}}

/* Original banner assets and compact rounded search field. */
.jm-hero-card{aspect-ratio:1}.jm-hero-card>img{display:block;width:100%!important;height:auto!important;transition:transform .35s}.jm-hero-card:hover>img{transform:scale(1.025)}
.jm-search,.jm-search:focus-within{position:absolute;right:0;bottom:29px;display:flex;align-items:center;border:1px solid #eadfe1;border-radius:30px;padding:6px 15px;width:240px;background:#fcf9f9;margin:0}
.jm-search input,.jm-search:focus-within input{display:block;width:100%;border:0;outline-offset:4px;background:transparent;padding:0;font-size:11px}.jm-search button{border:0;background:transparent;font-size:24px;cursor:pointer}
@media(max-width:767px){.jm-search,.jm-search:focus-within{width:145px;padding:4px 10px;bottom:0}.jm-search input,.jm-search:focus-within input{font-size:10px}.jm-search button{font-size:20px}}

/* Independent photo-led composition using the owner's assets. */
.jm-brand-row{justify-content:flex-start;height:100px}.jm-logo img{width:150px!important;height:75px!important}
.jm-nav{display:flex;gap:24px;padding:12px 0;font-size:11px;flex-wrap:wrap;justify-content:flex-start;white-space:normal}.jm-nav-row{display:contents}.jm-nav a{white-space:nowrap;padding:4px 0}
.jm-hero{gap:14px;margin-top:24px}.jm-hero-card{border-radius:12px}.jm-section{margin-top:48px}.jm-section-heading{text-align:left;border-bottom:1px solid #eee5e7;padding-bottom:17px;margin-bottom:22px}.jm-section-heading h2{font-size:19px;letter-spacing:1px}.jm-more,.jm-slider-controls{bottom:16px}.jm-slider-controls{gap:8px}.jm-slider-controls button{border-radius:50%;width:32px;height:32px;border-color:#eadfe1}.jm-photo{border-radius:10px}.jm-price{font-size:12px}.jm-promos{gap:18px;margin-top:48px}.jm-promo{border-radius:12px;align-items:flex-start;padding:25px;text-align:left;height:155px}.jm-blue-banner{background:#faf3f5;color:#885a69!important;border-radius:14px;margin-top:48px}.jm-footer{background:#faf8f8}
@media(max-width:1000px){.jm-nav{flex-wrap:nowrap;overflow-x:auto;gap:20px}}
@media(max-width:767px){.jm-brand-row{height:85px}.jm-logo img{width:125px!important;height:65px!important}.jm-search,.jm-search:focus-within{bottom:20px}.jm-hero{gap:10px;margin-top:18px}.jm-section{margin-top:32px}.jm-section-heading h2{font-size:15px}.jm-more{position:absolute;margin:0}.jm-promos{grid-template-columns:1fr;gap:12px}.jm-promo{height:115px}.jm-blue-banner{margin-top:35px}}

@media(min-width:1001px){.jm-nav{gap:18px;font-size:10px;flex-wrap:nowrap;justify-content:space-between}}

/* Desktop brand alignment; mobile layout retained. */
@media(min-width:768px){.jm-brand-row{justify-content:center;height:100px}.jm-logo img{width:170px!important;height:85px!important}}

/* Main page uses a desktop-width viewport on mobile, allowing zoom. */
body.jm-home-page{min-width:0}.jm-home{min-width:0}

/* Four-column main layout and readable navigation. */
.jm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 40px}
.jm-new-track{grid-auto-columns:calc((100% - 120px)/4);gap:40px}
.jm-photo{max-width:200px;margin-left:auto;margin-right:auto}
.jm-product-name{font-size:13px;min-height:42px;color:#333}
.jm-price{font-size:14px;color:#222}
.jm-section-heading h2{font-size:23px;font-weight:600;letter-spacing:.7px;color:#333}
.jm-top{font-size:12px;color:#666}
.jm-more{font-size:12px;color:#666!important}
@media(min-width:768px){
 .jm-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 12px;font-size:14px;font-weight:500;overflow:visible;text-align:center}
 .jm-nav a{padding:6px 0;white-space:normal}
}
@media(max-width:767px){
 .jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{margin-left:10px;margin-right:10px}
 .jm-top div{gap:10px;font-size:11px}
 .jm-brand-row{height:90px;justify-content:space-between;gap:12px}
 .jm-logo img{width:130px!important;height:65px!important}
 .jm-search,.jm-search:focus-within{position:static;flex:1;max-width:200px;width:auto;margin:0;padding:7px 10px;align-self:center}
 .jm-search input,.jm-search:focus-within input{display:block;min-width:0;font-size:12px}
 .jm-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 3px;overflow:visible;white-space:normal;font-size:11px;font-weight:500;padding:8px 0;text-align:center;align-items:center}
 .jm-nav a{white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding:6px 1px}
 .jm-hero{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:14px}
 .jm-hero-card{border-radius:6px}
 .jm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 6px}
 .jm-new-track{grid-auto-columns:calc((100% - 18px)/4);gap:6px}
 .jm-photo{max-width:none;border-radius:5px}
 .jm-product-name{font-size:11px;line-height:1.5;min-height:33px;margin-top:7px}
 .jm-price{font-size:11px;letter-spacing:-.3px;overflow-wrap:anywhere}
 .jm-section-heading h2{font-size:17px}
 .jm-slider-controls{gap:5px}
 .jm-slider-controls button{width:27px;height:27px}
 .jm-more{font-size:10px}
}

.jm-section-more{text-align:center;margin-top:25px}.jm-section-more a,.jm-section-more button{display:inline-block;min-width:190px;padding:11px 24px;border:1px solid #ddd;border-radius:24px;background:white;color:#444;font-size:13px;cursor:pointer}.jm-section-more[hidden],.jm-slider-controls[hidden]{display:none}.jm-new-track.jm-expanded{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:32px 40px}
@media(max-width:767px){.jm-section-more{margin-top:18px}.jm-section-more a,.jm-section-more button{min-width:150px;padding:9px 18px;font-size:12px}.jm-new-track.jm-expanded{gap:20px 6px}}

/* Taller mobile banners, retaining the full original artwork. */
@media(max-width:767px){
 .jm-nav{font-size:10px;gap:2px 3px}
 .jm-nav a{padding:5px 1px}
 .jm-hero-card{aspect-ratio:4/5}
 .jm-hero-card>img{height:100%!important;object-fit:fill}
}

/* Wider desktop composition; mobile dimensions unchanged. */
@media(min-width:768px){
 .jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{width:100%;max-width:none;margin-left:0;margin-right:0}
}

/* Keep source banners near native size on wide PC screens. */
@media(min-width:768px){
 .jm-hero{width:100%;max-width:1224px;margin-left:auto;margin-right:auto;gap:14px}
 .jm-nav{font-size:18px;font-weight:600;gap:6px 12px}
 .jm-nav a{padding:8px 0}
 .jm-section-heading h2{font-size:26px}
 .jm-top{font-size:14px}
}

/* Balanced PC proportions across banner and product sections. */
@media(min-width:768px){
 .jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{width:90%;max-width:1400px;margin-left:auto;margin-right:auto}
 .jm-hero{width:100%;max-width:none;gap:20px}
 .jm-grid{gap:34px 20px}
 .jm-new-track{grid-auto-columns:calc((100% - 60px)/4);gap:20px}
 .jm-new-track.jm-expanded{gap:34px 20px}
 .jm-photo{width:100%;max-width:none;margin:0}
 .jm-product-name{font-size:14px;min-height:45px}
 .jm-price{font-size:15px}
 .jm-nav{font-size:18px;font-weight:600}
 .jm-section-heading h2{font-size:26px}
}

/* Lighter PC category text. */
@media(min-width:768px){.jm-nav{font-weight:400}}

/* Larger PC hero and smaller new-arrival photographs. */
@media(min-width:768px){
 .jm-hero{width:min(90vw,1560px);max-width:none;position:relative;left:50%;transform:translateX(-50%)}
 .jm-new .jm-photo{width:82%;margin-left:auto;margin-right:auto}
}

/* Taller mobile hero and smaller new-arrival photos. */
@media(max-width:767px){
 .jm-hero-card{aspect-ratio:2/3}
 .jm-new .jm-photo{width:82%;margin-left:auto;margin-right:auto}
}

/* Centered display titles and an 80-percent PC composition. */
.jm-section-heading{text-align:center}
.jm-section-heading h2{text-align:center}
@media(min-width:768px){
 .jm-header,.jm-main,.jm-footer-links,.jm-footer-inner{width:80%;max-width:none;margin-left:auto;margin-right:auto}
 .jm-hero{width:100%;max-width:none;left:auto;transform:none}
}

/* Larger mobile banners, three products per row and compact categories. */
@media(max-width:767px){
 .jm-grid,.jm-new-track.jm-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}
 .jm-new-track{grid-auto-columns:calc((100% - 12px)/3)}
 .jm-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
 .jm-hero-card{aspect-ratio:1/1}
 .jm-hero-card>img{object-fit:contain}
 .jm-nav{padding:3px 0;gap:0 3px}
 .jm-nav a{padding:3px 1px;line-height:1.35}
}
@media(min-width:768px){.jm-nav{padding:6px 0;gap:2px 12px}.jm-nav a{padding:5px 0}}

/* Smaller display names shared across desktop and mobile. */
.jm-section-heading h2{font-size:23px}
@media(max-width:767px){.jm-section-heading h2{font-size:15px}}

/* Consistent category photo frames and compact display spacing. */
.jm-grid .jm-photo{width:100%;max-width:none;aspect-ratio:1/1;margin:0}
.jm-grid .jm-photo img{width:100%!important;height:100%!important;object-fit:contain;object-position:center}
.jm-grid{gap:24px 14px}
@media(max-width:767px){.jm-grid{gap:16px 6px}}
/* Anchor existing notices to the top of this homepage. */
body.jm-home-page #hd_pop:not(.m-pop-swiper-wrap){position:absolute;top:0;left:0;width:100%;height:0;z-index:1000}

/* Center details beneath photos and keep NOW ITEM photo-only. */
.jm-product-name,.jm-price,.jm-soldout{text-align:center}
.jm-soldout{display:block}
.jm-new .jm-photo{width:72%;margin-left:auto;margin-right:auto}

/* Square banners, clean photo frames and a smaller NOW ITEM strip. */
.jm-hero-card{aspect-ratio:1/1;border-radius:0!important}
.jm-hero-card>img{object-fit:contain}
.jm-photo,.jm-photo img{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.jm-grid .jm-photo{width:100%!important;max-width:none!important;aspect-ratio:1/1}
.jm-photo img{max-width:100%!important;object-fit:contain}
.jm-new .jm-photo{width:64%;aspect-ratio:1/1;margin-left:auto;margin-right:auto}
/* Existing popup notices share the same top position. */
body.jm-home-page #hd_pop{position:absolute!important;top:20px!important;left:50%!important;transform:translateX(-50%)!important;width:80%!important;max-width:none;height:0!important;z-index:1000}
body.jm-home-page #hd_pop .hd_pops{position:absolute!important;top:0!important;left:0!important;max-width:100%}
body.jm-home-page #hd_pop .hd_pops_con{max-width:100%}
body.jm-home-page #hd_pop .hd_pop_swiper{overflow:visible}
body.jm-home-page #hd_pop .swiper-wrapper{display:grid!important;transform:none!important;height:auto!important}
body.jm-home-page #hd_pop .swiper-slide{grid-area:1/1;width:100%!important;pointer-events:none}
body.jm-home-page #hd_pop .swiper-slide .hd_pops{pointer-events:auto}
@media(max-width:767px){body.jm-home-page #hd_pop{width:calc(100% - 20px)!important;max-width:360px}}

/* 팝업 배너 노출 안 함 */
body.jm-home-page #hd_pop{display:none!important}

/* More space between display sections and a larger brand mark. */
@media(min-width:768px){
 .jm-section{margin-top:68px}
 .jm-logo img{width:195px!important;height:98px!important}
 .jm-brand-row{height:114px}
}
@media(max-width:767px){
 .jm-section{margin-top:48px}
 .jm-logo img{width:145px!important;height:73px!important}
 .jm-brand-row{height:96px}
}

/* Compact product details, matching the display-heading font family. */
.jm-product-name{font-family:Arial,'Malgun Gothic',sans-serif;font-weight:600;min-height:0;line-height:1.4}
.jm-price{font-weight:400;margin-top:2.5px}

/* More separation below categories and larger square NOW ITEM photos. */
.jm-new .jm-photo{width:100%;max-width:none;aspect-ratio:1/1;margin:0;padding:0}
@media(min-width:768px){.jm-hero{margin-top:40px}}
@media(max-width:767px){.jm-hero{margin-top:24px}}

/* Explicit square NOW ITEM frames even with inherited theme sizing. */
.jm-home .jm-new .jm-new-track .jm-photo{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1 / 1!important;margin:0!important;padding:0!important;border:0!important}
.jm-home .jm-new .jm-photo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important}

/* More breathing room between brand/search and category navigation. */
@media(min-width:768px){.jm-brand-row{margin-bottom:20px}}
@media(max-width:767px){.jm-brand-row{margin-bottom:14px}}

/* Smaller centered square NOW ITEM photos on desktop. */
@media(min-width:768px){
 .jm-home .jm-new .jm-new-track .jm-photo{width:80%!important;margin-left:auto!important;margin-right:auto!important}
}

/* Additional vertical space around the category navigation. */
@media(min-width:768px){.jm-brand-row{margin-bottom:32px}.jm-hero{margin-top:56px}}
@media(max-width:767px){.jm-brand-row{margin-bottom:24px}.jm-hero{margin-top:36px}}

/* Quicker, denser NOW ITEM layout and more space around hero banners. */
@media(min-width:768px){
 .jm-new-track{grid-auto-columns:calc((100% - 80px)/5);column-gap:20px}
 .jm-home .jm-new .jm-new-track .jm-photo{width:100%!important;margin:0!important}
 .jm-grid{column-gap:20px}
 .jm-nav{font-size:16px}
 .jm-hero{margin-top:72px}
 .jm-hero+.jm-new{margin-top:84px}
}
@media(max-width:767px){
 .jm-new-track{grid-auto-columns:calc((100% - 10px)/3);column-gap:5px}
 .jm-grid{column-gap:5px}
 .jm-nav{font-size:9.5px}
 .jm-hero{margin-top:48px}
 .jm-hero+.jm-new{margin-top:60px}
}

/* Tighter horizontal gaps between product photographs. */
@media(min-width:768px){
 .jm-grid{column-gap:10px}
 .jm-new-track{grid-auto-columns:calc((100% - 40px)/5);column-gap:10px}
}
@media(max-width:767px){
 .jm-grid{column-gap:3px}
 .jm-new-track{grid-auto-columns:calc((100% - 6px)/3);column-gap:3px}
}

/* Fill category card width without cropping portrait product photos. */
.jm-home .jm-grid .jm-photo{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:0!important}
.jm-home .jm-grid .jm-photo img{display:block;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0!important}

/* One-third of the previous horizontal product gaps. */
@media(min-width:768px){
 .jm-grid{column-gap:calc(10px / 3)}
 .jm-new-track{grid-auto-columns:calc((100% - 40px / 3)/5);column-gap:calc(10px / 3)}
}
@media(max-width:767px){
 .jm-grid{column-gap:1px}
 .jm-new-track{grid-auto-columns:calc((100% - 2px)/3);column-gap:1px}
}

/* Image-edge spacing measured from the original Cafe24 shop. */
@media(min-width:768px){
 .jm-home .jm-grid{column-gap:14px}
 .jm-new-track{grid-auto-columns:calc((100% - 56px)/5);column-gap:14px}
}
@media(max-width:767px){
 .jm-home .jm-grid{column-gap:6px}
 .jm-new-track{grid-auto-columns:calc((100% - 12px)/3);column-gap:6px}
}

/* Original Cafe24 category displays: desktop 5 x 2, mobile 3 x 2. */
@media(min-width:768px){
 .jm-home .jm-grid{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:14px;row-gap:80px}
}
@media(max-width:767px){
 .jm-home .jm-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:6px;row-gap:14px}
 .jm-home .jm-grid>.jm-product:nth-child(n+7){display:none}
}

/* Restore the original main-page customer review carousel. */
#nl-review{margin-top:68px}#nl-review .nl-wrap{width:100%;max-width:none;margin:0}
.nl-review-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}
.nl-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nl-review-copy {
  padding: 14px 4px 0;
}
.nl-review-product {
  font-size: 13px;
  font-weight: 600;
  color: var(--nl-black, #111);
  margin-bottom: 4px;
}
.nl-review-stars {
  color: #d4af37;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.nl-review-text {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
}
.nl-review-more {
  text-align: center;
  margin-top: 40px;
}
.nl-review-head {
  text-align: center;
  margin-bottom: 40px;
}
.nl-review-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .35em;
  color: #111;
  margin: 0 0 12px;
  padding-left: .35em; /* letter-spacing로 생기는 시각적 좌우 비대칭 보정 */
}
.nl-review-head p {
  font-size: 13px;
  color: #999;
}

.nl-review-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.nl-review-scroll::-webkit-scrollbar {
  height: 6px;
}
.nl-review-scroll::-webkit-scrollbar-thumb {
  background: #ddd;
}
.nl-review-scroll .nl-review-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  .nl-review-scroll .nl-review-card {
    width: 160px;
  }
  .nl-review-head h2 {
    font-size: 24px;
  }
}

.nl-review-more {
  text-align: center;
  margin-top: 16px;
}
.nl-review-more .nl-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  border: none;
}
.nl-review-more .nl-btn:hover {
  background: #333;
}

/* ── 리뷰 슬라이더: 화살표로 넘기는 캐러셀 형식으로 교체 ── */
.nl-review-scroll.owl-carousel {
  display: block;
  overflow: visible;
  padding: 4px 4px 0;
}
.nl-review-scroll.owl-carousel .owl-stage-outer {
  overflow: hidden;
}
.nl-review-scroll.owl-carousel .owl-item .nl-review-card {
  flex: none !important;
  width: 100% !important;
}

/* 화살표 네비게이션: 카드 아래 중앙에 작게 */
.nl-review-scroll .owl-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}
.nl-review-scroll .owl-nav button.owl-prev,
.nl-review-scroll .owl-nav button.owl-next {
  background: none !important;
  border: none;
  color: #999;
  font-size: 28px;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
}
.nl-review-scroll .owl-nav button.owl-prev:hover,
.nl-review-scroll .owl-nav button.owl-next:hover {
  color: #111;
}
.nl-review-scroll .owl-nav button.disabled {
  opacity: .3;
  cursor: default;
}
.nl-review-scroll .owl-dots {
  display: none;
}

.nl-review-empty {
  width: 100%;
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 14px;
}

/* ── 전면 리뷰 캐러셀 카드: easyluxe-1.com(Judge.me 위젯)처럼 후기제목 -> 후기본문 요약 -> 상품명(작게) 순서로 재구성 ── */
.nl-review-copy {
  text-align: left;
  padding: 20px 4px 0;
}
.nl-review-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nl-review-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nl-review-product {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 리뷰 카드에 별점 다시 표시: 제목 위에 금색 별로 노출 ── */
.nl-review-stars {
  font-size: 13px;
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

#nl-review .nl-review-thumb img{object-fit:contain}
#nl-review .nl-review-scroll:not(.owl-loaded){display:flex;overflow-x:auto;gap:16px}
#nl-review .nl-review-scroll:not(.owl-loaded) .nl-review-card{width:calc((100% - 64px)/5);flex-shrink:0}
@media(max-width:1199px){#nl-review .nl-review-scroll:not(.owl-loaded) .nl-review-card{width:calc((100% - 48px)/4)}}
@media(max-width:899px){#nl-review .nl-review-scroll:not(.owl-loaded) .nl-review-card{width:calc((100% - 32px)/3)}}
@media(max-width:519px){#nl-review{margin-top:48px}#nl-review .nl-review-scroll:not(.owl-loaded) .nl-review-card{width:calc((100% - 16px)/2)}}

/* ======================================================================
   goodflap.co.kr 참고 레이아웃 — 헤더 / 메인 배너 / 푸터
   교체 가능한 이미지는 모두 /theme/basic/shop/img/custom/ 폴더에 있습니다.
   (logo.svg, banner-1~3.svg, cate-*.svg, sns-*.svg — 같은 파일명으로 덮어쓰면 교체됨)
   ====================================================================== */
.jm-home{
  --gf-accent:#C10000;
  --gf-text:#1a1a1a;
  --gf-border:#eee;
  --gf-gray:#6d6d6d;
  font-family:'Noto Sans KR','Montserrat',Arial,sans-serif;
}

.jm-gf-header{max-width:1400px}

.jm-gf-ticker{background:#000;color:#fff;overflow:hidden;white-space:nowrap;margin:0 calc(50% - 50vw)}
.jm-gf-ticker-track{display:inline-flex;gap:50px;padding:9px 0;animation:jmGfTicker 216s linear infinite}
.jm-gf-ticker-track span{font-size:12px;letter-spacing:.3px;padding-right:50px}
@keyframes jmGfTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.jm-gf-topbar{border-bottom:none}
.jm-gf-topbar-inner{display:flex;justify-content:space-between;align-items:center;height:50px;font-size:14px;color:var(--gf-text);max-width:1210px;margin:0 auto}
.jm-gf-topbar-left{display:flex;gap:14px;align-items:center}
.jm-gf-topbar-right{display:flex;gap:18px;align-items:center;color:var(--gf-text)}
.jm-gf-sitename{font-weight:700;font-size:17px;letter-spacing:.5px;color:var(--gf-text)}
.jm-gf-hamburger{width:20px;height:14px;display:flex;flex-direction:column;justify-content:space-between;border:0;background:none;padding:0;cursor:pointer}
.jm-gf-hamburger span{display:block;height:2px;background:var(--gf-text)}
.jm-gf-topbar-right a{color:var(--gf-text);font-weight:500}
.jm-gf-topbar-right a:hover{color:var(--gf-accent)}

.jm-gf-logo-row{position:relative;display:flex;align-items:flex-start;justify-content:flex-start;padding:28px 0;max-width:1210px;margin:0 auto}
.jm-gf-brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px;position:relative}
.jm-gf-logo img{display:block;width:160px;height:160px;border-radius:50%;object-fit:cover;border:none}
.jm-gf-icons{display:flex;align-items:center;justify-content:center;width:100%;gap:16px}
.jm-gf-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;padding:0;cursor:pointer;color:var(--gf-text)}
.jm-gf-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
.jm-gf-icon:hover{color:var(--gf-accent)}
.jm-gf-search{display:none;align-items:center;gap:6px;border-bottom:1px solid #ccc;padding:4px 2px;position:absolute;left:0;top:100%;margin-top:8px;background:#fff;z-index:5}
.jm-gf-search.jm-gf-search-open{display:flex}
.jm-gf-search input{border:0;outline:0;background:transparent;font-size:12px;width:160px;font-family:inherit}
.jm-gf-search button{border:0;background:none;cursor:pointer;font-size:16px;color:var(--gf-text)}

.jm-gf-cate-nav{border-top:none;border-bottom:none;padding:22px 0;margin-top:16px}
.jm-gf-cate-nav ul{display:flex;justify-content:flex-start;gap:20px;list-style:none;margin:0;padding:0;overflow-x:auto}
.jm-gf-cate-nav li{flex:0 0 auto;text-align:center}
.jm-gf-cate-nav a{display:flex;flex-direction:column;align-items:center;gap:8px;color:#000;font-weight:700;font-size:11px;letter-spacing:.3px;text-transform:uppercase}
.jm-gf-cate-nav img{width:80px;height:80px;border-radius:50%;border:none;object-fit:cover;background:#fafafa}
.jm-gf-cate-nav a:hover img{border-color:var(--gf-accent)}
.jm-gf-cate-nav a:hover{color:var(--gf-accent)}
.jm-gf-sale{color:var(--gf-accent)}

.jm-gf-banner{position:relative;width:100%;max-width:1400px;margin:40px auto 0;overflow:hidden}
.jm-gf-banner-track{display:flex;transition:transform .5s ease}
.jm-gf-banner-slide{flex:0 0 100%;display:block;line-height:0;padding:0 10px;box-sizing:border-box}
.jm-gf-banner-slide img{display:block;width:100%;height:auto;border-radius:40px}
.jm-gf-banner-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.85);font-size:20px;line-height:1;cursor:pointer;color:var(--gf-text)}
.jm-gf-banner-prev{left:16px}
.jm-gf-banner-next{right:16px}
.jm-gf-banner-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px}
.jm-gf-banner-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.6);cursor:pointer;padding:0}
.jm-gf-banner-dots button.active{background:#fff}

.jm-gf-footer{background:#f5f5f5;color:var(--gf-text)}
.jm-gf-footer-inner{max-width:1400px;margin:0 auto;display:flex;flex-wrap:wrap;gap:60px;padding:60px 20px 40px}
.jm-gf-footer-col{flex:1;min-width:200px}
.jm-gf-footer-title{font-weight:700;font-size:14px;letter-spacing:1px;margin-bottom:14px}
.jm-gf-footer-tel{font-size:18px;font-weight:600;margin-bottom:6px}
.jm-gf-footer-hours{font-size:12px;color:var(--gf-gray);line-height:1.6}
.jm-gf-footer-links{display:flex;flex-direction:column;gap:8px;font-size:12px}
.jm-gf-footer-links a{color:var(--gf-gray)}
.jm-gf-footer-links a:hover{color:var(--gf-accent)}
.jm-gf-footer-text p{font-size:12px;color:var(--gf-gray);margin:4px 0}
.jm-gf-footer-sns{display:flex;justify-content:center;gap:16px;padding-bottom:24px}
.jm-gf-footer-sns img{width:28px;height:28px}
.jm-gf-footer-copyright{text-align:center;font-size:11px;color:#999;border-top:1px solid #e5e5e5;padding:16px 0}

@media(max-width:767px){
  .jm-gf-topbar-inner{height:40px;font-size:12px}
  .jm-gf-topbar-left{gap:10px;margin-left:14px}
  .jm-gf-topbar-right{gap:10px;margin-right:14px}
  .jm-gf-sitename{font-size:13px}
  .jm-gf-logo-row{padding:18px 0}
  .jm-gf-logo img{width:100px;height:100px}
  .jm-gf-brand{margin-left:14px}
  .jm-gf-icons{gap:12px}
  .jm-gf-search{border:1px solid var(--gf-border);padding:6px 8px}
  .jm-gf-cate-nav ul{gap:10px;justify-content:flex-start;padding:0 12px}
  .jm-gf-cate-nav img{width:48px;height:48px}
  .jm-gf-banner{margin-top:24px}
  .jm-gf-banner-slide{padding:0 6px}
  .jm-gf-banner-slide img{border-radius:20px}
  .jm-gf-banner-arrow{width:28px;height:28px;font-size:16px}
  .jm-gf-footer-inner{gap:30px;padding:40px 16px 30px}
}
.jm-gf-cate-nav li:first-child{margin-left:auto}.jm-gf-cate-nav li:last-child{margin-right:auto}
body,#wrapper,#container,#contents{background:#fff!important}

/* 모바일 상품 목록: 찜/장바구니 버튼이 가격과 겹치지 않도록 가격 아래로 배치 */
@media (max-width:767px){
  #sct .sct_bottom{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;position:static!important}
  #sct .sct_op_btn{position:static!important;right:auto!important;bottom:auto!important;display:flex!important;gap:6px!important;margin:0!important}
}

/* 모바일 상품 상세설명: 고정폭 표/이미지/동영상/긴 글이 화면 밖으로 잘리지 않도록 화면 폭에 맞춤 */
@media (max-width:767px){
  #sit_inf_explan{overflow-x:hidden;word-break:break-word}
  #sit_inf_explan *{max-width:100%!important;box-sizing:border-box}
  #sit_inf_explan table,#sit_inf_explan tbody,#sit_inf_explan thead,#sit_inf_explan tfoot,#sit_inf_explan tr,#sit_inf_explan th,#sit_inf_explan td{display:block!important;width:100%!important;padding-left:0!important;padding-right:0!important}
  #sit_inf_explan div,#sit_inf_explan p,#sit_inf_explan section,#sit_inf_explan center,#sit_inf_explan span,#sit_inf_explan a{width:auto!important}
  #sit_inf_explan img{height:auto!important}
  #sit_inf_explan iframe,#sit_inf_explan video,#sit_inf_explan embed,#sit_inf_explan object{width:100%!important;height:auto!important;aspect-ratio:16/9}
  #sit_inf_explan *{white-space:normal!important}
  #sit_inf_explan pre{white-space:pre-wrap!important}
}
