:root{--ink:#17261f;--green:#124b3c;--green2:#0a392e;--cream:#f7f1e5;--paper:#fffdf8;--gold:#c59135;--red:#ad4b34;--line:#d9cdb8;--shadow:0 20px 55px rgba(38,45,37,.14)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"Noto Sans KR",sans-serif}button,select,input{font:inherit}button,a{touch-action:manipulation}.shop-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:28px;min-height:76px;padding:10px clamp(18px,4vw,68px);background:rgba(255,253,248,.94);border-bottom:1px solid rgba(18,75,60,.14);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;font-family:"Gowun Batang";font-size:24px;font-weight:700}.brand span:last-child{display:flex;flex-direction:column;line-height:1.15}.brand small{font-size:10px;letter-spacing:.15em;color:var(--gold)}.brand strong{font-family:"Gowun Batang";font-size:18px}.shop-header nav{display:flex;gap:24px;margin-left:auto}.shop-header nav a{color:#405149;text-decoration:none;font-size:14px;font-weight:700}.header-actions{display:flex;align-items:center;gap:8px}.cart-button{border:0;border-radius:999px;padding:10px 15px;background:var(--green);color:#fff;font-weight:700;cursor:pointer}.cart-button b{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:5px;border-radius:50%;background:#efd391;color:var(--ink)}.close-button,.drawer-head button,.checkout-head button{display:grid;place-items:center;border:0;background:transparent;color:var(--ink);font-size:34px;line-height:1;cursor:pointer}.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1.1fr);min-height:650px;background:var(--green2);color:#fff;overflow:hidden}.hero-copy{align-self:center;padding:80px clamp(28px,7vw,120px)}.eyebrow,.section-heading p{margin:0 0 14px;color:#d9b669;font-weight:800;letter-spacing:.16em;font-size:13px}.hero h1{margin:0;font-family:"Gowun Batang";font-size:clamp(48px,6vw,90px);line-height:1.08;font-weight:400}.hero h1 em{color:#efd594;font-style:normal}.hero-copy>p:not(.eyebrow){max-width:610px;margin:28px 0;color:#e1e9e4;font-size:18px;line-height:1.8}.hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:34px}.hero-badges span{padding:8px 13px;border:1px solid rgba(255,255,255,.25);border-radius:99px;font-size:13px}.primary-button{display:inline-block;padding:15px 24px;border-radius:10px;background:#f0d08a;color:var(--ink);text-decoration:none;font-weight:800}.hero-image{position:relative;min-height:460px;background:#fff}.hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--green2),transparent 22%)}.hero-image img{width:100%;height:100%;object-fit:cover}.catalog-section,.detail-section,.order-section{padding:100px clamp(20px,6vw,100px)}.section-heading{max-width:760px;margin:0 auto 38px;text-align:center}.section-heading h2{margin:0;font-family:"Gowun Batang";font-size:clamp(34px,4vw,55px);font-weight:700}.section-heading span{display:block;margin-top:12px;color:#68756f}.section-heading.light h2,.section-heading.light span{color:#fff}.book-tabs{display:flex;justify-content:center;gap:9px;margin-bottom:30px}.book-tabs button,.detail-selector button{border:1px solid var(--line);border-radius:999px;padding:10px 16px;background:#fff;color:#546159;font-weight:700;cursor:pointer}.book-tabs button.active,.detail-selector button.active{border-color:var(--green);background:var(--green);color:#fff}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;max-width:1450px;margin:auto}.book-card{overflow:hidden;border:1px solid #ded4c2;border-radius:22px;background:var(--paper);box-shadow:0 13px 32px rgba(54,49,36,.08);transition:transform .25s}.book-card:hover{transform:translateY(-5px)}.book-card img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top}.book-card-copy{padding:20px}.book-card small{color:var(--gold);font-weight:800;letter-spacing:.1em}.book-card h3{margin:7px 0 5px;font-family:"Gowun Batang";font-size:22px}.book-card p{margin:0 0 15px;color:#6a756e;font-size:14px}.book-card-actions{display:flex;gap:8px}.book-card button{flex:1;border:0;border-radius:9px;padding:11px 8px;background:#e9e1d3;color:var(--ink);font-weight:700;cursor:pointer}.book-card button:last-child{background:var(--green);color:#fff}.builder-section{padding:100px clamp(20px,6vw,100px);background:var(--green2)}.builder-grid{display:grid;grid-template-columns:350px minmax(0,1fr);gap:28px;max-width:1400px;margin:auto}.option-panel,.preview-panel{border-radius:24px;background:var(--paper);box-shadow:var(--shadow)}.option-panel{align-self:start;padding:27px}.option-panel>label{display:block;margin:20px 0 8px;font-weight:800}.option-panel>label:first-child{margin-top:0}.option-panel label span{display:block;color:var(--gold);font-size:11px;letter-spacing:.12em}.option-panel select,.quantity-row input,.checkout-fields input,.checkout-fields select{width:100%;height:48px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 12px;color:var(--ink)}.fabric-choice{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:14px;margin-top:12px;padding:11px;border-radius:12px;background:#f0ebe1}.fabric-choice img{width:90px;height:70px;border-radius:8px;object-fit:cover}.fabric-choice strong{display:block}.fabric-choice span{font-size:12px;color:#68756f}.quantity-row{display:grid;grid-template-columns:1fr 42px 55px 42px;align-items:center;gap:6px;margin-top:20px}.quantity-row button{height:42px;border:0;border-radius:8px;background:#eee5d6;font-size:20px;cursor:pointer}.quantity-row input{text-align:center;padding:0}.selection-price{display:flex;justify-content:space-between;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.selection-price strong{font-size:22px;color:var(--green)}.add-cart-button{width:100%;margin-top:16px;border:0;border-radius:10px;padding:15px;background:var(--gold);color:#fff;font-weight:800;cursor:pointer}.preview-panel{min-width:0;padding:24px}.preview-top{display:flex;justify-content:space-between;align-items:center}.preview-top span{font-size:12px;color:var(--red);font-weight:800}.preview-top h3{margin:2px 0 0;font-family:"Gowun Batang";font-size:28px}.zoom-controls{display:flex;gap:6px}.zoom-controls button,.page-nav button{border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.zoom-controls button{min-width:40px;height:38px}.preview-stage{position:relative;display:grid;place-items:center;height:520px;margin:18px 0;overflow:hidden;border-radius:16px;background:#e8e0d1;cursor:grab;touch-action:none}.preview-stage:active{cursor:grabbing}.preview-stage img{max-width:80%;max-height:88%;object-fit:contain;user-select:none;pointer-events:none;transform-origin:center;will-change:transform;box-shadow:0 18px 45px rgba(0,0,0,.2)}.page-nav{display:flex;justify-content:center;align-items:center;gap:18px}.page-nav button{width:42px;height:36px;font-size:22px}.thumbnail-strip{display:grid;grid-template-columns:repeat(10,minmax(48px,1fr));gap:7px;margin-top:17px}.thumbnail-strip button{position:relative;border:2px solid transparent;border-radius:7px;padding:0;background:#ddd;overflow:hidden;cursor:pointer}.thumbnail-strip button.active{border-color:var(--gold)}.thumbnail-strip img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.thumbnail-strip span{position:absolute;right:2px;bottom:2px;min-width:18px;border-radius:4px;background:rgba(0,0,0,.68);color:#fff;font-size:9px}.preview-help{text-align:center;color:#758079;font-size:12px}.detail-section{background:#f9f5ec}.detail-selector{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:1100px;margin:0 auto 30px}.poster-card{max-width:1250px;margin:auto;padding:14px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.poster-card img{display:block;width:100%;height:auto;border-radius:11px}.order-section{background:#fff}.spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;max-width:1200px;margin:0 auto 35px}.spec-grid div{display:flex;flex-direction:column;min-height:145px;padding:22px;border-radius:16px;background:#f4eee2}.spec-grid b{color:var(--gold)}.spec-grid strong{margin:13px 0 5px;font-size:19px}.spec-grid span{color:#6d7871;font-size:13px}.order-guide-image{display:block;width:min(100%,1000px);height:auto;margin:auto;border:1px solid var(--line)}.notice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:1000px;margin:28px auto}.notice-grid div{display:flex;flex-direction:column;padding:18px;border-left:3px solid var(--gold);background:#faf7f0}.notice-grid span{margin-top:6px;color:#647069;font-size:13px}footer{display:flex;justify-content:space-between;gap:15px;padding:30px clamp(20px,6vw,100px);background:var(--green2);color:#e9dcc0}footer span{color:#b8c8c0}.cart-drawer{position:fixed;z-index:90;top:0;right:0;width:min(460px,100%);height:100dvh;padding:24px;background:#fff;transform:translateX(105%);transition:transform .3s;display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.2)}.cart-drawer.open{transform:none}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}.drawer-head small,.checkout-head small{color:var(--gold);font-weight:800;letter-spacing:.15em}.drawer-head h2,.checkout-head h2{margin:2px 0;font-family:"Gowun Batang";font-size:32px}.drawer-backdrop{position:fixed;z-index:80;inset:0;background:rgba(10,25,19,.5);opacity:0;visibility:hidden;transition:.3s}.drawer-backdrop.open{opacity:1;visibility:visible}.cart-items{overflow:auto}.cart-item{display:grid;grid-template-columns:68px 1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid #e9e1d3}.cart-item img{width:68px;height:68px;border-radius:8px;object-fit:cover}.cart-item h4{margin:0 0 3px}.cart-item p{margin:0;color:#748078;font-size:12px}.cart-item button{border:0;background:transparent;color:#a54a3a;cursor:pointer}.cart-empty{margin:auto;text-align:center;color:#7c857f}.cart-summary{margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.cart-summary>div{display:flex;justify-content:space-between;margin:8px 0}.cart-summary .total{margin-top:16px;font-size:20px}.cart-summary .total strong{color:var(--green)}.cart-summary>button,.pay-button{width:100%;margin-top:16px;border:0;border-radius:10px;padding:15px;background:var(--green);color:#fff;font-weight:800;cursor:pointer}.cart-summary>button:disabled{opacity:.4;cursor:not-allowed}dialog{width:min(980px,94vw);max-height:92vh;border:0;border-radius:24px;padding:0;color:var(--ink);box-shadow:0 30px 90px rgba(0,0,0,.35)}dialog::backdrop{background:rgba(7,23,17,.72)}#checkoutForm{padding:28px}.checkout-head{display:flex;justify-content:space-between;align-items:center}.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:20px}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.checkout-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.checkout-fields label:nth-child(n+4){grid-column:1/-1}.inline-field{display:grid;grid-template-columns:1fr auto;gap:7px}.inline-field button{border:0;border-radius:8px;background:#e9e1d3;padding:0 12px}.checkout-order{padding:20px;border-radius:14px;background:#f5f0e6}.checkout-order h3{margin-top:0}.checkout-order-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #ddd3c2;font-size:13px}.checkout-total{display:flex;justify-content:space-between;margin:18px 0}.checkout-total strong{font-size:20px;color:var(--green)}.agree{display:flex;gap:8px;font-size:12px}.payment-stop{margin-top:22px;padding:15px 18px;border-radius:10px;background:#fff4dd;border:1px solid #e5c783}.payment-stop span{font-weight:800;color:#8a6420}.payment-stop p{margin:4px 0 0;font-size:13px;color:#6e6250}.pay-button{background:var(--gold)}.toast{position:fixed;z-index:120;left:50%;bottom:32px;max-width:90%;padding:12px 18px;border-radius:999px;background:#17261f;color:#fff;box-shadow:var(--shadow);opacity:0;transform:translate(-50%,20px);transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:1000px){.shop-header nav{display:none}.hero{grid-template-columns:1fr}.hero-image{order:-1;min-height:380px}.hero-image:after{background:linear-gradient(0deg,var(--green2),transparent 32%)}.hero-copy{padding-top:30px}.book-grid{grid-template-columns:repeat(2,1fr)}.builder-grid{grid-template-columns:1fr}.option-panel{width:100%}.spec-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.shop-header{min-height:64px;padding:8px 12px}.brand small{display:none}.brand strong{font-size:14px}.brand-mark{width:35px;height:35px}.cart-button{font-size:12px;padding:9px}.hero{min-height:0}.hero-image{min-height:290px}.hero-copy{padding:25px 22px 55px}.hero h1{font-size:46px}.hero-copy>p:not(.eyebrow){font-size:15px}.catalog-section,.detail-section,.order-section,.builder-section{padding:70px 15px}.book-grid{grid-template-columns:1fr}.book-tabs{overflow:auto;justify-content:flex-start}.builder-section .section-heading{text-align:left}.preview-panel{padding:15px}.preview-stage{height:410px}.preview-stage img{max-width:90%}.thumbnail-strip{grid-template-columns:repeat(5,1fr)}.spec-grid,.notice-grid{grid-template-columns:1fr}.checkout-layout{grid-template-columns:1fr}.checkout-fields{grid-template-columns:1fr}.checkout-fields label{grid-column:1!important}#checkoutForm{padding:18px}footer{flex-direction:column}.close-button{font-size:30px}}
/* 짧은 가로 화면과 작은 노트북에서도 선택·미리보기 전체를 볼 수 있게 한다. */
@media (min-width:1001px) {
  .builder-section{padding-top:clamp(34px,7vh,100px);padding-bottom:clamp(34px,7vh,100px)}
  .builder-section .section-heading{margin-bottom:clamp(20px,3vh,38px)}
  .builder-grid{grid-template-columns:minmax(300px,350px) minmax(0,1fr);align-items:start}
  .option-panel{max-height:calc(100dvh - 116px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .preview-panel{display:flex;flex-direction:column;min-height:0}
  .preview-stage{height:clamp(300px,54vh,520px);min-height:300px}
  .thumbnail-strip{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 0 8px}
  .thumbnail-strip button{flex:0 0 58px;scroll-snap-align:center}
  .preview-help{margin-bottom:0}
}
@media (min-width:1001px) and (max-height:780px) {
  .builder-section{padding-top:28px;padding-bottom:28px}
  .builder-section .section-heading{margin-bottom:18px}
  .builder-section .section-heading p{margin-bottom:6px}
  .builder-section .section-heading h2{font-size:34px}
  .option-panel,.preview-panel{padding:20px}
  .option-panel>label{margin-top:13px}
  .fabric-choice{grid-template-columns:72px 1fr;margin-top:8px;padding:8px}
  .fabric-choice img{width:72px;height:52px}
  .quantity-row,.selection-price{margin-top:14px}
  .add-cart-button{margin-top:12px;padding:12px}
  .preview-stage{height:clamp(280px,48vh,390px);margin:12px 0}
  .thumbnail-strip{margin-top:11px}
  .thumbnail-strip button{flex-basis:50px}
}
@media (max-width:1000px) {
  .preview-stage{height:min(62vh,520px);min-height:320px}
  .thumbnail-strip{display:flex;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}
  .thumbnail-strip button{flex:0 0 58px;scroll-snap-align:center}
}
@media (max-width:650px) {
  .preview-stage{height:min(58vh,410px);min-height:300px}
}

/* 완제품 미니북 선택 카드 */
.fabric-choice{grid-template-columns:116px 1fr;padding:12px;background:#f6f1e8;border:1px solid #e6dccb}
.fabric-choice img{width:116px;height:116px;background:#fff;object-fit:contain;box-shadow:0 6px 18px rgba(38,45,37,.12)}
.fabric-choice strong{font-size:16px}
.fabric-choice span{display:block;margin-top:5px;line-height:1.55}
@media (min-width:1001px) and (max-height:780px){.fabric-choice{grid-template-columns:84px 1fr}.fabric-choice img{width:84px;height:84px}}
@media (max-width:650px){.fabric-choice{grid-template-columns:96px 1fr}.fabric-choice img{width:96px;height:96px}}

/* 내 사진 20장 맞춤 제작 · 재단 컨펌 */
.custom-photo-upload{margin-top:20px;padding:16px;border:1px solid #dbcba9;border-radius:14px;background:#fff8e8}
.custom-photo-upload[hidden]{display:none}
.custom-upload-title{display:flex;flex-direction:column;margin-bottom:10px}
.custom-upload-title span{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.12em}
.custom-upload-title strong{font-size:16px}
.photo-file-button{display:grid;place-items:center;width:100%;min-height:46px;border-radius:9px;background:var(--green);color:#fff;font-weight:800;cursor:pointer}
#customPhotos{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#photoSelectionStatus,.resize-note{margin:9px 0 0;color:#526159;font-size:12px;line-height:1.5}
.resize-note{color:#8a6420}
.crop-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}
.crop-confirm-actions button{min-height:42px;border:1px solid var(--green);border-radius:8px;background:#fff;color:var(--green);font-weight:800;cursor:pointer}
.crop-confirm-actions button:last-child{background:var(--gold);border-color:var(--gold);color:#fff}
.crop-confirm-actions button:disabled{opacity:.42;cursor:not-allowed}
.crop-status{display:block;margin-top:9px;color:var(--green);font-size:13px;text-align:center}
.preview-frame{position:relative;display:grid;place-items:center;width:min(80%,430px);height:min(88%,480px);overflow:hidden;background:#fff;box-shadow:0 18px 45px rgba(0,0,0,.2);transition:aspect-ratio .2s}
.preview-frame.preview-comic{aspect-ratio:1/1}
.preview-frame.preview-poem{aspect-ratio:1/1}
.preview-frame.crop-comic{width:min(88%,460px);height:auto;aspect-ratio:1/1;border:3px solid #d6ad55}
.preview-frame.crop-poem{width:min(88%,460px);height:auto;aspect-ratio:1/1;border:3px solid #d6ad55}
.preview-frame.crop-confirmed{border-color:#2b896b;box-shadow:0 0 0 4px rgba(43,137,107,.2),0 18px 45px rgba(0,0,0,.2)}
.preview-frame img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;box-shadow:none}
.preview-frame.crop-comic img,.preview-frame.crop-poem img{position:absolute;left:50%;top:50%;width:auto;height:auto;max-width:none;max-height:none;object-fit:initial}
.preview-empty{position:absolute;inset:0;display:grid;place-items:center;padding:25px;color:#758079;text-align:center;line-height:1.7;background:#f5efe3}
.preview-empty[hidden]{display:none!important}
.thumbnail-strip button.confirmed:after{content:'✓';position:absolute;left:3px;top:3px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#237a5e;color:#fff;font-size:11px;font-weight:900}
.thumbnail-strip button.pending{border-color:#b45239}
.thumbnail-strip.thumbs-comic img{aspect-ratio:1/1}
.thumbnail-strip.thumbs-poem img{aspect-ratio:1/1}
.upload-progress{margin-top:18px;padding:14px;border-radius:10px;background:#edf5f1}
.upload-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px}
.upload-progress progress{width:100%;height:12px;accent-color:var(--green)}
.upload-progress.error{background:#fff0ec;border:1px solid #d9917f;color:#8e2f20}.upload-progress.error progress{accent-color:#b64432}
.checkout-final-guide{margin:14px 0 0;padding:15px 16px;border:2px solid #b94b35;border-radius:10px;background:#fff1eb;color:#7f2719;box-shadow:0 5px 14px rgba(143,50,32,.12)}
.checkout-final-guide strong,.checkout-final-guide span{display:block}.checkout-final-guide strong{margin-bottom:6px;font-size:15px}.checkout-final-guide span{font-size:13px;font-weight:800;line-height:1.65;word-break:keep-all}
.checkout-consent-guide{margin:13px 0 8px;padding:11px 13px;border-left:4px solid #1677d2;border-radius:7px;background:#eaf4ff;color:#174b7a}
.checkout-consent-guide strong,.checkout-consent-guide span{display:block}.checkout-consent-guide strong{margin-bottom:3px;font-size:13px}.checkout-consent-guide span{font-size:12px;font-weight:700;line-height:1.55;word-break:keep-all}
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.pay-button:disabled{opacity:.55;cursor:wait}
@media(max-width:650px){.crop-confirm-actions{grid-template-columns:1fr}.preview-frame.crop-comic{max-width:92%}.preview-frame.crop-poem{width:88%;height:auto;max-height:88%}}

/* 첫 화면은 주문 선택, 다음은 상세페이지 순서 */
main{display:flex;flex-direction:column}
.builder-section{order:1}
.detail-section{order:2}
.catalog-section{order:3}
.order-section{order:4}
.hero{order:5}

/* 완제품 6종 갤러리 */
.finished-gallery{max-width:1400px;margin:0 auto 30px;padding:24px;border:1px solid rgba(229,201,139,.45);border-radius:24px;background:linear-gradient(145deg,rgba(255,253,248,.98),rgba(239,224,190,.96));box-shadow:var(--shadow)}
.finished-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.finished-gallery-head small,.finished-dialog-head small{color:var(--gold);font-weight:900;letter-spacing:.15em}
.finished-gallery-head h3{margin:4px 0 0;font-family:"Gowun Batang";font-size:clamp(25px,3vw,38px)}
.finished-gallery-head p{max-width:420px;margin:0;color:#637169;font-size:14px;text-align:right}
.finished-tabs{display:flex;gap:7px;margin-bottom:18px}
.finished-tabs button{border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:#fff;color:#506058;font-size:13px;font-weight:800;cursor:pointer}
.finished-tabs button.active{border-color:var(--green);background:var(--green);color:#fff}
.finished-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.finished-card{position:relative;border:2px solid transparent;border-radius:16px;padding:9px;background:#fff;box-shadow:0 8px 22px rgba(37,50,42,.12);cursor:pointer;overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;animation:finishedFloat 4.5s ease-in-out infinite}
.finished-card:nth-child(2n){animation-delay:-1.5s}.finished-card:nth-child(3n){animation-delay:-3s}
.finished-card:hover,.finished-card:focus-visible{transform:translateY(-7px) scale(1.035);border-color:var(--gold);box-shadow:0 16px 32px rgba(39,50,42,.22);outline:0}
.finished-card.selected{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,75,60,.18),0 14px 28px rgba(39,50,42,.18)}
.finished-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:11px;background:#f7f2e9}
.finished-card .finished-card-code{position:absolute;left:14px;top:14px;display:grid;place-items:center;min-width:40px;height:30px;padding:0 8px;border-radius:999px;background:rgba(10,57,46,.92);color:#fff;font-size:12px;font-weight:900;letter-spacing:.06em}
.finished-card strong{display:block;margin:9px 3px 2px;font-size:13px;line-height:1.35}
.finished-card span{display:block;margin:0 3px 3px;color:#7a6450;font-size:11px}
@keyframes finishedFloat{0%,100%{translate:0 0}50%{translate:0 -3px}}
@media(prefers-reduced-motion:reduce){.finished-card{animation:none;transition:none}}
.finished-dialog{width:min(940px,96vw);max-height:94dvh;padding:0;background:#fffdf8}
.finished-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}
.finished-dialog-head h2{margin:3px 0 0;font-family:"Gowun Batang";font-size:clamp(25px,4vw,38px)}
.finished-dialog-head button{border:0;background:transparent;font-size:36px;line-height:1;cursor:pointer}
.finished-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:center;padding:22px}
.finished-dialog-body>img{display:block;width:100%;max-height:68dvh;object-fit:contain;border-radius:18px;background:#f2ecdf;animation:finishedReveal .3s ease-out}
.finished-dialog-copy b{color:var(--gold);font-size:24px}.finished-dialog-copy p{color:#5e6b64;line-height:1.7}
.finished-detail-line{display:block}
.finished-dialog-copy button{width:100%;border:0;border-radius:10px;padding:15px;background:var(--gold);color:#fff;font-weight:900;cursor:pointer}
@keyframes finishedReveal{from{opacity:.3;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media(max-width:1000px){.finished-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.finished-gallery{margin-bottom:18px;padding:15px}.finished-gallery-head{align-items:start;flex-direction:column;gap:7px}.finished-gallery-head p{text-align:left}.finished-tabs{overflow-x:auto}.finished-tabs button{flex:0 0 auto}.finished-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.finished-card{padding:6px;border-radius:12px}.finished-card-code{left:9px;top:9px;min-width:34px;height:25px;font-size:10px}.finished-card strong{font-size:11px}.finished-card span{font-size:9px}.finished-dialog{width:94vw;max-height:92dvh}.finished-dialog-head{padding:12px 16px}.finished-dialog-head h2{font-size:25px}.finished-dialog-body{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px 14px}.finished-dialog-body>img{width:100%;max-height:48dvh}.finished-dialog-copy{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:6px;padding:0 4px 2px}.finished-dialog-copy b{display:block;width:100%;font-size:20px;line-height:1.35;word-break:keep-all}.finished-dialog-copy p{display:block;width:100%;margin:0;color:#536159;font-size:14px;line-height:1.45;word-break:keep-all;overflow-wrap:break-word}.finished-detail-line{white-space:nowrap}.finished-dialog-copy button{width:100%;margin-top:2px;padding:13px 10px}}

/* 책별 포스터 대신 패브릭 6종 대표 상세페이지 */
.fabric-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1250px;margin:auto}
.fabric-detail-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.fabric-detail-card img{display:block;width:100%;height:auto;object-fit:contain;background:#f4eee3}
.fabric-detail-copy{padding:22px}
.fabric-detail-copy small{color:var(--gold);font-weight:900;letter-spacing:.12em}
.fabric-detail-copy h3{margin:6px 0 9px;font-family:"Gowun Batang";font-size:29px}
.fabric-detail-copy p{margin:0;color:#5f6c65;line-height:1.75}
.fabric-detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.fabric-detail-tags span{padding:7px 10px;border-radius:999px;background:#f2ebdd;color:#6d5b45;font-size:12px;font-weight:700}
.fabric-paper-sample{margin:20px 0 0;padding-top:18px;border-top:1px solid #e7ddcc}
.fabric-paper-sample img{display:block;width:100%;height:auto;border-radius:14px;background:#f4eee3;box-shadow:none}
.fabric-paper-sample figcaption{margin-top:9px;color:#55645c;font-size:13px;font-weight:800;text-align:center}
.fabric-detail-notice{display:flex;justify-content:center;gap:12px;max-width:900px;margin:28px auto 0;padding:17px 20px;border-radius:12px;background:#eee5d5;color:#5d685f;text-align:center}
@media(max-width:700px){.fabric-detail-grid{grid-template-columns:1fr;gap:15px}.fabric-detail-copy{padding:18px}.fabric-detail-copy h3{font-size:25px}.fabric-paper-sample{margin-top:17px;padding-top:15px}.fabric-detail-notice{align-items:center;flex-direction:column}}
.guide-step{max-width:1120px;margin:0 auto 34px;padding:28px;border:1px solid var(--line);border-radius:24px;background:#faf7ef;box-shadow:var(--shadow)}
.guide-step-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}.guide-step-head>b{flex:0 0 auto;padding:7px 12px;border-radius:999px;background:var(--green);color:#fff;font-size:12px}.guide-step-head h3{margin:0;font-family:"Gowun Batang";font-size:30px}.guide-step-head p{margin:5px 0 0;color:#68756f}
.guide-fabric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.guide-fabric-card{position:relative;overflow:hidden;border:1px solid #e0d5c2;border-radius:18px;background:#fff}.guide-fabric-card>span{position:absolute;left:12px;top:12px;z-index:1;padding:5px 9px;border-radius:99px;background:var(--green);color:#fff;font-size:11px;font-weight:900}.guide-fabric-poster{display:block;width:100%;height:auto;background:#f4eee3}.guide-fabric-paper-block{padding:17px}.guide-fabric-paper-block>strong{display:block;margin-bottom:11px;font-family:"Gowun Batang";font-size:23px;text-align:center}.guide-fabric-paper{display:block;width:100%;height:auto;border-radius:13px;object-fit:contain}.guide-fabric-paper-block>small{display:block;margin-top:8px;color:#647169;font-size:12px;font-weight:800;text-align:center}.checkout-fields>h3{grid-column:1/-1;margin:0 0 2px;font-family:"Gowun Batang";font-size:22px}.checkout-fields label small{font-size:11px;line-height:1.5;color:#6b766f;font-weight:500}.checkout-pdf-notice{margin:14px 0;padding:12px 13px;border-radius:10px;background:#e8f2ec;color:#234f40;font-size:12px;line-height:1.65;font-weight:700}
.guide-fabric-poster-wrap{position:relative}.guide-poster-custom-overlay{position:absolute;left:6.1%;top:44.9%;display:flex;width:43.9%;height:31.25%;box-sizing:border-box;flex-direction:column;padding:2.1% 2.2% 2.3%;overflow:hidden;border-radius:3.5%;background:#fff;box-shadow:0 2px 8px rgba(37,43,39,.12);color:#26322d}.guide-poster-custom-overlay>span{align-self:flex-start;padding:1.3% 3.2%;border-radius:999px;background:#a65334;color:#fff;font-size:clamp(6px,1vw,11px);font-weight:900;line-height:1.2}.guide-poster-custom-overlay>b{margin-top:2.2%;font-size:clamp(8px,1.5vw,16px);line-height:1.15}.guide-poster-custom-overlay>small{margin:1.2% 0 1.8%;color:#68756f;font-size:clamp(5px,.9vw,10px);line-height:1.15}.guide-poster-photo-grid{display:grid;width:82%;align-self:center;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.4%}.guide-poster-photo-grid .guide-poster-page{display:block;min-width:0;margin:0;padding:0;overflow:hidden;aspect-ratio:4/5;border-radius:3px;background:#e9e1d5}.guide-poster-photo-grid img{display:block;width:100%;height:100%;object-fit:cover}
.guide-poster-poem-overlay{position:absolute;display:grid;overflow:hidden;background:#fff;gap:1.4%;z-index:1}.guide-poster-poem-overlay-2{left:57.55%;top:21.35%;width:30.95%;height:27.35%;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}.guide-poster-poem-overlay-3{left:51.55%;top:56.05%;width:43.45%;height:26.15%;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}.guide-poster-poem-overlay-6{left:15.65%;top:69.70%;width:28.75%;height:22.75%;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}.guide-poster-poem-overlay .guide-poster-page{display:block;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;background:#fff}.guide-poster-poem-overlay img{display:block;width:100%;height:100%;object-fit:cover}
.guide-poster-comic-overlay{position:absolute;z-index:1;display:grid;overflow:hidden;background:#fff}.guide-poster-comic-overlay-4{left:6.5%;top:52.05%;width:87%;height:14.8%;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.75%}.guide-poster-comic-overlay-5{left:40.25%;top:19.55%;width:53.15%;height:37.25%;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:1.4%}.guide-poster-comic-overlay .guide-poster-page{display:block;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;background:#fff}.guide-poster-comic-overlay img{display:block;width:100%;height:100%;object-fit:cover}
.guide-poster-spread-overlay{position:absolute;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;background:#fff}.guide-poster-spread-overlay-1{left:57.2%;top:55.45%;width:31.6%;height:12.4%;gap:5.5%}.guide-poster-spread-overlay-2{left:29.65%;top:61.85%;width:40.8%;height:13.9%;gap:5.8%}.guide-poster-spread-overlay-3{left:8.15%;top:56.3%;width:35%;height:12.55%;gap:5.5%}.guide-poster-spread-overlay-4{left:18.35%;top:78.55%;width:40%;height:15.05%;gap:4.3%}.guide-poster-spread-overlay-5{left:45.45%;top:70.45%;width:42.4%;height:17.9%;gap:4.5%}.guide-poster-spread-overlay-6{left:18.75%;top:50.75%;width:25.35%;height:9.25%;gap:5.5%}.guide-poster-spread-overlay .guide-poster-page{display:block;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;background:#fff}.guide-poster-spread-overlay img{display:block;width:100%;height:100%;object-fit:cover}
.guide-photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.guide-photo-card{position:relative;margin:0;padding:0;overflow:hidden;aspect-ratio:1/1;border:0;border-radius:12px;background:#e9e1d5;cursor:zoom-in}.guide-photo-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.guide-photo-card:active img{transform:scale(.97)}.guide-photo-status{margin:15px 0 0;color:#65726b;font-size:13px;text-align:center}.guide-photo-error{grid-column:1/-1;text-align:center;color:#a44d3a}.process-heading{margin-top:80px}
@media(max-width:700px){.guide-step{padding:17px}.guide-step-head{flex-direction:column;gap:9px}.guide-step-head h3{font-size:25px}.guide-fabric-grid{grid-template-columns:1fr;gap:16px}.guide-fabric-paper-block{padding:14px}.guide-fabric-paper-block>strong{font-size:21px}.guide-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.process-heading{margin-top:58px}}
.hero-size-grid{display:grid;grid-template-columns:1fr;gap:10px;max-width:430px;margin:0 0 16px}.hero-size-grid>div{display:flex;flex-direction:column;gap:4px;padding:15px 16px;border:1px solid rgba(239,213,148,.45);border-radius:14px;background:rgba(255,255,255,.06)}.hero-size-grid b{color:#efd594;font-size:13px}.hero-size-grid strong{font-family:"Gowun Batang";font-size:21px}.hero-size-grid span{color:#cbd9d2;font-size:12px}.hero-size-grid+.hero-badges{margin-bottom:28px}
@media(max-width:650px){.hero-size-grid{grid-template-columns:1fr}.hero-size-grid>div{padding:13px 14px}.hero-size-grid strong{font-size:19px}}
/* 한글은 글자 하나씩 떨어지지 않도록 어절 단위로 줄바꿈한다. */
:where(h1,h2,h3,h4,p,span,strong,b,label,button,a,figcaption){word-break:keep-all;overflow-wrap:break-word}
:where(h1,h2,h3,.section-heading span,.guide-step-head p,.guide-photo-status){text-wrap:balance}
:where(p,.finished-dialog-copy p,.fabric-choice span,.notice-grid span){text-wrap:pretty}
.brand strong,.cart-button,.primary-button,.add-cart-button,.pay-button{white-space:nowrap}
.brand{min-width:0}.brand span:last-child{min-width:0}.header-actions{flex:0 0 auto}
@media(max-width:650px){.section-heading h2{font-size:clamp(30px,9vw,38px);line-height:1.35}.process-heading{max-width:330px}.guide-step-head h3{line-height:1.4}.guide-photo-status{max-width:430px;margin-left:auto;margin-right:auto}.spec-grid strong{font-size:18px}.shop-header{gap:10px}.brand{gap:9px}.brand strong{font-size:13px}.cart-button{padding:9px 12px}}

/* 상단의 중복 주문 안내 포스터는 제거하고 상품 소개만 간결하게 표시한다. */
.hero{grid-template-columns:1fr;min-height:auto}
.hero-copy{width:100%;max-width:1180px;margin:0 auto}

/* 장바구니 수량 조절 · 2개 이상 할인 */
.cart-item-copy{min-width:0}.cart-quantity{display:inline-grid;grid-template-columns:34px 38px 34px;align-items:center;margin:9px 0 5px;border:1px solid var(--line);border-radius:9px;overflow:hidden}.cart-quantity button{height:32px;background:#f1eadf!important;color:var(--ink)!important;font-size:18px;font-weight:800}.cart-quantity strong{text-align:center}.cart-line-price{display:flex;align-items:center;gap:7px;color:var(--green)}.cart-line-price del{color:#9a9f9c;font-size:12px;font-weight:500}.cart-remove{align-self:start}.discount-row{color:#b24d38}.discount-row b{color:#b24d38}.discount-notice{margin:10px 0 0;padding:9px 11px;border-radius:8px;background:#f7edda;color:#775b28;font-size:12px;line-height:1.5}.checkout-discount{display:flex;justify-content:space-between;margin:14px 0 4px;padding:10px 0;border-top:1px solid #ddd3c2;color:#b24d38}.checkout-discount b{color:#b24d38}
.book-card-actions:has(>button:only-child) button{flex-basis:100%}

/* 주문 완료 후 장바구니에 표시되는 최근 주문 내역 */
.order-history{min-height:0;flex:1}
.order-history{margin:16px 0 18px;padding-top:18px;border-top:1px solid var(--line);overflow:auto}.order-history[hidden]{display:none}.order-history-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.order-history-head small{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.13em}.order-history-head h3{margin:2px 0 0;font-family:"Gowun Batang";font-size:25px}.order-history-head>span{color:#78827c;font-size:11px}.order-history-card{margin-bottom:13px;padding:14px;border:1px solid #ddd2bf;border-radius:15px;background:#faf7f0}.order-history-meta,.order-history-price{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-history-meta span{display:flex;flex-direction:column}.order-history-meta b{color:var(--green);font-size:14px}.order-history-meta small{margin-top:2px;color:#79827d;font-size:10px}.order-history-meta em{padding:4px 7px;border-radius:999px;background:#e6eee9;color:var(--green);font-size:10px;font-style:normal;font-weight:900}.order-history-card ul{display:grid;gap:8px;margin:12px 0;padding:0;list-style:none}.order-history-card li{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;padding-top:8px;border-top:1px solid #e6decf}.order-history-card li img{width:48px;height:48px;border-radius:8px;background:#fff;object-fit:contain}.order-history-card li span{display:flex;min-width:0;flex-direction:column}.order-history-card li b{font-size:12px;line-height:1.4;word-break:keep-all}.order-history-card li small{color:#737e77;font-size:10px}.order-history-card li strong{color:var(--green);font-size:11px;white-space:nowrap}.order-history-delivery{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;margin:12px 0;padding:10px;border-radius:9px;background:#f0eadf;font-size:11px}.order-history-delivery>b{color:#786030}.order-history-delivery>small{grid-column:1/-1;color:#68746d;line-height:1.5}.order-history-price{padding-top:10px;border-top:1px solid #ded5c5}.order-history-price span{color:#7d6750;font-size:10px}.order-history-price strong{color:var(--green);font-size:15px}

/* 내 사진 20장: 한 장씩 확정·재설정 */
.crop-confirm-actions{grid-template-columns:1fr}
.crop-confirm-actions button:last-child{min-height:48px}
.custom-page-actions{margin:14px auto 0;padding:13px;border:1px solid #dfc98e;border-radius:13px;background:#fff8e6}
.custom-page-actions[hidden]{display:none}
.custom-page-actions>div{display:grid;grid-template-columns:1fr 120px;gap:9px}
.custom-page-actions button{min-height:45px;border-radius:9px;font-weight:900;cursor:pointer}
.confirm-page-button{border:0;background:var(--green);color:#fff}
.confirm-page-button.confirmed{background:#2b896b}
.reset-page-button{border:1px solid #bda67b;background:#fff;color:#6f5b38}
.custom-page-actions button:disabled{opacity:.45;cursor:not-allowed}
#cropGuideMessage{margin:10px 0 0;color:#695b41;font-size:13px;font-weight:700;text-align:center;line-height:1.55}
#cropGuideMessage.final-guide{padding:10px;border-radius:8px;background:#e5f1eb;color:#176247;font-size:14px}
@media(max-width:650px){.custom-page-actions>div{grid-template-columns:1fr 95px}.custom-page-actions button{min-height:48px}}


/* 대표 상세 2종: 사용자 사진 · 미니어쳐 */
.guide-fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.guide-content-card{overflow:hidden;border:1px solid #ded3c0;border-radius:20px;background:#fff;box-shadow:0 15px 36px rgba(40,49,42,.12)}.guide-content-cover{position:relative;padding:14px;background:linear-gradient(145deg,#f7f2e8,#ece3d3)}.guide-content-cover>span{position:absolute;z-index:2;left:24px;top:24px;display:grid;place-items:center;min-width:39px;height:29px;padding:0 8px;border-radius:999px;background:var(--green);color:#fff;font-size:11px;font-weight:900}.guide-content-cover>img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:13px;background:#fff}.guide-content-cover>div{padding:17px 5px 5px}.guide-content-cover small{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.11em}.guide-content-cover h3{margin:5px 0 8px;font-family:"Gowun Batang";font-size:24px;line-height:1.35;word-break:keep-all}.guide-content-cover p{margin:0;color:#5f6c65;font-size:13px;line-height:1.65;word-break:keep-all}.guide-content-cover b{display:block;margin-top:10px;color:var(--green);font-size:12px}.guide-content-inner{padding:17px}.guide-content-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 10px}.guide-content-title b{font-size:15px}.guide-content-title span{color:#78827c;font-size:10px}.guide-content-pages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:18px}.guide-content-pages>span,.guide-content-spread>span{display:block;min-width:0;overflow:hidden;border-radius:4px;background:#eee6d9}.guide-content-pages.comic>span{aspect-ratio:4/5}.guide-content-pages.poem>span{aspect-ratio:1/1}.guide-content-pages img,.guide-content-spread img{display:block;width:100%;height:100%;object-fit:cover}.guide-content-spread{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.guide-content-spread.comic>span{aspect-ratio:4/5}.guide-content-spread.poem>span{aspect-ratio:1/1}.guide-content-pages .guide-photo-error{grid-column:1/-1;aspect-ratio:auto;padding:18px;text-align:center}.guide-content-spread .guide-photo-error{grid-column:1/-1;aspect-ratio:auto;padding:18px;text-align:center}@media(max-width:1050px){.guide-fabric-grid{grid-template-columns:1fr}.guide-content-card{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)}.guide-content-cover{height:100%}}@media(max-width:650px){.guide-content-card{display:block}.guide-content-cover h3{font-size:25px}.guide-content-pages{gap:5px}.guide-content-inner{padding:15px}}

/* 실사용 연출과 실제 양장제본 구조 */
.guide-lifestyle-scenes{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:4px}.guide-lifestyle-scenes figure,.guide-size-scene{margin:0;overflow:hidden;border:1px solid #dfd2bd;border-radius:20px;background:#fff;box-shadow:0 13px 32px rgba(45,50,43,.11)}.guide-lifestyle-scenes img,.guide-size-scene img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.guide-lifestyle-scenes figcaption,.guide-size-scene figcaption{display:flex;flex-direction:column;gap:3px;padding:14px 16px}.guide-lifestyle-scenes figcaption b,.guide-size-scene figcaption b{font-family:"Gowun Batang";font-size:20px}.guide-lifestyle-scenes figcaption span,.guide-size-scene figcaption span{color:#69756e;font-size:12px;line-height:1.5}.guide-size-scene{margin:14px}.guide-size-scene img{border-radius:13px}.guide-size-scene figcaption{padding:12px 4px 2px}
.guide-real-book{--cover:#174b3b;margin:4px 0 0}.guide-real-book.cover-green{--cover:#294d36}.guide-real-book.cover-navy{--cover:#182942}.guide-real-book.cover-red{--cover:#9f2135}.guide-book-cover{position:relative;padding:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--cover) 88%,#fff),var(--cover));border-radius:12px 12px 15px 15px;box-shadow:0 12px 24px rgba(21,29,24,.22),inset 0 0 0 2px rgba(255,255,255,.12)}.guide-book-cover:before{content:"";position:absolute;inset:5px;border:1px solid rgba(215,183,104,.32);border-radius:9px;pointer-events:none}.guide-book-spread{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;padding:8px;background:#e6ddcb;border-radius:7px;box-shadow:0 4px 10px rgba(0,0,0,.24)}.guide-book-spread:after{content:"";position:absolute;z-index:6;left:50%;top:8px;bottom:8px;width:10px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(79,66,50,.22),rgba(255,255,255,.64) 46%,rgba(64,53,41,.28));box-shadow:0 0 8px rgba(51,42,31,.26);pointer-events:none}.guide-book-leaf{position:relative;min-width:0}.guide-book-leaf-left{transform-origin:right center;transform:perspective(600px) rotateY(2deg)}.guide-book-leaf-right{transform-origin:left center;transform:perspective(600px) rotateY(-2deg)}.guide-book-page{position:relative;z-index:5;display:block;width:100%;overflow:hidden;background:#fff;box-shadow:0 2px 6px rgba(52,44,35,.24)}.guide-real-book.comic .guide-book-page{aspect-ratio:4/5}.guide-real-book.poem .guide-book-page{aspect-ratio:1/1}.guide-book-page img{display:block;width:100%;height:100%;object-fit:cover}.guide-book-layer{position:absolute;z-index:calc(5 - var(--layer));top:calc(var(--layer) * 1px);bottom:calc(var(--layer) * 1px);width:100%;border:1px solid #d1c5ae;background:#fffdf7;box-shadow:0 1px 0 rgba(111,96,72,.18)}.guide-book-layer-left{right:calc(var(--layer) * 2px);border-radius:4px 0 0 4px}.guide-book-layer-right{left:calc(var(--layer) * 2px);border-radius:0 4px 4px 0}.guide-real-book>p{margin:9px 2px 0;color:#6c766f;font-size:10px;line-height:1.55;text-align:center}.guide-book-spread>.guide-photo-error{grid-column:1/-1;margin:0;padding:32px 10px;color:#7e6751;text-align:center}
@media(max-width:1050px){.guide-content-card:has(.guide-size-scene){grid-template-columns:minmax(240px,.7fr) minmax(210px,.65fr) minmax(0,1.2fr)}.guide-size-scene{align-self:start}}
@media(max-width:760px){.guide-lifestyle-scenes{grid-template-columns:1fr;gap:14px}.guide-lifestyle-scenes figcaption b{font-size:19px}.guide-content-card:has(.guide-size-scene){display:block}.guide-size-scene{margin:12px 14px}.guide-book-cover{padding:14px}.guide-book-spread{padding:7px}.guide-real-book>p{font-size:9px}}

/* DETAIL 제목 정렬: 번호와 제목을 한 덩어리로 유지한다. */
#guideFabricTitle{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;font-family:"Noto Sans KR",sans-serif;font-size:22px;line-height:1.3}
#guideFabricTitle span{display:inline-flex;align-items:center;min-height:35px;padding:5px 11px;border:1px solid #d8cbb5;border-radius:999px;background:#fff;white-space:nowrap;font-weight:800}
@media(max-width:650px){#guideFabricTitle{gap:6px;font-size:16px}#guideFabricTitle span{min-height:32px;padding:5px 9px}}

/* 펼친 책 원근감: 표지 전체를 기울이고 좌우 내지를 중앙 골 쪽으로 세운다. */
.guide-real-book{padding:10px 8px 18px;perspective:1100px;overflow:visible}
.guide-book-cover{transform:rotateX(10deg) rotateZ(-1.2deg);transform-origin:center 72%;box-shadow:0 24px 32px rgba(21,29,24,.29),-11px 13px 18px rgba(21,29,24,.15),inset 0 0 0 2px rgba(255,255,255,.12)}
.guide-book-cover:after{content:"";position:absolute;z-index:-1;left:5%;right:5%;bottom:-14px;height:18px;border-radius:50%;background:rgba(31,31,27,.28);filter:blur(10px)}
.guide-book-spread{overflow:visible;transform-style:preserve-3d;background:linear-gradient(90deg,#d8cbb5,#f4ecdd 46%,#f4ecdd 54%,#d8cbb5)}
.guide-book-leaf{transform-style:preserve-3d}
.guide-book-leaf-left{transform-origin:right center;transform:perspective(720px) rotateY(10deg) rotateZ(-.8deg) translateZ(5px)}
.guide-book-leaf-right{transform-origin:left center;transform:perspective(720px) rotateY(-10deg) rotateZ(.8deg) translateZ(5px)}
.guide-book-page{border:1px solid rgba(176,157,126,.48);box-shadow:0 5px 10px rgba(52,44,35,.24),inset -8px 0 12px rgba(83,66,44,.08)}
.guide-book-leaf-right .guide-book-page{box-shadow:0 5px 10px rgba(52,44,35,.24),inset 8px 0 12px rgba(83,66,44,.08)}
.guide-book-layer-left{right:calc(var(--layer) * 3px);transform:translateZ(calc(var(--layer) * -1px))}
.guide-book-layer-right{left:calc(var(--layer) * 3px);transform:translateZ(calc(var(--layer) * -1px))}
.guide-book-spread:after{top:3px;bottom:3px;width:16px;background:linear-gradient(90deg,rgba(45,36,27,.38),rgba(255,255,255,.82) 45%,rgba(45,36,27,.42));box-shadow:0 0 12px rgba(36,28,21,.42)}
@media(max-width:650px){.guide-real-book{padding:7px 4px 13px}.guide-book-cover{transform:rotateX(8deg) rotateZ(-.8deg)}.guide-book-leaf-left{transform:perspective(620px) rotateY(8deg) rotateZ(-.5deg) translateZ(4px)}.guide-book-leaf-right{transform:perspective(620px) rotateY(-8deg) rotateZ(.5deg) translateZ(4px)}}

/* 대표 상세 3종: 연출 장면 → 표지 → 20장 내지 → 펼친 책 */
.guide-fabric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-content-card{display:flex;min-width:0;flex-direction:column}
.guide-content-card .guide-size-scene{order:0;margin:0;border:0;border-bottom:1px solid #dfd2bd;border-radius:0;box-shadow:none}
.guide-content-card .guide-size-scene img{border-radius:0}
.guide-content-cover{order:1}
.guide-content-inner{order:2}
.guide-example-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:10px 11px;border-radius:10px;background:#e9f2ed;color:#285544}
.guide-example-note strong{flex:0 0 auto;padding:3px 6px;border-radius:999px;background:var(--green);color:#fff;font-size:10px;white-space:nowrap}
.guide-example-note span{font-size:11px;line-height:1.55}
.guide-content-pages.four-by-five{grid-template-columns:repeat(4,minmax(0,1fr))}
.guide-content-pages.four-by-five>span{aspect-ratio:1/1}
.guide-step-head p strong{color:#9b452f}
@media(max-width:1050px){.guide-fabric-grid{grid-template-columns:1fr}.guide-content-card,.guide-content-card:has(.guide-size-scene){display:grid;grid-template-columns:minmax(230px,.7fr) minmax(230px,.8fr) minmax(0,1.2fr)}.guide-content-card .guide-size-scene{height:100%;border-right:1px solid #dfd2bd;border-bottom:0}.guide-content-card .guide-size-scene img{height:auto;aspect-ratio:4/5}}
@media(max-width:760px){.guide-content-card,.guide-content-card:has(.guide-size-scene){display:block}.guide-content-card .guide-size-scene{border-right:0;border-bottom:1px solid #dfd2bd}.guide-content-pages.four-by-five{gap:5px}}

/* 완제품 3종과 내 사진 20장 재단 확인 사이 주문제작 상세 포스터 */
.custom-order-poster{width:min(100%,1055px);margin:34px auto 38px;overflow:hidden;border:1px solid #d9cdb8;border-radius:24px;background:#fffdf8;box-shadow:var(--shadow)}
.custom-order-poster img{display:block;width:100%;height:auto}
@media(max-width:650px){.custom-order-poster{margin:24px auto 28px;border-radius:16px}}

/* 프리미엄 선물상자 포장 안내 */
.gift-packaging-panel{max-width:1120px;margin:34px auto;padding:34px 30px;border-top:1px solid #d8d2c3;border-bottom:1px solid #d8d2c3;background:#f4f1e9}
.gift-packaging-head{max-width:720px;margin:0 auto 24px;text-align:center}
.gift-packaging-head>p{margin:0 0 10px;color:#a87925;font-size:12px;font-weight:900;letter-spacing:.16em}
.gift-packaging-head h3{margin:0;color:#183e32;font-family:"Gowun Batang";font-size:clamp(30px,3.4vw,46px);line-height:1.3;word-break:keep-all}
.gift-packaging-head>span{display:block;margin-top:12px;color:#68665f;font-size:14px;line-height:1.75;word-break:keep-all}
.gift-packaging-feature{max-width:920px;margin:0 auto}
.gift-packaging-feature>img{display:block;width:100%;height:auto;border:1px solid #d2c9b7;border-radius:6px;background:#fff}
.gift-packaging-feature figcaption{display:grid;gap:7px;padding:18px 4px 0;text-align:center}
.gift-packaging-feature figcaption strong{color:#183e32;font-family:"Gowun Batang";font-size:22px;line-height:1.4;word-break:keep-all}
.gift-packaging-feature figcaption span{color:#67655e;font-size:14px;line-height:1.75;word-break:keep-all}
.gift-packaging-feature figcaption small{margin-top:2px;color:#817d72;font-size:11px;line-height:1.55;word-break:keep-all}
@media(max-width:650px){.gift-packaging-panel{margin:26px auto;padding:26px 14px}.gift-packaging-head{margin-bottom:18px}.gift-packaging-head h3{font-size:28px}.gift-packaging-head>span{font-size:13px}.gift-packaging-feature figcaption{padding-top:14px}.gift-packaging-feature figcaption strong{font-size:20px}.gift-packaging-feature figcaption span{font-size:13px}}

/* 색지·180도 펼침·제본 거즈 제작 디테일 */
.binding-detail-panel{max-width:1120px;margin:34px auto;padding:34px 30px;border:1px solid #ddd2c1;border-radius:26px;background:linear-gradient(145deg,#fffdf8,#f3eee5);box-shadow:var(--shadow)}
.binding-detail-head{text-align:center}
.binding-detail-head p{margin:0 0 10px;color:#bc8b2d;font-size:12px;font-weight:900;letter-spacing:.18em}
.binding-detail-head h3{margin:0;color:#183e32;font-family:"Gowun Batang";font-size:clamp(30px,3.4vw,46px);line-height:1.3;word-break:keep-all}
.binding-detail-list{display:grid;gap:34px;margin-top:28px}
.binding-detail-item{max-width:960px;margin:0 auto;overflow:hidden;border:1px solid #ded5c6;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(46,52,44,.09)}
.binding-detail-item img{display:block;width:100%;height:auto}
.binding-detail-item figcaption{padding:22px 24px 24px;border-top:1px solid #e5ded2;text-align:center}
.binding-detail-item figcaption p{margin:0;color:#4d554f;font-size:16px;line-height:1.95;word-break:keep-all}
.binding-detail-item figcaption strong{color:#183e32;font-weight:900}
.binding-detail-item figcaption small{color:#7e776e;font-size:13px}
.minibook-life-poster{max-width:920px;margin:34px auto}
.minibook-life-poster img{display:block;width:100%;height:auto;border:1px solid #d2c9b7;border-radius:8px;background:#fff;box-shadow:var(--shadow)}
@media(max-width:650px){
  .binding-detail-panel{margin:26px auto;padding:22px 14px;border-radius:18px}
  .binding-detail-head h3{font-size:28px}
  .binding-detail-list{gap:22px;margin-top:20px}
  .binding-detail-item{border-radius:12px}
  .binding-detail-item figcaption{padding:16px 14px 18px;text-align:left}
  .binding-detail-item figcaption p{font-size:14px;line-height:1.85}
  .minibook-life-poster{margin:26px auto}
}

/* 최신 상세 포스터 3종: 그린 → 레드 → 네이비 */
.guide-fabric-grid{display:grid;grid-template-columns:1fr;gap:28px;max-width:960px;margin:0 auto}
.guide-poster-only{position:relative;margin:0;overflow:hidden;border:1px solid #dfd2bd;border-radius:22px;background:#fff;box-shadow:0 15px 36px rgba(40,49,42,.12)}
.guide-poster-only>span{position:absolute;z-index:2;top:18px;left:18px;display:grid;place-items:center;min-width:44px;height:32px;padding:0 10px;border-radius:999px;background:#124b3c;color:#fff;font-weight:900}
.guide-poster-only img{display:block;width:100%;height:auto}
@media(max-width:650px){.guide-fabric-grid{gap:18px}.guide-poster-only{border-radius:15px}.guide-poster-only>span{top:10px;left:10px;min-width:38px;height:28px;font-size:12px}}

/* 상세 포스터 3종 하단 커버 마감재 디테일 */
.cover-material-panel{max-width:1120px;margin:34px auto;padding:30px;border:1px solid #ddd2c1;border-radius:26px;background:linear-gradient(145deg,#fffdf8,#f3eee5);box-shadow:var(--shadow)}
.cover-material-head{text-align:center}.cover-material-head p{margin:0 0 10px;color:#bc8b2d;font-size:12px;font-weight:900;letter-spacing:.18em}.cover-material-head h3{margin:0;font-family:"Gowun Batang";font-size:clamp(30px,3.4vw,46px);line-height:1.25;word-break:keep-all}.cover-material-head span{display:block;margin-top:12px;color:#726c62;font-size:14px;line-height:1.7;word-break:keep-all}
.cover-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}.cover-material-card{min-width:0;margin:0;overflow:hidden;border:1px solid #ded5c6;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(46,52,44,.09)}.cover-material-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.cover-material-card figcaption{display:flex;flex-direction:column;gap:4px;padding:15px 17px 17px}.cover-material-card figcaption b{font-family:"Gowun Batang";font-size:22px;color:#183e32}.cover-material-card figcaption span{color:#766f65;font-size:12px;line-height:1.55;word-break:keep-all}
@media(max-width:760px){.cover-material-panel{padding:20px}.cover-material-grid{grid-template-columns:1fr;gap:16px}.cover-material-card{border-radius:16px}.cover-material-card figcaption{padding:13px 15px 15px}}
@media(max-width:520px){.cover-material-panel{margin:26px auto;padding:15px;border-radius:18px}.cover-material-head h3{font-size:30px}.cover-material-head span{font-size:13px}.cover-material-grid{margin-top:20px}}
.preview-stage{touch-action:pan-y}
.photo-production-note{display:grid;gap:8px;margin-top:11px;padding:11px;border:1px solid rgba(18,75,60,.18);border-radius:10px;background:#eef5ee}.photo-production-note p{display:grid;grid-template-columns:1fr;gap:2px;margin:0}.photo-production-note b{color:var(--green);font-size:12px}.photo-production-note span{color:#53625a;font-size:11px;line-height:1.55;word-break:keep-all}
.builder-title-heading{max-width:none;margin-bottom:42px}.builder-title-heading h2{white-space:nowrap;color:#f2d89a;font-family:"Gowun Batang",serif;font-size:clamp(26px,5vw,58px);font-weight:400;letter-spacing:.06em;line-height:1.15;text-shadow:0 4px 18px rgba(0,0,0,.22)}@media(max-width:650px){.builder-title-heading{margin-bottom:28px}.builder-title-heading h2{font-size:clamp(25px,8vw,34px);letter-spacing:.025em}}

/* 유튜브 제작 영상 소개 */
.making-video-panel{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:30px;align-items:center;max-width:1400px;margin:0 auto 34px;padding:30px;border:1px solid rgba(229,201,139,.48);border-radius:24px;background:linear-gradient(145deg,#fffdf8,#efe2c3);box-shadow:var(--shadow)}
.making-video-copy{padding:10px 6px}.making-video-copy>p{margin:0 0 12px;color:#a8741d;font-size:12px;font-weight:900;letter-spacing:.18em}.making-video-copy h3{margin:0;font-family:"Gowun Batang",serif;font-size:clamp(29px,3vw,45px);line-height:1.3;word-break:keep-all}.making-video-copy>span{display:block;margin:16px 0 14px;color:#59675f;font-size:14px;line-height:1.8;word-break:keep-all}.making-video-material-note{display:block;margin:0 0 20px;padding:12px 14px;border:1px solid rgba(197,145,53,.48);border-radius:11px;background:#fff7df;color:#5c5039;font-size:12px;line-height:1.65;word-break:keep-all}.making-video-material-note>b{display:inline-block;margin-right:6px;padding:3px 7px;border-radius:999px;background:var(--green);color:#fff;font-size:10px}.making-video-material-note em{color:#9a6614;font-style:normal;font-weight:900}.making-video-button{display:inline-flex;align-items:center;gap:12px;padding:14px 18px;border-radius:12px;background:var(--green);color:#fff;text-decoration:none;font-weight:900;box-shadow:0 9px 20px rgba(18,75,60,.2);transition:transform .2s ease,background .2s ease}.making-video-button:hover,.making-video-button:focus-visible{transform:translateY(-2px);background:#0a392e}.making-video-button b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#efd391;color:#173328;font-size:11px}.making-channel-link{display:block;width:max-content;max-width:100%;margin-top:13px;color:#52645a;font-size:12px;font-weight:800;text-decoration-thickness:1px;text-underline-offset:4px}.making-video-thumbnail{position:relative;display:block;overflow:hidden;border:1px solid rgba(18,75,60,.25);border-radius:19px;background:#123f34;box-shadow:0 18px 38px rgba(31,49,39,.22)}.making-video-thumbnail img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .35s ease,filter .35s ease}.making-video-thumbnail:hover img,.making-video-thumbnail:focus-visible img{transform:scale(1.025);filter:brightness(.86)}.making-video-thumbnail:focus-visible{outline:3px solid #efd391;outline-offset:4px}.making-video-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:76px;height:76px;padding-left:5px;border:2px solid rgba(255,255,255,.88);border-radius:50%;background:rgba(10,57,46,.9);color:#fff;font-size:28px;box-shadow:0 10px 28px rgba(0,0,0,.3);transform:translate(-50%,-50%);transition:transform .2s ease,background .2s ease}.making-video-thumbnail:hover .making-video-play,.making-video-thumbnail:focus-visible .making-video-play{background:#b57b18;transform:translate(-50%,-50%) scale(1.08)}.making-video-duration{position:absolute;right:12px;bottom:12px;padding:5px 9px;border-radius:7px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:800}
@media(max-width:900px){.making-video-panel{grid-template-columns:1fr;gap:22px}.making-video-thumbnail{order:-1}.making-video-copy{padding:2px}.making-video-copy h3 br{display:none}}
@media(max-width:650px){.making-video-panel{margin-bottom:22px;padding:15px;border-radius:17px}.making-video-copy h3{font-size:30px}.making-video-copy>span{margin:12px 0 18px;font-size:13px}.making-video-button{width:100%;justify-content:center}.making-channel-link{margin-right:auto;margin-left:auto}.making-video-thumbnail{border-radius:12px}.making-video-play{width:58px;height:58px;font-size:21px}}
.making-video-direct-note{margin:0!important;color:#52645a!important;font-size:12px!important;font-weight:800!important;line-height:1.6!important;letter-spacing:0!important}.making-video-media{overflow:hidden;border:1px solid rgba(18,75,60,.25);border-radius:19px;background:#0b2d25;box-shadow:0 18px 38px rgba(31,49,39,.22)}.making-video-player{display:block;width:100%;aspect-ratio:16/9;background:#0b2d25;object-fit:contain}@media(max-width:900px){.making-video-media{order:-1}}@media(max-width:650px){.making-video-media{border-radius:12px}}

/* 회원가입 없이 남기는 미니북 사진 후기 */
.review-launch-button{position:fixed;z-index:70;left:clamp(10px,2vw,28px);top:88px;display:flex;align-items:center;gap:8px;min-height:45px;border:1px solid rgba(239,211,145,.8);border-radius:999px;padding:8px 15px 8px 9px;background:var(--green);color:#fff;font-weight:900;box-shadow:0 10px 28px rgba(11,45,36,.3);cursor:pointer;transition:transform .2s ease,background .2s ease}.review-launch-button:hover,.review-launch-button:focus-visible{transform:translateY(-2px);background:#0a392e}.review-launch-button>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#efd391;color:#173328;font-family:"Gowun Batang";font-size:18px}.review-launch-button b{font-size:13px;white-space:nowrap}
.review-dialog{width:min(820px,94vw);max-height:92dvh;overflow:auto;background:#fffdf8}.review-form{margin:0}.review-dialog-head{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line);background:rgba(255,253,248,.96);backdrop-filter:blur(14px)}.review-dialog-head small{color:var(--gold);font-weight:900;letter-spacing:.16em}.review-dialog-head h2{margin:3px 0 0;font-family:"Gowun Batang";font-size:32px}.review-dialog-head p{margin:3px 0 0;color:#68756f;font-size:12px}.review-dialog-head>button{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border:0;background:transparent;color:var(--ink);font-size:36px;line-height:1;cursor:pointer}.gift-story-section{padding:28px 24px 6px;background:linear-gradient(180deg,#f5efe2 0,#fffdf8 100%)}.gift-story-intro{max-width:650px;margin:0 auto 20px;text-align:center;word-break:keep-all}.gift-story-intro>small,.review-entry-heading>small{color:var(--gold);font-weight:900;letter-spacing:.15em}.gift-story-intro h3,.review-entry-heading h3{margin:6px 0 8px;font-family:"Gowun Batang";font-size:27px;line-height:1.3}.gift-story-intro p,.review-entry-heading p{margin:0;color:#69746d;font-size:12px;line-height:1.7}.gift-story-list{display:grid;gap:14px}.gift-story-card{display:grid;grid-template-columns:minmax(210px,41%) 1fr;overflow:hidden;border:1px solid #e0d2b7;border-radius:17px;background:#fff;box-shadow:0 10px 24px rgba(45,50,36,.07)}.gift-story-image{display:block;width:100%;height:100%;min-height:215px;object-fit:cover}.gift-story-image-1{object-position:72% 76%}.gift-story-image-2{object-position:72% 78%}.gift-story-image-3{object-position:72% 60%}.gift-story-image-4{object-position:58% 62%}.gift-story-image-5{object-position:65% 60%}.gift-story-card>div{display:flex;flex-direction:column;justify-content:center;padding:20px}.gift-story-card span{color:#a7682d;font-size:11px;font-weight:900;letter-spacing:.08em}.gift-story-card h4{margin:5px 0 9px;font-family:"Gowun Batang";font-size:22px;line-height:1.35}.gift-story-card p{margin:0;color:#536159;font-size:13px;line-height:1.82;word-break:keep-all}.review-form-body{display:grid;gap:17px;padding:24px}.review-entry-heading{padding-bottom:3px;text-align:center;word-break:keep-all}.review-entry-heading h3{font-size:24px}.review-privacy-note{margin:0;padding:13px 15px;border-radius:12px;background:#eaf3ee;color:#3f5d50;font-size:13px;line-height:1.65;word-break:keep-all}.review-privacy-note b{color:var(--green)}
.review-form-body>label:not(.review-consent){display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800}.review-form-body input[name=nickname],.review-form-body textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;padding:12px 13px;color:var(--ink);font:inherit}.review-form-body input[name=nickname]{height:48px}.review-form-body textarea{min-height:135px;resize:vertical;line-height:1.65}.review-form-body input:focus,.review-form-body textarea:focus{border-color:var(--green);outline:3px solid rgba(18,75,60,.12)}.review-character-count{align-self:flex-end;color:#7a837d;font-size:10px;font-weight:500}.review-rating{margin:0;border:0;padding:0}.review-rating legend{margin-bottom:7px;font-size:13px;font-weight:800}.review-rating div{display:flex;gap:5px}.review-rating button{border:0;padding:0 2px;background:transparent;color:#d6cec0;font-size:32px;line-height:1;cursor:pointer}.review-rating button.selected{color:#d29a30}
.review-photo-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-photo-tools>label{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-height:70px;border:1px solid #d9cbaa;border-radius:12px;padding:11px;background:#fff8e8;cursor:pointer}.review-photo-tools>label>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--green);color:#fff;font-size:18px}.review-photo-tools b{font-size:13px}.review-photo-tools small{color:#776e61;font-size:10px}.review-photo-tools input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.review-photo-note{margin:-8px 0 0;color:#796d5c;font-size:11px;line-height:1.55}.review-photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.review-photo-previews[hidden]{display:none}.review-photo-previews figure{position:relative;margin:0;overflow:hidden;border-radius:11px;background:#eee}.review-photo-previews img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.review-photo-previews button{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:rgba(17,31,24,.84);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.review-consent{display:flex;align-items:flex-start;gap:9px;padding:12px;border-radius:10px;background:#f4efe5;color:#56625b;font-size:11px;line-height:1.6}.review-consent input{flex:0 0 auto;width:18px;height:18px;margin-top:1px;accent-color:var(--green)}.review-submit-button{width:100%;min-height:52px;border:0;border-radius:11px;background:var(--gold);color:#fff;font-weight:900;cursor:pointer}.review-submit-button:disabled{opacity:.6;cursor:wait}.review-form-status{min-height:20px;margin:-5px 0 0;color:var(--green);font-size:12px;font-weight:700;line-height:1.6;text-align:center}
@media(max-width:650px){.review-launch-button{left:9px;top:72px;min-height:40px;padding:6px 12px 6px 7px}.review-launch-button>span{width:27px;height:27px}.review-launch-button b{font-size:11px}.review-dialog{width:96vw;max-height:94dvh;border-radius:18px}.review-dialog-head{padding:15px 16px}.review-dialog-head h2{font-size:25px}.review-dialog-head p{max-width:250px}.gift-story-section{padding:22px 14px 4px}.gift-story-intro{margin-bottom:16px}.gift-story-intro h3{font-size:24px}.gift-story-card{grid-template-columns:1fr}.gift-story-image{height:auto;min-height:0;aspect-ratio:16/10}.gift-story-card>div{padding:16px}.gift-story-card h4{font-size:20px}.gift-story-card p{font-size:12px;line-height:1.75}.review-form-body{gap:15px;padding:16px}.review-entry-heading h3{font-size:22px}.review-photo-tools{grid-template-columns:1fr}.review-photo-tools>label{min-height:62px}.review-rating button{font-size:30px}}

/* 관리자 확인 후 공개된 구매자 후기 */
.published-review-section{padding:30px clamp(18px,5vw,48px);border-top:1px solid #e5dccd;background:#f7f2e9}.published-review-heading{margin-bottom:16px}.published-review-heading small{color:#b27c20;font-weight:900;letter-spacing:.16em}.published-review-heading h3{margin:5px 0 4px;color:#173d32;font-family:"Gowun Batang",serif;font-size:30px}.published-review-heading p{margin:0;color:#71695e;font-size:12px}.published-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.published-review-card{min-width:0;padding:16px;border:1px solid #ddd2c1;border-radius:10px;background:#fff}.published-review-meta{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center}.published-review-meta b{color:#163f33}.published-review-meta span{color:#c6922f;letter-spacing:1px}.published-review-meta time{grid-column:1/-1;color:#8c857a;font-size:10px}.published-review-card p{margin:12px 0 0;color:#514d46;font-size:13px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.published-review-empty{grid-column:1/-1;margin:0;padding:22px;border:1px dashed #d8cdbb;border-radius:10px;color:#857c70;text-align:center}
@media(max-width:650px){.published-review-section{padding:24px 16px}.published-review-heading h3{font-size:24px}.published-review-list{grid-template-columns:1fr}.published-review-card{padding:14px}}
/* 주문 핵심 정보와 FAQ */
.purchase-quick-info{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-width:1180px;margin:18px auto 34px;padding:0 22px}.purchase-quick-info span{display:flex;min-height:88px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:14px 10px;border:1px solid rgba(197,153,69,.34);border-radius:18px;background:rgba(255,252,244,.92);text-align:center}.purchase-quick-info strong{color:#103f32;font-size:clamp(.92rem,1.25vw,1.12rem);line-height:1.25;word-break:keep-all}.purchase-quick-info small{color:#786f63;font-size:.78rem;line-height:1.35;word-break:keep-all}.photo-privacy-note{display:grid;gap:4px;margin:12px 0 0;padding:13px 15px;border-radius:14px;background:#edf6f1;color:#315b4c;font-size:.9rem;line-height:1.55}.photo-privacy-note strong{color:#0d5b43}.shop-faq{max-width:1180px;margin:76px auto 0;padding:0 22px}.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.faq-list details{border:1px solid #ded5c6;border-radius:16px;background:#fffdf8;overflow:hidden}.faq-list summary{position:relative;padding:18px 48px 18px 20px;color:#173d32;font-weight:800;line-height:1.4;cursor:pointer;list-style:none;word-break:keep-all}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:'+';position:absolute;top:50%;right:20px;transform:translateY(-50%);color:#b2832d;font-size:1.35rem}.faq-list details[open] summary::after{content:'−'}.faq-list p{margin:0;padding:0 20px 20px;color:#665f55;line-height:1.7;word-break:keep-all}@media(max-width:820px){.purchase-quick-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:24px;padding:0 14px}.purchase-quick-info span:last-child{grid-column:1/-1}.purchase-quick-info span{min-height:76px;border-radius:14px}.faq-list{grid-template-columns:1fr}.shop-faq{margin-top:52px;padding:0 14px}}


/* 사업자 필수정보 */
.business-footer{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);align-items:start;gap:28px;padding:34px clamp(20px,6vw,100px);background:var(--green2);color:#e9dcc0}
.business-footer-brand{display:flex;flex-direction:column;gap:7px}.business-footer-brand span{color:#b8c8c0}
.business-footer-info{display:flex;flex-wrap:wrap;gap:8px 18px;color:#d6e1dc;font-size:12px;line-height:1.65}.business-footer-info span{color:#d6e1dc}.business-footer-info b{margin-right:5px;color:#efd594}.business-footer-info nav{display:flex;flex-basis:100%;gap:16px;margin-top:6px}.business-footer-info a{color:#fff;text-underline-offset:3px}
@media(max-width:720px){.business-footer{grid-template-columns:1fr;gap:18px;padding:28px 18px}.business-footer-info{display:grid;gap:6px}.business-footer-info nav{margin-top:8px}}


/* 네이버페이 심사용 실제 촬영 실물 상품 3종 */
.physical-product-notice{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #c9ab6c;border-radius:8px;background:#fffaf0;color:#435148}
.physical-product-notice strong{flex:0 0 auto;color:var(--green);font-size:15px}
.physical-product-notice span{font-size:13px;line-height:1.6}
.finished-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.finished-card img{object-fit:cover}
.finished-card .physical-product-badge{position:absolute;right:14px;top:14px;z-index:1;display:block;margin:0;padding:6px 9px;border-radius:6px;background:#fff;color:var(--green);box-shadow:0 2px 10px rgba(0,0,0,.16);font-size:11px;font-weight:900}
.finished-card strong{margin:12px 3px 3px;font-size:17px;text-align:left}
.finished-card span{text-align:left}
.finished-card .finished-card-price{display:block;margin:9px 3px 1px;color:var(--green);font-size:18px;text-align:left}
.finished-card .finished-card-delivery{display:block;margin:0 3px 5px;color:#6b746f;font-size:12px;font-style:normal;font-weight:700;text-align:left}
@media(max-width:1000px){.finished-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
  .physical-product-notice{align-items:flex-start;flex-direction:column;gap:4px;padding:12px}
  .finished-grid{grid-template-columns:1fr;gap:12px}
  .finished-card{padding:8px}
  .finished-card .finished-card-code{left:13px;top:13px}
  .finished-card .physical-product-badge{right:13px;top:13px}
  .finished-card strong{font-size:15px}
  .finished-card span{font-size:11px}
  .finished-detail-line{white-space:normal}
}


/* 색상별 기존 포스터와 완제품 실물사진 상세 */
.finished-card img{object-fit:contain}
.guide-fabric-grid.real-product-details{display:grid;grid-template-columns:1fr;gap:72px}
.real-product-detail{min-width:0;padding:0 0 64px;border-bottom:1px solid #d9cdb8}
.real-product-detail:last-child{padding-bottom:0;border-bottom:0}
.real-product-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 24px;padding:0 4px}
.real-product-detail-head small{color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.14em}
.real-product-detail-head h3{margin:7px 0 8px;font-family:"Gowun Batang";font-size:clamp(31px,4vw,48px);line-height:1.25}
.real-product-detail-head h3 b{display:inline-grid;place-items:center;min-width:48px;height:38px;margin-right:8px;border-radius:6px;background:var(--green);color:#fff;font-family:"Noto Sans KR",sans-serif;font-size:15px}
.real-product-detail-head p{margin:0;color:#5f6c65;font-size:14px;line-height:1.8}
.real-product-detail-order{display:flex;flex:0 0 210px;flex-direction:column;align-items:flex-end;gap:4px}
.real-product-detail-order strong{color:var(--green);font-size:25px}
.real-product-detail-order span{color:#6d7871;font-size:12px}
.real-product-detail-order button{width:100%;margin-top:9px;border:0;border-radius:8px;padding:13px 15px;color:#fff;font-weight:900;cursor:pointer;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.real-product-detail-order .product-order-green{background:#124b3c;box-shadow:0 8px 18px rgba(18,75,60,.22)}
.real-product-detail-order .product-order-red{background:#ad4b34;box-shadow:0 8px 18px rgba(173,75,52,.22)}
.real-product-detail-order .product-order-navy{background:#263b59;box-shadow:0 8px 18px rgba(38,59,89,.24)}
.real-product-detail-order button:hover,.real-product-detail-order button:focus-visible{filter:brightness(.88);transform:translateY(-1px)}
.real-product-detail-order button:focus-visible{outline:3px solid rgba(197,145,53,.45);outline-offset:3px}
.real-product-poster{width:min(100%,1055px);margin:0 auto 34px}
.real-product-poster img{display:block;width:100%;height:auto;border:1px solid #d9cdb8;border-radius:8px;background:#fff}
.real-product-poster figcaption{margin-top:8px;color:#707b74;font-size:12px;text-align:center}
.real-product-photo-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 14px}
.real-product-photo-heading strong{font-family:"Gowun Batang";font-size:24px}
.real-product-photo-heading span{color:#6d7871;font-size:12px}
.real-product-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.real-product-photo{min-width:0;margin:0;padding:8px;border:1px solid #ddd3c2;border-radius:8px;background:#fff}
.real-product-photo a{display:block;overflow:hidden;border-radius:5px;background:#ece8df}
.real-product-photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;transition:transform .2s ease}
.real-product-photo-feature{width:min(100%,920px);margin:0 auto}
.real-product-photo-feature a,.real-product-photo-feature img{display:block;width:100%}
.real-product-photo-feature img{height:auto;border:1px solid #d9cdb8;border-radius:8px;background:#fff}
.real-product-photo a:hover img{transform:scale(1.025)}
.real-product-photo figcaption{padding:8px 2px 1px;color:#526159;font-size:12px;font-weight:700;text-align:center}
@media(max-width:760px){
  .guide-fabric-grid.real-product-details{gap:52px}
  .real-product-detail{padding-bottom:46px}
  .real-product-detail-head{align-items:stretch;flex-direction:column;gap:16px}
  .real-product-detail-head h3{font-size:32px}
  .real-product-detail-order{flex-basis:auto;align-items:flex-start}
  .real-product-detail-order button{width:100%}
  .real-product-poster{margin-bottom:27px}
  .real-product-photo-heading{align-items:flex-start;flex-direction:column;gap:3px}
  .real-product-photo-heading strong{font-size:21px}
  .real-product-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .real-product-photo{padding:5px}
  .real-product-photo figcaption{font-size:10px}
}

/* 주문자 사진 20장 비공개 접수 */
.photo-intake-spotlight {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 24px auto 8px;
  padding: 28px;
  border: 2px solid #d5ad4d;
  border-radius: 8px;
  background: #f8f6ef;
  color: #173d34;
  box-shadow: 0 10px 30px rgba(17, 55, 46, .16);
  overflow: hidden;
  animation: photoIntakePulse 1.8s ease-in-out infinite;
}
.photo-intake-spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,.75) 48%, transparent 54% 100%);
  transform: translateX(-120%);
  animation: photoIntakeShine 3.4s ease-in-out infinite;
}
.photo-intake-copy, .photo-intake-form, .photo-upload-wait-note, .photo-intake-progress, .photo-intake-status, .smartstore-paid-panel, .photo-intake-notes { position: relative; z-index: 1; }
.photo-intake-copy small { display: block; color: #8b671e; font-weight: 800; font-size: 12px; }
.photo-intake-copy h1 { margin: 5px 0 8px; font-family: 'Gowun Batang', serif; font-size: clamp(25px, 4vw, 38px); line-height: 1.2; letter-spacing: 0; }
.photo-intake-copy p { margin: 0; max-width: 850px; color: #52645f; font-size: 15px; line-height: 1.7; }
.photo-intake-form { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.3fr); gap: 12px; align-items: end; margin-top: 18px; }
.photo-intake-form label span { display: block; margin-bottom: 7px; font-weight: 800; font-size: 14px; }
.photo-intake-form input[type='text'] { width: 100%; height: 58px; box-sizing: border-box; border: 2px solid #2f6959; border-radius: 6px; padding: 0 15px; background: #fff; color: #173d34; font: inherit; font-size: 18px; outline: none; }
.photo-intake-form input[type='text']:focus { border-color: #c79325; box-shadow: 0 0 0 4px rgba(199,147,37,.18); }
.photo-intake-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.photo-intake-button { min-height: 58px; border: 0; border-radius: 6px; padding: 10px 20px; background: #0b6b50; color: #fff; cursor: pointer; box-shadow: 0 5px 0 #084a38; transition: transform .15s ease, background .2s ease; }
.photo-intake-button:hover { background: #085d46; transform: translateY(-2px); }
.photo-intake-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #084a38; }
.photo-intake-button:disabled { cursor: wait; opacity: .78; }
.photo-intake-button b, .photo-intake-button span { display: block; letter-spacing: 0; }
.photo-intake-button b { font-size: 19px; }
.photo-intake-button span { margin-top: 2px; font-size: 12px; opacity: .8; }
.photo-intake-button.complete { background: #725414; box-shadow: 0 5px 0 #49360d; }
.photo-intake-reset { grid-column: 1 / -1; justify-self: end; border: 1px solid #66766f; background: transparent; color: #334a42; padding: 8px 12px; cursor: pointer; }
.photo-intake-progress { margin-top: 14px; }
.photo-intake-progress div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
.photo-intake-progress progress { width: 100%; height: 12px; accent-color: #0b6b50; }
.photo-intake-status { margin: 13px 0 0; padding: 11px 13px; border-left: 4px solid #d5ad4d; background: #fff; color: #314a42; font-weight: 700; }
.photo-intake-status[data-type='error'] { border-color: #b53232; color: #9a2323; }
.photo-intake-status[data-type='success'] { border-color: #08734f; color: #07583e; }
.photo-intake-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 13px 0 0; padding: 0; list-style: none; color: #5c6a65; font-size: 12px; }
.photo-intake-notes li::before { content: '✓'; margin-right: 6px; color: #98701d; font-weight: 900; }
@keyframes photoIntakePulse { 0%,100% { box-shadow: 0 10px 30px rgba(17,55,46,.16), 0 0 0 0 rgba(213,173,77,.05); } 50% { box-shadow: 0 12px 35px rgba(17,55,46,.2), 0 0 0 6px rgba(213,173,77,.18); } }
@keyframes photoIntakeShine { 0%,58% { transform: translateX(-120%); } 82%,100% { transform: translateX(120%); } }
@media (max-width: 760px) {
  .photo-intake-spotlight { margin: 12px 12px 4px; padding: 20px 16px; }
  .photo-intake-form { grid-template-columns: 1fr; }
  .photo-intake-button { min-height: 64px; }
  .photo-intake-notes { display: grid; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-intake-spotlight, .photo-intake-spotlight::after { animation: none; }
}
.real-product-smartstore-panel { margin:18px auto 0; max-width:920px; }
.real-product-smartstore-panel a,.real-product-smartstore-panel img { display:block; width:100%; }
.real-product-smartstore-panel img { height:auto; border:1px solid rgba(30,66,55,.16); }
.real-product-smartstore-panel figcaption { margin-top:8px; color:#65756f; font-size:12px; text-align:center; }
.real-product-gift-boxes{max-width:1055px;margin:42px auto 0;padding:28px;border:1px solid #d9cdb8;background:#f6f3ec}
.real-product-gift-head{text-align:center}
.real-product-gift-head small{display:block;color:#9a742d;font-size:11px;font-weight:900}
.real-product-gift-head h4{margin:6px 0 7px;font-family:'Gowun Batang',serif;font-size:clamp(26px,3.5vw,38px);line-height:1.35;letter-spacing:0}
.real-product-gift-head p{margin:0;color:#536159;font-size:14px;line-height:1.7}
.real-product-gift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.real-product-gift-grid figure{min-width:0;margin:0;background:#fff}
.real-product-gift-grid img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.real-product-gift-grid figcaption{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #ded5c6;border-top:0;color:#5c6962;font-size:12px}
.real-product-gift-grid figcaption b{color:#203e34;font-size:14px}
.real-product-gift-note{margin:18px 0 0;padding-top:16px;border-top:1px solid #d9cdb8;color:#68736d;font-size:12px;line-height:1.7;text-align:center}
@media(max-width:650px){
  .real-product-gift-boxes{margin-top:30px;padding:16px}
  .real-product-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px}
  .real-product-gift-grid figcaption{padding:10px 8px}
  .real-product-gift-grid figcaption b{font-size:12px;word-break:keep-all}
  .real-product-gift-grid figcaption span{font-size:10px}
  .real-product-gift-grid figcaption{align-items:flex-start;flex-direction:column;gap:2px}
}

/* Mobile overflow guard for photo intake */
html, body { max-width: 100%; overflow-x: hidden; }
.photo-intake-spotlight, .photo-intake-copy, .photo-intake-form, .photo-intake-form > * { min-width: 0; }
@media (max-width: 760px) {
  .photo-intake-spotlight {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }
  .photo-intake-copy small { padding-left: 0; }
  .photo-intake-copy p, .photo-intake-status, .photo-intake-notes li {
    overflow-wrap: anywhere;
    word-break: keep-all;
  }
}

@media (max-width: 760px) {
  .photo-intake-spotlight { contain: inline-size; }
  .photo-intake-copy h1 {
    max-width: 100%;
    font-size: 25px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .photo-intake-form, .photo-intake-status, .photo-intake-notes {
    width: 100%;
    max-width: 100%;
  }
  .purchase-quick-info {
    width: 100%;
    max-width: 100%;
  }
}

.photo-content-guide {
  min-height: 520px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid #d9cdb8;
  background: #f8f6ef;
  color: #173d34;
}
.photo-content-guide[hidden] { display: none; }
.photo-content-guide > small { color: #927024; font-size: 12px; font-weight: 800; }
.photo-content-guide h3 { margin: 10px 0 14px; font-family: 'Gowun Batang', serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: 0; }
.photo-content-guide > p { max-width: 650px; margin: 0; color: #53645f; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.photo-content-upload-state { margin: 26px 0 18px; padding: 18px 20px; border-left: 4px solid #b28a35; background: #fff; }
.photo-content-upload-state[data-ready='true'] { border-left-color: #0b7655; background: #edf8f2; }
.photo-content-upload-state b, .photo-content-upload-state span { display: block; }
.photo-content-upload-state b { font-size: 18px; }
.photo-content-upload-state span { margin-top: 5px; color: #53645f; line-height: 1.6; }
.photo-content-upload-link { align-self: flex-start; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 6px; background: #0b6b50; color: #fff; font-weight: 800; text-decoration: none; }
.photo-content-upload-link:hover { background: #085d46; }

/* 5칸 가격표 대신 주문 경로를 한눈에 보여주는 간단 안내 */
.purchase-order-summary { display:grid; grid-template-columns:minmax(260px,.9fr) minmax(340px,1.35fr); gap:18px 30px; max-width:1136px; margin:16px auto 34px; padding:24px 26px; box-sizing:border-box; border:1px solid rgba(236,208,140,.48); border-radius:6px; background:#123f34; color:#fff; box-shadow:0 14px 34px rgba(12,42,34,.18); }
.purchase-order-title small { display:block; margin-bottom:7px; color:#e8c977; font-size:11px; font-weight:900; }
.purchase-order-title h3 { margin:0; font-family:'Gowun Batang',serif; font-size:clamp(22px,2.3vw,31px); font-weight:400; line-height:1.4; }
.purchase-order-title strong { color:#f2d58b; }
.purchase-order-points { display:grid; align-content:center; gap:12px; }
.purchase-order-points p { display:grid; grid-template-columns:126px minmax(0,1fr); gap:12px; align-items:start; margin:0; padding-bottom:11px; border-bottom:1px solid rgba(255,255,255,.16); }
.purchase-order-points p:last-child { padding-bottom:0; border-bottom:0; }
.purchase-order-points b { color:#f0d083; font-size:13px; }
.purchase-order-points span { color:#edf5f1; font-size:14px; line-height:1.6; }
.purchase-order-paid { grid-column:1/-1; display:flex; align-items:center; gap:12px; margin:0; padding-top:14px; border-top:1px solid rgba(255,255,255,.2); font-size:12px; }
.purchase-order-paid b { color:#f0d083; }
.purchase-order-paid span { color:#dce9e3; }
@media(max-width:760px){
  .purchase-order-summary { grid-template-columns:1fr; gap:16px; margin:12px 14px 24px; padding:20px 17px; }
  .purchase-order-title h3 { font-size:24px; }
  .purchase-order-points p { grid-template-columns:1fr; gap:4px; }
  .purchase-order-paid { display:grid; gap:4px; }
}

/* STEP 3 · 미니북몰 유입 고객의 결제 전 사진 접수 */
.builder-photo-step { margin: 18px 0 4px; padding: 18px; border: 2px solid #b89443; border-left: 7px solid #0b6b50; background: #fffaf0; box-shadow: 0 8px 22px rgba(27,61,51,.08); }
.builder-photo-step[hidden] { display: none; }
.builder-photo-step-title { display: grid; gap: 4px; margin-bottom: 14px; }
.builder-photo-step-title > span { color: #9a741f; font-size: 12px; font-weight: 900; }
.builder-photo-step-title > strong { color: #183f35; font-size: 20px; line-height: 1.35; }
.builder-photo-step-title > small { color: #617069; font-size: 12px; line-height: 1.55; }
.builder-photo-form { display: grid; gap: 10px; }
.builder-photo-form label span { display: block; margin-bottom: 6px; color: #314a42; font-size: 13px; font-weight: 800; }
.builder-photo-form input[type='text'] { width: 100%; height: 50px; box-sizing: border-box; border: 2px solid #4b7568; border-radius: 5px; padding: 0 13px; background: #fff; color: #173d34; font: inherit; font-size: 16px; outline: none; }
.builder-photo-form input[type='text']:focus { border-color: #c79325; box-shadow: 0 0 0 4px rgba(199,147,37,.16); }
.builder-photo-button { min-height: 58px; border: 0; border-radius: 5px; padding: 10px 16px; background: #0b6b50; color: #fff; cursor: pointer; box-shadow: 0 5px 0 #084a38; }
.builder-photo-button:hover { background: #085d46; }
.builder-photo-button:disabled { cursor: wait; opacity: .78; }
.builder-photo-button b, .builder-photo-button span { display: block; }
.builder-photo-button b { font-size: 18px; }
.builder-photo-button span { margin-top: 3px; font-size: 11px; opacity: .82; }
.builder-photo-button.complete { background: #806019; box-shadow: 0 5px 0 #513d10; }
.builder-photo-wait { margin: 16px 0 0; padding: 24px 18px; border: 4px solid #d99b11; background: #fff0a8; color: #704c00; line-height: 1.18; text-align:center; box-shadow:0 0 0 7px rgba(217,155,17,.17); animation:minibook-upload-alert .7s ease-in-out infinite alternate; }
.builder-photo-wait[hidden] { display:none!important; }
.builder-photo-wait strong { display:block; font-size:clamp(30px,8vw,52px); font-weight:1000; word-break:keep-all; }
.builder-photo-step .photo-intake-progress { margin-top: 12px; }
.builder-photo-step .photo-intake-status { margin-top: 12px; font-size: 12px; line-height: 1.55; }

@media (max-width: 650px) {
  .builder-photo-step { padding: 15px 13px; }
  .builder-photo-step-title > strong { font-size: 18px; }
  .builder-photo-button { min-height: 64px; }
}
.add-cart-button:disabled { cursor: not-allowed; opacity: .52; }
@media (max-width: 650px) {
  .photo-content-guide { min-height: 390px; padding: 28px 20px; }
  .photo-content-guide h3 { font-size: 29px; }
  .photo-content-guide > p { font-size: 15px; }
  .photo-content-upload-link { width: 100%; box-sizing: border-box; }
}
/* 고객은 사진을 편집하지 않고 판매자가 관리자 작업함에서 편집·확정한다. */
.spec-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1320px}
.checkout-final-guide{border-color:#3d7764;background:#edf6f2;color:#214f40;box-shadow:0 5px 14px rgba(28,79,62,.10)}
.payment-stop[data-naverpay-enabled="true"]{border-color:#00c73c;background:#effcf3}
.payment-stop[data-naverpay-enabled="true"] span{color:#087b2d}
@media(max-width:1000px){.spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.spec-grid{grid-template-columns:1fr}}
/* 스마트스토어 결제완료 사진접수 분리 */
.smartstore-paid-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(290px,.72fr); gap:20px; align-items:center; margin-top:16px; padding:18px; border:1px solid #78c99b; border-left:6px solid #03c75a; background:#eef9f2; }
.smartstore-paid-copy small { display:block; color:#08753a; font-size:10px; font-weight:900; }
.smartstore-paid-copy h2 { margin:3px 0 6px; font-family:'Gowun Batang',serif; font-size:22px; letter-spacing:0; }
.smartstore-paid-copy p { margin:0; color:#426054; font-size:13px; line-height:1.65; }
.smartstore-paid-action { min-width:0; }
.smartstore-paid-action button { width:100%; min-height:62px; border:0; border-radius:6px; padding:10px 15px; background:#03c75a; color:#fff; box-shadow:0 4px 0 #07833f; cursor:pointer; }
.smartstore-paid-action button b,.smartstore-paid-action button span { display:block; letter-spacing:0; }
.smartstore-paid-action button b { font-size:16px; }
.smartstore-paid-action button span { margin-top:3px; font-size:11px; opacity:.85; }
.smartstore-paid-action button:disabled:not(.complete) { background:#a9b9af; box-shadow:0 4px 0 #77867d; cursor:not-allowed; opacity:.72; }
.smartstore-paid-action button.complete { background:#173d34; box-shadow:none; cursor:default; }
.smartstore-paid-action p { margin:9px 0 0; color:#576c63; font-size:11px; line-height:1.55; word-break:keep-all; }
.smartstore-paid-action p[data-type='success'] { color:#08753a; font-weight:800; }
.smartstore-paid-action p[data-type='error'] { color:#a12727; font-weight:800; }
@media (max-width:760px) {
  .smartstore-paid-panel { grid-template-columns:1fr; gap:13px; padding:15px; }
  .smartstore-paid-copy h2 { font-size:20px; }
  .smartstore-paid-action button { min-height:66px; }
}
/* 사진 20장 업로드 대기 안내 */
.photo-upload-wait-note { display:block; margin:18px 0 0; padding:26px 18px; border:4px solid #d99b11; background:#fff0a8; color:#704c00; line-height:1.18; text-align:center; box-shadow:0 0 0 8px rgba(217,155,17,.18); animation:minibook-upload-alert .7s ease-in-out infinite alternate; }
.photo-upload-wait-note[hidden] { display:none!important; }
.photo-upload-wait-note strong { display:block; font-size:clamp(30px,8vw,52px); font-weight:1000; word-break:keep-all; }
@keyframes minibook-upload-alert {
  from { background:#fff0a8; border-color:#d99b11; box-shadow:0 0 0 5px rgba(217,155,17,.12),0 0 18px rgba(217,155,17,.18); transform:scale(1); }
  to { background:#ffd957; border-color:#b96b00; box-shadow:0 0 0 10px rgba(255,188,38,.28),0 0 34px rgba(255,173,0,.55); transform:scale(1.015); }
}

/* 네이버 스마트스토어 결제 연결 */
.smartstore-checkout-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:22px;margin-top:20px}
.smartstore-checkout-guide{padding:24px;border:1px solid #b8d8c6;border-left:6px solid #03c75a;background:#f1faf4}
.smartstore-checkout-guide>small{display:block;color:#08753a;font-size:11px;font-weight:900}
.smartstore-checkout-guide h3{margin:7px 0 20px;font-family:'Gowun Batang',serif;font-size:27px;line-height:1.4;letter-spacing:0}
.smartstore-checkout-guide ol{display:grid;gap:13px;margin:0;padding:0;list-style:none;counter-reset:smartstore-step}
.smartstore-checkout-guide li{position:relative;min-height:48px;padding-left:48px;counter-increment:smartstore-step}
.smartstore-checkout-guide li::before{content:counter(smartstore-step);position:absolute;left:0;top:0;display:grid;width:34px;height:34px;place-items:center;background:#173d34;color:#fff;font-weight:900}
.smartstore-checkout-guide li b,.smartstore-checkout-guide li span{display:block}
.smartstore-checkout-guide li b{font-size:14px}
.smartstore-checkout-guide li span{margin-top:3px;color:#52645f;font-size:12px;line-height:1.55}
.smartstore-checkout-guide>p{margin:18px 0 0;padding-top:15px;border-top:1px solid #cfe2d6;color:#52645f;font-size:12px;line-height:1.65}
.smartstore-checkout-actions{display:block;margin-top:18px}
.smartstore-checkout-actions .pay-button{margin:0;border-radius:6px;background:#03c75a;box-shadow:0 4px 0 #07833f}
.checkout-intake-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;padding:14px;border:1px solid #b9cec5;background:#f5faf7}
.checkout-intake-fields p{grid-column:1/-1;margin:0 0 2px;color:#214f40}.checkout-intake-fields p strong,.checkout-intake-fields p span{display:block}.checkout-intake-fields p span{margin-top:4px;font-size:12px;line-height:1.5}
.checkout-intake-fields label{display:grid;gap:6px;font-size:12px;font-weight:900;color:#28483c}.checkout-intake-fields input{width:100%;min-height:46px;border:1px solid #9eb9ae;background:#fff;padding:0 12px;font:inherit;color:#152b23}
@media(max-width:760px){
  #checkoutDialog{width:min(94vw,620px);max-height:94dvh;border-radius:14px}
  .smartstore-checkout-layout{grid-template-columns:1fr;gap:13px}
  .checkout-intake-fields{grid-template-columns:1fr}
  .smartstore-checkout-guide{padding:18px}
  .smartstore-checkout-guide h3{font-size:23px}
  .smartstore-checkout-actions .pay-button{min-height:58px}
}
@media (max-width:760px) {
  .photo-upload-wait-note,.builder-photo-wait { padding:22px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-upload-wait-note,.builder-photo-wait { animation:none; }
}

/* 방문 경로별 미니북몰 안내 */
.home-site-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #236754;border-radius:6px;padding:8px 12px;background:#fffdf8;color:#174c3e;font-size:13px;font-weight:900;text-decoration:none;white-space:nowrap}
.home-site-button:hover,.home-site-button:focus-visible{background:#e8f3ed;outline:2px solid rgba(18,75,60,.16);outline-offset:2px}
.mall-entry-popup{position:fixed;z-index:180;inset:0;display:grid;place-items:center;padding:18px;background:rgba(8,30,23,.72);opacity:0;transition:opacity .18s ease}
.mall-entry-popup[hidden]{display:none}
.mall-entry-popup.is-open{opacity:1}
.mall-entry-card{position:relative;width:min(540px,100%);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid rgba(239,211,145,.75);border-radius:8px;padding:28px;background:#fffdf8;box-shadow:0 28px 75px rgba(0,0,0,.35);transform:translateY(10px);transition:transform .18s ease}
.mall-entry-popup.is-open .mall-entry-card{transform:none}
.mall-entry-card>small{display:block;color:#a87520;font-size:11px;font-weight:900;letter-spacing:.12em}
.mall-entry-card h2{margin:7px 36px 7px 0;font-family:"Gowun Batang",serif;font-size:30px;line-height:1.3;word-break:keep-all}
.mall-entry-card>p{margin:0 0 20px;color:#647169;font-size:13px;line-height:1.65;word-break:keep-all}
.mall-entry-x{position:absolute;right:13px;top:12px;display:grid;place-items:center;width:38px;height:38px;border:0;background:transparent;color:#263b32;font-size:31px;line-height:1;cursor:pointer}
.mall-entry-actions{display:grid;gap:10px}
.mall-entry-actions a{display:flex;min-height:78px;flex-direction:column;justify-content:center;gap:4px;border-radius:6px;padding:14px 17px;color:#fff;text-decoration:none;transition:transform .16s ease,filter .16s ease}
.mall-entry-actions a:hover,.mall-entry-actions a:focus-visible{filter:brightness(1.08);transform:translateY(-2px);outline:3px solid rgba(197,145,53,.28);outline-offset:2px}
.mall-entry-paid{background:#087b43}
.mall-entry-order{background:#9a711f}
.mall-entry-actions strong{font-size:16px;line-height:1.35;word-break:keep-all}
.mall-entry-actions span{color:rgba(255,255,255,.88);font-size:12px;line-height:1.5;word-break:keep-all}
.mall-entry-dismiss{width:100%;min-height:46px;margin-top:13px;border:1px solid #d5c9b6;border-radius:6px;background:#f3ede2;color:#35463e;font-weight:900;cursor:pointer}
body.mall-entry-open{overflow:hidden}
@media(max-width:650px){
  .shop-header{gap:9px}
  .header-actions{gap:5px}
  .home-site-button{min-height:36px;padding:7px 8px;font-size:11px}
  .cart-button{padding:8px;font-size:11px}
  .mall-entry-popup{padding:12px}
  .mall-entry-card{max-height:calc(100dvh - 24px);padding:23px 17px 17px}
  .mall-entry-card h2{font-size:25px}
  .mall-entry-actions a{min-height:75px;padding:13px 14px}
  .mall-entry-actions strong{font-size:14px}
  .mall-entry-actions span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.mall-entry-popup,.mall-entry-card,.mall-entry-actions a{transition:none}}

/* 상세페이지를 읽는 동안에도 열 수 있는 하단 장바구니 */
.floating-cart-button{position:fixed;z-index:75;right:24px;bottom:24px;display:flex;align-items:center;justify-content:center;gap:12px;min-width:188px;min-height:58px;border:1px solid rgba(239,211,145,.82);border-radius:7px;padding:11px 14px 11px 19px;background:#124b3c;color:#fff;font-weight:900;box-shadow:0 14px 34px rgba(8,45,35,.32);cursor:pointer;transition:transform .18s ease,background .18s ease}
.floating-cart-button[hidden]{display:none}
.floating-cart-button.is-add-mode{border-color:#f0d89e;background:#a87922}
.floating-cart-button.is-add-mode:hover,.floating-cart-button.is-add-mode:focus-visible{background:#8d651c}
.floating-cart-button:hover,.floating-cart-button:focus-visible{background:#0a392e;transform:translateY(-3px);outline:3px solid rgba(197,145,53,.32);outline-offset:2px}
.floating-cart-button span{font-size:15px;white-space:nowrap}
.floating-cart-button b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:50%;padding:0 7px;background:#efd391;color:#173328;font-size:14px}
.floating-cart-button b[hidden]{display:none}
@media(max-width:650px){
  body.has-floating-cart{padding-bottom:82px}
  .floating-cart-button{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;width:calc(100% - 24px);min-height:58px;border-radius:7px}
}
@media(prefers-reduced-motion:reduce){.floating-cart-button{transition:none}}

/* 미니북몰 상단 네이버 스마트스토어 구매 안내 */
.smartstore-top-banner{order:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:16px clamp(16px,4vw,64px) 4px;padding:16px 20px;border:1px solid rgba(3,199,90,.34);border-radius:16px;background:linear-gradient(120deg,#ecfff4 0%,#fffdf8 62%,#f4fbf7 100%);color:#173d32;text-decoration:none;box-shadow:0 10px 28px rgba(12,88,56,.1);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.smartstore-top-banner:hover,.smartstore-top-banner:focus-visible{transform:translateY(-2px);border-color:#03c75a;box-shadow:0 15px 34px rgba(8,105,63,.16);outline:none}
.smartstore-top-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#03c75a;color:#fff;font-family:Arial,sans-serif;font-size:30px;font-weight:1000;box-shadow:0 6px 16px rgba(3,199,90,.24)}
.smartstore-top-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.smartstore-top-copy small{color:#07833f;font-size:10px;font-weight:900;letter-spacing:.15em}.smartstore-top-copy strong{font-family:'Gowun Batang',serif;font-size:clamp(20px,2.2vw,29px);line-height:1.25}.smartstore-top-copy b{color:#607067;font-size:12px;font-weight:600;line-height:1.5;word-break:keep-all}
.smartstore-top-action{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 17px;border-radius:999px;background:#03c75a;color:#fff;font-size:13px;font-weight:900;white-space:nowrap}.smartstore-top-action i{font-size:18px;font-style:normal}
@media(max-width:650px){.smartstore-top-banner{grid-template-columns:auto minmax(0,1fr);gap:11px;margin:10px 12px 2px;padding:13px;border-radius:13px}.smartstore-top-mark{width:42px;height:42px;border-radius:12px;font-size:26px}.smartstore-top-copy small{font-size:8px}.smartstore-top-copy strong{font-size:19px}.smartstore-top-copy b{display:none}.smartstore-top-action{grid-column:1/-1;justify-content:center;min-height:42px;border-radius:9px}}

/* 제목 아래의 작은 후기 버튼과 집 모양 홈 버튼 */
.home-site-button{width:40px;min-width:40px;padding:0;font-size:20px;line-height:1}
.review-launch-button{top:82px;bottom:auto;gap:5px;min-height:34px;padding:4px 10px 4px 5px;box-shadow:0 7px 18px rgba(11,45,36,.24)}
.review-launch-button>span{width:24px;height:24px;font-size:14px}
.review-launch-button b{font-size:11px}
@media(max-width:650px){
  .home-site-button{width:36px;min-width:36px;padding:0;font-size:18px}
  .review-launch-button,body.has-floating-cart .review-launch-button{top:68px;right:auto;bottom:auto;left:12px;min-height:32px;padding:4px 9px 4px 5px}
  .review-launch-button>span{width:22px;height:22px;font-size:13px}
  .review-launch-button b{font-size:10px}
}

.builder-section .making-video-panel{margin-top:34px;margin-bottom:18px}
.builder-three-colors{overflow:hidden;max-width:1400px;margin:0 auto;border:1px solid rgba(229,201,139,.48);border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.builder-three-colors img{display:block;width:100%;height:auto}
@media(max-width:650px){.builder-section .making-video-panel{margin-top:22px;margin-bottom:14px}.builder-three-colors{border-radius:14px}}
/* 2026-08-31 · 상세 콘텐츠 중심 미니북몰 */
.minibook-detail-intro-visual {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: #eadfc7;
  box-shadow: 0 24px 70px rgba(31, 49, 39, .14);
}

.minibook-detail-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.content-preview-layout {
  display: block;
  max-width: 1040px;
  margin-inline: auto;
}

.content-preview-layout .preview-panel {
  width: 100%;
}

.preview-set-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(185, 141, 68, .28);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0, #f4ead6);
}

.preview-set-panel label {
  color: #283d33;
  font-weight: 800;
}

.preview-set-panel label span {
  display: inline-block;
  margin-right: 8px;
  color: #9a6e24;
  font-size: 12px;
  letter-spacing: .12em;
}

.preview-set-panel select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(40, 61, 51, .25);
  border-radius: 10px;
  background: #fff;
  color: #23372e;
  font: inherit;
  font-weight: 700;
}

.preview-set-panel p {
  margin: 0;
  color: #746c5f;
  font-size: 13px;
}

@media (max-width: 640px) {
  .minibook-detail-intro-visual {
    width: calc(100% - 24px);
    margin-top: 24px;
    border-radius: 18px;
  }

  .preview-set-panel {
    padding: 16px;
  }
}

/* 5×5cm 사진 안쪽 사방 2mm 흰색 테두리 안내 */
.photo-border-notice{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);max-width:1200px;margin:0 auto 58px;overflow:hidden;border:1px solid #d9cdb8;border-radius:24px;background:#f7f1e5;box-shadow:var(--shadow)}
.photo-border-notice-media{min-width:0;background:#e8e0d1}
.photo-border-notice-media img{display:block;width:100%;height:100%;min-height:330px;object-fit:cover}
.photo-border-notice figcaption{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,4vw,54px)}
.photo-border-notice figcaption>span{margin-bottom:12px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.15em}
.photo-border-notice h2{margin:0 0 18px;font-family:"Gowun Batang";font-size:clamp(30px,3.3vw,46px);line-height:1.2}
.photo-border-notice strong{color:var(--green);font-size:clamp(18px,2vw,23px);line-height:1.55}
.photo-border-notice p{margin:14px 0 0;color:#68756f;font-size:14px;line-height:1.8}
@media(max-width:820px){.photo-border-notice{grid-template-columns:1fr;margin-bottom:42px;border-radius:18px}.photo-border-notice-media img{height:auto;min-height:0}.photo-border-notice figcaption{padding:26px 22px 30px}}
@media(max-width:650px){.photo-border-notice{margin-bottom:36px;border-radius:14px}.photo-border-notice h2{font-size:30px}.photo-border-notice strong{font-size:18px}}
/* 완제품 실물과 선물포장 유튜브 영상 */
.builder-section .making-video-panel-secondary{grid-template-columns:minmax(0,1.28fr) minmax(280px,.72fr);margin-top:18px;margin-bottom:34px;background:linear-gradient(145deg,#eef5ee,#fff9e9)}
.making-video-panel-secondary .making-video-media{order:-1}
.making-video-youtube{border:0}
@media(max-width:900px){.builder-section .making-video-panel-secondary{grid-template-columns:1fr;margin-top:18px}}