/* Developersia Gas · final UI details v2.4 / Sahel typography */
:root{--ds-focus:#087f78;--ds-ui-border:#d9e7e5;--ds-soft-shadow:0 18px 46px rgba(7,52,56,.08)}
.header-search-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0!important;border:1px solid #dce9e7;border-radius:14px}
.header-search-toggle .ds-search-icon{display:block!important;width:25px!important;height:25px!important;min-width:25px;stroke-width:2.1!important}
.header-search-toggle:focus-visible,.ds-slide-controls button:focus-visible{outline:3px solid #92cfc5;outline-offset:3px}

/* Balanced call to action and actual footer contact */
.site-footer .footer-grid > div:last-child{min-width:0}
.site-footer .footer-grid > div:last-child .ds-footer-contact{margin:17px 0 0!important;line-height:1.9;font-weight:700;color:#e3eeeb}
.site-footer .footer-grid > div:last-child > a.btn{margin-top:20px;min-height:48px;padding:12px 22px;gap:12px}
.cta-box .split-actions{gap:14px;align-items:center;flex-wrap:wrap}
.cta-box .split-actions .btn{margin:0}
.cta-box >div:first-child{min-width:0}
.cta-box p{margin-top:12px!important;line-height:2}
.footer-bottom{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap;text-align:center!important;gap:8px;line-height:2.1;padding:20px 10px 0}
.footer-bottom>span{display:block;text-align:center;margin:0 auto}
.ds-footer-divider{margin:0 9px;color:#f0d4a8}
@media(max-width:650px){.footer-bottom{flex-direction:row!important;align-items:center!important}.ds-footer-divider{display:block;height:0;overflow:hidden}.footer-bottom>span{max-width:310px}}

/* Product hero: identical picture space, full object always visible, no cropping or warped proportions */
.hero-art{isolation:isolate;min-width:0;min-height:410px}
.hero-plate{inset:0!important;background:linear-gradient(140deg,#fcfdfc 0%,#f0f6f4 100%)!important;border:1px solid #e0e9e6!important;box-shadow:0 25px 72px rgba(0,0,0,.14)!important}
.ds-hero-slide{width:100%;height:390px;display:grid;place-items:center;padding:24px 27px 56px!important;position:relative}
.ds-hero-slide[hidden]{display:none!important}
.ds-hero-slide .hero-product{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:auto;filter:none!important;border-radius:14px;mix-blend-mode:multiply;transition:transform .4s ease}
.ds-hero-slide:hover .hero-product{transform:scale(1.025)}
.hero-chip{bottom:17px!important;left:18px!important;border-radius:13px!important;padding:12px 17px!important;max-width:min(86%,310px);box-shadow:0 9px 26px rgba(35,56,58,.12)!important}
.hero-chip b{font-size:15px}
.hero-chip span{line-height:1.7}
.ds-slide-controls{display:flex!important;align-items:center;justify-content:flex-start;gap:12px!important;margin-top:24px}
.ds-slide-controls button{display:flex;align-items:center;justify-content:center;width:50px;height:50px;min-width:50px;padding:0!important;border:1px solid rgba(238,255,252,.36)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border-radius:13px!important;transition:background-color .22s,border-color .22s,transform .22s}
.ds-slide-controls button:hover{background:#d4aa70!important;color:#0a3135!important;border-color:#d4aa70!important;transform:translateY(-2px)}
.ds-slide-controls svg{width:23px;height:23px;stroke-width:2.3}

/* Category and feature iconography */
.feature-row{align-items:center}
.feature{align-items:center;gap:16px}
.feature-icon{width:54px!important;height:54px!important;flex:0 0 54px!important;color:#0a847b!important;border:1px solid #d6eae6!important}
.feature-icon svg{width:26px;height:26px;stroke-linejoin:round}
.feature b{margin-top:0}
.feature p{line-height:1.95}

/* Always use the true product picture in a stable visual card, with an explicit fallback */
.product-img{height:244px;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f6faf9 5%,#fff 80%)}
.product-img img{display:block!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center!important;padding:16px}
.ds-card-image-fallback{display:flex;width:100%;height:100%;padding:22px;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(circle at center,#e7f4f1,#f9fbfa);color:#68918d}
.ds-card-image-fallback svg{width:90px;max-width:70%;height:90px}
.ds-card-image-fallback small{font-size:12px;text-align:center;color:#537c78;line-height:1.8}
.product-card{min-width:0;overflow:hidden}
.product-info{min-width:0}

/* Article pages: elegant editorial title panel, not a stretched low-resolution thumbnail */
body.single-post .page-hero{padding:clamp(36px,5vw,70px) 0;background:radial-gradient(ellipse at 16% 0%,rgba(207,227,225,.8),transparent 42%),linear-gradient(125deg,#f1f8f6,#fff 85%);border-bottom:1px solid #dde9e8}
body.single-post .page-hero-inner{max-width:1100px;align-items:center;min-height:185px}
body.single-post .page-hero h1{font-size:clamp(27px,3.4vw,48px);line-height:1.7;max-width:980px;text-wrap:balance}
body.single-post .entry-meta{gap:20px;margin-top:19px!important}
body.single-post .article-single{max-width:1100px;margin-inline:auto}
body.single-post .article-single .content-card{padding:clamp(22px,3.5vw,44px)}
body.single-post .entry-content{font-size:15px;line-height:2.25}
body.single-post .entry-content img{object-fit:contain;max-height:640px;width:auto;max-width:100%;margin-inline:auto}

/* Mobile OTP: compact centered user-friendly login — isolate from full-width WooCommerce wrapper */
body.woocommerce-account .page-content > .content-card{width:min(100%,760px);margin:0 auto;padding:clamp(15px,2.5vw,25px);border-radius:24px}
body.woocommerce-account .page-content > .content-card > .woocommerce{width:100%;max-width:100%;margin:0 auto}
body.woocommerce-account .ds-login{max-width:640px;width:100%;margin:0 auto!important;padding:clamp(22px,4vw,42px);border:1px solid #d6e6e3;border-radius:22px;box-shadow:var(--ds-soft-shadow);text-align:center;background:#fff}
body.woocommerce-account .ds-login h2{margin:0 0 12px;font-size:clamp(23px,2.4vw,33px);line-height:1.65;color:#12343b;text-align:center}
body.woocommerce-account .ds-login>p{font-size:14px;line-height:2.1;max-width:480px;margin:0 auto 26px;color:#5b7880;text-align:center}
body.woocommerce-account .ds-login .ds-ajax{display:flex!important;flex-direction:column;gap:12px;width:100%!important;max-width:510px!important;padding:0!important;margin:0 auto!important;box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important;text-align:right}
body.woocommerce-account .ds-login .ds-ajax.otp-stage{display:none!important}
body.woocommerce-account .ds-login .ds-ajax.otp-stage[style*="block"]{display:flex!important}
body.woocommerce-account .ds-login .ds-ajax.send-stage[style*="none"]{display:none!important}
body.woocommerce-account .ds-login .ds-ajax label{margin:0 0 2px;font-size:13px;line-height:1.9;color:#183941}
body.woocommerce-account .ds-login .ds-ajax input[type=tel],body.woocommerce-account .ds-login .ds-ajax input[name=code]{display:block;width:100%!important;max-width:100%;height:56px;min-height:56px;border:1px solid #cbdfdc!important;border-radius:14px!important;background:#fbfdfc;color:#12363a;padding:14px 19px!important;font-size:16px!important;direction:ltr;text-align:center;letter-spacing:.02em}
body.woocommerce-account .ds-login .ds-ajax input:focus{outline:3px solid #a8d9d1;outline-offset:2px}
body.woocommerce-account .ds-login .ds-ajax button.btn{width:min(100%,260px)!important;min-width:min(100%,230px)!important;min-height:53px!important;max-width:100%;margin:10px auto 0!important;padding:12px 24px!important;border-radius:14px!important;display:flex!important;align-items:center;justify-content:center;line-height:1.7;background:#0b8077!important;color:white!important;box-shadow:0 8px 22px rgba(8,127,120,.17)!important}
body.woocommerce-account .ds-login .ds-ajax button.btn:hover{background:#075f59!important}
body.woocommerce-account .ds-login .ds-msg{max-width:100%;text-align:right;margin:8px 0 0}
body.woocommerce-account .ds-login .ds-form-note{display:none!important}

/* Cart & checkout: harmonize Woo Blocks and classic WooCommerce with the rest of the theme */
body.woocommerce-cart .page-content,body.woocommerce-checkout .page-content{width:min(calc(100% - 40px),1500px);max-width:1500px;margin-inline:auto;min-height:65vh;padding-block:40px 90px}
body.woocommerce-cart .page-content>.content-card,body.woocommerce-checkout .page-content>.content-card{padding:clamp(18px,3vw,40px);min-height:340px;background:#fff;border:1px solid #dbe8e6;border-radius:24px;box-shadow:var(--ds-soft-shadow)}
body.woocommerce-cart :is(.wc-block-cart,.wp-block-woocommerce-cart),body.woocommerce-checkout :is(.wc-block-checkout,.wp-block-woocommerce-checkout){font-family:var(--font-fa);color:#15343b;direction:rtl}
body.woocommerce-cart :is(.wc-block-cart__main,.wc-block-cart__sidebar),body.woocommerce-checkout :is(.wc-block-checkout__main,.wc-block-checkout__sidebar){min-width:0}
body.woocommerce-cart .wc-block-cart-items{border-collapse:collapse!important}
body.woocommerce-cart .wc-block-cart-items__row{border-bottom:1px solid #e8eeee}
body.woocommerce-cart .wc-block-cart-items__row>td{padding-top:20px!important;padding-bottom:20px!important}
body.woocommerce-cart .wc-block-cart-item__image img{width:112px;max-width:100%;border-radius:15px;object-fit:contain;background:#f5faf8;padding:8px}
body.woocommerce-cart :is(.wc-block-components-product-name,.wc-block-cart-item__product .wc-block-components-product-name){color:#13373c!important;font-size:15px!important;font-weight:800!important;line-height:1.85;text-decoration:none}
body.woocommerce-cart .wc-block-components-sidebar,body.woocommerce-checkout .wc-block-components-sidebar{background:#f7fbfa!important;padding:24px!important;border:1px solid #dbe9e6;border-radius:20px}
body.woocommerce-cart .wc-block-components-totals-wrapper,body.woocommerce-checkout .wc-block-components-totals-wrapper{border-color:#dce8e6!important;padding-block:15px!important}
body.woocommerce-cart :is(.wc-block-components-button,.wc-block-cart__submit-button,.wc-block-components-button:not(.is-link)),body.woocommerce-checkout :is(.wc-block-components-checkout-place-order-button,.wc-block-components-button:not(.is-link)){width:100%;min-height:54px;border-radius:13px!important;background:#0b8077!important;color:#fff!important;font-size:14px;font-weight:800!important;transition:transform .22s,background-color .22s,box-shadow .22s}
body.woocommerce-cart :is(.wc-block-components-button,.wc-block-cart__submit-button):hover,body.woocommerce-checkout .wc-block-components-button:hover{background:#08655e!important;box-shadow:0 9px 24px #0b807729}
body.woocommerce-cart .wc-block-components-quantity-selector{border:1px solid #cbdfdc!important;border-radius:12px!important;overflow:hidden;align-items:center}
body.woocommerce-cart .wc-block-components-quantity-selector input{min-width:34px;text-align:center;font-family:inherit}
body.woocommerce-cart :is(.wc-block-components-quantity-selector button,.wc-block-components-totals-coupon__button),body.woocommerce-checkout :is(.wc-block-components-checkbox__input,.wc-block-components-radio-control__input){transition:.2s ease}
body.woocommerce-checkout :is(.wc-block-components-text-input input,.wc-block-components-text-input select,.wc-block-components-combobox input){min-height:51px;border-radius:11px!important;border:1px solid #d2e2df!important;font:inherit}
body.woocommerce-checkout :is(.wc-block-components-checkout-step,.wc-block-components-order-summary){border-radius:15px}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals,body.woocommerce-checkout .woocommerce-checkout{width:100%;max-width:100%}
body.woocommerce-cart :is(.woocommerce-cart-form__cart-item,.shop_table td),body.woocommerce-checkout .shop_table td{padding:12px;border-color:#e1ece9}
body.woocommerce-cart .cart_totals,body.woocommerce-checkout .woocommerce-checkout-review-order{background:#f7fbfa;border:1px solid #dfebe7;border-radius:18px;padding:22px}
body.woocommerce-cart .wc-block-grid__product-image img{border-radius:12px;max-height:200px;object-fit:contain}
body.woocommerce-cart :is(.wc-block-cart__empty-cart__title,.wp-block-heading){color:#173b41}
body.woocommerce-cart .wc-block-cart__empty-cart__title{margin:18px auto 25px}
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__products{gap:18px}

/* Same premium quantity / add button dimensions as product page */
body.single-product .woocommerce div.product form.cart{display:flex!important;gap:12px;align-items:stretch;flex-wrap:wrap}
body.single-product .woocommerce div.product form.cart .quantity{padding:4px!important;min-height:56px;border:1px solid #cddfdb;border-radius:13px;box-shadow:0 5px 15px #093b3e08}
body.single-product .woocommerce div.product form.cart .ds-qty-btn{width:42px;height:46px;flex:0 0 42px;background:#e9f5f1;color:#087c73;border-radius:9px;font-size:22px}
body.single-product .woocommerce div.product form.cart .quantity .qty{height:46px!important;min-height:46px!important;width:64px!important}
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button{min-height:56px!important;flex:1 1 180px!important;padding:13px 28px!important;border-radius:13px!important;box-shadow:0 9px 24px #087f7833!important}
@media(max-width:980px){.hero-art{min-height:325px}.ds-hero-slide{height:320px;padding-bottom:50px!important}.hero-chip{max-width:85%;bottom:10px!important}.ds-slide-controls button{width:45px;height:45px;min-width:45px}}
@media(max-width:700px){.hero-art{width:100%;min-height:290px}.ds-hero-slide{height:275px;padding:14px 14px 48px!important}.hero-chip{padding:10px 13px!important;bottom:8px!important;left:10px!important}.ds-slide-controls{justify-content:center;margin-top:16px;gap:16px}.feature-icon{width:48px!important;height:48px!important;flex-basis:48px!important}.feature p{font-size:12px}.product-img{height:180px;padding:0}.product-img img{padding:10px}.cta-box .split-actions{width:100%;gap:10px}.cta-box .split-actions .btn{flex:1 1 140px}.ds-footer-divider{display:none}body.woocommerce-cart .page-content,body.woocommerce-checkout .page-content{width:calc(100% - 22px);padding-block:22px 60px}body.woocommerce-cart .page-content>.content-card,body.woocommerce-checkout .page-content>.content-card{padding:13px;border-radius:17px}body.woocommerce-cart .wc-block-components-sidebar,body.woocommerce-checkout .wc-block-components-sidebar{padding:15px!important}body.woocommerce-account .page-content>.content-card{padding:12px}body.woocommerce-account .ds-login{padding:20px 16px}body.single-product .woocommerce div.product form.cart .quantity{flex:0 0 auto}body.single-product .woocommerce div.product form.cart .single_add_to_cart_button{flex-basis:100%!important}}
@media(prefers-reduced-motion:reduce){.ds-hero-slide .hero-product,.ds-slide-controls button{transition:none!important;transform:none!important}}
