/* ===== [포털 상품 상세·장바구니 반응형 디자인] 시작 ===== */
.jpm-product-detail-enhanced{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:start;gap:clamp(22px,3vw,42px);padding:clamp(18px,2.4vw,32px);border:1px solid #e2e9ef;border-radius:24px;background:#fff;box-shadow:0 14px 42px rgba(24,42,62,.055)}
.jpm-product-detail-media{position:sticky;top:22px;min-width:0}
.jpm-product-detail-enhanced .jpm-product-detail-image{min-height:420px;max-height:680px;padding:22px;background:linear-gradient(145deg,#f5f8fb 0%,#edf3f7 100%);border:1px solid #edf1f5;border-radius:18px}
.jpm-product-detail-enhanced .jpm-product-detail-image img{max-height:630px;width:100%;height:100%;object-fit:contain}
.jpm-product-no-image{display:flex;min-height:280px;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#8b99a8;font-size:21px;letter-spacing:.12em}
.jpm-product-no-image small{font-size:13px;letter-spacing:0}
.jpm-product-detail-gallery.enhanced{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.jpm-product-gallery-thumb{width:76px;height:76px;padding:5px;border:1px solid #dce4eb;border-radius:12px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.jpm-product-gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.jpm-product-gallery-thumb.active,.jpm-product-gallery-thumb:hover{border-color:#079b6a;box-shadow:0 0 0 2px rgba(7,155,106,.12)}
.jpm-product-gallery-thumb:focus-visible,.jpm-commerce-button:focus-visible{outline:3px solid #47b99a;outline-offset:3px}
.jpm-product-gallery-hint{margin:9px 2px 0;color:#8793a1;font-size:12px}
.jpm-product-purchase-panel{min-width:0;padding:2px 2px 8px}
.jpm-product-purchase-panel h1{font-size:clamp(26px,2.6vw,36px);line-height:1.32;letter-spacing:-.045em;margin:9px 0 13px;color:#172b41;overflow-wrap:anywhere}
.jpm-product-badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.jpm-product-badges span{padding:5px 9px;border-radius:6px;background:#eef7f3;color:#087a54;font-size:12px;font-weight:800}
.jpm-product-badges span.new{background:#eef5ff;color:#245db6}.jpm-product-badges span.sale{background:#fff0ee;color:#c43e32}
.jpm-product-detail-short-description{margin:0 0 16px;color:#5c6d7d;line-height:1.65;font-size:15px}
.jpm-product-detail-enhanced .jpm-product-detail-price{display:flex;align-items:baseline;gap:9px;margin:18px 0 19px;padding:15px 0 18px;border-bottom:1px solid #edf0f3}
.jpm-product-detail-enhanced .jpm-product-detail-price ins{font-size:clamp(29px,3vw,36px);letter-spacing:-.04em;color:#152940}
.jpm-product-detail-enhanced .jpm-product-detail-price del{font-size:16px;color:#8f9aa6}
.jpm-product-discount-rate{font-size:18px;font-weight:850;color:#db4c3f}
.jpm-product-price-check{font-size:19px;color:#9a5a0b}
.jpm-product-detail-category,.jpm-product-detail-sku{display:flex;gap:18px;margin:9px 0;color:#536477;font-size:14px}
.jpm-product-detail-category span,.jpm-product-detail-sku span{flex:0 0 76px;color:#8491a0}
.jpm-product-purchase-benefits{display:grid;gap:0;margin:19px 0 17px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
.jpm-product-purchase-benefits>div{display:flex;align-items:center;gap:12px;padding:12px 0}
.jpm-product-purchase-benefits>div+div{border-top:1px solid #f0f3f6}
.jpm-product-purchase-benefits>div>span{display:flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border-radius:10px;background:#e9f8f1;color:#078c61;font-weight:900;font-size:17px}
.jpm-product-purchase-benefits strong,.jpm-product-purchase-benefits small{display:block}.jpm-product-purchase-benefits strong{font-size:13px;color:#2a3c4f}.jpm-product-purchase-benefits small{margin-top:3px;font-size:12px;color:#8693a0}
.jpm-product-purchase-form{margin:17px 0 0}
.jpm-product-quantity-row{display:flex;align-items:center;gap:16px;margin:16px 0 18px;padding:14px 0;border-top:1px solid #f0f3f6}
.jpm-product-quantity-row>label{font-size:14px;font-weight:750;color:#33475b}
.jpm-quantity-control{display:inline-flex;align-items:center;min-height:40px;border:1px solid #dbe3ea;border-radius:9px;background:#fff;overflow:hidden}
.jpm-quantity-control button{width:39px;height:39px;padding:0;border:0;background:#f7fafc;color:#2d4356;font-size:21px;cursor:pointer}
.jpm-quantity-control button:hover{background:#e9f7f1;color:#087c56}
.jpm-quantity-control input{width:48px;height:39px;padding:0 4px;border:0;border-left:1px solid #e7edf2;border-right:1px solid #e7edf2;border-radius:0;text-align:center;font-size:15px;font-weight:800;box-shadow:none}
.jpm-quantity-control input::-webkit-inner-spin-button,.jpm-quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.jpm-quantity-control input[type=number]{-moz-appearance:textfield}
.jpm-product-quantity-hint{color:#8a97a4;font-size:12px}
.jpm-product-purchase-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.jpm-commerce-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 17px;border:1px solid transparent;border-radius:10px;text-decoration:none!important;font-size:14px;font-weight:800;line-height:1.35;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s;color:inherit}
.jpm-commerce-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(23,47,65,.09)}
.jpm-commerce-button.primary{background:#078f61;color:#fff;border-color:#078f61}.jpm-commerce-button.primary:hover{background:#067b54;color:#fff}
.jpm-commerce-button.purchase-now{background:#193b62;color:#fff;border-color:#193b62}.jpm-commerce-button.purchase-now:hover{background:#102f52;color:#fff}
.jpm-commerce-button.light{background:#fff;color:#34495d;border-color:#d4dde5}.jpm-commerce-button.light:hover{border-color:#079b6a;color:#087d56;background:#f7fcfa}
.jpm-commerce-button.full{width:100%;box-sizing:border-box}.jpm-commerce-button.large{min-height:52px;font-size:15px}.jpm-commerce-button.small{min-height:34px;padding:7px 11px;font-size:12px}
.jpm-product-secondary-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px}
.jpm-product-secondary-actions .jpm-commerce-button{min-height:40px;padding:8px 7px;font-size:12px}
.jpm-wishlist-form{margin:0;display:flex}.jpm-wishlist-form button{width:100%}
.jpm-commerce-small-note{margin:13px 0 6px;color:#82909e;font-size:12px;line-height:1.7}
.jpm-product-payment-note{padding:10px 12px;background:#f7f9fb;border-radius:8px}
.jpm-commerce-text-link{display:inline-flex;align-items:center;gap:5px;margin-top:14px;color:#087f59;font-size:13px;font-weight:750;text-decoration:none}
.jpm-commerce-text-link:hover{text-decoration:underline}.jpm-product-cart-link{display:flex;justify-content:flex-end;padding-top:5px;border-top:1px solid #f0f3f6}
.jpm-product-detail-lower,.jpm-product-delivery-info{margin:25px 0;padding:26px 28px;border:1px solid #e2e8ef;border-radius:18px;background:#fff}
.jpm-product-detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #e9eef2}
.jpm-product-detail-section-heading h2,.jpm-product-delivery-info h2{margin:0;font-size:21px;color:#172b41}.jpm-product-detail-section-heading span{font-size:10px;font-weight:850;letter-spacing:.15em;color:#94a1ad}
.jpm-product-detail-content{padding:22px 1px;line-height:1.9;color:#35485b;overflow-wrap:anywhere}.jpm-product-detail-content img{max-width:100%;height:auto}.jpm-product-empty-description{margin:20px 0;color:#83909d;font-size:14px}
.jpm-product-delivery-info dl{margin:17px 0 0}.jpm-product-delivery-info dl>div{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:13px 0;border-bottom:1px solid #eff2f5}.jpm-product-delivery-info dl>div:last-child{border-bottom:0}.jpm-product-delivery-info dt{font-size:13px;color:#84919e}.jpm-product-delivery-info dd{margin:0;font-size:13px;color:#42566a;line-height:1.65}
.jpm-product-detail-back{display:flex;justify-content:flex-start;margin:24px 0}
.jpm-commerce-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:20px 0 16px;color:#8a96a2;font-size:12px}.jpm-commerce-breadcrumb a{color:#647789;text-decoration:none}.jpm-commerce-breadcrumb a:hover{color:#078f61}
.jpm-commerce-page-heading{margin:12px 0 24px}.jpm-commerce-kicker{display:block;color:#07885d;font-size:10px;font-weight:900;letter-spacing:.15em}.jpm-commerce-page-heading h1{margin:8px 0;font-size:clamp(28px,4vw,38px);letter-spacing:-.045em;color:#172b41}.jpm-commerce-page-heading p{margin:0;color:#7b8897;font-size:14px}
.jpm-commerce-notice{margin:13px 0;padding:13px 15px;border:1px solid #dce7ef;border-radius:10px;background:#f5f9fc;color:#485d70;font-size:13px;line-height:1.6}.jpm-commerce-notice.success{background:#eefaf4;border-color:#c6ead6;color:#08774f}.jpm-commerce-notice.error{background:#fff5f2;border-color:#f1d0c8;color:#a43b2f}.jpm-commerce-notice a{font-weight:800;color:inherit}
.jpm-commerce-empty,.jpm-commerce-complete{margin:24px 0 48px;padding:clamp(28px,5vw,62px) 22px;text-align:center;border:1px solid #e1e8ef;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(23,47,65,.04)}.jpm-commerce-empty-icon{display:block;margin-bottom:12px;font-size:42px}.jpm-commerce-empty h2{margin:0 0 8px;color:#20374e;font-size:23px}.jpm-commerce-empty p,.jpm-commerce-complete p{color:#778796;font-size:14px;line-height:1.75}.jpm-commerce-empty .jpm-commerce-button{margin-top:12px}
.jpm-cart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:22px;align-items:start;margin-bottom:45px}.jpm-cart-lines,.jpm-checkout-form-panel,.jpm-order-summary{min-width:0;padding:22px;border:1px solid #e1e8ef;border-radius:18px;background:#fff}.jpm-cart-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #eaf0f4}.jpm-cart-list-heading strong{font-size:18px;color:#24394e}.jpm-cart-list-heading strong span{display:inline-flex;margin-left:5px;align-items:center;justify-content:center;width:24px;height:24px;border-radius:99px;background:#e9f8f1;color:#07865d;font-size:12px}
.jpm-cart-item{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid #eff2f5}.jpm-cart-thumb,.jpm-checkout-thumb{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #edf1f4;border-radius:12px;background:#f7f9fb}.jpm-cart-thumb{width:92px;height:92px}.jpm-cart-thumb img,.jpm-checkout-thumb img{display:block;width:100%;height:100%;object-fit:contain}.jpm-cart-thumb span,.jpm-checkout-thumb span{font-size:10px;color:#9aa5b0}.jpm-cart-item-main h2{margin:0 0 7px;font-size:15px;line-height:1.5}.jpm-cart-item-main h2 a{color:#253b51;text-decoration:none}.jpm-cart-unit-price{margin:0 0 9px;color:#8794a1;font-size:12px}.jpm-cart-item-total{display:flex;flex-direction:column;align-items:flex-end;gap:11px;white-space:nowrap}.jpm-cart-item-total strong{font-size:15px;color:#21364b}/* ===== [장바구니 상품별 수량변경 버튼] 시작 ===== */
.jpm-cart-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.jpm-cart-item-update{display:inline-flex;align-items:center;justify-content:center;border:1px solid #0b946b;border-radius:7px;background:#0b946b;color:#fff;padding:5px 9px;font-size:12px;font-weight:700;line-height:1.4;cursor:pointer}.jpm-cart-item-update:hover{background:#087e5b;color:#fff}@media(max-width:540px){.jpm-cart-item-actions{gap:7px}.jpm-cart-item-update{padding:5px 8px;font-size:11px}}
/* ===== [장바구니 상품별 수량변경 버튼] 끝 ===== */
/* ===== [장바구니 상품별 삭제 버튼 디자인] 시작 ===== */
.jpm-cart-remove{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:29px;padding:5px 10px;border:1px solid #d94b4b;border-radius:7px;background:#fff;color:#c63f3f;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.jpm-cart-remove:hover,.jpm-cart-remove:focus-visible{border-color:#c63f3f;background:#c63f3f;color:#fff}
@media(max-width:540px){.jpm-cart-remove{min-height:28px;padding:5px 8px;font-size:11px}}
/* ===== [장바구니 상품별 삭제 버튼 디자인] 끝 ===== */
.jpm-cart-bottom-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:17px}.jpm-cart-bottom-actions>a{color:#607487;font-size:13px;text-decoration:none}.jpm-order-summary{position:sticky;top:18px}.jpm-order-summary h2,.jpm-checkout-form-panel h2{margin:0 0 17px;font-size:19px;color:#22384d}.jpm-summary-line{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:13px 0;color:#667789;font-size:13px;border-bottom:1px solid #eef2f5}.jpm-summary-line strong{color:#293e53;font-size:14px}.jpm-summary-line.total{margin:3px 0 12px;padding:17px 0;border-bottom:0;color:#1d3349;font-weight:800}.jpm-summary-line.total strong{font-size:23px;color:#07895f;letter-spacing:-.04em}.jpm-order-summary .jpm-commerce-button{margin-top:7px}
.jpm-checkout-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:22px;align-items:start;margin-bottom:45px}.jpm-checkout-form{display:grid;gap:15px}.jpm-form-field{display:grid;gap:7px}.jpm-form-field label{font-size:13px;font-weight:750;color:#34495e}.jpm-form-field label span{color:#d94f41}.jpm-form-field input,.jpm-form-field textarea{box-sizing:border-box;width:100%;min-height:45px;padding:11px 12px;border:1px solid #dbe3ea;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:#263b50}.jpm-form-field textarea{min-height:88px;resize:vertical}.jpm-form-field input:focus,.jpm-form-field textarea:focus{outline:2px solid rgba(7,143,97,.2);border-color:#078f61}.jpm-form-field small{font-size:11px;color:#84919d}.jpm-address-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.jpm-privacy-consent{padding:13px;border:1px solid #dcece4;border-radius:10px;background:#f7fcf9}.jpm-privacy-consent label{display:flex;align-items:flex-start;gap:9px;color:#385447;font-size:12px;line-height:1.65}.jpm-privacy-consent input{margin-top:3px;flex:0 0 auto}.jpm-privacy-consent p{margin:8px 0 0;color:#7b8f85;font-size:11px;line-height:1.7}.jpm-privacy-consent a{color:#07895f}
.jpm-checkout-items{display:grid;gap:13px;margin-bottom:15px}.jpm-checkout-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center}.jpm-checkout-thumb{width:58px;height:58px}.jpm-checkout-item>div strong,.jpm-checkout-item>div small{display:block}.jpm-checkout-item>div strong{font-size:12px;line-height:1.5;color:#34495d}.jpm-checkout-item>div small{margin-top:4px;font-size:11px;color:#8794a1}.jpm-checkout-item>b{font-size:12px;color:#31465a}.jpm-complete-icon{display:flex;align-items:center;justify-content:center;width:66px;height:66px;margin:0 auto 17px;border-radius:50%;background:#e8f8ef;color:#078a60;font-size:32px;font-weight:900}.jpm-commerce-complete h1{margin:8px 0 13px;font-size:clamp(27px,4vw,36px);color:#1b3147}.jpm-order-reference{display:flex;justify-content:center;gap:15px;align-items:center;margin:22px auto;padding:15px 20px;max-width:360px;border:1px dashed #cbd8e1;border-radius:12px;background:#f8fafb}.jpm-order-reference span{font-size:12px;color:#7d8c99}.jpm-order-reference strong{font-size:16px;color:#183a5b;letter-spacing:.04em}.jpm-complete-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
@media(max-width:820px){.jpm-product-detail-enhanced{grid-template-columns:1fr}.jpm-product-detail-media{position:static}.jpm-product-detail-enhanced .jpm-product-detail-image{min-height:260px;max-height:560px}.jpm-cart-layout,.jpm-checkout-layout{grid-template-columns:1fr}.jpm-order-summary{position:static}.jpm-product-detail-enhanced .jpm-product-detail-image img{max-height:520px}}
@media(max-width:540px){.jpm-product-detail-enhanced{padding:13px;border-radius:16px;gap:18px}.jpm-product-detail-enhanced .jpm-product-detail-image{min-height:230px;padding:12px}.jpm-product-gallery-thumb{width:64px;height:64px}.jpm-product-purchase-buttons{grid-template-columns:1fr 1fr;gap:7px}.jpm-product-purchase-buttons .jpm-commerce-button{padding:10px 7px;font-size:13px;min-height:48px}.jpm-product-secondary-actions{grid-template-columns:1fr 1fr}.jpm-product-secondary-actions .jpm-commerce-button:last-child{grid-column:1/-1}.jpm-product-detail-lower,.jpm-product-delivery-info{padding:18px 15px;border-radius:14px}.jpm-product-detail-section-heading h2,.jpm-product-delivery-info h2{font-size:18px}.jpm-product-detail-section-heading span{font-size:8px}.jpm-product-delivery-info dl>div{grid-template-columns:90px 1fr;gap:10px}.jpm-cart-lines,.jpm-checkout-form-panel,.jpm-order-summary{padding:15px;border-radius:14px}.jpm-cart-item{grid-template-columns:66px minmax(0,1fr);gap:11px;padding:14px 0}.jpm-cart-thumb{width:66px;height:66px}.jpm-cart-item-total{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center}.jpm-cart-item-main h2{font-size:13px}.jpm-cart-list-heading{align-items:flex-start}.jpm-cart-bottom-actions{align-items:flex-start;flex-direction:column}.jpm-commerce-page-heading h1{font-size:28px}.jpm-checkout-item{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}.jpm-checkout-thumb{width:48px;height:48px}}
/* ===== [포털 상품 상세·장바구니 반응형 디자인] 끝 ===== */


/* ===== [마이페이지·상품 문의 화면 스타일] 시작 ===== */
.jpm-my-account-section{margin:20px 0 24px;padding:22px;border:1px solid #e1e8ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(23,47,65,.035)}
.jpm-my-account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid #edf1f4}
.jpm-my-account-section-heading h2,.jpm-my-account-profile h2{display:flex;align-items:center;gap:8px;margin:4px 0 0;color:#20374e;font-size:22px;letter-spacing:-.035em}
.jpm-my-account-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:99px;background:#e8f8ef;color:#07875b;font-size:12px}
.jpm-my-account-empty{margin:12px 0 0;padding:28px 18px;box-shadow:none}
.jpm-account-product-list{display:grid}
.jpm-account-product-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #eff2f5}
.jpm-account-product-row:last-child{border-bottom:0}
.jpm-account-product-thumb{display:flex;align-items:center;justify-content:center;width:76px;height:76px;overflow:hidden;border:1px solid #edf1f4;border-radius:10px;background:#f7f9fb;color:#82909e;text-decoration:none}
.jpm-account-product-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.jpm-account-product-copy{min-width:0}
.jpm-account-product-copy h3,.jpm-account-wishlist-card h3{margin:0 0 7px;font-size:14px;line-height:1.5}
.jpm-account-product-copy h3 a,.jpm-account-wishlist-card h3 a{color:#253b51;text-decoration:none}
.jpm-account-product-copy p{margin:0;color:#84919e;font-size:12px}
.jpm-account-product-row>strong{white-space:nowrap;color:#20374e;font-size:14px}
.jpm-my-account-bottom{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.jpm-account-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.jpm-account-wishlist-card{min-width:0;padding:10px;border:1px solid #e9eef2;border-radius:12px;background:#fff}
.jpm-account-wishlist-card .jpm-account-product-thumb{width:100%;height:140px;margin-bottom:10px}
.jpm-account-wishlist-card>strong{color:#087f59;font-size:14px}
.jpm-my-order-list{display:grid;gap:12px}
.jpm-my-order-card{padding:15px;border:1px solid #e7edf1;border-radius:12px;background:#fff}
.jpm-my-order-heading{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid #eef2f5}
.jpm-my-order-heading strong{color:#20374e;font-size:13px}
.jpm-my-order-heading span{padding:4px 7px;border-radius:6px;background:#eaf8f0;color:#078253;font-size:11px;font-weight:800}
.jpm-my-order-heading time{margin-left:auto;color:#8794a1;font-size:11px}
.jpm-my-order-items{display:grid;gap:7px;padding:11px 0}
.jpm-my-order-items>div{display:flex;justify-content:space-between;gap:10px;color:#5e6f7f;font-size:12px}
.jpm-my-order-items a{color:#2d4358;text-decoration:none}
.jpm-my-order-total{display:flex;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #eef2f5;color:#7d8a97;font-size:12px}
.jpm-my-order-total strong{color:#07895f;font-size:16px}
.jpm-my-account-profile{display:flex;align-items:center;justify-content:space-between;gap:15px}
.jpm-my-account-profile p{margin:6px 0 0;color:#7d8b99;font-size:13px}
.jpm-my-account-privacy{text-align:right;font-size:12px}
.jpm-my-account-privacy a{color:#68798b}
.jpm-inquiry-layout{max-width:820px;margin:0 auto 45px}
.jpm-inquiry-form-panel{padding:24px}
.jpm-inquiry-product-card{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:15px;border:1px solid #dceee4;border-radius:12px;background:#f6fcf8}
.jpm-inquiry-product-card>div{display:grid;gap:5px;min-width:0}
.jpm-inquiry-product-card small{color:#07885d;font-size:10px;font-weight:850;letter-spacing:.08em}
.jpm-inquiry-product-card strong{color:#20374e;font-size:16px;line-height:1.5}
.jpm-inquiry-product-card a{color:#07885d;font-size:12px;text-decoration:none;font-weight:750}
.jpm-inquiry-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
.jpm-inquiry-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}
.jpm-inquiry-product-confirmation{display:grid;gap:7px;max-width:430px;margin:20px auto;padding:14px;border:1px solid #e0e8ee;border-radius:10px;background:#f7fafb}
.jpm-inquiry-product-confirmation strong{color:#8794a1;font-size:11px}
.jpm-inquiry-product-confirmation a{color:#20374e;text-decoration:none;font-weight:800}
.jpm-inquiry-admin-details{color:#35485b;font-size:13px;line-height:1.8}
.jpm-inquiry-admin-details a{font-weight:750}
.jpm-inquiry-message{margin-top:14px;padding:15px;border:1px solid #e0e8ee;border-radius:8px;background:#f8fafb}
.jpm-inquiry-message p{white-space:normal;overflow-wrap:anywhere}
@media(max-width:820px){.jpm-account-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jpm-account-wishlist-card .jpm-account-product-thumb{height:120px}}
@media(max-width:540px){.jpm-my-account-section{padding:14px;border-radius:14px}.jpm-my-account-section-heading{align-items:flex-start}.jpm-my-account-section-heading h2{font-size:18px}.jpm-account-product-row{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:11px 0}.jpm-account-product-thumb{width:60px;height:60px}.jpm-account-product-row>strong{grid-column:2;text-align:right;font-size:13px}.jpm-account-product-copy h3{font-size:12px}.jpm-account-product-copy p{font-size:11px}.jpm-account-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.jpm-account-wishlist-card{padding:7px}.jpm-account-wishlist-card .jpm-account-product-thumb{height:100px}.jpm-my-order-heading time{width:100%;margin-left:0}.jpm-my-account-profile{align-items:flex-start;flex-direction:column}.jpm-inquiry-form-panel{padding:15px}.jpm-inquiry-product-card{padding:11px}.jpm-inquiry-product-card strong{font-size:14px}.jpm-inquiry-form-actions{flex-direction:column-reverse}.jpm-inquiry-form-actions .jpm-commerce-button{width:100%;box-sizing:border-box}}
/* ===== [마이페이지·상품 문의 화면 스타일] 끝 ===== */

/* ===== [상품 갤러리 전환 표시·키보드 접근성] 시작 ===== */
.jpm-product-gallery-thumb{cursor:pointer;position:relative;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.jpm-product-gallery-thumb.active{border-color:#078f61!important;box-shadow:0 0 0 2px rgba(7,143,97,.14)!important}
.jpm-product-gallery-thumb:focus-visible{outline:3px solid rgba(7,143,97,.45);outline-offset:2px}
.jpm-product-detail-image img{transition:opacity .12s ease}
.jpm-product-detail-gallery[data-gallery-error]::after{content:attr(data-gallery-error);display:block;grid-column:1/-1;padding:8px;color:#a43d35;font-size:12px}
/* ===== [상품 갤러리 전환 표시·키보드 접근성] 끝 ===== */

/* ===== [상품 문의 비공개 답변·대화 내역 UI] 시작 ===== */
.jpm-inquiry-admin-thread>p:first-child{padding:12px 14px;border-left:3px solid #07885d;background:#f2fbf6;line-height:1.65}
.jpm-inquiry-admin-transcript{display:grid;gap:10px;margin:14px 0 18px}
.jpm-inquiry-admin-message{padding:13px 15px;border:1px solid #e3e9ee;border-radius:10px;background:#f8fafb}
.jpm-inquiry-admin-message.is-admin{border-color:#cce8da;background:#f0fbf5}
.jpm-inquiry-admin-message>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.jpm-inquiry-admin-message strong{color:#243b50;font-size:13px}
.jpm-inquiry-admin-message time{color:#8794a1;font-size:11px}
.jpm-inquiry-admin-message p{margin:9px 0 0;white-space:normal;overflow-wrap:anywhere;line-height:1.75}
.jpm-inquiry-thread-summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(95px,.6fr);gap:12px;margin:18px 0}
.jpm-inquiry-thread-summary>div{display:grid;align-content:start;gap:6px;padding:15px;border:1px solid #e2e9ed;border-radius:12px;background:#fff}
.jpm-inquiry-thread-summary>div>span{font-size:11px;color:#82909d}
.jpm-inquiry-thread-summary>div>strong{color:#21384e;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.jpm-inquiry-thread-summary>div>a{color:#07885d;font-size:12px;text-decoration:none;font-weight:750}
.jpm-inquiry-thread-status{display:inline-flex;width:max-content;max-width:100%;padding:5px 8px;border-radius:7px;background:#eaf8f0;color:#087b55!important}
.jpm-inquiry-thread-section,.jpm-inquiry-thread-reply{padding:22px}
.jpm-inquiry-thread-messages{display:grid;gap:14px}
.jpm-inquiry-thread-message{max-width:92%;padding:15px 17px;border:1px solid #e1e8ee;border-radius:13px;background:#f8fafc}
.jpm-inquiry-thread-message.is-customer{justify-self:start}
.jpm-inquiry-thread-message.is-admin{justify-self:end;border-color:#cce8da;background:#effaf4}
.jpm-inquiry-thread-message-heading{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:10px}
.jpm-inquiry-thread-message-heading strong{color:#20374e;font-size:13px}
.jpm-inquiry-thread-message-heading time{color:#8492a0;font-size:11px}
.jpm-inquiry-thread-message-heading span{padding:3px 6px;border-radius:5px;background:#e6edf2;color:#536679;font-size:10px;font-weight:750}
.jpm-inquiry-thread-message.is-admin .jpm-inquiry-thread-message-heading span{background:#d9f2e5;color:#087c54}
.jpm-inquiry-thread-message-body{color:#35485b;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.jpm-inquiry-thread-reply-form{display:grid;gap:10px}
.jpm-inquiry-thread-reply-form>label{font-size:13px;font-weight:800;color:#33495d}
.jpm-inquiry-thread-reply-form textarea{width:100%;min-height:130px;box-sizing:border-box;padding:13px;border:1px solid #d7e0e7;border-radius:10px;font:inherit;line-height:1.7}
.jpm-inquiry-thread-privacy-note{margin:0;color:#788896;font-size:12px;line-height:1.65}
.jpm-inquiry-thread-form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:8px}
.jpm-my-inquiry-list{display:grid}
.jpm-my-inquiry-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid #edf1f4}
.jpm-my-inquiry-card:last-child{border-bottom:0}
.jpm-my-inquiry-main{min-width:0;display:grid;gap:6px}
.jpm-my-inquiry-main>strong{color:#253b50;font-size:14px}
.jpm-my-inquiry-main>p{margin:0;color:#637485;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.jpm-my-inquiry-main>small{color:#8a97a3;font-size:11px}
.jpm-my-inquiry-actions{display:grid;justify-items:end;gap:7px}
.jpm-my-inquiry-status{padding:4px 8px;border-radius:6px;background:#eaf8f0;color:#087f59;font-size:11px;font-weight:800}
.jpm-my-inquiry-replies{color:#81909d;font-size:11px}
@media(max-width:640px){.jpm-inquiry-thread-summary{grid-template-columns:1fr 1fr}.jpm-inquiry-thread-summary>div:first-child{grid-column:1/-1}.jpm-inquiry-thread-section,.jpm-inquiry-thread-reply{padding:15px}.jpm-inquiry-thread-message{max-width:100%;padding:12px}.jpm-my-inquiry-card{grid-template-columns:1fr;gap:12px}.jpm-my-inquiry-actions{justify-items:start}.jpm-inquiry-thread-form-actions{flex-direction:column-reverse}.jpm-inquiry-thread-form-actions .jpm-commerce-button{width:100%;box-sizing:border-box}}
/* ===== [상품 문의 비공개 답변·대화 내역 UI] 끝 ===== */


/* ===== [상품 원본 이미지 해상도·비율 보존] 시작 ===== */
/* 상품 상세는 원본 이미지를 표시하되, 화면 크기에 맞춰 비율을 유지하며 잘라내거나 강제로 늘리지 않습니다. */
.jpm-product-detail-enhanced .jpm-product-detail-image{max-height:none;min-height:320px;height:auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.jpm-product-detail-enhanced .jpm-product-detail-image #jpm-product-main-image{display:block;width:100%;height:auto;max-width:100%;max-height:min(78vh,900px);object-fit:contain;object-position:center center;image-rendering:auto}
@media(max-width:820px){.jpm-product-detail-enhanced .jpm-product-detail-image{min-height:240px;max-height:none}.jpm-product-detail-enhanced .jpm-product-detail-image #jpm-product-main-image{max-height:72vh}}
@media(max-width:540px){.jpm-product-detail-enhanced .jpm-product-detail-image{min-height:220px;padding:10px}.jpm-product-detail-enhanced .jpm-product-detail-image #jpm-product-main-image{max-height:68vh}}
/* ===== [상품 원본 이미지 해상도·비율 보존] 끝 ===== */


/* ===== [세로형 상품 상세 이미지 원본 비율·전체 길이 보존] 시작 ===== */
/* 상세 설명 이미지(예: 1000×6000px)는 화면 너비에 맞게 축소하되 세로 길이를 제한하거나 자르지 않습니다. */
.jpm-product-detail-content img,
.jpm-product-detail-content figure img,
.jpm-product-detail-content .wp-block-image img{display:block;width:auto;max-width:100%;height:auto;max-height:none;object-fit:contain;margin-left:auto;margin-right:auto}
.jpm-product-detail-content figure.wp-block-image{max-width:100%;margin:18px auto}
.jpm-product-detail-content img[width][height]{height:auto}
/* ===== [세로형 상품 상세 이미지 원본 비율·전체 길이 보존] 끝 ===== */


/* ===== [콘텐츠 판매 목록의 가격·상세 이동 표시] 시작 ===== */
.jpm-paid-content-title{margin:7px 0 8px;font-size:18px;line-height:1.45}
.jpm-paid-content-title a{color:#20364c;text-decoration:none}
.jpm-paid-content-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding-top:12px;border-top:1px solid #edf1f4}
.jpm-paid-content-card-bottom strong{color:#087f59;font-size:20px;font-weight:850}
.jpm-paid-content-card-bottom a,.jpm-paid-content-create-link{color:#087f59;font-size:13px;font-weight:800;text-decoration:none}
.jpm-paid-content-create-link{display:inline-flex;margin-top:14px;padding:10px 14px;border:1px solid #cfe7db;border-radius:9px;background:#f5fbf7}
.jpm-paid-content-empty{display:grid;justify-items:start;gap:8px}
.jpm-paid-content-empty span{max-width:760px;line-height:1.8}
@media(max-width:540px){.jpm-paid-content-card-bottom strong{font-size:18px}}
/* ===== [콘텐츠 판매 목록의 가격·상세 이동 표시] 끝 ===== */


/* ===== [상품 상세페이지 옵션 선택 UI] 시작 ===== */
.jpm-product-option-picker{margin:18px 0 14px;padding:15px 16px;border:1px solid #e5ebef;border-radius:12px;background:#fbfcfd}
.jpm-product-option-picker h2{margin:0 0 12px;font-size:15px;font-weight:800;color:#26394b}
.jpm-product-option-picker p{margin:0;color:#8995a1;font-size:12px}
.jpm-product-option-row{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;margin-top:9px}
.jpm-product-option-row label{font-size:13px;font-weight:700;color:#47586a}
.jpm-product-option-row select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #d8e0e7;border-radius:8px;background:#fff;color:#25384a;font:inherit;font-size:13px}
.jpm-product-option-row select:focus{outline:2px solid #0a9369;outline-offset:1px;border-color:#0a9369}
@media(max-width:600px){.jpm-product-option-picker{padding:12px}.jpm-product-option-row{grid-template-columns:70px minmax(0,1fr);gap:8px}}
/* ===== [상품 상세페이지 옵션 선택 UI] 끝 ===== */
