/* Labeeb commerce presentation. WooCommerce owns product data, form state,
   totals, gateways and order actions; this layer changes their appearance only. */
:is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received){
  --lc-navy:#172e51;--lc-cobalt:#344fc3;--lc-ink:#182740;--lc-muted:#52637b;
  --lc-line:#d5deea;--lc-surface:#fff;--lc-wash:#f2f6fa;--lc-focus:#1e61bc;
}
body.single-product.labeeb-commerce-hub-career{--lc-hub:#0b765c;--lc-hub-wash:#edf7f1;--lc-hub-line:#c7e4d5}
body.single-product.labeeb-commerce-hub-business{--lc-hub:#a65d16;--lc-hub-wash:#fff6e9;--lc-hub-line:#edd7b8}
:is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) main{
  background:var(--lc-wash);color:var(--lc-ink);padding-block:clamp(2rem,4vw,4.5rem) clamp(3rem,5vw,5rem);
}
:is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) main :is(h1,h2,h3){
  color:var(--lc-ink);letter-spacing:-.025em;
}
:is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) main a{overflow-wrap:anywhere}
:is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) main :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid var(--lc-focus);outline-offset:3px;
}

/* Product: one composed decision rather than an image followed by unrelated
   price, reassurance, and a form. The existing document order stays intact. */
body.single-product main > .wp-block-woocommerce-breadcrumbs,
body.single-product main > .woocommerce.wc-block-breadcrumbs{margin-bottom:1.25rem;color:var(--lc-muted)}
body.single-product main .woocommerce-breadcrumb{font-size:.83rem;color:var(--lc-muted)}
body.single-product main > .wp-block-columns.alignwide{
  box-sizing:border-box;align-items:flex-start;gap:clamp(1.8rem,3.2vw,3.8rem);
  padding:clamp(1.2rem,2.8vw,2.8rem);background:var(--lc-surface);
  border:1px solid var(--lc-line);border-top:4px solid var(--lc-hub,var(--lc-cobalt));
  box-shadow:0 18px 42px rgba(23,46,81,.075);
}
body.single-product main > .wp-block-columns.alignwide > .wp-block-column{min-width:0}
body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child{flex:0 0 min(42%,512px)!important}
body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child{flex:1 1 0!important}
body.single-product .woocommerce-product-gallery{position:relative;width:100%;overflow:hidden;border:1px solid #d6e1ed;background:#eaf0f8}
body.single-product .woocommerce-product-gallery__wrapper{width:100%}
body.single-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto}
body.single-product .woocommerce-product-gallery__trigger{position:absolute!important;inset:1rem 1rem auto auto;z-index:2;display:grid;place-items:center;width:40px!important;height:40px!important;background:#fff;border:1px solid #d6e1ed;border-radius:50%;box-shadow:0 2px 8px rgba(14,33,62,.12)}
body.single-product .woocommerce-product-gallery__trigger img{display:block;width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important}
body.single-product .wp-block-post-title{font-size:clamp(2rem,3.2vw,3.25rem);line-height:1.12;margin:0 0 .55rem}
body.single-product .wp-block-woocommerce-product-price{margin:0 0 1.2rem}
body.single-product .wp-block-woocommerce-product-price .wc-block-components-product-price{
  font-size:clamp(1.35rem,1.7vw,1.8rem)!important;line-height:1.3;color:var(--lc-hub,#1f3f83);font-weight:750;
}
body.single-product .labeeb-tx-layer{
  padding:1.15rem 0 1.3rem;background:transparent;border:0;border-block:1px solid var(--lc-line);
  border-radius:0;box-shadow:none;
}
body.single-product .labeeb-tx-layer h2{margin:0 0 .8rem;font-size:1.1rem;line-height:1.35}
body.single-product .labeeb-tx-layer ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.1rem 1.25rem}
body.single-product .labeeb-tx-layer li{min-width:0;margin:0;padding:.55rem 0;border-block-start:1px solid #e1e7ef;color:var(--lc-muted);line-height:1.5;font-size:.91rem}
body.single-product .labeeb-tx-layer li strong{color:var(--lc-ink)}
body.single-product .labeeb-tx-actions{margin:.9rem 0 0}
body.single-product .labeeb-tx-whatsapp{display:inline-flex;min-height:40px;align-items:center;padding:.55rem .9rem;background:#e7f4ee;color:#0d6651;border:1px solid #b9ddcc;border-radius:5px;text-decoration:none;font-weight:700}
body.single-product .wp-block-post-excerpt{margin:1.1rem 0;color:var(--lc-muted);line-height:1.65}
body.single-product .wc-block-add-to-cart-form{margin-top:1.25rem;padding:1.3rem 1.4rem 1.5rem;background:var(--lc-hub-wash,#edf3fa);border:1px solid var(--lc-hub-line,#cad9ec);border-radius:8px}
body.single-product .labeeb-tx-trust{display:flex;flex-wrap:wrap;gap:.4rem .8rem;margin-bottom:1rem;color:#2e466a;font-size:.8rem}
body.single-product .labeeb-tx-trust :is(span,a){background:#fff;border:1px solid #d1ddeb;border-radius:4px;padding:.3rem .5rem}
body.single-product .labeeb-tx-scope{margin:.6rem 0 1.1rem;color:#415470;line-height:1.5;font-size:.91rem}
body.single-product form.variations_form table.variations{width:100%;margin:0 0 .85rem;border:0}
body.single-product form.variations_form table.variations :is(th,td){padding:.35rem 0;text-align:start;border:0}
body.single-product form.variations_form table.variations label{font-size:.86rem;font-weight:750;color:#243955}
body.single-product form.variations_form select{box-sizing:border-box;width:100%;min-height:52px;padding:.65rem .85rem;background:#fff;border:1px solid #aebed4;border-radius:5px;color:var(--lc-ink);font:inherit}
body.single-product .single_variation_wrap{padding-top:.5rem;border-top:1px solid #d3dfea}
body.single-product .single_variation .woocommerce-variation-price{font-size:1.3rem;font-weight:750;color:#1f3f83}
body.single-product .woocommerce-variation-description{line-height:1.6;color:#425673}
body.single-product .woocommerce-variation-add-to-cart{display:flex;align-items:stretch;flex-wrap:wrap;gap:.7rem}
body.single-product .quantity input.qty{box-sizing:border-box;width:76px;min-height:52px;border:1px solid #aebed4;border-radius:5px;background:#fff;font:inherit;text-align:center}
body.single-product .single_add_to_cart_button{min-height:52px;padding:.75rem 1.5rem;background:var(--lc-hub,var(--lc-cobalt));border:0;border-radius:5px;color:#fff;font:inherit;font-weight:750;box-shadow:0 8px 20px rgba(52,79,195,.18)}
body.single-product .single_add_to_cart_button:hover{filter:brightness(.9)}
body.single-product main .wp-block-woocommerce-product-details{margin-block:clamp(2rem,4vw,4rem);padding:clamp(1.3rem,2.6vw,2.5rem);background:#fff;border:1px solid var(--lc-line)}
body.single-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:.5rem;border-bottom:1px solid var(--lc-line)}
body.single-product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0}
body.single-product .woocommerce-tabs ul.tabs li.active{border-bottom-color:var(--lc-cobalt)}

/* Cart and checkout use the same calm, readable transaction surface. */
:is(body.woocommerce-cart,body.woocommerce-checkout) main > h1,
:is(body.woocommerce-cart,body.woocommerce-checkout) main .wp-block-post-title{font-size:clamp(2rem,3vw,3rem);margin-block:0 1.4rem}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-sidebar-layout{gap:clamp(1.5rem,3vw,3rem)}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-main{min-width:0;padding:clamp(1rem,2vw,2rem);background:#fff;border:1px solid var(--lc-line)}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-sidebar{min-width:0;padding:clamp(1rem,2vw,1.8rem);background:#eaf0f8;border:1px solid #cbd8e8;align-self:start}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-sidebar h2{font-size:1rem;letter-spacing:.07em;text-transform:uppercase}
body.woocommerce-cart .wc-block-cart-items__header{color:#49617d;border-bottom:2px solid var(--lc-navy);font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}
body.woocommerce-cart .wc-block-cart-items__row{border-bottom:1px solid var(--lc-line)}
body.woocommerce-cart .wc-block-cart-item__image img{border:1px solid #d4deeb;background:#edf2f8}
body.woocommerce-cart .wc-block-components-product-name{font-weight:750;color:var(--lc-ink);line-height:1.4}
body.woocommerce-cart .wc-block-components-product-details{color:var(--lc-muted);font-size:.86rem}
body.woocommerce-cart .wc-block-cart-item__remove-link{min-height:32px;color:#6a7789;text-decoration:underline;text-underline-offset:3px}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-totals-item__value,
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-order-summary-item__total-price{font-weight:750;color:var(--lc-navy)}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-totals-footer-item{border-top:2px solid var(--lc-navy);padding-top:1rem;font-size:1.15rem}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-button:not(.is-link),
:is(body.woocommerce-cart,body.woocommerce-checkout) a.wc-block-cart__submit-button{min-height:52px;border-radius:5px;background:var(--lc-cobalt);color:#fff;font-weight:750;box-shadow:0 8px 20px rgba(52,79,195,.17)}
:is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-button:not(.is-link):hover,
:is(body.woocommerce-cart,body.woocommerce-checkout) a.wc-block-cart__submit-button:hover{background:#263fa8}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block{padding:clamp(2rem,4vw,4rem);background:#fff;border:1px solid var(--lc-line)}

/* Block and classic checkout forms; gateway internals remain untouched. */
body.woocommerce-checkout .wc-block-checkout__main > :is(div,fieldset){margin-block-end:1rem}
body.woocommerce-checkout :is(.wc-block-checkout__step,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields){padding-block:1rem;border-bottom:1px solid var(--lc-line)}
body.woocommerce-checkout :is(.wc-block-checkout__step-title,.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3){font-size:1.15rem;color:var(--lc-navy);font-weight:750}
body.woocommerce-checkout :is(.wc-block-components-text-input,.wc-block-components-combobox){margin-block:.5rem}
body.woocommerce-checkout :is(.wc-block-components-text-input input,.wc-block-components-text-input select,.wc-block-components-combobox input,.input-text,textarea,select){box-sizing:border-box;min-height:48px;border:1px solid #aebed4;border-radius:5px;background:#fff;color:var(--lc-ink);font:inherit}
body.woocommerce-checkout :is(.wc-block-components-text-input input,.input-text,textarea):focus{border-color:var(--lc-focus);box-shadow:0 0 0 3px rgba(30,97,188,.12);outline:0}
body.woocommerce-checkout :is(.wc-block-components-validation-error,.woocommerce-error,.wc-block-components-notice-banner.is-error){border-inline-start:4px solid #aa423b;background:#fff2ef;color:#74302c}
body.woocommerce-checkout :is(.woocommerce-message,.wc-block-components-notice-banner.is-success){border-inline-start:4px solid #13765c;background:#eaf6ef;color:#155e4c}
body.woocommerce-checkout :is(.wc-block-checkout__terms,.woocommerce-terms-and-conditions-wrapper){font-size:.88rem;line-height:1.55;color:var(--lc-muted)}
body.woocommerce-checkout .wc-block-checkout__actions{border-top:1px solid var(--lc-line);padding-top:1.1rem}

/* Confirmation, account and order status keep the transaction hierarchy. */
:is(body.woocommerce-order-received,body.woocommerce-account) main .woocommerce{max-width:1120px;margin-inline:auto}
body.woocommerce-order-received .woocommerce-order{padding:clamp(1.2rem,3vw,3rem);background:#fff;border:1px solid var(--lc-line);border-top:4px solid #13765c}
body.woocommerce-order-received .woocommerce-thankyou-order-received{margin:0 0 1.3rem;color:#175f50;font-size:1.25rem;font-weight:750}
body.woocommerce-order-received .woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:0;padding:0;border-block:1px solid var(--lc-line)}
body.woocommerce-order-received .woocommerce-order-overview li{min-width:0;margin:0;padding:1rem;border-inline-end:1px solid var(--lc-line);list-style:none;overflow-wrap:anywhere}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){margin-top:1.5rem;padding-top:1.3rem;border-top:1px solid var(--lc-line)}
:is(body.woocommerce-order-received,body.woocommerce-account) .woocommerce :is(table.shop_table,table.woocommerce-table){width:100%;border-collapse:collapse;background:#fff}
:is(body.woocommerce-order-received,body.woocommerce-account) .woocommerce :is(table.shop_table,table.woocommerce-table) :is(th,td){padding:.8rem .65rem;border-bottom:1px solid var(--lc-line);text-align:start;vertical-align:top}
body.woocommerce-account .woocommerce-MyAccount-navigation{padding:1rem;background:#eaf0f8;border:1px solid var(--lc-line)}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:.65rem .5rem;border-block-end:1px solid #d0dcea;color:var(--lc-navy);text-decoration:none;font-weight:650}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:#2141ab;border-inline-start:3px solid var(--lc-cobalt);padding-inline-start:.8rem;background:#fff}
body.woocommerce-account .woocommerce-MyAccount-content{min-width:0;padding:clamp(1.2rem,2.5vw,2.5rem);background:#fff;border:1px solid var(--lc-line);line-height:1.65}

[dir="rtl"] :is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) :is(.wc-block-components-main,.wc-block-components-sidebar,.woocommerce-order,.woocommerce-MyAccount-content){text-align:start}
[dir="rtl"] .woocommerce-Price-amount{direction:rtl;unicode-bidi:isolate}
@media(max-width:900px){
  body.single-product main > .wp-block-columns.alignwide{gap:1.2rem}
  body.single-product .labeeb-tx-layer ul{grid-template-columns:1fr}
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content{
    box-sizing:border-box;float:none!important;width:100%!important;max-width:100%;margin-inline:0;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li a{
    min-height:42px;box-sizing:border-box;padding:.65rem .5rem;border:1px solid #d0dcea;background:#f7faff;
  }
}
@media(max-width:700px){
  :is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received) main{padding-block:1.5rem 3rem}
  body.single-product main > .wp-block-columns.alignwide{flex-direction:column;padding:1rem;box-shadow:none}
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child,
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child{flex:1 1 auto!important;width:100%}
  body.single-product .wc-block-add-to-cart-form{padding:1rem}
  body.single-product form.variations_form table.variations :is(tbody,tr,th,td){display:block;width:100%;box-sizing:border-box}
  body.single-product form.variations_form table.variations th{padding-bottom:.15rem}
  body.single-product form.variations_form table.variations td{padding-top:0}
  body.single-product form.variations_form table.variations select{width:100%}
  body.single-product .woocommerce-variation-add-to-cart{flex-direction:column}
  body.single-product .single_add_to_cart_button{width:100%}
  :is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-main,
  :is(body.woocommerce-cart,body.woocommerce-checkout) .wc-block-components-sidebar{padding:1rem}
  body.woocommerce-order-received .woocommerce-order-overview{grid-template-columns:1fr 1fr}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Bring the real WooCommerce choice into the first mobile decision area. The
   image remains complete, and the product form, variants and prices stay native. */
@media(max-width:700px){
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child .woocommerce-product-gallery{
    max-width:250px;margin-inline:auto;
  }
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child{
    display:flex;flex-direction:column;align-items:stretch;
  }
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-post-title{order:0}
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-woocommerce-product-price{order:1;margin-bottom:.55rem}
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > .wc-block-add-to-cart-form{order:2;margin:0 0 1rem}
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-post-excerpt{order:3;margin:.5rem 0 1rem}
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > .labeeb-tx-layer{order:4;margin-top:.2rem}
}
@media(max-width:420px){body.woocommerce-order-received .woocommerce-order-overview{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){
  :is(body.single-product,body.woocommerce-cart,body.woocommerce-checkout) :is(button,a){scroll-behavior:auto;transition:none}
}
