/* OJA-NG PLACE Premium Commerce — scoped to WooCommerce product/cart/checkout only */
body.ojang-premium-commerce{--ojp-bg:#090b0c;--ojp-panel:#121517;--ojp-panel2:#181b1e;--ojp-line:#34302a;--ojp-gold:#e6b956;--ojp-gold2:#f8d786;--ojp-ink:#f5f1e8;--ojp-muted:#b8b4ad;background:var(--ojp-bg)!important;color:var(--ojp-ink)!important}
body.ojang-premium-commerce .site-content,body.ojang-premium-commerce #content,body.ojang-premium-commerce #primary,body.ojang-premium-commerce main,body.ojang-premium-commerce .entry-content{color:var(--ojp-ink)}
body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){color:var(--ojp-ink);font-family:inherit}
body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) a{color:var(--ojp-gold2)}
body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) a:hover{color:#fff}
body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) h1,body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) h2,body.ojang-premium-commerce :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) h3{color:var(--ojp-ink);font-weight:750;line-height:1.3}
body.ojang-premium-commerce .ojang-pc-brand{display:flex;align-items:center;gap:17px;padding:15px 20px;margin:14px 0 25px;border:1px solid #554629;background:linear-gradient(110deg,#151515,#211b12 58%,#111);border-radius:14px;min-height:84px;box-sizing:border-box}
body.ojang-premium-commerce .ojang-pc-brand>a{display:flex;align-items:center;flex:none}
body.ojang-premium-commerce .ojang-pc-brand img{display:block;max-width:170px;width:auto;height:auto;max-height:58px;object-fit:contain;border-radius:10px}
body.ojang-premium-commerce .ojang-pc-brand-copy{display:grid;gap:3px}
body.ojang-premium-commerce .ojang-pc-brand-copy strong{font-size:15px;color:var(--ojp-gold2)}
body.ojang-premium-commerce .ojang-pc-brand-copy span{font-size:12px;color:var(--ojp-muted)}
body.ojang-premium-commerce .ojang-pc-brand-tag{margin-left:auto;letter-spacing:.11em;color:var(--ojp-gold);border:1px solid #6c5732;border-radius:30px;padding:8px 12px;font-size:10px;white-space:nowrap}
body.ojang-premium-commerce .woocommerce-breadcrumb{color:var(--ojp-muted)!important;font-size:13px;margin-bottom:23px!important}
/* Single product: WooCommerce default hooks and variations are retained */
body.ojang-pc-product div.product{display:flow-root;width:100%;margin-bottom:35px}
body.ojang-pc-product div.product .woocommerce-product-gallery{width:47%!important;float:left!important;margin:0 0 25px!important;max-width:none!important}
body.ojang-pc-product div.product .summary{width:49%!important;float:right!important;margin:0 0 25px!important;max-width:none!important;padding:22px 24px;border:1px solid var(--ojp-line);border-radius:16px;background:var(--ojp-panel);box-sizing:border-box}
body.ojang-pc-product div.product .woocommerce-product-gallery__wrapper{border-radius:14px;overflow:hidden;background:#f2f0ec}
body.ojang-pc-product div.product .woocommerce-product-gallery__image img{width:100%!important;height:auto!important;object-fit:contain}
body.ojang-pc-product div.product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:12px 0!important;padding:0!important}
body.ojang-pc-product div.product .flex-control-thumbs li{float:none!important;width:100%!important;list-style:none!important;border-radius:9px;overflow:hidden;border:1px solid var(--ojp-line);background:#fff}
body.ojang-pc-product div.product .product_title{font-size:clamp(24px,2.7vw,35px)!important;margin:0 0 12px!important;line-height:1.2!important}
body.ojang-pc-product div.product .summary .price{font-size:clamp(23px,2.6vw,32px)!important;color:var(--ojp-gold2)!important;font-weight:800;margin:12px 0 18px!important}
body.ojang-pc-product div.product .summary .price :is(span,bdi){color:inherit}
body.ojang-pc-product div.product .summary .price del{font-size:15px;color:var(--ojp-muted);font-weight:400}
body.ojang-pc-product div.product .summary .woocommerce-product-details__short-description{color:#dedbd4;font-size:15px;line-height:1.75}
body.ojang-pc-product div.product .stock{color:#a5dfab!important;font-weight:650}
body.ojang-pc-product div.product form.cart{margin:20px 0!important;display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}
body.ojang-pc-product div.product form.cart .variations{width:100%;margin:0 0 10px;border:0}
body.ojang-pc-product div.product form.cart .variations tr{background:transparent}
body.ojang-pc-product div.product form.cart .variations :is(th,td){border:0!important;padding:8px 6px 8px 0!important;color:var(--ojp-ink);text-align:left}
body.ojang-pc-product div.product form.cart .quantity{float:none!important;margin:0!important}
body.ojang-pc-product div.product form.cart .single_add_to_cart_button{float:none!important;min-height:48px;flex:1 1 180px;white-space:normal}
body.ojang-pc-product div.product .product_meta{border-top:1px solid var(--ojp-line);padding-top:15px;color:var(--ojp-muted);font-size:13px;line-height:1.9}
body.ojang-pc-product div.product .product_meta>span{display:block}
body.ojang-pc-product div.product .woocommerce-tabs{clear:both!important;width:100%;border:1px solid var(--ojp-line);border-radius:14px;padding:22px;margin:26px 0;background:var(--ojp-panel);box-sizing:border-box}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px!important;padding:0 0 14px!important;border-bottom:1px solid var(--ojp-line)}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs::before,body.ojang-pc-product div.product .woocommerce-tabs ul.tabs::after{display:none!important}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs li{background:transparent!important;border:1px solid var(--ojp-line)!important;border-radius:8px!important;margin:0!important;padding:0!important}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs li::before,body.ojang-pc-product div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs li.active{border-color:var(--ojp-gold)!important;background:#302615!important}
body.ojang-pc-product div.product .woocommerce-tabs ul.tabs li a{padding:10px 14px!important;color:var(--ojp-ink)!important}
body.ojang-pc-product div.product :is(.related,.upsells){clear:both;margin-top:32px}
/* Product recommendations: normalize conflicting MeStore item widths */
body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;clear:both}
body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products li.product{float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;background:var(--ojp-panel);border:1px solid var(--ojp-line);border-radius:12px;padding:12px!important;box-sizing:border-box}
body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:8px}
body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;color:var(--ojp-ink)!important;line-height:1.5}
/* Cart */
body.ojang-pc-cart .woocommerce-cart-form,body.ojang-pc-cart .cart-collaterals .cart_totals{background:var(--ojp-panel);border:1px solid var(--ojp-line);border-radius:14px;padding:20px;box-sizing:border-box}
body.ojang-pc-cart .woocommerce table.shop_table{border:1px solid var(--ojp-line)!important;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;color:var(--ojp-ink)}
body.ojang-pc-cart .woocommerce table.shop_table :is(th,td){border-color:var(--ojp-line)!important;padding:15px 12px!important;background:transparent!important;color:var(--ojp-ink)}
body.ojang-pc-cart .woocommerce table.shop_table th{background:#211b13!important;color:var(--ojp-gold2);font-size:13px;text-transform:uppercase;letter-spacing:.05em}
body.ojang-pc-cart .woocommerce table.shop_table td.product-thumbnail img{width:75px;max-width:none;border-radius:8px;background:#fff}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals{float:right;width:48%;margin:22px 0}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals h2{font-size:23px;margin:0 0 15px}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals table{width:100%}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals .order-total{color:var(--ojp-gold2);font-size:19px}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout{padding:15px 0 0}
body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals .checkout-button{display:block;text-align:center}
/* Checkout classic */
body.ojang-pc-checkout .woocommerce form.checkout{display:flow-root}
body.ojang-pc-checkout .woocommerce form.checkout :is(#customer_details,#order_review){box-sizing:border-box}
body.ojang-pc-checkout .woocommerce form.checkout #customer_details{width:56%;float:left;margin:0 0 25px}
body.ojang-pc-checkout .woocommerce form.checkout #customer_details>.col-1,body.ojang-pc-checkout .woocommerce form.checkout #customer_details>.col-2{float:none!important;width:100%!important;margin:0 0 18px!important;padding:22px!important;background:var(--ojp-panel);border:1px solid var(--ojp-line);border-radius:14px;box-sizing:border-box}
body.ojang-pc-checkout .woocommerce form.checkout #order_review_heading{width:40%;float:right;clear:none;margin:0 0 10px;font-size:23px}
body.ojang-pc-checkout .woocommerce form.checkout #order_review{width:40%;float:right;clear:right;background:var(--ojp-panel);border:1px solid var(--ojp-line);border-radius:14px;padding:20px}
body.ojang-pc-checkout .woocommerce form.checkout #order_review table.shop_table{width:100%;border:1px solid var(--ojp-line);color:var(--ojp-ink)}
body.ojang-pc-checkout .woocommerce form.checkout #order_review table.shop_table :is(td,th){color:var(--ojp-ink);border-color:var(--ojp-line);padding:12px 8px}
body.ojang-pc-checkout .woocommerce form.checkout #order_review .order-total{color:var(--ojp-gold2)}
body.ojang-pc-checkout .woocommerce-checkout #payment{background:#1c1c1b!important;border:1px solid var(--ojp-line);border-radius:12px;color:var(--ojp-ink)}
body.ojang-pc-checkout .woocommerce-checkout #payment ul.payment_methods{border-color:var(--ojp-line)}
body.ojang-pc-checkout .woocommerce-checkout #payment .payment_box{background:#2b2925!important;color:var(--ojp-ink)!important}
body.ojang-pc-checkout .woocommerce-checkout #payment .payment_box::before{border-bottom-color:#2b2925!important}
body.ojang-pc-checkout .woocommerce-checkout #payment label{color:var(--ojp-ink)}
/* Inputs, selects, controls */
body.ojang-premium-commerce .woocommerce :is(input.input-text,input[type=number],input[type=email],input[type=tel],input[type=text],textarea,select),body.ojang-premium-commerce .woocommerce .select2-container .select2-selection{background:#202225!important;color:var(--ojp-ink)!important;border:1px solid #59534a!important;border-radius:8px!important;min-height:43px;box-sizing:border-box;padding:10px 12px;box-shadow:none!important}
body.ojang-premium-commerce .woocommerce textarea{min-height:100px}
body.ojang-premium-commerce .woocommerce input::placeholder,body.ojang-premium-commerce .woocommerce textarea::placeholder{color:#a8a49f!important}
body.ojang-premium-commerce .woocommerce .select2-container .select2-selection__rendered{color:var(--ojp-ink)!important;line-height:23px}
body.ojang-premium-commerce .woocommerce .select2-container .select2-selection__arrow{top:9px}
body.ojang-premium-commerce .woocommerce :is(label,.form-row label){color:var(--ojp-ink);font-size:14px}
body.ojang-premium-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit,.button.alt,button.button.alt,a.button.alt){background:linear-gradient(135deg,#f3cf79,#ca9433)!important;color:#1b1407!important;border:1px solid #c3913d!important;border-radius:8px!important;font-weight:800!important;min-height:42px;padding:11px 17px!important;text-shadow:none!important;box-shadow:none!important;opacity:1;line-height:1.3}
body.ojang-premium-commerce .woocommerce :is(button.button,a.button,input.button,.button.alt,button.button.alt):hover{background:linear-gradient(135deg,#ffe2a0,#dfad4f)!important;color:#130f08!important}
body.ojang-premium-commerce .woocommerce :is(.woocommerce-message,.woocommerce-info){background:#20231e!important;color:#e8e5de!important;border-top:3px solid var(--ojp-gold)!important}
body.ojang-premium-commerce .woocommerce .woocommerce-error{background:#301b1b!important;color:#fff!important}
body.ojang-premium-commerce .woocommerce .woocommerce-message::before,body.ojang-premium-commerce .woocommerce .woocommerce-info::before{color:var(--ojp-gold)!important}
body.ojang-premium-commerce .woocommerce :is(.quantity input.qty,.product-quantity input.qty){width:70px;min-height:45px;text-align:center}
body.ojang-premium-commerce .ojang-pc-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid #55462c;background:#191811;border-radius:12px;padding:12px;margin:16px 0;clear:both}
body.ojang-premium-commerce .ojang-pc-trust>div{min-width:0;display:flex;flex-direction:column;gap:3px;align-items:center;text-align:center}
body.ojang-premium-commerce .ojang-pc-trust span{font-size:22px;color:var(--ojp-gold)}
body.ojang-premium-commerce .ojang-pc-trust b{font-size:12px;color:var(--ojp-ink)}
body.ojang-premium-commerce .ojang-pc-trust small{font-size:10px;color:var(--ojp-muted);line-height:1.4}
/* WooCommerce Cart and Checkout Blocks: use supported block structure, no form replacement */
body.ojang-premium-commerce .wp-block-woocommerce-cart,body.ojang-premium-commerce .wp-block-woocommerce-checkout{--wc-blocks-color-accent:var(--ojp-gold);--wc-blocks-color-text:var(--ojp-ink);--wc-blocks-color-background:var(--ojp-panel);color:var(--ojp-ink)}
body.ojang-premium-commerce :is(.wc-block-cart-items,.wc-block-components-sidebar,.wc-block-checkout__main,.wc-block-components-order-summary,.wc-block-components-totals-wrapper){color:var(--ojp-ink);border-color:var(--ojp-line)!important}
body.ojang-premium-commerce :is(.wc-block-components-sidebar,.wc-block-components-order-summary,.wc-block-components-checkout-step,.wc-block-cart-items){background:var(--ojp-panel);border:1px solid var(--ojp-line);border-radius:12px;padding:14px;box-sizing:border-box}
body.ojang-premium-commerce :is(.wc-block-components-text-input input,.wc-block-components-text-input textarea,.wc-block-components-combobox-control input,.wc-block-components-form select,.wc-block-components-address-form input){background:#202225!important;color:var(--ojp-ink)!important;border-color:#59534a!important;border-radius:8px}
body.ojang-premium-commerce :is(.wc-block-components-text-input label,.wc-block-components-checkbox label,.wc-block-components-radio-control__label,.wc-block-components-totals-item__label,.wc-block-components-totals-item__value,.wc-block-components-product-name,.wc-block-components-checkout-step__title,.wc-block-components-checkout-step__description,.wc-block-components-address-card__address-section,.wc-block-components-formatted-money-amount){color:var(--ojp-ink)!important}
body.ojang-premium-commerce :is(.wc-block-components-button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button){background:linear-gradient(135deg,#f3cf79,#ca9433)!important;color:#171107!important;border-radius:8px!important;font-weight:800!important;border:1px solid #c3913d!important}
body.ojang-premium-commerce :is(.wc-block-components-button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button) .wc-block-components-button__text{color:#171107!important}
body.ojang-premium-commerce .wc-block-components-radio-control__option{border-color:var(--ojp-line)}
body.ojang-premium-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--ojp-gold2)!important;font-weight:800}
/* Keep third-party payment widgets' own colors/inputs untouched where possible */
@media(max-width:1024px){body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}body.ojang-pc-product div.product .woocommerce-product-gallery{width:46%!important}body.ojang-pc-product div.product .summary{width:51%!important;padding:18px}}
@media(max-width:767px){body.ojang-premium-commerce .ojang-pc-brand{padding:12px;gap:10px}body.ojang-premium-commerce .ojang-pc-brand img{max-width:115px;max-height:45px}body.ojang-premium-commerce .ojang-pc-brand-tag{display:none}body.ojang-premium-commerce .ojang-pc-brand-copy strong{font-size:12px}body.ojang-premium-commerce .ojang-pc-brand-copy span{font-size:10px}body.ojang-pc-product div.product .woocommerce-product-gallery,body.ojang-pc-product div.product .summary{float:none!important;width:100%!important;margin:0 0 18px!important}body.ojang-pc-product div.product .summary{padding:17px}body.ojang-pc-product div.product .woocommerce-tabs{padding:14px}body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.ojang-pc-cart .woocommerce-cart-form{padding:10px}body.ojang-pc-cart .woocommerce .cart-collaterals .cart_totals{float:none;width:100%;padding:16px}body.ojang-pc-checkout .woocommerce form.checkout #customer_details,body.ojang-pc-checkout .woocommerce form.checkout #order_review,body.ojang-pc-checkout .woocommerce form.checkout #order_review_heading{float:none;clear:both;width:100%}body.ojang-pc-checkout .woocommerce form.checkout #customer_details>.col-1,body.ojang-pc-checkout .woocommerce form.checkout #customer_details>.col-2{padding:16px!important}body.ojang-pc-checkout .woocommerce form.checkout #order_review{padding:14px}body.ojang-premium-commerce .ojang-pc-trust{grid-template-columns:1fr;gap:12px}body.ojang-premium-commerce .ojang-pc-trust>div{display:grid;grid-template-columns:28px 1fr;column-gap:8px;text-align:left;align-items:center}body.ojang-premium-commerce .ojang-pc-trust span{grid-row:span 2}body.ojang-premium-commerce .ojang-pc-trust small{grid-column:2}}
@media(max-width:390px){body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products{gap:8px}body.ojang-pc-product .woocommerce :is(.related,.upsells) ul.products li.product{padding:8px!important}}
