/* 포미식탁 상품상세 1단 레이아웃
 * 공통 920px 안에서 상세설명 860px을 보장합니다.
 */
.public-product-page{padding:0 14px 72px!important;background:#fff!important}
.public-shop-container{width:min(920px,100%)!important;max-width:920px!important;margin:0 auto!important}
.public-breadcrumb{max-width:860px;margin:0 auto}

.product-detail-top{display:block!important;padding:18px 0 48px!important}
.product-gallery{width:min(680px,100%)!important;margin:0 auto!important}
.product-main-image{width:100%!important;max-width:680px!important;margin:0 auto!important;aspect-ratio:1/1!important;border:1px solid #e8e8e8!important;border-radius:16px!important;background:#fff!important}
.product-main-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.product-thumbs{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px!important;margin:14px auto 0!important}
.product-thumbs button{width:72px!important;height:72px!important;border-radius:10px!important;background:#fff!important}
.product-thumbs button.active{border-color:#03a957!important;box-shadow:0 0 0 1px #03a957!important}

.product-buy-panel{width:min(860px,100%)!important;margin:34px auto 0!important;padding:30px 34px!important;border:1px solid #e8e8e8!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(42,42,42,.045)!important}
.product-detail-category{display:inline-flex!important;padding:6px 10px!important;border-radius:999px!important;background:#d70d5e!important;color:#fff!important;font-size:11px!important;font-weight:900!important}
.product-buy-panel h1{margin:14px 0 10px!important;color:#202020!important;font-size:30px!important;line-height:1.35!important}
.product-short-description{color:#686868!important}
.product-detail-price{margin-top:20px!important;padding:20px 0!important;border-color:#ededed!important}
.product-detail-price .payment-price{min-height:54px!important;padding:0 14px!important;border-left:4px solid #03c75a!important;background:#fff!important}
.product-detail-price .payment-price strong{color:#176b42!important;font-size:28px!important}
.product-detail-info{padding:8px 0!important;border-bottom:1px solid #ededed!important}
.product-detail-info>div{grid-template-columns:110px minmax(0,1fr)!important;min-height:40px!important;align-items:center!important}
.product-option-area{background:#fff!important;border:1px solid #e7e7e7!important}
.product-cart-quantity{background:#fff!important;border-color:#e6e6e6!important}
.product-buy-buttons{gap:10px!important}
.product-buy-now{background:#176b42!important;color:#fff!important;border-color:#176b42!important}
.product-cart-submit{background:#d70d5e!important;color:#fff!important;border-color:#d70d5e!important}

.product-detail-content,.product-fact-section{width:min(860px,100%)!important;margin:0 auto!important;padding:52px 0!important;border-top:1px solid #e9e9e9!important}
.product-section-heading span{color:#15884a!important}
.product-section-heading h2{color:#242424!important}
.product-editor-content{width:860px!important;max-width:100%!important;margin:0 auto!important;overflow:visible!important;line-height:1.75!important}
.product-editor-content img{display:block!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
.product-editor-content table,.product-editor-content iframe,.product-editor-content video{max-width:100%!important}
.product-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.product-fact-grid>div{background:#fff!important;border-color:#e5e5e5!important}
.product-fact-grid>div:nth-child(1){border-top:3px solid #d70d5e!important}
.product-fact-grid>div:nth-child(2){border-top:3px solid #03c75a!important}
.product-fact-grid>div:nth-child(3){border-top:3px solid #f39a21!important}
.product-fact-grid>div:nth-child(4){border-top:3px solid #2d8bd2!important}

@media(max-width:720px){
  .public-product-page{padding:0 0 52px!important}
  .public-breadcrumb{padding:0 14px!important}
  .product-detail-top{padding:8px 14px 38px!important}
  .product-gallery{width:100%!important}
  .product-main-image{max-width:100%!important;border-radius:12px!important}
  .product-thumbs{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:3px!important}
  .product-thumbs button{flex:0 0 62px!important;width:62px!important;height:62px!important}
  .product-buy-panel{width:100%!important;margin-top:22px!important;padding:24px 18px!important;border-radius:12px!important;box-shadow:none!important}
  .product-buy-panel h1{font-size:24px!important}
  .product-detail-price .payment-price strong{font-size:24px!important}
  .product-detail-info>div{grid-template-columns:84px minmax(0,1fr)!important}
  .product-detail-content,.product-fact-section{width:100%!important;padding:42px 18px!important}
  .product-editor-content{width:100%!important;max-width:100%!important}
  .product-fact-grid{grid-template-columns:1fr!important}
}
