/* ==========================================================================
   SANA3LE theme v2.0.0 – design system
   Palette: Ink (trust) · Cream (warmth) · Tangerine CTA (action) · Teal (fintech/success)
   ========================================================================== */
:root{
	--ink:#0B1324;--ink-2:#1B2436;--ink-3:#2A3550;
	--cream:#FBF8F3;--paper:#FFFFFF;--sand:#F3EEE6;--line:#E8E1D6;
	--cta:#FF5A1F;--cta-hover:#E64A12;--cta-soft:#FFF0E8;
	--teal:#0E9F8E;--teal-soft:#E5F6F3;--violet:#6D5DFC;--violet-soft:#EFEDFF;
	--muted:#5B6476;--ok:#0E9F6E;--warn:#B45309;--err:#C2261C;
	--r-sm:10px;--r:16px;--r-lg:24px;
	--shadow:0 1px 2px rgba(11,19,36,.06),0 8px 24px rgba(11,19,36,.06);
	--shadow-lg:0 24px 60px rgba(11,19,36,.14);
	--font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
	--font-ar:"IBM Plex Sans Arabic","Plus Jakarta Sans",system-ui,sans-serif;
	--container:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.6;color:var(--ink);background:var(--cream);-webkit-font-smoothing:antialiased;overflow-x:clip}
html[lang^="ar"] body,[dir="rtl"] body{font-family:var(--font-ar)}
img{max-width:100%;height:auto}
a{color:var(--ink);text-underline-offset:3px}
a:hover{color:var(--cta)}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.02em;margin:0 0 .5em;font-weight:800}
h1{font-size:clamp(32px,5.2vw,60px)}h2{font-size:clamp(26px,3.4vw,40px)}h3{font-size:20px}
p{margin:0 0 1em}
:focus-visible{outline:3px solid var(--cta);outline-offset:2px;border-radius:6px}
.s3t-skip{position:absolute;inset-inline-start:-9999px}.s3t-skip:focus{inset-inline-start:12px;top:12px;z-index:9999;background:#fff;padding:8px 12px}
.s3t-container{max-width:var(--container);margin-inline:auto;padding-inline:20px}
.s3t-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--cta)}

/* Buttons */
.s3t-btn,.button,button.button,input.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,#place_order{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 22px;border-radius:999px;border:2px solid var(--ink);
	background:var(--ink);color:#fff!important;font:700 15px/1.2 var(--font);text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:transform .15s,background .15s,box-shadow .15s}
.s3t-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--ink-3);border-color:var(--ink-3);transform:translateY(-1px)}
.s3t-btn--cta,.woocommerce a.button.alt,.woocommerce button.button.alt,.single_add_to_cart_button,#place_order,.checkout-button{background:var(--cta)!important;border-color:var(--cta)!important;box-shadow:0 8px 20px rgba(255,90,31,.28)}
.s3t-btn--cta:hover,.single_add_to_cart_button:hover,#place_order:hover,.checkout-button:hover{background:var(--cta-hover)!important;border-color:var(--cta-hover)!important}
.s3t-btn--ghost{background:transparent;color:var(--ink)!important}
.s3t-btn--ghost:hover{background:var(--ink);color:#fff!important}
.s3t-btn--block{width:100%}

/* Header */
.s3t-header{position:sticky;top:0;z-index:100;background:rgba(251,248,243,.86);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.s3t-header.is-scrolled{border-color:var(--line);box-shadow:0 4px 20px rgba(11,19,36,.05)}
.admin-bar .s3t-header{top:32px}@media(max-width:782px){.admin-bar .s3t-header{top:46px}}
.s3t-header__in{display:flex;align-items:center;gap:20px;min-height:72px}
.s3t-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;letter-spacing:.04em}
.s3t-logo-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--cta);color:#fff;font-size:14px;font-weight:800}
.s3t-logo-text{font-size:19px;color:var(--ink)}
.s3t-brand--light .s3t-logo-text{color:#fff}
.s3t-logo-img{max-height:44px;width:auto}
.s3t-nav{flex:1}
.s3t-menu{display:flex;gap:2px;list-style:none;margin:0;padding:0;justify-content:center;flex-wrap:nowrap}
.s3t-menu a{display:block;padding:8px 11px;border-radius:999px;text-decoration:none;font-weight:600;font-size:14.5px;color:var(--ink-2);white-space:nowrap}
.s3t-menu a:hover,.s3t-menu .current-menu-item>a{background:var(--sand);color:var(--ink)}
.s3t-menu .sub-menu{display:none;position:absolute;background:#fff;border-radius:var(--r);box-shadow:var(--shadow-lg);padding:8px;list-style:none;min-width:220px}
.s3t-menu li{position:relative}.s3t-menu li:hover>.sub-menu{display:block}
.s3t-nav__mobile-cta{display:none}
.s3t-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.s3t-icon{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:var(--ink)}
.s3t-icon:hover{background:var(--sand)}
.s3t-cart-count{position:absolute;top:2px;inset-inline-end:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--cta);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}
.s3t-burger{display:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--ink);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.s3t-burger span{display:block;width:20px;height:2px;background:#fff;border-radius:2px;transition:.2s}
.s3t-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.s3t-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.s3t-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.s3t-lang .trp-language-switcher{min-width:auto}
@media(max-width:1240px){
	.s3t-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--cream)}
	.s3t-burger{display:flex}.s3t-hide-sm{display:none!important}
	.s3t-nav{position:fixed;top:var(--s3t-hh,72px);left:0;right:0;bottom:0;height:calc(100vh - var(--s3t-hh,72px));height:calc(100dvh - var(--s3t-hh,72px));box-shadow:0 20px 40px rgba(11,19,36,.12);background:var(--cream);padding:20px;transform:translateX(100%);visibility:hidden;transition:transform .25s ease,visibility 0s .25s;overflow-y:auto;z-index:99}
	[dir="rtl"] .s3t-nav{transform:translateX(-100%)}
	.s3t-nav.is-open{transform:none;visibility:visible;transition:transform .25s ease}
	.s3t-menu{flex-direction:column;align-items:stretch}
	.s3t-menu a{font-size:18px;padding:14px 12px;border-bottom:1px solid var(--line);border-radius:0;white-space:normal}
	.s3t-menu .sub-menu{display:block;position:static;box-shadow:none;padding-inline-start:12px}
	.s3t-nav__mobile-cta{display:grid;gap:10px;margin-top:20px}
	body.s3t-nav-open{overflow:hidden}
}

/* Main / pages */
.s3t-main{min-height:60vh}
.s3t-page{padding-block:48px 72px}
.s3t-page__head{margin-bottom:28px}
.s3t-prose{max-width:780px;font-size:17px}
.s3t-prose h2{margin-top:1.4em}
.s3t-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.s3t-post-card{background:#fff;border-radius:var(--r);padding:18px;box-shadow:var(--shadow)}
.s3t-404{text-align:center;padding-block:100px}

/* Footer */
.s3t-footer{background:var(--ink);color:#C9D0DD;margin-top:0}
.s3t-footer a{color:#E8ECF3;text-decoration:none}.s3t-footer a:hover{color:var(--cta)}
.s3t-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding-block:64px 40px}
.s3t-footer h4{color:#fff;font-size:14px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.s3t-footer ul{list-style:none;margin:0;padding:0}.s3t-footer li{margin-bottom:10px}
.s3t-footer__brand p{max-width:360px;margin-top:14px}
.s3t-social{display:flex;gap:14px;flex-wrap:wrap}
.s3t-band{overflow:hidden;border-block:1px solid var(--ink-3);padding-block:18px}
.s3t-band__track{display:flex;white-space:nowrap;animation:s3tband 40s linear infinite;font-size:clamp(28px,5vw,56px);font-weight:800;color:#fff;opacity:.9}
.s3t-band__track span{padding-inline-end:28px}
[dir="rtl"] .s3t-band__track{animation-direction:reverse}
@keyframes s3tband{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.s3t-band__track{animation:none}}
.s3t-footer__bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:22px;font-size:13px}
@media(max-width:860px){.s3t-footer__grid{grid-template-columns:1fr 1fr}.s3t-footer__brand{grid-column:1/-1}}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=password],input[type=search],input[type=date],select,textarea,.select2-container .select2-selection--single{
	width:100%;min-height:48px;padding:12px 14px;border:1.5px solid #D9D2C6;border-radius:var(--r-sm);background:#fff;font:16px/1.4 var(--font);color:var(--ink);transition:border-color .15s,box-shadow .15s}
textarea{min-height:110px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--cta);box-shadow:0 0 0 4px var(--cta-soft)}
label{font-weight:600;font-size:14px}

/* ===== WooCommerce ===== */
.s3t-shop{padding-block:36px 72px}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.woocommerce-products-header__title{font-size:clamp(28px,4vw,44px)}
.woocommerce ul.products,ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:0 0 32px;padding:0}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border-radius:var(--r);padding:14px 14px 18px;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
ul.products li.product a img{border-radius:12px;aspect-ratio:4/5;object-fit:cover;background:var(--sand);margin-bottom:12px}
ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;line-height:1.3;margin:0 0 6px;padding:0}
ul.products li.product .price{color:var(--ink);font-weight:800;font-size:17px;margin-bottom:10px;display:block}
ul.products li.product .price del{color:var(--muted);font-weight:500;font-size:14px}
ul.products li.product .price ins{text-decoration:none}
ul.products li.product .button{margin-top:auto;width:100%}
.onsale{position:absolute;top:22px;inset-inline-start:22px;background:var(--cta);color:#fff;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;z-index:2;min-height:0;line-height:1.6}
/* Grid must beat WooCommerce's own float/width rules on every screen size */
.woocommerce ul.products[class*="columns-"] li.product,.woocommerce-page ul.products[class*="columns-"] li.product,.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;clear:none!important}
@media(max-width:960px){.woocommerce ul.products,.woocommerce-page ul.products,ul.products,ul.products[class*="columns-"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.woocommerce ul.products,.woocommerce-page ul.products,ul.products,ul.products[class*="columns-"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}ul.products li.product{padding:10px!important;border-radius:14px}ul.products li.product .woocommerce-loop-product__title{font-size:14px}ul.products li.product .price{font-size:15px}ul.products li.product .button{min-height:42px;padding:10px 12px;font-size:13px;white-space:normal}}
ul.products li.product .price{word-break:break-word}
.woocommerce-result-count{color:var(--muted);font-size:14px}
.woocommerce-ordering{margin-bottom:20px}

/* Single product */
.single-product div.product{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}
.single-product div.product .woocommerce-product-gallery{position:sticky;top:96px;width:100%!important;float:none!important}
.single-product div.product .summary{width:100%!important;float:none!important}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells{grid-column:1/-1}
.woocommerce-product-gallery__image img{border-radius:var(--r-lg);background:var(--sand)}
.product_title{font-size:clamp(26px,3.4vw,40px)}
.summary .price{font-size:28px;font-weight:800;color:var(--ink)}
.summary form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-block:18px}
.quantity .qty{width:100px;text-align:center}
.woocommerce-tabs ul.tabs{display:flex;gap:8px;list-style:none;padding:0;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}
.woocommerce-tabs ul.tabs li a{display:block;padding:12px 16px;text-decoration:none;font-weight:700;color:var(--muted)}
.woocommerce-tabs ul.tabs li.active a{color:var(--ink);box-shadow:inset 0 -3px 0 var(--cta)}
.product_meta{font-size:13px;color:var(--muted);display:grid;gap:4px}
@media(max-width:900px){.single-product .woocommerce div.product,.single-product div.product{grid-template-columns:minmax(0,1fr)!important;gap:24px}.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{position:static;width:100%!important;max-width:100%;float:none!important}.single-product div.product .summary form.cart{width:100%}}
.single-product div.product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.single-product div.product>*{min-width:0}

/* Cart & checkout */
.woocommerce table.shop_table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:start}
.woocommerce-cart .cart-collaterals .cart_totals{background:#fff;border-radius:var(--r);padding:20px;box-shadow:var(--shadow);max-width:460px;margin-inline-start:auto}
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important}
form.checkout{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:start}
form.checkout #customer_details{grid-column:1}
form.checkout #order_review_heading,form.checkout #order_review{grid-column:2}
form.checkout #order_review_heading{grid-row:1;margin:0}
form.checkout #order_review{grid-row:1;margin-top:48px;background:#fff;border-radius:var(--r);padding:20px;box-shadow:var(--shadow);position:sticky;top:96px}
.woocommerce-checkout .col2-set{grid-template-columns:1fr}
.form-row{margin-bottom:14px}
.form-row-first,.form-row-last{width:48%!important}.form-row-last{float:inline-end}
@media(max-width:900px){form.checkout{grid-template-columns:1fr}form.checkout #order_review_heading,form.checkout #order_review{grid-column:1;grid-row:auto;margin-top:0;position:static}}
@media(max-width:520px){.form-row-first,.form-row-last{width:100%!important;float:none}}
#payment{background:transparent!important}
#payment ul.payment_methods{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:10px}
#payment ul.payment_methods li{background:var(--cream);border:1.5px solid var(--line);border-radius:12px;padding:12px 14px}
#payment ul.payment_methods li:has(input:checked){border-color:var(--cta);background:var(--cta-soft)}
#payment .payment_box{background:transparent!important;padding:8px 0 0!important;font-size:14px}
#place_order{width:100%;font-size:17px;min-height:56px}
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;background:#fff;border-radius:12px;padding:14px 18px;border-inline-start:4px solid var(--teal);box-shadow:var(--shadow);margin-bottom:18px}
.woocommerce-error{border-color:var(--err)}.woocommerce-info{border-color:var(--violet)}
.woocommerce-message .button{float:inline-end;min-height:36px;padding:6px 14px;font-size:13px}

/* My account */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:28px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:#fff;border-radius:var(--r);box-shadow:var(--shadow)}
.woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:10px;text-decoration:none;font-weight:600}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#fff}
.woocommerce-account .woocommerce-notices-wrapper{grid-column:1/-1}
@media(max-width:820px){.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:4px}.woocommerce-MyAccount-navigation a{white-space:nowrap}}
.woocommerce-account:not(.logged-in) .woocommerce{grid-template-columns:1fr}
.u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:28px}
@media(max-width:760px){.u-columns.col2-set{grid-template-columns:1fr}}
.woocommerce form.login,.woocommerce form.register{background:#fff;border-radius:var(--r);padding:24px;box-shadow:var(--shadow);border:0}

/* Landing pages: let SANA3LE sections go edge to edge */
.s3t-landing-content{overflow-x:clip}
.s3t-js .s3-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.s3-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.s3-reveal{opacity:1;transform:none;transition:none}}

/* 2.0.2 – small-screen polish */
@media(max-width:600px){.s3t-container{padding-inline:16px}.s3t-header__in{min-height:64px;gap:10px}.s3t-logo-img{max-height:38px}.s3t-icon{width:40px;height:40px}.s3t-shop{padding-block:20px 56px}h1{font-size:clamp(28px,8vw,40px)}.woocommerce table.shop_table{font-size:14px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px}}
.woocommerce-cart table.cart img{width:64px;border-radius:8px}
@media(max-width:768px){.woocommerce-cart table.shop_table_responsive tr td::before{font-weight:700}.woocommerce-cart .cart-collaterals .cart_totals{max-width:100%}}
