@charset "utf-8";
:root{
  --brand:#9ecb48;
  --brand-dark:#5e861a;
  --ink:#222;
  --muted:#777;
  --line:#e7e7e7;
  --soft:#f6f6f6;
}
*{box-sizing:border-box}
html{background:#f3f3f3}
body{width:min(100%,760px);min-height:100vh;margin:0 auto;background:#fff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit}
.goods-header{position:sticky;top:0;z-index:20;height:56px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 8px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96)}
.goods-back,.goods-home{width:42px;height:42px;border:0;background-color:transparent;background-image:url("/images/icon.png");background-size:349px 316px;background-repeat:no-repeat;font-size:0;color:transparent;overflow:hidden;cursor:pointer}
.goods-back{background-position:-67.7px -72.4px}
.goods-logo{justify-self:center;width:124px;height:36px;overflow:hidden;text-indent:-9999px;white-space:nowrap;background:url("/images/logo.png") -7.5px -10px/200px auto no-repeat}
.goods-home{justify-self:center;display:block;background-size:331.6px 300.2px;background-position:-10.5px -182.3px}
.goods-gallery{position:relative;overflow:hidden;background:#f5f5f5}
.goods-image-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.goods-image-track::-webkit-scrollbar{display:none}
.goods-image-slide{flex:0 0 100%;aspect-ratio:1/1;display:grid;place-items:center;scroll-snap-align:start;background:#f5f5f5}
.goods-image-slide img{width:100%;height:100%;display:block;object-fit:cover}
.goods-image-empty{color:#aaa;font-size:14px}
.goods-image-count{position:absolute;right:14px;bottom:14px;padding:5px 9px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:12px}
.goods-image-dots{position:absolute;left:50%;bottom:17px;display:flex;gap:5px;transform:translateX(-50%)}
.goods-image-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55)}
.goods-image-dots i.active{width:18px;border-radius:5px;background:#fff}
.goods-summary{padding:22px 18px}
.goods-code{margin:0 0 7px;color:#999;font-size:12px}
.goods-summary h1{margin:0;font-size:22px;line-height:1.4;letter-spacing:0}
.goods-price{display:flex;align-items:baseline;gap:10px;margin-top:16px}
.goods-price del{color:#999;font-size:14px}
.goods-price strong{font-size:25px}
.goods-price em{font-style:normal;color:#d71920;font-size:18px;font-weight:900}
.goods-meta{margin:22px 0 0;border-top:1px solid var(--line)}
.goods-meta div{display:grid;grid-template-columns:88px 1fr;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:14px}
.goods-meta dt{color:#777}
.goods-meta dd{margin:0;font-weight:700}
.goods-meta dd span{margin-left:6px;color:#888;font-size:12px;font-weight:400}
.goods-delivery,.goods-description,.goods-review-preview,.book-info,.book-content-section{padding:22px 18px;border-top:10px solid #f4f4f4}
.goods-delivery h2,.goods-description h2,.goods-review-preview h2,.book-info h2,.book-content-section h2{margin:0;font-size:18px}
.book-info dl{margin:14px 0 0;border-top:1px solid var(--line)}
.book-info div{display:grid;grid-template-columns:88px 1fr;padding:11px 0;border-bottom:1px solid #f0f0f0;font-size:14px}
.book-info dt{color:#777}
.book-info dd{margin:0;font-weight:700}
.goods-delivery ul{margin:14px 0 0;padding-left:19px;color:#555;font-size:14px;line-height:1.8}
.goods-content{max-width:100%;margin-top:18px;color:#444;font-size:14px;line-height:1.45;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.goods-content *{max-width:100%!important;box-sizing:border-box}
.goods-content p{margin:0 0 5px;line-height:1.45}
.goods-content p:has(> br:only-child){margin:0 0 4px;line-height:.7}
.goods-content p:has(> b > br:only-child){margin:0 0 4px;line-height:.7}
.goods-content b{line-height:1.45}
.goods-content img{max-width:100%!important;height:auto!important}
.goods-content table{width:100%!important;max-width:100%!important;table-layout:fixed}
.book-content-section{overflow:hidden}
.book-fold-content{position:relative;max-height:240px}
.book-content-section .goods-content{line-height:1.45}
.book-content-section .goods-content br+br{display:block;content:"";margin-top:4px}
.book-fold-content.open{max-height:none}
.book-fold-content.needs-fold:not(.open)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:56px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.book-fold-button{display:none;width:100%;height:42px;margin-top:12px;border:1px solid var(--line);border-radius:6px;background:#f7f7f7;color:#333;font-weight:800}
.book-fold-button.show{display:block}
.goods-review-preview>div:first-child{display:flex;align-items:center;justify-content:space-between}
.goods-review-preview span{color:var(--brand-dark);font-weight:900}
.goods-review-preview p{margin:14px 0 0;color:#888;font-size:13px}
.review-list{display:block;margin-top:16px;border-top:1px solid var(--line)}
.review-item{padding:16px 0;border-bottom:1px solid #f0f0f0}
.review-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-head strong{font-size:14px}
.review-head span{flex:0 0 auto;color:#999;font-size:12px;font-weight:400}
.review-content{margin-top:10px;color:#444;font-size:14px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
.review-reply{margin-top:12px;padding:12px;border-radius:6px;background:#f7f7f7}
.review-reply>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-reply strong{color:#5e861a;font-size:13px}
.review-reply span{color:#999;font-size:12px}
.review-reply p{margin:8px 0 0;color:#555;font-size:13px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
.review-empty{margin:18px 0 0!important;color:#888;text-align:center}
.review-more-button{width:100%;height:44px;margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#333;font-weight:900}
.review-more-button:disabled{opacity:.55;cursor:wait}
.goods-empty{min-height:calc(100vh - 56px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}
.goods-empty h1{font-size:21px}
.goods-empty p{color:#777;font-size:14px}
.goods-empty a{margin-top:14px;padding:12px 22px;border-radius:6px;background:var(--brand);color:#fff;font-weight:900}
@media (min-width:760px){
  body{box-shadow:0 0 30px rgba(0,0,0,.08)}
}
