/* One global product layout, one ordering component. */
body.bpo-product #blingcrafty-zh div.product{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)!important;gap:24px;align-items:start}
body.bpo-product #blingcrafty-zh div.product>.woocommerce-product-gallery{grid-column:1!important;width:100%!important;min-width:0;float:none!important;margin:0!important;border:1px solid #e7dfd2;border-radius:24px;padding:12px;box-sizing:border-box}
body.bpo-product #blingcrafty-zh div.product>.summary{grid-column:2!important;width:100%!important;min-width:0;float:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:12px 0;box-sizing:border-box;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column}
body.bpo-product #blingcrafty-zh div.product>.woocommerce-tabs,body.bpo-product #blingcrafty-zh div.product>.related,body.bpo-product #blingcrafty-zh div.product>section,body.bpo-product #blingcrafty-zh div.product>.bc-product-video-section{grid-column:1/-1}
body.bpo-product .woocommerce-product-gallery img{max-width:100%;object-fit:contain}
body.bpo-product #blingcrafty-zh div.product>.woocommerce-product-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto!important;overflow-y:hidden!important;padding:8px 0!important;margin:0!important;list-style:none}
body.bpo-product #blingcrafty-zh div.product>.woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 72px!important;width:72px!important;float:none!important;clear:none!important}
body.bpo-product .summary .product_title{font-size:clamp(24px,2vw,34px)!important;line-height:1.2!important;overflow-wrap:anywhere}
body.bpo-product #blingcrafty-zh .summary>.product_title{margin:0 0 12px!important}
body.bpo-product #blingcrafty-zh .summary>p.price{margin:0 0 14px!important}
body.bpo-product #blingcrafty-zh .summary>.woocommerce-product-details__short-description p{margin:0 0 12px!important}
body.bpo-product form.bpo-native{display:none!important}
.bpo-order{--bpo-gold:#9f8049;--bpo-line:#e9dcc6;--bpo-soft:#fffaf1;color:#28231d;font:inherit;min-width:0;display:flex;flex-direction:column;flex:1}
.bpo-order *{box-sizing:border-box}
.bpo-order .bpo-section{background:var(--bpo-soft);border:1px solid var(--bpo-line);border-radius:18px;padding:12px;margin:12px 0}
.bpo-order .bpo-heading{font-size:14px!important;line-height:1.5!important;margin:0 0 12px!important;font-weight:700}
.bpo-order .bpo-colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;max-height:252px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b99a61 #f4eee3;align-content:start}
.bpo-order .bpo-color{display:flex;align-items:center;gap:6px;position:relative;min-height:44px;padding:5px;border:1px solid var(--bpo-line);border-radius:9px;background:#fff;color:#28231d;text-align:left;cursor:pointer;font:inherit;font-size:11px;line-height:1.3;min-width:0}
.bpo-order .bpo-color img{width:30px;height:30px;border-radius:6px;object-fit:cover;flex:none}
.bpo-order .bpo-color-name{overflow-wrap:anywhere;min-width:0;flex:1;font-size:11px!important;line-height:1.3!important}
.bpo-order .bpo-color.is-active{background:var(--bpo-gold);border-color:var(--bpo-gold);color:#fff}
.bpo-order .bpo-color.is-unavailable:not(.is-active){opacity:.5;background:#f0eeea}
.bpo-order .bpo-badge{background:#fff1cf;color:#624a21;border-radius:10px;font-size:10px;padding:2px 4px;white-space:nowrap;font-weight:700}
.bpo-order .bpo-badge[hidden]{display:none}
.bpo-order .bpo-specs{max-height:340px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b99a61 #f4eee3}
.bpo-order .bpo-spec{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:7px 2px;border-bottom:1px solid var(--bpo-line);min-height:52px}
.bpo-order .bpo-spec-copy{flex:1;min-width:0}
.bpo-order .bpo-spec-label{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.bpo-order .bpo-spec-price{display:block;color:#806131;font-size:11px;margin-top:2px}
.bpo-order .bpo-qty{display:flex;align-items:center;background:#fff;border:1px solid #ddc8a4;border-radius:9px;overflow:hidden;flex:none}
.bpo-order .bpo-qty button{width:32px;height:40px;padding:0;border:0;background:#fff;color:#84652c;font-size:18px;cursor:pointer}
.bpo-order .bpo-qty input{appearance:textfield;-moz-appearance:textfield;width:40px;height:40px;border:0;padding:0;text-align:center;background:#fff;color:#28231d;font-size:13px;margin:0;box-shadow:none}
.bpo-order input::-webkit-inner-spin-button,.bpo-order input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.bpo-order button:disabled{opacity:.45;cursor:not-allowed}
.bpo-order button:focus-visible,.bpo-order input:focus-visible,.bpo-order a:focus-visible{outline:2px solid #634714;outline-offset:2px}
.bpo-order .bpo-buybar{position:static;background:transparent;padding:16px 0 0;margin-top:auto;z-index:3}
.bpo-order .bpo-total{display:block;font-size:15px;margin-bottom:9px}
.bpo-order .bpo-add{width:100%;min-height:46px;background:#9f8049;color:#fff;border:0;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer}
.bpo-order .bpo-status{font-size:12px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.bpo-order .bpo-cart-link{font-size:13px;color:#785c2d;text-decoration:underline}
.bpo-order .bpo-cart-link[hidden]{display:none}
body.bpo-product .summary .product_meta{display:none!important}
body .bpo-image-peek{position:fixed;z-index:2147483000;width:280px;max-width:calc(100vw - 16px);padding:8px;background:#fff;border:1px solid #c5ad80;border-radius:14px;box-shadow:0 12px 36px #211b1938;pointer-events:none;margin:0}
body .bpo-image-peek img{display:block;width:100%;height:260px;object-fit:contain;background:#fff}
body .bpo-image-peek span{display:block;font:12px/1.4 Arial,sans-serif;color:#3a3023;margin-top:6px;overflow-wrap:anywhere}
body .bpo-image-peek[hidden]{display:none!important}
body.bpo-product .woocommerce-product-gallery__image{position:relative;overflow:hidden}
body.bpo-product .bpo-pan-stage{position:absolute;z-index:5;overflow:hidden;pointer-events:none;background:#fff}
body.bpo-product .bpo-pan-stage[hidden]{display:none!important}
body.bpo-product .woocommerce-product-gallery .bpo-pan-stage .bpo-pan-image{position:absolute;left:0;top:0;display:block;width:var(--bpo-pan-width)!important;height:var(--bpo-pan-height)!important;max-width:none!important;max-height:none!important;object-fit:fill;transform-origin:0 0;margin:0!important;padding:0!important;pointer-events:none;will-change:transform}
body.bpo-product .bpo-source-note{font-size:11px;line-height:1.3;color:#746955;margin:6px 0 0;text-align:center}
body.bpo-product .bpo-source-note[hidden]{display:none!important}
body .bpo-image-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:46px 16px 16px;background:#fff;border:1px solid #c5ad80;border-radius:16px;width:min(900px,calc(100vw - 32px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto;color:#30291f}
body .bpo-image-dialog::backdrop{background:#17130fbb}
body .bpo-image-dialog img{display:block;max-width:100%;width:auto;height:auto;max-height:74dvh;object-fit:contain;margin:auto;touch-action:pan-x pan-y pinch-zoom}
body .bpo-image-dialog p{font:14px/1.5 Arial,sans-serif;margin:12px 0 0;text-align:center}
body .bpo-image-dialog .bpo-image-close{position:absolute;right:8px;top:4px;display:block;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:#fff;color:#715227;font:30px/44px Arial,sans-serif;cursor:pointer}
@media(max-width:767px){body.bpo-product #blingcrafty-zh div.product{display:block!important}body.bpo-product #blingcrafty-zh div.product>.summary{padding:14px 0;margin-top:0!important}body.bpo-product #blingcrafty-zh div.product>.woocommerce-product-gallery{border-radius:18px;padding:8px}.bpo-order .bpo-colors{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));max-height:240px}.bpo-order .bpo-section{padding:10px}.bpo-order .bpo-buybar{padding-bottom:8px}.bpo-order .bpo-qty button{height:44px}.bpo-order .bpo-qty input{height:44px}}
