/* Scoped design for academy course products and one-page virtual checkout */
body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.single-product,body.woocommerce-checkout,body.woocommerce-cart{--a89-green:#087e60;--a89-gold:#c49b4c;--a89-ink:#192f42;--a89-border:#e3ebe7;--a89-bg:#f5faf7;font-family:"A89 B Nazanin",Tahoma,sans-serif}
body.woocommerce-shop .woocommerce,body.tax-product_cat .woocommerce,body.tax-product_tag .woocommerce,body.woocommerce-checkout .woocommerce,body.woocommerce-cart .woocommerce{direction:rtl}
.a89-course-shop-intro,.a89-course-checkout-intro{direction:rtl;border-radius:20px;padding:clamp(24px,4vw,48px);margin:16px auto 30px;background:linear-gradient(115deg,#f0f8f4 0%,#fff 74%);border:1px solid #e0ece5;text-align:right;max-width:1300px}
.a89-course-shop-intro h1,.a89-course-checkout-intro h2{font-size:clamp(30px,3vw,48px);font-weight:800;line-height:1.5;color:var(--a89-ink);margin:3px 0 8px}.a89-course-shop-intro p,.a89-course-checkout-intro p{color:#587067;font-size:19px;margin:0}.a89-course-eyebrow,.a89-course-checkout-intro span{color:var(--a89-green);font-weight:800;font-size:17px}
body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body.post-type-archive-product ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;clear:both}
body.woocommerce-shop ul.products:before,body.woocommerce-shop ul.products:after,body.tax-product_cat ul.products:before,body.tax-product_cat ul.products:after{display:none!important}
body.woocommerce-shop ul.products li.product,body.tax-product_cat ul.products li.product,body.tax-product_tag ul.products li.product,body.post-type-archive-product ul.products li.product{float:none!important;clear:none!important;width:100%!important;margin:0!important;padding:0 0 18px!important;border:1px solid var(--a89-border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 30px #173a3010;transition:transform .25s,box-shadow .25s;min-width:0;text-align:right}
body.woocommerce-shop ul.products li.product:hover,body.tax-product_cat ul.products li.product:hover,body.tax-product_tag ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 20px 40px #173a3020}
body.woocommerce-shop ul.products li.product img,body.tax-product_cat ul.products li.product img,body.tax-product_tag ul.products li.product img{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0 0 14px!important}
body.woocommerce-shop ul.products li.product :is(.woocommerce-loop-product__title,.price,.button,.star-rating),body.tax-product_cat ul.products li.product :is(.woocommerce-loop-product__title,.price,.button,.star-rating),body.tax-product_tag ul.products li.product :is(.woocommerce-loop-product__title,.price,.button,.star-rating){margin-right:18px!important;margin-left:18px!important}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,body.tax-product_tag ul.products li.product .woocommerce-loop-product__title{color:var(--a89-ink);font-size:23px!important;font-weight:800;line-height:1.6}
body.woocommerce-shop ul.products li.product .price,body.tax-product_cat ul.products li.product .price,body.tax-product_tag ul.products li.product .price{font-size:20px!important;color:var(--a89-green)!important;font-weight:800!important}
body.woocommerce-shop ul.products li.product .button,body.tax-product_cat ul.products li.product .button,body.tax-product_tag ul.products li.product .button,body.single-product .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;background:var(--a89-green)!important;color:#fff!important;border:0;border-radius:11px;padding:12px 22px;font-size:17px;font-weight:800;transition:background .2s,transform .2s}
body.woocommerce-shop ul.products li.product .button:hover,body.tax-product_cat ul.products li.product .button:hover,body.single-product .single_add_to_cart_button:hover{background:#056749!important;transform:translateY(-2px)}
body.woocommerce-checkout .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:24px;align-items:start;direction:rtl}
body.woocommerce-checkout .woocommerce form.checkout #customer_details,body.woocommerce-checkout .woocommerce form.checkout #order_review,body.woocommerce-checkout .woocommerce form.checkout #order_review_heading{float:none!important;width:100%!important;min-width:0;margin:0!important}
body.woocommerce-checkout .woocommerce form.checkout #customer_details{grid-column:1;grid-row:1 / span 2;background:#fff;border:1px solid var(--a89-border);border-radius:20px;padding:clamp(18px,3vw,30px)}
body.woocommerce-checkout .woocommerce form.checkout #order_review_heading{grid-column:2;grid-row:1;align-self:end;padding:20px 20px 0;background:#fff;border:1px solid var(--a89-border);border-bottom:0;border-radius:20px 20px 0 0;font-size:23px;color:var(--a89-ink)}
body.woocommerce-checkout .woocommerce form.checkout #order_review{grid-column:2;grid-row:2;align-self:start;background:#fff;padding:0 20px 20px;border:1px solid var(--a89-border);border-top:0;border-radius:0 0 20px 20px}
body.woocommerce-checkout .woocommerce :is(input.input-text,textarea,select){max-width:100%;border:1px solid #d7e5dd;border-radius:10px;padding:12px 14px;background:#fff;min-height:44px}
body.woocommerce-checkout .woocommerce :is(#place_order,button.button),body.woocommerce-cart .woocommerce a.checkout-button{width:100%;background:var(--a89-green)!important;border-radius:12px;color:#fff!important;padding:14px!important;font-weight:800;font-size:20px}
body.woocommerce-checkout .woocommerce #payment{background:#f7faf8;border-radius:14px}
body.woocommerce-checkout .woocommerce table.shop_table,body.woocommerce-cart .woocommerce table.shop_table{border:1px solid var(--a89-border);border-radius:13px;overflow:hidden}
body.woocommerce-checkout .woocommerce h3,body.woocommerce-cart .woocommerce h2{color:var(--a89-ink);font-weight:800}
@media(max-width:1000px){body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}body.woocommerce-checkout .woocommerce form.checkout{grid-template-columns:minmax(0,1fr)}body.woocommerce-checkout .woocommerce form.checkout #customer_details,body.woocommerce-checkout .woocommerce form.checkout #order_review_heading,body.woocommerce-checkout .woocommerce form.checkout #order_review{grid-column:1;grid-row:auto}}
@media(max-width:600px){body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products{grid-template-columns:minmax(0,1fr);gap:16px}body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title{font-size:21px!important}.a89-course-shop-intro,.a89-course-checkout-intro{padding:20px;margin:10px 0 20px}body.woocommerce-checkout .woocommerce form.checkout #customer_details{padding:16px}}
@media(prefers-reduced-motion:reduce){body.woocommerce-shop ul.products li.product{transition:none!important;transform:none!important}}

/* Quantity controls for the classic WooCommerce order review. */
.a89-checkout-qty{display:inline-flex;vertical-align:middle;align-items:center;gap:7px;direction:ltr;margin-inline:8px;white-space:nowrap;font-size:16px}
.a89-checkout-qty .a89-qty-btn{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:9px;border:1px solid #cfe3d7;background:#f0f8f4;color:#087e60!important;text-decoration:none!important;font:bold 20px/1 Arial,sans-serif;transition:background .18s,transform .18s}
.a89-checkout-qty .a89-qty-btn:hover{background:#dcf2e7;transform:translateY(-1px)}
.a89-checkout-qty strong{font-size:18px;min-width:16px;text-align:center;color:#192f42}
@media(max-width:600px){.a89-checkout-qty{display:flex;margin:8px 0 0;gap:9px}.a89-checkout-qty .a89-qty-btn{min-width:36px;height:36px}}

/* 1.4.6 – Optional visual checkout fields; existing WooCommerce values and data stay intact. */
body.woocommerce-checkout.a89-hide-checkout-country #billing_country_field,
body.woocommerce-checkout.a89-hide-checkout-country #shipping_country_field,
body.woocommerce-checkout.a89-hide-checkout-country .wc-block-components-address-form__country,
body.woocommerce-checkout.a89-hide-checkout-country .wc-block-components-country-input{display:none!important}
body.woocommerce-checkout.a89-hide-checkout-notes #order_comments_field,
body.woocommerce-checkout.a89-hide-checkout-notes .woocommerce-additional-fields,
body.woocommerce-checkout.a89-hide-checkout-notes .wc-block-checkout__add-note,
body.woocommerce-checkout.a89-hide-checkout-notes .wc-block-components-order-notes{display:none!important}
/* Preserve native WooCommerce coupon toggling and validation, style only its trigger. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
body.woocommerce-checkout .woocommerce-info a.showcoupon{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 18px!important;margin-inline:8px;border:1px solid #91cbb1!important;border-radius:12px;background:linear-gradient(135deg,#e5f6ed,#f8fcfa)!important;color:#096749!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 3px 12px rgba(15,108,76,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon:hover,
body.woocommerce-checkout .woocommerce-info a.showcoupon:hover{transform:translateY(-2px);background:#daf2e5!important;box-shadow:0 7px 18px rgba(15,108,76,.14)}
body.woocommerce-checkout .woocommerce-info a.showcoupon:focus-visible{outline:3px solid #158a64;outline-offset:3px}
@media(max-width:600px){body.woocommerce-checkout .woocommerce-info a.showcoupon{max-width:100%;margin:8px 0;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){body.woocommerce-checkout .woocommerce-info a.showcoupon{transition:none!important}body.woocommerce-checkout .woocommerce-info a.showcoupon:hover{transform:none!important}}

/* v1.0.74: unified Academy cards in related products, cart and product details. */
body.single-product .woocommerce{direction:rtl;max-width:1240px;margin-inline:auto;color:var(--a89-ink)}
body.single-product .woocommerce div.product{display:block;min-width:0;overflow:visible}
body.single-product .woocommerce div.product .woocommerce-product-gallery{border:1px solid var(--a89-border);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 34px rgba(15,75,57,.06)}
body.single-product .woocommerce div.product .summary{background:#fff;border:1px solid var(--a89-border);border-radius:20px;padding:clamp(18px,3vw,34px);box-sizing:border-box;box-shadow:0 12px 34px rgba(15,75,57,.06);text-align:right}
body.single-product .woocommerce div.product .product_title{font-size:clamp(25px,2.7vw,36px);line-height:1.55;font-weight:800;color:var(--a89-ink)}
body.single-product .woocommerce div.product .summary .price{color:var(--a89-green);font-size:clamp(22px,2.4vw,30px);font-weight:800}
body.single-product .woocommerce div.product .summary p{line-height:1.95}
body.single-product .woocommerce div.product .quantity .qty{border:1px solid #d8e6df;border-radius:10px;min-height:42px;max-width:85px}
body.single-product .woocommerce div.product .woocommerce-tabs{clear:both;padding:20px 0;direction:rtl}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;display:flex;gap:8px;flex-wrap:wrap}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--a89-border);background:#f1f9f5;border-radius:12px;margin:0;padding:0 16px}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--a89-green);border-color:var(--a89-green)}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
body.single-product .woocommerce div.product .woocommerce-tabs .panel{border:1px solid var(--a89-border);border-radius:17px;padding:clamp(16px,3vw,26px);background:#fff;line-height:1.95}
body.single-product .woocommerce section.related{clear:both;margin:30px 0 55px;direction:rtl}
body.single-product .woocommerce section.related>h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;text-align:right;margin:0 0 20px;color:var(--a89-ink)}
body.single-product .woocommerce section.related ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both;padding:0;margin:0}
body.single-product .woocommerce section.related ul.products:before,body.single-product .woocommerce section.related ul.products:after{display:none!important}
body.single-product .woocommerce section.related ul.products li.product{width:100%!important;float:none!important;clear:none!important;margin:0!important;padding:0 0 18px!important;min-width:0;border:1px solid var(--a89-border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(15,75,57,.07);text-align:right;position:relative;transition:transform .2s,box-shadow .2s}
body.single-product .woocommerce section.related ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(15,75,57,.12)}
body.single-product .woocommerce section.related ul.products li.product img{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0 0 13px!important}
body.single-product .woocommerce section.related ul.products li.product :is(.woocommerce-loop-product__title,.price,.button,.star-rating){margin-inline:17px!important}
body.single-product .woocommerce section.related ul.products li.product .woocommerce-loop-product__title{font-size:22px!important;line-height:1.6;font-weight:800;color:var(--a89-ink)}
body.single-product .woocommerce section.related ul.products li.product .price{font-size:19px;color:var(--a89-green);font-weight:800}
body.single-product .woocommerce section.related ul.products li.product .button{border-radius:10px;background:var(--a89-green)!important;color:white!important;padding:11px 20px}
/* Discount price and badge on WooCommerce course grids, including the homepage. */
body:is(.home,.front-page,.woocommerce-shop,.tax-product_cat,.tax-product_tag,.single-product) .woocommerce ul.products li.product{position:relative}
body:is(.home,.front-page,.woocommerce-shop,.tax-product_cat,.tax-product_tag,.single-product) .woocommerce ul.products li.product .onsale.a89-discount-label,
body.single-product .woocommerce div.product>.onsale.a89-discount-label{position:absolute;z-index:5;inset:12px 12px auto auto;top:12px;right:12px;left:auto;bottom:auto;min-height:0;min-width:0;margin:0!important;border-radius:10px;background:#db3d57!important;color:#fff!important;font:800 15px/1.5 Tahoma,sans-serif;padding:6px 11px;box-shadow:0 5px 13px rgba(150,35,58,.16)}
body:is(.home,.front-page,.woocommerce-shop,.tax-product_cat,.tax-product_tag,.single-product) .woocommerce .price del{color:#899a93!important;opacity:1!important;font-weight:500;text-decoration:line-through}
body:is(.home,.front-page,.woocommerce-shop,.tax-product_cat,.tax-product_tag,.single-product) .woocommerce .price ins{color:#087e60!important;background:transparent;text-decoration:none;font-weight:800}
body:is(.home,.front-page) .woocommerce ul.products li.product .price{font-size:19px;font-weight:800;color:#087e60;display:block}
/* Classic cart: cards, quantity, totals; no modification to WooCommerce cart mechanics. */
body.woocommerce-cart .woocommerce{direction:rtl;max-width:1240px;margin:22px auto 55px;padding:0 14px;box-sizing:border-box}
body.woocommerce-cart .woocommerce .woocommerce-cart-form,body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{border:1px solid var(--a89-border);background:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(15,75,57,.06);padding:clamp(12px,2.5vw,24px);box-sizing:border-box}
body.woocommerce-cart .woocommerce table.shop_table{border:0;border-collapse:separate;border-spacing:0 9px;max-width:100%;width:100%;direction:rtl}
body.woocommerce-cart .woocommerce table.shop_table thead th{background:#f2f8f5;color:var(--a89-ink);font-weight:800;padding:14px 10px}
body.woocommerce-cart .woocommerce table.shop_table tbody tr.cart_item td{border-top:1px solid #e5efea;border-bottom:1px solid #e5efea;background:#fbfefc;padding:14px 10px;vertical-align:middle}
body.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img{width:100px;max-width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:11px}
body.woocommerce-cart .woocommerce table.shop_table td.product-name a{font-weight:800;color:var(--a89-ink);text-decoration:none}
body.woocommerce-cart .woocommerce table.shop_table td.product-name a:hover{color:var(--a89-green)}
body.woocommerce-cart .woocommerce :is(.amount,.product-price,.product-subtotal){color:var(--a89-green);font-weight:800}
body.woocommerce-cart .woocommerce .quantity input.qty{max-width:78px;min-height:42px;border:1px solid #d6e8de;border-radius:10px}
body.woocommerce-cart .woocommerce :is(.coupon .button,button[name="update_cart"],.return-to-shop .button){background:#edf7f2!important;color:#096c52!important;border:1px solid #b5dac8!important;border-radius:11px;padding:11px 17px}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{float:none;width:100%}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2{font-size:25px;font-weight:800;color:var(--a89-ink)}
/* Cart and product blocks are styled when pages use modern WooCommerce blocks. */
body.woocommerce-cart .wc-block-cart{max-width:1240px;margin:24px auto 55px;direction:rtl}
body.woocommerce-cart .wc-block-cart-items,body.woocommerce-cart .wc-block-cart__sidebar{background:#fff;border:1px solid #e3ebe7;border-radius:18px;padding:clamp(12px,2.5vw,25px)}
body.woocommerce-cart .wc-block-components-product-name{font-weight:800;color:#192f42!important}
body.woocommerce-cart .wc-block-components-product-image img{border-radius:12px}
body.woocommerce-cart .wc-block-components-button:not(.is-link){background:#087e60;color:#fff;border-radius:12px}
@media(max-width:900px){body.single-product .woocommerce section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.single-product .woocommerce section.related ul.products{grid-template-columns:minmax(0,1fr)}body.single-product .woocommerce div.product .summary{padding:16px}body.woocommerce-cart .woocommerce{padding:0 8px}body.woocommerce-cart .woocommerce table.shop_table tbody tr.cart_item td{padding:10px 8px}body.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img{width:80px}}
@media(prefers-reduced-motion:reduce){body.single-product .woocommerce section.related ul.products li.product{transition:none}}

/* v1.0.81: shared academy product cards shortcode. */
.a89-woo-course-grid{display:grid;grid-template-columns:repeat(var(--a89-card-columns,4),minmax(0,1fr));gap:18px;direction:rtl;margin:18px 0 30px;align-items:stretch}
.a89-woo-course-card{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dceae5;border-radius:13px;overflow:hidden;box-shadow:0 6px 24px #143d3210;text-align:right;transition:transform .2s,box-shadow .2s}
.a89-woo-course-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #143d3220}
.a89-woo-course-img{display:block;aspect-ratio:1.8;overflow:hidden;background:#e9f2f4}
.a89-woo-course-img img{width:100%;height:100%;object-fit:cover;display:block;margin:0!important}
.a89-woo-card-sale{position:absolute;top:10px;right:10px;z-index:2}.a89-woo-card-sale .onsale{position:static!important;min-width:0!important;min-height:0!important;border-radius:9px!important;padding:5px 10px!important;line-height:1.3!important;background:#e84c65!important;color:#fff!important}
.a89-woo-course-content{display:flex;flex:1;flex-direction:column;padding:18px 14px 14px;min-width:0}
.a89-woo-course-content h3{font-size:clamp(18px,1.45vw,23px);line-height:1.65;font-weight:800;margin:0 0 12px;min-height:3.3em}.a89-woo-course-content h3 a{color:#193149;text-decoration:none}.a89-woo-course-content h3 a:hover{color:#078363}
.a89-woo-course-desc{font-size:15px;line-height:1.9;color:#6b7e8a;margin:0 0 15px;min-height:3.8em}
.a89-woo-course-price{margin-top:auto;color:#088360;font-size:18px;font-weight:800;padding-bottom:14px}.a89-woo-course-price del{color:#9aa3ad;font-size:.85em;margin-inline-end:8px}.a89-woo-course-price ins{text-decoration:none;color:#078363}
.a89-woo-course-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a89-woo-course-actions a{min-width:0;min-height:40px;display:flex!important;justify-content:center;align-items:center;text-align:center;padding:8px!important;font-size:14px!important;line-height:1.4!important;font-weight:700!important;border-radius:7px!important;text-decoration:none!important;margin:0!important}
.a89-woo-enroll{background:#009d77!important;color:#fff!important;border:1px solid #009d77!important}.a89-woo-checkout{background:#fff!important;color:#294b63!important;border:1px solid #b5ccd2!important}
@media(max-width:1000px){.a89-woo-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.a89-woo-course-grid{grid-template-columns:minmax(0,1fr);gap:14px}.a89-woo-course-content h3,.a89-woo-course-desc{min-height:0}}
@media(prefers-reduced-motion:reduce){.a89-woo-course-card{transition:none}.a89-woo-course-card:hover{transform:none}}

/* v1.0.82: native Woo shop matches the front-page four-column course cards. */
body.woocommerce-shop .woocommerce ul.products,body.tax-product_cat .woocommerce ul.products,body.tax-product_tag .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px!important;align-items:stretch}
body.woocommerce-shop .woocommerce ul.products li.product.a89-course-shop-item,body.tax-product_cat .woocommerce ul.products li.product.a89-course-shop-item,body.tax-product_tag .woocommerce ul.products li.product.a89-course-shop-item{border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;float:none!important;width:100%!important}
body .woocommerce ul.products li.a89-course-shop-item .a89-woo-course-card{height:100%}
body .woocommerce ul.products li.a89-course-shop-item .a89-woo-course-img img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;margin:0!important}
body .woocommerce ul.products li.a89-course-shop-item .a89-woo-course-content h3,body .woocommerce ul.products li.a89-course-shop-item .a89-woo-course-content h3 a{margin:0!important;line-height:1.65!important}
body .woocommerce ul.products li.a89-course-shop-item .a89-woo-course-actions a{margin:0!important;width:100%!important;white-space:normal!important}
@media(max-width:1000px){body.woocommerce-shop .woocommerce ul.products,body.tax-product_cat .woocommerce ul.products,body.tax-product_tag .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){body.woocommerce-shop .woocommerce ul.products,body.tax-product_cat .woocommerce ul.products,body.tax-product_tag .woocommerce ul.products{grid-template-columns:minmax(0,1fr)!important}}

/* v1.0.94: empty cart uses the same course card system as the Academy shop. */
body.woocommerce-cart .a89-cart-empty-view{width:100%;max-width:1240px;margin:22px auto 65px;direction:rtl;box-sizing:border-box;padding:0 12px;color:#193149}
body.woocommerce-cart .a89-cart-empty-hero{display:flex;align-items:center;justify-content:center;gap:24px;text-align:right;background:linear-gradient(115deg,#edf9f3,#fff 82%);border:1px solid #dbeae3;border-radius:20px;padding:clamp(24px,5vw,54px);box-shadow:0 10px 35px rgba(15,77,53,.05)}
body.woocommerce-cart .a89-cart-empty-symbol{display:grid;flex:0 0 90px;width:90px;height:90px;place-items:center;border-radius:22px;background:#dff5eb;color:#087e60}
body.woocommerce-cart .a89-cart-empty-symbol svg{width:46px;height:46px}
body.woocommerce-cart .a89-cart-empty-heading{max-width:690px}
body.woocommerce-cart .a89-cart-empty-kicker{font-weight:700;font-size:15px;color:#078463}
body.woocommerce-cart .a89-cart-empty-heading h1{font-size:clamp(24px,3vw,38px);line-height:1.45;color:#193149;margin:5px 0 9px;font-weight:800}
body.woocommerce-cart .a89-cart-empty-heading p{font-size:17px;line-height:1.85;color:#627886;margin:0 0 20px}
body.woocommerce-cart .a89-cart-empty-back{display:inline-flex;justify-content:center;align-items:center;background:#008f6d;color:#fff!important;font-size:16px;font-weight:800;padding:11px 22px;border-radius:10px;text-decoration:none!important;box-shadow:0 5px 16px rgba(0,143,109,.17)}
body.woocommerce-cart .a89-cart-empty-back:hover{background:#067657}
body.woocommerce-cart .a89-cart-empty-recommendations{margin:34px 0 0}
body.woocommerce-cart .a89-cart-empty-reco-title{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}
body.woocommerce-cart .a89-cart-empty-reco-title h2{margin:4px 0 0;font-size:clamp(23px,2.3vw,32px);line-height:1.5;color:#193149;font-weight:800}
body.woocommerce-cart .a89-cart-empty-reco-title>a{font-size:15px;color:#087e60;font-weight:800;text-decoration:none}
body.woocommerce-cart .a89-cart-empty-recommendations .a89-woo-course-grid{margin-top:0}
body.woocommerce-cart .a89-cart-empty-recommendations .a89-woo-course-card{height:100%}
@media(max-width:640px){body.woocommerce-cart .a89-cart-empty-view{padding:0 10px;margin:12px auto 42px}body.woocommerce-cart .a89-cart-empty-hero{flex-direction:column;text-align:center;gap:10px;padding:24px 16px}body.woocommerce-cart .a89-cart-empty-symbol{flex-basis:64px;width:64px;height:64px;border-radius:18px}body.woocommerce-cart .a89-cart-empty-symbol svg{width:35px;height:35px}body.woocommerce-cart .a89-cart-empty-reco-title{align-items:flex-start;flex-direction:column}body.woocommerce-cart .a89-cart-empty-recommendations{margin-top:26px}}

/* v1.0.95: hide the default Woo/Hello Shop page title, retain the custom academy intro. */
body.woocommerce-shop .page-header:has(> .entry-title),body.woocommerce-shop .woocommerce-products-header__title.page-title{display:none!important}


/* v1.0.97: empty cart redesigned exactly like the academy shop card section. */
body.woocommerce-cart .a89-cart-empty-view--shop{width:100%;max-width:1240px;margin:16px auto 56px;direction:rtl;box-sizing:border-box;padding:0 12px;color:#193149}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-headline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:0}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-headline h2{position:relative;margin:0;font-size:clamp(26px,2.4vw,40px);font-weight:800;line-height:1.5;color:#193149;padding-inline-start:18px}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-headline h2:before{content:"";position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:#c49b4c;box-shadow:12px 0 0 #c49b4c}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-all{display:inline-flex;align-items:center;gap:6px;color:#0a8666!important;text-decoration:none!important;font-size:15px;font-weight:800;padding:4px 0}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-all:hover{color:#066f54!important}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-products{margin:0}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-woo-course-grid{margin:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-woo-course-card{height:100%;border-radius:14px;border:1px solid #dceae5;box-shadow:0 8px 24px rgba(20,61,50,.08)}
body.woocommerce-cart .a89-cart-empty-view--shop .a89-woo-course-img{aspect-ratio:16/10}
@media(max-width:1000px){body.woocommerce-cart .a89-cart-empty-view--shop .a89-woo-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.woocommerce-cart .a89-cart-empty-view--shop{padding:0 10px;margin:12px auto 40px}body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-headline{align-items:flex-start;flex-direction:column-reverse;margin-bottom:16px}body.woocommerce-cart .a89-cart-empty-view--shop .a89-cart-empty-headline h2{font-size:28px}body.woocommerce-cart .a89-cart-empty-view--shop .a89-woo-course-grid{grid-template-columns:minmax(0,1fr);gap:14px}}


/* v1.0.98: responsive academy-designed WooCommerce single product. */
body.single-product .woocommerce{width:min(100% - 32px,1240px);max-width:1240px;margin:26px auto 64px;box-sizing:border-box}
body.single-product .woocommerce div.product{direction:rtl;display:flow-root;min-width:0}
body.single-product .woocommerce div.product .woocommerce-product-gallery{float:right!important;width:47%!important;margin:0 0 30px 0!important;padding:12px;box-sizing:border-box;position:relative;background:linear-gradient(155deg,#f1f9f6,#fff 70%);border:1px solid #deebe5;border-radius:20px;box-shadow:0 12px 32px rgba(10,80,61,.07)}
body.single-product .woocommerce div.product .woocommerce-product-gallery img{display:block;max-width:100%;height:auto;border-radius:13px;object-fit:contain}
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 0!important;padding:0!important;list-style:none}
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;width:calc(25% - 7px)!important;box-sizing:border-box}
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img{border-radius:9px;border:1px solid #e1eae6}
body.single-product .woocommerce div.product .summary{float:left!important;width:50%!important;clear:none!important;margin:0 0 30px!important;padding:clamp(20px,3vw,36px)!important;box-sizing:border-box;border:1px solid #deebe5;border-radius:20px;background:linear-gradient(145deg,#fff,#fbfefc);box-shadow:0 12px 32px rgba(10,80,61,.07);text-align:right;direction:rtl}
body.single-product .woocommerce div.product .summary .product_title{font-size:clamp(26px,2.5vw,38px)!important;line-height:1.55!important;color:#163849!important;margin:0 0 18px!important;font-weight:800}
body.single-product .woocommerce div.product .summary .woocommerce-product-rating{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
body.single-product .woocommerce div.product .summary .price{display:block;color:#087e60!important;font-size:clamp(23px,2.2vw,31px)!important;font-weight:800;margin:10px 0 20px!important;line-height:1.8}
body.single-product .woocommerce div.product .summary .price del{font-size:.77em;color:#8d9c98!important;opacity:1;margin-inline-end:12px}
body.single-product .woocommerce div.product .summary .price ins{background:none;text-decoration:none;color:#087e60}
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description{margin-bottom:22px;color:#4b6672;font-size:18px;line-height:2}
body.single-product .woocommerce div.product .summary form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 22px!important}
body.single-product .woocommerce div.product .summary form.cart .quantity{float:none!important;margin:0!important}
body.single-product .woocommerce div.product .summary form.cart .quantity .qty{min-height:48px;width:75px;max-width:100%;border-radius:11px;border:1px solid #cfe3d8;text-align:center;background:#fff}
body.single-product .woocommerce div.product .summary form.cart .single_add_to_cart_button{float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;flex:1 1 175px;max-width:100%;border-radius:11px!important;background:linear-gradient(120deg,#069d75,#087c60)!important;box-shadow:0 6px 17px #087e6022;font-size:19px!important;padding:12px 22px!important;cursor:pointer}
body.single-product .woocommerce div.product .summary .product_meta{padding-top:18px;margin-top:20px;border-top:1px solid #e4efea;display:flex;flex-direction:column;gap:8px;color:#647b83;font-size:16px;line-height:1.8}
body.single-product .woocommerce div.product .summary .product_meta a{color:#087e60;text-decoration:none}
body.single-product .woocommerce div.product .woocommerce-tabs{clear:both;float:none;width:100%;padding:18px 0 4px;direction:rtl}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{margin:0 0 16px!important;padding:0!important;display:flex;flex-wrap:wrap;gap:9px;list-style:none}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0!important;display:inline-flex;border:1px solid #d6e9df;background:#f1f8f4;padding:0 20px;border-radius:11px}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 0;font-weight:800;color:#0b6852;text-decoration:none}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#087e60;border-color:#087e60}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:white}
body.single-product .woocommerce div.product .woocommerce-tabs .panel{background:#fff;border:1px solid #e0ebe5;border-radius:18px;padding:clamp(18px,3vw,32px);line-height:2;color:#344f5c;margin:0 0 20px}
body.single-product .woocommerce div.product .woocommerce-tabs .panel :is(h2,h3){color:#193d46;line-height:1.65}
body.single-product .woocommerce section.related{clear:both;padding:24px 0;margin:26px 0 48px}
body.single-product .woocommerce section.related>h2{font-size:clamp(24px,2.3vw,33px);margin:0 0 22px;text-align:right}
body.single-product .woocommerce section.related ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px}
body.single-product .woocommerce section.related ul.products li.product{box-shadow:0 6px 24px #143d3210;border:1px solid #dceae5;border-radius:14px;overflow:hidden}
body.single-product .woocommerce section.related ul.products li.product img{aspect-ratio:16/10;object-fit:cover}
body.single-product .woocommerce section.related ul.products li.product .onsale{z-index:2}
body.single-product .woocommerce section.related ul.products li.product :is(.woocommerce-loop-product__title,.price){display:block;margin-inline:14px!important}
body.single-product .woocommerce section.related ul.products li.product .button{margin:12px 14px 2px!important;text-decoration:none!important;display:inline-flex;justify-content:center}
body.single-product .woocommerce .woocommerce-breadcrumb{margin:0 0 22px;color:#72858b;font-size:16px;line-height:1.8}
body.single-product .woocommerce .woocommerce-breadcrumb a{color:#087e60;text-decoration:none}
@media(max-width:1000px){body.single-product .woocommerce section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){body.single-product .woocommerce{width:calc(100% - 20px);margin:14px auto 40px}body.single-product .woocommerce div.product .woocommerce-product-gallery,body.single-product .woocommerce div.product .summary{width:100%!important;float:none!important;clear:both!important;margin:0 0 16px!important}body.single-product .woocommerce div.product .woocommerce-product-gallery{padding:9px}body.single-product .woocommerce div.product .summary{padding:20px!important}body.single-product .woocommerce div.product .summary .product_title{font-size:27px!important}body.single-product .woocommerce section.related ul.products{grid-template-columns:minmax(0,1fr)!important;gap:14px}body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{padding:0 12px}}
@media(prefers-reduced-motion:reduce){body.single-product .woocommerce section.related ul.products li.product{transition:none!important;transform:none!important}}

/* v1.0.99: WooCommerce product reviews – Academy 8899 design (visual only). */
body.single-product .woocommerce #reviews{direction:rtl;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start;gap:24px;font-family:inherit;color:#193149}
body.single-product .woocommerce #reviews #comments,body.single-product .woocommerce #reviews #review_form_wrapper{min-width:0;background:#fff;border:1px solid #dcebe5;border-radius:20px;padding:clamp(18px,2.5vw,30px);box-shadow:0 9px 28px rgba(14,79,58,.055);box-sizing:border-box}
body.single-product .woocommerce #reviews #comments>h2,body.single-product .woocommerce #reviews #reply-title{display:block;font-size:clamp(21px,2vw,27px);font-weight:800;line-height:1.6;color:#173c35;margin:0 0 20px}
body.single-product .woocommerce #reviews #comments ol.commentlist{padding:0;margin:0;list-style:none;width:100%}
body.single-product .woocommerce #reviews #comments ol.commentlist li{margin:0 0 15px!important;padding:0!important;border:0!important}
body.single-product .woocommerce #reviews #comments ol.commentlist li .comment_container{display:flex;gap:13px;align-items:flex-start;border:1px solid #e3eee9;background:#f8fcfa;border-radius:15px;padding:16px;box-sizing:border-box;min-width:0}
body.single-product .woocommerce #reviews #comments ol.commentlist li img.avatar{float:none!important;position:static!important;flex:0 0 46px;width:46px!important;height:46px!important;padding:0!important;border:2px solid #d7ebe2!important;border-radius:50%;object-fit:cover;background:#fff}
body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text{flex:1;min-width:0;float:none!important;width:auto!important;margin:0!important;border:0!important;padding:0!important;text-align:right}
body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text .meta{font-size:14px;color:#778a86;margin:0 0 8px}
body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text .meta strong{color:#153c33;font-size:17px;font-weight:800}
body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text .description{font-size:16px;line-height:2;color:#455f58;overflow-wrap:anywhere}
body.single-product .woocommerce #reviews .star-rating{color:#d9a737!important;float:left!important;margin:0 0 6px 9px}
body.single-product .woocommerce #reviews #review_form #respond{padding:0;margin:0;box-shadow:none;border:0;background:transparent}
body.single-product .woocommerce #reviews #review_form #respond .comment-form{display:flex;flex-direction:column;gap:12px;margin:0}
body.single-product .woocommerce #reviews #review_form #respond .comment-form>p{margin:0 0 4px!important;float:none!important;width:100%!important}
body.single-product .woocommerce #reviews #review_form #respond label{display:block;margin-bottom:7px;font-size:16px;font-weight:700;color:#24493d}
body.single-product .woocommerce #reviews #review_form #respond :is(textarea,input[type=text],input[type=email]){box-sizing:border-box;display:block;width:100%;max-width:100%;border:1px solid #d1e4da!important;border-radius:11px!important;background:#fbfefc!important;min-height:46px;padding:12px 14px!important;font:inherit;color:#173f36;transition:border-color .2s,box-shadow .2s}
body.single-product .woocommerce #reviews #review_form #respond textarea{min-height:140px;resize:vertical}
body.single-product .woocommerce #reviews #review_form #respond :is(textarea,input[type=text],input[type=email]):focus{outline:none;border-color:#0d9673!important;box-shadow:0 0 0 3px rgba(13,150,115,.12)}
body.single-product .woocommerce #reviews #review_form #respond .comment-form-rating{padding:10px 0}
body.single-product .woocommerce #reviews #review_form #respond .stars a{color:#d5a02d!important;font-size:22px}
body.single-product .woocommerce #reviews #review_form #respond input#submit{background:#087e60!important;border:0!important;border-radius:11px!important;color:white!important;padding:12px 26px!important;min-height:46px;font:800 17px/1.5 inherit!important;cursor:pointer;transition:background .2s}
body.single-product .woocommerce #reviews #review_form #respond input#submit:hover{background:#06694d!important}
body.single-product .woocommerce #reviews .woocommerce-noreviews{padding:15px;border-radius:12px;background:#eef8f3;color:#396d59}
@media(max-width:850px){body.single-product .woocommerce #reviews{grid-template-columns:minmax(0,1fr)}body.single-product .woocommerce #reviews #comments,body.single-product .woocommerce #reviews #review_form_wrapper{padding:18px}}
@media(max-width:480px){body.single-product .woocommerce #reviews #comments ol.commentlist li .comment_container{padding:12px;gap:9px}body.single-product .woocommerce #reviews #comments ol.commentlist li img.avatar{flex-basis:38px;width:38px!important;height:38px!important}body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text .meta{font-size:13px}}

/* v1.0.100 – refined related products; safely scoped to single-product related section. */
body.single-product .woocommerce section.related.products{margin:48px auto 60px;padding:28px clamp(12px,2.5vw,26px);background:linear-gradient(140deg,#f3faf6,#fff 70%);border:1px solid #e2eee9;border-radius:24px;max-width:1280px;box-sizing:border-box;clear:both}
body.single-product .woocommerce section.related.products>h2{position:relative;font-size:clamp(24px,2.3vw,34px)!important;font-weight:800;line-height:1.5;color:#17344a!important;margin:0 0 24px!important;padding-right:18px;text-align:right}
body.single-product .woocommerce section.related.products>h2:before{content:"";position:absolute;right:0;top:24%;bottom:24%;width:5px;border-radius:10px;background:linear-gradient(#08a87d,#07624e)}
body.single-product .woocommerce section.related.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;direction:rtl;margin:0!important;padding:0!important;align-items:stretch}
body.single-product .woocommerce section.related.products ul.products li.product{position:relative!important;display:flex!important;flex-direction:column;min-width:0;width:100%!important;float:none!important;margin:0!important;padding:0 0 18px!important;background:#fff!important;border:1px solid #dceae5!important;border-radius:17px!important;overflow:hidden!important;box-shadow:0 7px 23px rgba(18,73,57,.07)!important;text-align:right!important;transition:transform .22s,box-shadow .22s,border-color .22s}
body.single-product .woocommerce section.related.products ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(18,73,57,.13)!important;border-color:#b6d8ca!important}
body.single-product .woocommerce section.related.products ul.products li.product>a.woocommerce-LoopProduct-link{display:block!important;min-width:0;text-decoration:none!important;color:inherit!important;flex:1}
body.single-product .woocommerce section.related.products ul.products li.product img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;margin:0 0 16px!important;border-radius:0!important;transition:transform .3s}
body.single-product .woocommerce section.related.products ul.products li.product:hover img{transform:scale(1.025)}
body.single-product .woocommerce section.related.products ul.products li.product .woocommerce-loop-product__title{margin:0 16px 12px!important;min-height:3.3em;color:#193149!important;font-size:clamp(17px,1.4vw,21px)!important;font-weight:800!important;line-height:1.65!important;overflow-wrap:anywhere}
body.single-product .woocommerce section.related.products ul.products li.product .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:5px 9px;direction:rtl;margin:0 16px 15px!important;color:#078362!important;font-size:19px!important;font-weight:800!important;line-height:1.65!important}
body.single-product .woocommerce section.related.products ul.products li.product .price del{order:0;color:#97a5a5!important;opacity:1!important;font-size:15px!important;font-weight:500!important;text-decoration:line-through!important;text-decoration-thickness:1.5px!important}
body.single-product .woocommerce section.related.products ul.products li.product .price ins{order:1;color:#078362!important;font-size:20px!important;font-weight:900!important;text-decoration:none!important;background:none!important}
body.single-product .woocommerce section.related.products ul.products li.product .price .woocommerce-Price-amount{white-space:normal}
body.single-product .woocommerce section.related.products ul.products li.product .button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:auto 16px 0!important;padding:10px 14px!important;border:1px solid #008e6c!important;border-radius:10px!important;background:linear-gradient(110deg,#058d6b,#087a61)!important;color:#fff!important;font-size:16px!important;font-weight:800!important;line-height:1.5!important;text-align:center!important;text-decoration:none!important;box-shadow:0 5px 13px rgba(7,126,96,.14);width:calc(100% - 32px)!important;box-sizing:border-box!important}
body.single-product .woocommerce section.related.products ul.products li.product .button:hover{background:linear-gradient(110deg,#057c5e,#055e49)!important;transform:none!important}
body.single-product .woocommerce section.related.products ul.products li.product a.added_to_cart{margin:8px 16px 0;display:block;text-align:center;color:#087e60;font-weight:800}
/* Round badge overlays the thumbnail without covering product text. */
body.single-product .woocommerce section.related.products ul.products li.product .onsale,
body.single-product .woocommerce section.related.products ul.products li.product .onsale.a89-discount-label{position:absolute!important;inset:12px auto auto 12px!important;right:auto!important;left:12px!important;top:12px!important;bottom:auto!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;width:74px!important;height:74px!important;min-width:74px!important;min-height:74px!important;max-width:74px!important;margin:0!important;padding:7px!important;box-sizing:border-box!important;border-radius:50%!important;border:3px solid rgba(255,255,255,.9)!important;background:linear-gradient(145deg,#f05a6c,#c91f4e)!important;color:#fff!important;box-shadow:0 5px 16px rgba(155,20,55,.3)!important;text-align:center!important;white-space:normal!important;font:bold 13px/1.4 Tahoma,sans-serif!important}
@media(max-width:1050px){body.single-product .woocommerce section.related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.single-product .woocommerce section.related.products{margin:24px 0 38px;padding:20px 12px;border-radius:18px}body.single-product .woocommerce section.related.products ul.products{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}body.single-product .woocommerce section.related.products ul.products li.product .woocommerce-loop-product__title{min-height:0}body.single-product .woocommerce section.related.products ul.products li.product .onsale{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;font-size:12px!important}}
@media(prefers-reduced-motion:reduce){body.single-product .woocommerce section.related.products ul.products li.product,body.single-product .woocommerce section.related.products ul.products li.product img{transition:none!important;transform:none!important}}

/* v1.0.105: Hello Elementor product templates may omit the .woocommerce ancestor. */

body.single-product div.product{display:block;min-width:0;overflow:visible}

body.single-product div.product .woocommerce-product-gallery{border:1px solid var(--a89-border);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 34px rgba(15,75,57,.06)}

body.single-product div.product .summary{background:#fff;border:1px solid var(--a89-border);border-radius:20px;padding:clamp(18px,3vw,34px);box-sizing:border-box;box-shadow:0 12px 34px rgba(15,75,57,.06);text-align:right}

body.single-product div.product .product_title{font-size:clamp(25px,2.7vw,36px);line-height:1.55;font-weight:800;color:var(--a89-ink)}

body.single-product div.product .summary .price{color:var(--a89-green);font-size:clamp(22px,2.4vw,30px);font-weight:800}

body.single-product div.product .summary p{line-height:1.95}

body.single-product div.product .quantity .qty{border:1px solid #d8e6df;border-radius:10px;min-height:42px;max-width:85px}

body.single-product div.product .woocommerce-tabs{clear:both;padding:20px 0;direction:rtl}

body.single-product div.product .woocommerce-tabs ul.tabs{padding:0;display:flex;gap:8px;flex-wrap:wrap}

body.single-product div.product .woocommerce-tabs ul.tabs:before{display:none}

body.single-product div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--a89-border);background:#f1f9f5;border-radius:12px;margin:0;padding:0 16px}

body.single-product div.product .woocommerce-tabs ul.tabs li.active{background:var(--a89-green);border-color:var(--a89-green)}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}

body.single-product div.product .woocommerce-tabs .panel{border:1px solid var(--a89-border);border-radius:17px;padding:clamp(16px,3vw,26px);background:#fff;line-height:1.95}

body.single-product section.related{clear:both;margin:30px 0 55px;direction:rtl}

body.single-product section.related>h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;text-align:right;margin:0 0 20px;color:var(--a89-ink)}

body.single-product section.related ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both;padding:0;margin:0}

body.single-product section.related ul.products:before,body.single-product section.related ul.products:after{display:none!important}

body.single-product section.related ul.products li.product{width:100%!important;float:none!important;clear:none!important;margin:0!important;padding:0 0 18px!important;min-width:0;border:1px solid var(--a89-border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(15,75,57,.07);text-align:right;position:relative;transition:transform .2s,box-shadow .2s}

body.single-product section.related ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(15,75,57,.12)}

body.single-product section.related ul.products li.product img{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0 0 13px!important}

body.single-product section.related ul.products li.product :is(.woocommerce-loop-product__title,.price,.button,.star-rating){margin-inline:17px!important}

body.single-product section.related ul.products li.product .woocommerce-loop-product__title{font-size:22px!important;line-height:1.6;font-weight:800;color:var(--a89-ink)}

body.single-product section.related ul.products li.product .price{font-size:19px;color:var(--a89-green);font-weight:800}

body.single-product section.related ul.products li.product .button{border-radius:10px;background:var(--a89-green)!important;color:white!important;padding:11px 20px}

body:is(.home,.front-page,.woocommerce-shop,.tax-product_cat,.tax-product_tag,.single-product) .woocommerce ul.products li.product .onsale.a89-discount-label,
body.single-product div.product>.onsale.a89-discount-label{position:absolute;z-index:5;inset:12px 12px auto auto;top:12px;right:12px;left:auto;bottom:auto;min-height:0;min-width:0;margin:0!important;border-radius:10px;background:#db3d57!important;color:#fff!important;font:800 15px/1.5 Tahoma,sans-serif;padding:6px 11px;box-shadow:0 5px 13px rgba(150,35,58,.16)}
body.single-product section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
body.single-product section.related ul.products{grid-template-columns:minmax(0,1fr)}
body.single-product div.product .summary{padding:16px}
body.single-product section.related ul.products li.product{transition:none}

body.single-product div.product{direction:rtl;display:flow-root;min-width:0}

body.single-product div.product .woocommerce-product-gallery{float:right!important;width:47%!important;margin:0 0 30px 0!important;padding:12px;box-sizing:border-box;position:relative;background:linear-gradient(155deg,#f1f9f6,#fff 70%);border:1px solid #deebe5;border-radius:20px;box-shadow:0 12px 32px rgba(10,80,61,.07)}

body.single-product div.product .woocommerce-product-gallery img{display:block;max-width:100%;height:auto;border-radius:13px;object-fit:contain}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 0!important;padding:0!important;list-style:none}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;width:calc(25% - 7px)!important;box-sizing:border-box}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img{border-radius:9px;border:1px solid #e1eae6}

body.single-product div.product .summary{float:left!important;width:50%!important;clear:none!important;margin:0 0 30px!important;padding:clamp(20px,3vw,36px)!important;box-sizing:border-box;border:1px solid #deebe5;border-radius:20px;background:linear-gradient(145deg,#fff,#fbfefc);box-shadow:0 12px 32px rgba(10,80,61,.07);text-align:right;direction:rtl}

body.single-product div.product .summary .product_title{font-size:clamp(26px,2.5vw,38px)!important;line-height:1.55!important;color:#163849!important;margin:0 0 18px!important;font-weight:800}

body.single-product div.product .summary .woocommerce-product-rating{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}

body.single-product div.product .summary .price{display:block;color:#087e60!important;font-size:clamp(23px,2.2vw,31px)!important;font-weight:800;margin:10px 0 20px!important;line-height:1.8}

body.single-product div.product .summary .price del{font-size:.77em;color:#8d9c98!important;opacity:1;margin-inline-end:12px}

body.single-product div.product .summary .price ins{background:none;text-decoration:none;color:#087e60}

body.single-product div.product .summary .woocommerce-product-details__short-description{margin-bottom:22px;color:#4b6672;font-size:18px;line-height:2}

body.single-product div.product .summary form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 22px!important}

body.single-product div.product .summary form.cart .quantity{float:none!important;margin:0!important}

body.single-product div.product .summary form.cart .quantity .qty{min-height:48px;width:75px;max-width:100%;border-radius:11px;border:1px solid #cfe3d8;text-align:center;background:#fff}

body.single-product div.product .summary form.cart .single_add_to_cart_button{float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;flex:1 1 175px;max-width:100%;border-radius:11px!important;background:linear-gradient(120deg,#069d75,#087c60)!important;box-shadow:0 6px 17px #087e6022;font-size:19px!important;padding:12px 22px!important;cursor:pointer}

body.single-product div.product .summary .product_meta{padding-top:18px;margin-top:20px;border-top:1px solid #e4efea;display:flex;flex-direction:column;gap:8px;color:#647b83;font-size:16px;line-height:1.8}

body.single-product div.product .summary .product_meta a{color:#087e60;text-decoration:none}

body.single-product div.product .woocommerce-tabs{clear:both;float:none;width:100%;padding:18px 0 4px;direction:rtl}

body.single-product div.product .woocommerce-tabs ul.tabs{margin:0 0 16px!important;padding:0!important;display:flex;flex-wrap:wrap;gap:9px;list-style:none}

body.single-product div.product .woocommerce-tabs ul.tabs li{margin:0!important;display:inline-flex;border:1px solid #d6e9df;background:#f1f8f4;padding:0 20px;border-radius:11px}

body.single-product div.product .woocommerce-tabs ul.tabs li a{padding:11px 0;font-weight:800;color:#0b6852;text-decoration:none}

body.single-product div.product .woocommerce-tabs ul.tabs li.active{background:#087e60;border-color:#087e60}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:white}

body.single-product div.product .woocommerce-tabs .panel{background:#fff;border:1px solid #e0ebe5;border-radius:18px;padding:clamp(18px,3vw,32px);line-height:2;color:#344f5c;margin:0 0 20px}

body.single-product div.product .woocommerce-tabs .panel :is(h2,h3){color:#193d46;line-height:1.65}

body.single-product section.related{clear:both;padding:24px 0;margin:26px 0 48px}

body.single-product section.related>h2{font-size:clamp(24px,2.3vw,33px);margin:0 0 22px;text-align:right}

body.single-product section.related ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px}

body.single-product section.related ul.products li.product{box-shadow:0 6px 24px #143d3210;border:1px solid #dceae5;border-radius:14px;overflow:hidden}

body.single-product section.related ul.products li.product img{aspect-ratio:16/10;object-fit:cover}

body.single-product section.related ul.products li.product .onsale{z-index:2}

body.single-product section.related ul.products li.product :is(.woocommerce-loop-product__title,.price){display:block;margin-inline:14px!important}

body.single-product section.related ul.products li.product .button{margin:12px 14px 2px!important;text-decoration:none!important;display:inline-flex;justify-content:center}

body.single-product .woocommerce-breadcrumb{margin:0 0 22px;color:#72858b;font-size:16px;line-height:1.8}

body.single-product .woocommerce-breadcrumb a{color:#087e60;text-decoration:none}
body.single-product section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .summary{width:100%!important;float:none!important;clear:both!important;margin:0 0 16px!important}
body.single-product div.product .woocommerce-product-gallery{padding:9px}
body.single-product div.product .summary{padding:20px!important}
body.single-product div.product .summary .product_title{font-size:27px!important}
body.single-product section.related ul.products{grid-template-columns:minmax(0,1fr)!important;gap:14px}
body.single-product div.product .woocommerce-tabs ul.tabs li{padding:0 12px}
body.single-product section.related ul.products li.product{transition:none!important;transform:none!important}


/* v1.0.99: WooCommerce product reviews – Academy 8899 design (visual only). */
body.single-product #reviews{direction:rtl;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start;gap:24px;font-family:inherit;color:#193149}

body.single-product #reviews #comments,body.single-product #reviews #review_form_wrapper{min-width:0;background:#fff;border:1px solid #dcebe5;border-radius:20px;padding:clamp(18px,2.5vw,30px);box-shadow:0 9px 28px rgba(14,79,58,.055);box-sizing:border-box}

body.single-product #reviews #comments>h2,body.single-product #reviews #reply-title{display:block;font-size:clamp(21px,2vw,27px);font-weight:800;line-height:1.6;color:#173c35;margin:0 0 20px}

body.single-product #reviews #comments ol.commentlist{padding:0;margin:0;list-style:none;width:100%}

body.single-product #reviews #comments ol.commentlist li{margin:0 0 15px!important;padding:0!important;border:0!important}

body.single-product #reviews #comments ol.commentlist li .comment_container{display:flex;gap:13px;align-items:flex-start;border:1px solid #e3eee9;background:#f8fcfa;border-radius:15px;padding:16px;box-sizing:border-box;min-width:0}

body.single-product #reviews #comments ol.commentlist li img.avatar{float:none!important;position:static!important;flex:0 0 46px;width:46px!important;height:46px!important;padding:0!important;border:2px solid #d7ebe2!important;border-radius:50%;object-fit:cover;background:#fff}

body.single-product #reviews #comments ol.commentlist li .comment-text{flex:1;min-width:0;float:none!important;width:auto!important;margin:0!important;border:0!important;padding:0!important;text-align:right}

body.single-product #reviews #comments ol.commentlist li .comment-text .meta{font-size:14px;color:#778a86;margin:0 0 8px}

body.single-product #reviews #comments ol.commentlist li .comment-text .meta strong{color:#153c33;font-size:17px;font-weight:800}

body.single-product #reviews #comments ol.commentlist li .comment-text .description{font-size:16px;line-height:2;color:#455f58;overflow-wrap:anywhere}

body.single-product #reviews .star-rating{color:#d9a737!important;float:left!important;margin:0 0 6px 9px}

body.single-product #reviews #review_form #respond{padding:0;margin:0;box-shadow:none;border:0;background:transparent}

body.single-product #reviews #review_form #respond .comment-form{display:flex;flex-direction:column;gap:12px;margin:0}

body.single-product #reviews #review_form #respond .comment-form>p{margin:0 0 4px!important;float:none!important;width:100%!important}

body.single-product #reviews #review_form #respond label{display:block;margin-bottom:7px;font-size:16px;font-weight:700;color:#24493d}

body.single-product #reviews #review_form #respond :is(textarea,input[type=text],input[type=email]){box-sizing:border-box;display:block;width:100%;max-width:100%;border:1px solid #d1e4da!important;border-radius:11px!important;background:#fbfefc!important;min-height:46px;padding:12px 14px!important;font:inherit;color:#173f36;transition:border-color .2s,box-shadow .2s}

body.single-product #reviews #review_form #respond textarea{min-height:140px;resize:vertical}

body.single-product #reviews #review_form #respond :is(textarea,input[type=text],input[type=email]):focus{outline:none;border-color:#0d9673!important;box-shadow:0 0 0 3px rgba(13,150,115,.12)}

body.single-product #reviews #review_form #respond .comment-form-rating{padding:10px 0}

body.single-product #reviews #review_form #respond .stars a{color:#d5a02d!important;font-size:22px}

body.single-product #reviews #review_form #respond input#submit{background:#087e60!important;border:0!important;border-radius:11px!important;color:white!important;padding:12px 26px!important;min-height:46px;font:800 17px/1.5 inherit!important;cursor:pointer;transition:background .2s}

body.single-product #reviews #review_form #respond input#submit:hover{background:#06694d!important}

body.single-product #reviews .woocommerce-noreviews{padding:15px;border-radius:12px;background:#eef8f3;color:#396d59}
body.single-product #reviews{grid-template-columns:minmax(0,1fr)}
body.single-product #reviews #comments,body.single-product #reviews #review_form_wrapper{padding:18px}
body.single-product #reviews #comments ol.commentlist li .comment_container{padding:12px;gap:9px}
body.single-product #reviews #comments ol.commentlist li img.avatar{flex-basis:38px;width:38px!important;height:38px!important}
body.single-product #reviews #comments ol.commentlist li .comment-text .meta{font-size:13px}


/* v1.0.100 – refined related products; safely scoped to single-product related section. */
body.single-product section.related.products{margin:48px auto 60px;padding:28px clamp(12px,2.5vw,26px);background:linear-gradient(140deg,#f3faf6,#fff 70%);border:1px solid #e2eee9;border-radius:24px;max-width:1280px;box-sizing:border-box;clear:both}

body.single-product section.related.products>h2{position:relative;font-size:clamp(24px,2.3vw,34px)!important;font-weight:800;line-height:1.5;color:#17344a!important;margin:0 0 24px!important;padding-right:18px;text-align:right}

body.single-product section.related.products>h2:before{content:"";position:absolute;right:0;top:24%;bottom:24%;width:5px;border-radius:10px;background:linear-gradient(#08a87d,#07624e)}

body.single-product section.related.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;direction:rtl;margin:0!important;padding:0!important;align-items:stretch}

body.single-product section.related.products ul.products li.product{position:relative!important;display:flex!important;flex-direction:column;min-width:0;width:100%!important;float:none!important;margin:0!important;padding:0 0 18px!important;background:#fff!important;border:1px solid #dceae5!important;border-radius:17px!important;overflow:hidden!important;box-shadow:0 7px 23px rgba(18,73,57,.07)!important;text-align:right!important;transition:transform .22s,box-shadow .22s,border-color .22s}

body.single-product section.related.products ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(18,73,57,.13)!important;border-color:#b6d8ca!important}

body.single-product section.related.products ul.products li.product>a.woocommerce-LoopProduct-link{display:block!important;min-width:0;text-decoration:none!important;color:inherit!important;flex:1}

body.single-product section.related.products ul.products li.product img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;margin:0 0 16px!important;border-radius:0!important;transition:transform .3s}

body.single-product section.related.products ul.products li.product:hover img{transform:scale(1.025)}

body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title{margin:0 16px 12px!important;min-height:3.3em;color:#193149!important;font-size:clamp(17px,1.4vw,21px)!important;font-weight:800!important;line-height:1.65!important;overflow-wrap:anywhere}

body.single-product section.related.products ul.products li.product .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:5px 9px;direction:rtl;margin:0 16px 15px!important;color:#078362!important;font-size:19px!important;font-weight:800!important;line-height:1.65!important}

body.single-product section.related.products ul.products li.product .price del{order:0;color:#97a5a5!important;opacity:1!important;font-size:15px!important;font-weight:500!important;text-decoration:line-through!important;text-decoration-thickness:1.5px!important}

body.single-product section.related.products ul.products li.product .price ins{order:1;color:#078362!important;font-size:20px!important;font-weight:900!important;text-decoration:none!important;background:none!important}

body.single-product section.related.products ul.products li.product .price .woocommerce-Price-amount{white-space:normal}

body.single-product section.related.products ul.products li.product .button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:auto 16px 0!important;padding:10px 14px!important;border:1px solid #008e6c!important;border-radius:10px!important;background:linear-gradient(110deg,#058d6b,#087a61)!important;color:#fff!important;font-size:16px!important;font-weight:800!important;line-height:1.5!important;text-align:center!important;text-decoration:none!important;box-shadow:0 5px 13px rgba(7,126,96,.14);width:calc(100% - 32px)!important;box-sizing:border-box!important}

body.single-product section.related.products ul.products li.product .button:hover{background:linear-gradient(110deg,#057c5e,#055e49)!important;transform:none!important}

body.single-product section.related.products ul.products li.product a.added_to_cart{margin:8px 16px 0;display:block;text-align:center;color:#087e60;font-weight:800}

/* Round badge overlays the thumbnail without covering product text. */
body.single-product section.related.products ul.products li.product .onsale,
body.single-product section.related.products ul.products li.product .onsale.a89-discount-label{position:absolute!important;inset:12px auto auto 12px!important;right:auto!important;left:12px!important;top:12px!important;bottom:auto!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;width:74px!important;height:74px!important;min-width:74px!important;min-height:74px!important;max-width:74px!important;margin:0!important;padding:7px!important;box-sizing:border-box!important;border-radius:50%!important;border:3px solid rgba(255,255,255,.9)!important;background:linear-gradient(145deg,#f05a6c,#c91f4e)!important;color:#fff!important;box-shadow:0 5px 16px rgba(155,20,55,.3)!important;text-align:center!important;white-space:normal!important;font:bold 13px/1.4 Tahoma,sans-serif!important}
body.single-product section.related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.single-product section.related.products{margin:24px 0 38px;padding:20px 12px;border-radius:18px}
body.single-product section.related.products ul.products{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title{min-height:0}
body.single-product section.related.products ul.products li.product .onsale{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;font-size:12px!important}
body.single-product section.related.products ul.products li.product,body.single-product section.related.products ul.products li.product img{transition:none!important;transform:none!important}

/* Responsive fallback for single-product templates without .woocommerce wrapper. */
@media(max-width:1050px){body.single-product section.related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){body.single-product #reviews{grid-template-columns:minmax(0,1fr)!important}body.single-product #reviews #comments,body.single-product #reviews #review_form_wrapper{padding:18px}}
@media(max-width:767px){body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .summary{width:100%!important;float:none!important;clear:both!important;margin:0 0 16px!important}body.single-product div.product .summary{padding:20px!important}body.single-product div.product .woocommerce-tabs ul.tabs li{padding:0 12px}}
@media(max-width:620px){body.single-product section.related.products{margin:24px 0 38px;padding:20px 12px;border-radius:18px}body.single-product section.related.products ul.products{grid-template-columns:minmax(0,1fr)!important;gap:14px}body.single-product section.related.products ul.products li.product .onsale{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;font-size:12px!important}}


/* v1.0.107 – WooCommerce thank-you/received order styling, classic and Blocks.
   Scoped to confirmation only, not checkout forms or other WooCommerce pages. */
body.woocommerce-order-received{
 --a89-confirm-green:#087e60;--a89-confirm-dark:#193149;--a89-confirm-border:#dfebe5;
 --a89-confirm-muted:#59726b;
}
body.woocommerce-order-received :is(.woocommerce,.wc-block-order-confirmation){
 direction:rtl;text-align:right;box-sizing:border-box;max-width:1240px;margin-inline:auto;
 color:var(--a89-confirm-dark);font-family:inherit;
}
body.woocommerce-order-received :is(.woocommerce-order,.wc-block-order-confirmation){
 padding:clamp(12px,3vw,30px);border-radius:22px;
 background:linear-gradient(160deg,#f5fbf8 0%,#fff 46%,#f9fcfa 100%);
 border:1px solid #e5eee9;box-shadow:0 12px 38px rgba(10,75,54,.06);
}
/* Success message and title. Keep errors visible and unaltered. */
body.woocommerce-order-received .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-thankyou-order-received{
 display:flex;align-items:center;gap:13px;margin:0 0 25px!important;
 border:1px solid #bee8d1;border-radius:16px;padding:19px clamp(15px,3vw,26px)!important;
 background:linear-gradient(110deg,#def7e9,#f4fcf7);color:#086844!important;
 font-size:clamp(19px,2vw,25px)!important;line-height:1.8!important;font-weight:800!important;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received:before,
body.woocommerce-order-received .woocommerce-notice--success:before{
 content:'✓';display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;
 background:#08855f;color:#fff;border-radius:50%;font:bold 27px/1 Arial,sans-serif;
}
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
 padding:0!important;margin:0 0 28px!important;list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details li{
 display:flex!important;flex-direction:column;justify-content:center;gap:5px;float:none!important;
 width:auto!important;min-width:0!important;margin:0!important;padding:16px!important;
 border:1px solid var(--a89-confirm-border)!important;border-radius:14px;background:#fff;
 box-shadow:0 4px 15px rgba(10,75,54,.035);font-size:14px!important;
 line-height:1.8!important;text-transform:none!important;overflow-wrap:anywhere;
}
body.woocommerce-order-received .woocommerce-order-overview li strong{
 display:block;font-size:clamp(16px,1.45vw,20px);font-weight:800;
 color:var(--a89-confirm-dark);overflow-wrap:anywhere;
}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){
 margin:0 0 24px!important;padding:clamp(16px,2.5vw,28px)!important;
 background:#fff;border:1px solid var(--a89-confirm-border);border-radius:18px;
 box-shadow:0 5px 24px rgba(10,75,54,.04);min-width:0;
}
body.woocommerce-order-received :is(.woocommerce-order-details__title,.woocommerce-column__title,.wc-block-order-confirmation__title){
 color:var(--a89-confirm-dark)!important;font-size:clamp(21px,2vw,29px)!important;
 font-weight:800!important;line-height:1.55!important;margin:0 0 17px!important;
}
body.woocommerce-order-received table.woocommerce-table--order-details{
 border-collapse:separate!important;border-spacing:0!important;width:100%!important;
 border:1px solid var(--a89-confirm-border)!important;border-radius:13px!important;
 overflow:hidden;background:#fff;line-height:1.9;
}
body.woocommerce-order-received table.woocommerce-table--order-details :is(th,td){
 text-align:right!important;padding:12px 16px!important;border:0!important;
 border-bottom:1px solid #e9f1ec!important;overflow-wrap:anywhere;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th{
 background:#edf7f1;color:#1b5f49;font-weight:800;
}
body.woocommerce-order-received table.woocommerce-table--order-details tbody tr:nth-child(even){background:#fafdfa}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child :is(th,td){
 background:#e7f6ec;color:#06764f;font-weight:800;font-size:19px;border-bottom:0!important;
}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details) a{
 color:#078463;text-decoration:none;font-weight:700;
}
body.woocommerce-order-received .woocommerce-customer-details address{
 margin:0;padding:14px 17px;border:1px solid #e6f0e9;border-radius:12px;
 background:#fbfefc;font-style:normal;line-height:2;overflow-wrap:anywhere;
}
/* WooCommerce Checkout Blocks confirmation rendering. */
body.woocommerce-order-received :is(.wc-block-order-confirmation-status,.wc-block-order-confirmation-summary,
 .wc-block-order-confirmation-totals,.wc-block-order-confirmation-billing-address,
 .wc-block-order-confirmation-shipping-address,.wc-block-order-confirmation-billing-details,
 .wc-block-order-confirmation-shipping-details,.wc-block-order-confirmation-additional-information){
 box-sizing:border-box;max-width:100%;margin:0 0 22px;padding:clamp(15px,2vw,24px);
 border:1px solid var(--a89-confirm-border);border-radius:16px;background:#fff;
}
body.woocommerce-order-received .wc-block-order-confirmation-status{
 background:#e9f9ef;border-color:#bde5d0;color:#086844;font-weight:800;
}
body.woocommerce-order-received .wc-block-order-confirmation .wc-block-components-order-summary{
 border:1px solid var(--a89-confirm-border);border-radius:12px;overflow:hidden;
}
body.woocommerce-order-received .wc-block-order-confirmation :is(.wc-block-components-totals-item__value,.wc-block-components-product-price){
 color:#078463;font-weight:800;
}
@media(max-width:900px){body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 body.woocommerce-order-received :is(.woocommerce-order,.wc-block-order-confirmation){padding:12px;max-width:100%;}
 body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details{grid-template-columns:minmax(0,1fr);gap:10px}
 body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details li{padding:12px 15px!important}
 body.woocommerce-order-received .woocommerce-thankyou-order-received{padding:14px!important;font-size:19px!important}
 body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){padding:14px!important;}
 body.woocommerce-order-received table.woocommerce-table--order-details :is(th,td){padding:10px!important;font-size:14px}
}

/* 1.0.110: optional checkout processing view. */
#a89-checkout-wait[hidden]{display:none!important}
#a89-checkout-wait{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;background:rgba(8,32,31,.94);backdrop-filter:blur(12px);color:#fff;direction:rtl;text-align:center}
#a89-checkout-wait .a89-wait-box{max-width:680px;width:100%;padding:clamp(25px,5vw,56px);border:1px solid rgba(150,244,210,.28);border-radius:24px;background:linear-gradient(150deg,rgba(12,132,101,.28),rgba(15,34,44,.65));box-shadow:0 20px 75px #0005}
#a89-checkout-wait .a89-wait-icon{display:inline-flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:20px;background:#1b8e70;margin-bottom:20px;font-size:38px}
#a89-checkout-wait h2{color:#fff;font-weight:800;line-height:1.6;font-size:clamp(24px,3vw,35px);margin:0 0 14px}
#a89-checkout-wait .a89-wait-type{min-height:3.9em;color:#c8f3df;font-size:clamp(18px,2vw,24px);line-height:1.9;margin:0 0 15px}
#a89-checkout-wait .a89-wait-note{font-size:15px;line-height:1.9;color:#d1e5df;margin:0}
@media(prefers-reduced-motion:reduce){#a89-checkout-wait{backdrop-filter:none}}

/* v1.0.111: hide the duplicate PAGE heading on the order-received endpoint only.
 * Keep the WooCommerce success notice and order summary headings visible. */
body.woocommerce-order-received .page-header > .entry-title,
body.woocommerce-order-received .entry-header > .entry-title,
body.woocommerce-order-received .page-header > h1.page-title,
body.woocommerce-order-received h1.wp-block-post-title,
body.woocommerce-order-received .elementor-page-title,
body.woocommerce-order-received .woocommerce-products-header__title.page-title {
  display:none!important;
}
