/*
Theme Name: SAMA Theme
Theme URI: https://somaya.support/
Author: SAMA ICT
Author URI: https://somaya.support/
Description: Universal RTL-first WordPress theme for SAMA websites with editable global header/footer, full-width application pages, editorial content system, WooCommerce support, and isolation for SAMA plugin interfaces.
Version: 2.9.5.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: sama-theme
*/

:root{--sama-theme-primary:#5e17eb;--sama-theme-dark:#050a24;--sama-theme-bg:#fff;--sama-theme-text:#172033;--sama-theme-header-bg:#fff;--sama-theme-footer-bg:#050a24;--sama-theme-muted:#667085;--sama-theme-surface:#f7f8fc;--sama-theme-border:#e6e8ef;--sama-theme-soft:#f3efff;--sama-theme-radius:18px;--sama-theme-shadow:0 14px 40px rgba(5,10,36,.08);--sama-theme-max:1180px;--sama-theme-logo-h:48px;--sama-theme-header-h:76px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.sama-theme-v2{margin:0;background:var(--sama-theme-bg);color:var(--sama-theme-text);font-family:var(--sama-theme-font,Tahoma,"Segoe UI",Arial,sans-serif);font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}.sama-theme-wrap{width:min(calc(100% - 40px),var(--sama-theme-max));margin-inline:auto}.sama-theme-main{min-height:58vh}.sama-skip-link{position:fixed;z-index:10000;top:8px;inset-inline-start:8px;transform:translateY(-150%);background:#fff;color:#111;padding:9px 14px;border:2px solid var(--sama-theme-primary);border-radius:8px}.sama-skip-link:focus{transform:none}.sama-theme-ui a:focus-visible,.sama-editorial a:focus-visible,.sama-theme-mobile-toggle:focus-visible{outline:3px solid var(--sama-theme-primary);outline-offset:3px}
/* Global chrome. Plugin content is intentionally not targeted by generic component selectors. */
.sama-theme-header{background:var(--sama-theme-header-bg);border-bottom:1px solid var(--sama-theme-border);z-index:999}.sama-theme-header.is-sticky{position:sticky;top:0;backdrop-filter:blur(14px)}.sama-theme-header-inner{min-height:var(--sama-theme-header-h);display:flex;align-items:center;gap:24px}.sama-theme-brand{display:flex;align-items:center;min-width:150px}.sama-theme-brand a{color:var(--sama-theme-dark);text-decoration:none;font-weight:900}.sama-theme-brand img{display:block;max-height:var(--sama-theme-logo-h);width:auto}.sama-theme-nav{margin-inline-start:auto}.sama-theme-nav ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}.sama-theme-nav li{margin:0}.sama-theme-nav a{display:block;padding:10px 12px;border-radius:10px;color:var(--sama-theme-dark);text-decoration:none;font-weight:700;font-size:.94rem}.sama-theme-nav a:hover,.sama-theme-nav .current-menu-item>a{background:var(--sama-theme-soft);color:var(--sama-theme-primary)}.sama-theme-cta{display:inline-flex;align-items:center;justify-content:center;background:var(--sama-theme-primary);color:#fff!important;text-decoration:none!important;border-radius:11px;padding:10px 16px;font-weight:800;white-space:nowrap}.sama-theme-mobile-toggle{display:none;border:1px solid var(--sama-theme-border);background:#fff;color:var(--sama-theme-dark);border-radius:10px;padding:9px 12px;font:inherit;font-weight:800;gap:7px}
.sama-theme-footer{background:var(--sama-theme-footer-bg);color:#dbe2f2;padding:var(--sama-footer-space,38px) 0 20px;text-align:center}.sama-theme-footer a{color:#fff;text-decoration:none}.sama-footer-row{display:flex;align-items:center;justify-content:center;gap:22px 32px;flex-wrap:wrap;width:100%;text-align:center}.sama-footer-brand{display:flex;align-items:center;justify-content:center}.sama-footer-identity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.sama-footer-brand h2{color:#fff;margin:0;font-size:1.05rem}.sama-footer-brand p{color:#aeb9d2;margin:2px 0 0;max-width:460px}.sama-footer-brand img{display:block;max-height:46px;width:auto;margin-inline:auto}.sama-footer-nav ul,.sama-footer-contact{display:flex;align-items:center;justify-content:center;gap:10px 18px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.sama-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:18px;display:flex;justify-content:center;gap:12px 22px;align-items:center;flex-wrap:wrap;color:#aeb9d2;font-size:.9rem;text-align:center}.sama-footer-bottom ul{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
/* Editorial system only: never scopes into arbitrary page/plugin content. */
.sama-theme-content{padding:56px 0 72px}.sama-editorial a{color:var(--sama-theme-primary)}.sama-editorial h1,.sama-editorial h2,.sama-editorial h3{color:var(--sama-theme-dark);line-height:1.45}.sama-page-head,.sama-archive-head{max-width:850px;margin:0 auto 34px;text-align:center}.sama-page-head h1,.sama-archive-head h1{font-size:clamp(2rem,4vw,3rem);margin:0}.sama-archive-description{color:var(--sama-theme-muted)}.sama-page-content{padding:0}.sama-page-head{padding-top:42px}.sama-page-body{width:100%;max-width:none;margin:0}.sama-page-body-fullwidth,.sama-home-content{width:100%;max-width:none;margin:0;padding:0}.sama-post-grid{display:grid;grid-template-columns:repeat(var(--sama-blog-cols,3),minmax(0,1fr));gap:22px}.sama-post-card{overflow:hidden;border:1px solid var(--sama-theme-border);border-radius:var(--sama-theme-radius);background:#fff;box-shadow:0 5px 20px rgba(5,10,36,.04)}.sama-card-media{display:block;aspect-ratio:16/9;overflow:hidden}.sama-card-media img{width:100%;height:100%;object-fit:cover;display:block}.sama-card-body{padding:22px}.sama-card-body h2{font-size:1.16rem;margin:8px 0}.sama-card-body h2 a{color:var(--sama-theme-dark);text-decoration:none}.sama-card-body p{color:var(--sama-theme-muted);margin:0 0 12px}.sama-post-meta{display:flex;gap:8px;align-items:center;color:var(--sama-theme-muted);font-size:.82rem}.sama-read-more{font-weight:800;text-decoration:none}.sama-article{width:min(100%,880px);margin-inline:auto}.sama-article-head{text-align:center;margin-bottom:34px}.sama-article-head h1{font-size:clamp(2rem,5vw,3.3rem);margin:10px 0 24px}.sama-article-head .sama-post-meta{justify-content:center}.sama-article-hero{border-radius:24px;overflow:hidden;margin-top:28px}.sama-article-hero img{display:block;width:100%;height:auto}.sama-article-body{font-size:1.05rem}.sama-article-body h2{margin-top:2.2em}.sama-article-body h3{margin-top:1.8em}.sama-article-body img{max-width:100%;height:auto;border-radius:14px}.sama-article-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.sama-article-body th,.sama-article-body td{padding:10px;border:1px solid var(--sama-theme-border)}.sama-article-body pre{overflow:auto;padding:18px;border-radius:12px;background:#111827;color:#f9fafb}.sama-article-body blockquote{margin:28px 0;padding:18px 22px;border-inline-start:4px solid var(--sama-theme-primary);background:var(--sama-theme-surface);border-radius:12px}.sama-article-footer{margin-top:44px;padding-top:24px;border-top:1px solid var(--sama-theme-border)}.sama-post-nav{display:flex;justify-content:space-between;gap:20px}.sama-pagination{margin-top:38px}.sama-pagination .nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.sama-pagination .page-numbers{padding:7px 12px;border:1px solid var(--sama-theme-border);border-radius:9px;text-decoration:none}.sama-pagination .current{background:var(--sama-theme-primary);color:#fff;border-color:var(--sama-theme-primary)}
.sama-related{margin-top:42px;padding-top:30px;border-top:1px solid var(--sama-theme-border)}.sama-related>h2{font-size:1.35rem}.sama-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sama-related-grid article{border:1px solid var(--sama-theme-border);border-radius:12px;padding:16px;background:#fff}.sama-related-grid a{font-weight:800;text-decoration:none}.sama-comments{margin-top:42px;padding-top:30px;border-top:1px solid var(--sama-theme-border)}.sama-comments .comment-list{padding-inline-start:22px}.sama-comments textarea{max-width:100%}
/* WooCommerce support — v2.2.5 chrome-safe scope.
 * IMPORTANT: WooCommerce adds .woocommerce/.woocommerce-page to <body>.
 * Never use body-level .woocommerce selectors here: they can leak into the global header/footer.
 * Every commerce visual rule is constrained to #sama-main-content. */
.sama-woo-shell{width:100%;padding:42px 0 68px}
.sama-woo-inner{position:relative;width:min(calc(100% - 40px),var(--sama-woo-max,var(--sama-theme-max)));margin-inline:auto}
#sama-main-content .woocommerce .woocommerce-breadcrumb{color:var(--sama-theme-muted);font-size:.9rem}
#sama-main-content .woocommerce div.product .product_title,#sama-main-content .woocommerce ul.products li.product .woocommerce-loop-product__title,#sama-main-content .woocommerce h1,#sama-main-content .woocommerce h2{color:var(--sama-theme-dark)}
#sama-main-content .woocommerce ul.products li.product{border:1px solid var(--sama-theme-border);border-radius:var(--sama-woo-radius,16px);padding:14px;background:#fff}
#sama-main-content .woocommerce ul.products li.product a img{border-radius:12px}
#sama-main-content .woocommerce .button,#sama-main-content .woocommerce button.button,#sama-main-content .woocommerce input.button,#sama-main-content .woocommerce a.button,#sama-main-content .woocommerce #respond input#submit{background:var(--sama-theme-primary);color:#fff;border-radius:10px;font-weight:800}
#sama-main-content .woocommerce div.product p.price,#sama-main-content .woocommerce div.product span.price,#sama-main-content .woocommerce ul.products li.product .price{color:var(--sama-theme-primary);font-weight:800}
#sama-main-content .woocommerce-message,#sama-main-content .woocommerce-info,#sama-main-content .woocommerce-error{border-radius:12px;background:var(--sama-theme-surface);border-top-color:var(--sama-theme-primary)}
#sama-main-content .woocommerce form .form-row input.input-text,#sama-main-content .woocommerce form .form-row textarea,#sama-main-content .woocommerce select{border:1px solid var(--sama-theme-border);border-radius:9px;padding:10px;background:#fff}
#sama-main-content .woocommerce table.shop_table{border-color:var(--sama-theme-border);border-radius:12px;overflow:hidden}
/* WooCommerce Blocks (Cart/Checkout) are also content-only and must never style global chrome. */
#sama-main-content .wc-block-components-button:not(.is-link){border-radius:10px}
/* Explicit global chrome boundary on WooCommerce body contexts. */
body.woocommerce .sama-theme-header,body.woocommerce-page .sama-theme-header{font-family:inherit}
body.woocommerce .sama-theme-footer,body.woocommerce-page .sama-theme-footer{font-family:inherit}
.sama-theme-notice{padding:18px 20px;border:1px solid var(--sama-theme-border);border-radius:14px;background:var(--sama-theme-surface)}.sama-404{text-align:center;padding:80px 0}.sama-404 strong{display:block;font-size:5rem;color:var(--sama-theme-primary);line-height:1}.sama-404 h1{color:var(--sama-theme-dark)}
/* SAMA plugin isolation: no generic a/button/input/card rules are applied to arbitrary .sama-page-content/.sama-home-content descendants. */
@media(max-width:960px){.sama-post-grid,.sama-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sama-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sama-footer-row{gap:18px 22px}.sama-theme-mobile-toggle{display:inline-flex;margin-inline-start:auto}.sama-theme-nav{display:none}.sama-theme-nav.is-open{display:block;position:absolute;top:calc(var(--sama-theme-header-h) - 4px);inset-inline:16px;background:#fff;border:1px solid var(--sama-theme-border);border-radius:14px;padding:10px;box-shadow:var(--sama-theme-shadow)}.sama-theme-nav.is-open ul{display:flex;flex-direction:column;align-items:stretch}.sama-theme-header-inner{position:relative}.sama-theme-cta-desktop{display:none}}
@media(max-width:640px){.sama-theme-wrap{width:min(calc(100% - 26px),var(--sama-theme-max))}.sama-theme-content{padding:36px 0 50px}.sama-post-grid,.sama-guide-grid,.sama-related-grid{grid-template-columns:1fr}.sama-footer-row{flex-direction:column}.sama-footer-brand{flex-direction:column}.sama-footer-bottom{flex-direction:column;justify-content:center;align-items:center}.sama-post-nav{flex-direction:column}.sama-card-body,.sama-guide-card{padding:19px}.sama-article-body{font-size:1rem}.sama-woo-shell{padding:28px 0 48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* v2.2.6 — Single Product structural hardening.
 * These rules intentionally protect only SAMA Theme chrome and the WooCommerce
 * product gallery geometry. They do not recolor or restyle SAMA plugin UIs. */
body.sama-theme-v2 > .sama-theme-header{display:block!important;width:100%!important;max-width:none!important;float:none!important;clear:both!important;margin:0!important}
body.sama-theme-v2 > .sama-theme-header > .sama-theme-header-inner{display:flex!important;align-items:center!important;min-height:var(--sama-theme-header-h)!important;width:min(calc(100% - 40px),var(--sama-theme-max))!important;margin-inline:auto!important;float:none!important;clear:both!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-brand{display:flex!important;align-items:center!important;float:none!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-brand img{display:block!important;max-height:var(--sama-theme-logo-h)!important;width:auto!important;height:auto!important;margin:0!important;float:none!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav{display:block;float:none!important;margin-inline-start:auto!important;width:auto!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav ul{display:flex!important;align-items:center!important;gap:4px!important;list-style:none!important;margin:0!important;padding:0!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav li{display:block!important;float:none!important;margin:0!important;padding:0!important;list-style:none!important}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav a{display:block!important;width:auto!important}
body.sama-theme-v2 > .sama-theme-footer{display:block!important;position:relative!important;width:100%!important;max-width:none!important;float:none!important;clear:both!important;margin:0!important}
body.sama-theme-v2 > .sama-theme-footer img{float:none!important;height:auto!important}

/* Keep classic WooCommerce floats/grids contained before the global footer. */
#sama-main-content .sama-woo-shell,
#sama-main-content .sama-woo-inner,
#sama-main-content .woocommerce,
#sama-main-content .woocommerce div.product{display:flow-root}
#sama-main-content .woocommerce div.product .woocommerce-product-gallery{max-width:var(--sama-woo-gallery,50%);box-sizing:border-box}
#sama-main-content .woocommerce div.product .woocommerce-product-gallery img,
#sama-main-content .woocommerce div.product .woocommerce-product-gallery__image img{display:block;max-width:100%!important;width:100%;height:auto!important;object-fit:contain}
#sama-main-content .woocommerce div.product .summary{box-sizing:border-box}

@media(max-width:960px){
 body.sama-theme-v2 > .sama-theme-header .sama-theme-nav{display:none}
 body.sama-theme-v2 > .sama-theme-header .sama-theme-nav.is-open{display:block!important;width:auto!important}
 body.sama-theme-v2 > .sama-theme-header .sama-theme-nav.is-open ul{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 #sama-main-content .woocommerce div.product .woocommerce-product-gallery{max-width:100%;width:100%!important;float:none!important}
 #sama-main-content .woocommerce div.product .summary{width:100%!important;float:none!important}
}
@media(max-width:640px){body.sama-theme-v2 > .sama-theme-header > .sama-theme-header-inner{width:min(calc(100% - 26px),var(--sama-theme-max))!important}}

/* v2.4.0 — Header & Footer Builder Pro */
body.sama-theme-v2 > .sama-theme-header{background:var(--sama-theme-header-bg);border-bottom-color:var(--sama-header-border)}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav a{color:var(--sama-header-text)}
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav a:hover,
body.sama-theme-v2 > .sama-theme-header .sama-theme-nav .current-menu-item>a{color:var(--sama-header-hover);background:var(--sama-header-hover-bg)}
body.sama-theme-v2 > .sama-theme-header .sama-header-full{width:100%!important;max-width:none!important;padding-inline:20px;margin-inline:0!important}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-nav-brand-cta .sama-theme-nav{order:1;margin-inline-start:0!important;margin-inline-end:auto}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-nav-brand-cta .sama-theme-brand{order:2}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-nav-brand-cta .sama-theme-cta{order:3}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-centered .sama-theme-header-inner{flex-wrap:wrap;justify-content:center;padding-block:10px}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-centered .sama-theme-brand{flex:0 0 100%;justify-content:center}
body.sama-theme-v2 > .sama-theme-header.sama-header-layout-centered .sama-theme-nav{margin-inline:0!important}
body.sama-theme-v2 > .sama-theme-footer{color:var(--sama-footer-text)}
body.sama-theme-v2 > .sama-theme-footer a{color:var(--sama-footer-link)}
body.sama-theme-v2 > .sama-theme-footer .sama-footer-brand p,
body.sama-theme-v2 > .sama-theme-footer .sama-footer-bottom{color:var(--sama-footer-muted)}
body.sama-theme-v2 > .sama-theme-footer .sama-footer-full{width:100%;max-width:none;padding-inline:20px}
body.sama-theme-v2 > .sama-theme-footer.sama-footer-layout-stacked .sama-footer-row{flex-direction:column}
body.sama-theme-v2 > .sama-theme-footer.sama-footer-layout-stacked .sama-footer-contact,
body.sama-theme-v2 > .sama-theme-footer.sama-footer-layout-stacked .sama-footer-nav ul{justify-content:center}

/* v2.5.0 — Blog, Articles & Content Experience System */
.sama-post-grid{grid-template-columns:repeat(var(--sama-blog-cols,3),minmax(0,1fr))}.sama-card-media{aspect-ratio:var(--sama-card-ratio,16/9)}
.sama-category-badge{display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--sama-theme-soft);color:var(--sama-theme-primary)!important;text-decoration:none;font-size:.78rem;font-weight:800}
.sama-article{width:min(100%,var(--sama-article-width,880px))}.sama-article-hero.has-ratio{aspect-ratio:var(--sama-hero-ratio,16/9)}.sama-article-hero.has-ratio img{width:100%;height:100%;object-fit:cover}
.sama-article-body{overflow-wrap:anywhere}.sama-article-body>:first-child{margin-top:0}.sama-article-body figure{max-width:100%;margin-inline:auto}.sama-article-body iframe,.sama-article-body video{max-width:100%}.sama-article-body ul,.sama-article-body ol{padding-inline-start:1.4em}.sama-article-body hr{border:0;border-top:1px solid var(--sama-theme-border);margin:2.5rem 0}
.sama-article-taxonomy{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.sama-tags{display:flex;gap:7px;flex-wrap:wrap}.sama-tags a{display:inline-flex;padding:4px 9px;border:1px solid var(--sama-theme-border);border-radius:999px;text-decoration:none;font-size:.85rem}
.sama-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:20px}.sama-share>span{font-weight:800}.sama-share a{display:inline-flex;padding:6px 10px;border:1px solid var(--sama-theme-border);border-radius:9px;text-decoration:none;font-weight:700}
.sama-post-nav{margin-top:26px;padding-top:20px;border-top:1px solid var(--sama-theme-border)}.sama-post-nav a{text-decoration:none;font-weight:800}
.sama-related-grid article{overflow:hidden;padding:0}.sama-related-media{display:block;aspect-ratio:16/9;overflow:hidden}.sama-related-media img{width:100%;height:100%;object-fit:cover;display:block}.sama-related-title{display:block;padding:14px 16px}
.sama-theme-notice{padding:28px;border:1px solid var(--sama-theme-border);border-radius:var(--sama-theme-radius);background:var(--sama-theme-surface);text-align:center}.sama-search-form-wrap{max-width:620px;margin:20px auto 0}.sama-search-form-wrap .search-form{display:flex;gap:8px}.sama-search-form-wrap label{flex:1}.sama-search-form-wrap .search-field{width:100%;min-height:44px;border:1px solid var(--sama-theme-border);border-radius:10px;padding:8px 12px;font:inherit}.sama-search-form-wrap .search-submit{min-height:44px;border:0;border-radius:10px;background:var(--sama-theme-primary);color:#fff;padding:8px 16px;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:960px){.sama-post-grid{grid-template-columns:repeat(var(--sama-blog-cols-tablet,2),minmax(0,1fr))}.sama-post-card{grid-template-columns:minmax(180px,38%) 1fr}.sama-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sama-post-grid{grid-template-columns:repeat(var(--sama-blog-cols-mobile,1),minmax(0,1fr))}.sama-post-card{display:block}.sama-post-card .sama-card-media{aspect-ratio:var(--sama-card-ratio,16/9)}.sama-post-card .sama-card-media img{min-height:0}.sama-related-grid{grid-template-columns:1fr}.sama-article-head{text-align:start}.sama-article-head .sama-post-meta{justify-content:flex-start}.sama-post-nav{flex-direction:column}}


/* v2.6.0 — WooCommerce Visual Customizer. All selectors remain inside the theme content scope. */
#sama-main-content .woocommerce ul.products li.product{transition:transform .18s ease,box-shadow .18s ease;border-radius:var(--sama-woo-radius,16px);overflow:hidden}
#sama-main-content .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
#sama-main-content .woocommerce ul.products li.product a img{width:100%;aspect-ratio:var(--sama-woo-image-ratio,1/1);object-fit:cover;margin:0 0 14px}
#sama-main-content .woocommerce ul.products li.product .button{margin-top:12px}
#sama-main-content .woocommerce .button,#sama-main-content .woocommerce button.button,#sama-main-content .woocommerce input.button,#sama-main-content .woocommerce a.button,#sama-main-content .woocommerce #respond input#submit{border-radius:var(--sama-woo-button-radius,10px)}
#sama-main-content .woocommerce-message,#sama-main-content .woocommerce-info,#sama-main-content .woocommerce-error{border-radius:var(--sama-woo-notice-radius,12px)}
#sama-main-content .woocommerce div.product{display:grid;grid-template-columns:minmax(0,var(--sama-woo-gallery,50%)) minmax(0,1fr);gap:var(--sama-woo-gap,42px);align-items:start}
#sama-main-content .woocommerce div.product .woocommerce-product-gallery{max-width:none!important;width:100%!important;float:none!important;margin:0!important}
#sama-main-content .woocommerce div.product .summary{width:100%!important;float:none!important;margin:0!important;min-width:0}
#sama-main-content .woocommerce div.product .woocommerce-tabs,#sama-main-content .woocommerce div.product .related,#sama-main-content .woocommerce div.product .upsells{grid-column:1/-1;width:100%;clear:both}
#sama-main-content .woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0}
#sama-main-content .woocommerce div.product .woocommerce-product-gallery img{border-radius:var(--sama-woo-radius,16px)}
#sama-main-content .woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:7px}
#sama-main-content .woocommerce nav.woocommerce-pagination ul li{border:0}
#sama-main-content .woocommerce nav.woocommerce-pagination ul li a,#sama-main-content .woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--sama-theme-border);border-radius:9px;min-width:38px}
#sama-main-content .woocommerce nav.woocommerce-pagination ul li span.current{background:var(--sama-theme-primary);color:#fff;border-color:var(--sama-theme-primary)}
#sama-main-content .woocommerce-cart-form,#sama-main-content .cart_totals,#sama-main-content .woocommerce-checkout-review-order,#sama-main-content .woocommerce-MyAccount-content{min-width:0}
@media(max-width:768px){#sama-main-content .woocommerce div.product{grid-template-columns:1fr;gap:28px}#sama-main-content .woocommerce div.product .woocommerce-product-gallery{max-width:var(--sama-woo-gallery-mobile,100%)!important;margin-inline:auto!important}}

/* v2.7.0 — Performance, Accessibility & Production Hardening */
.sama-screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sama-screen-reader-text:focus{position:fixed!important;z-index:10001;top:8px;inset-inline-start:8px;width:auto;height:auto;margin:0;clip:auto;overflow:visible;white-space:normal;background:#fff;color:#111;padding:9px 14px;border:2px solid var(--sama-theme-primary);border-radius:8px}
.sama-theme-ui button:focus-visible,#sama-main-content button:focus-visible,#sama-main-content input:focus-visible,#sama-main-content select:focus-visible,#sama-main-content textarea:focus-visible{outline:3px solid var(--sama-theme-primary);outline-offset:3px}
.sama-theme-brand img,.sama-footer-brand img{height:auto}
@media (prefers-reduced-motion:reduce){.sama-theme-header.is-sticky{backdrop-filter:none}}

/* v2.9.4 — Mobile Navigation Interaction Hotfix */
body.sama-theme-v2>.sama-theme-header{position:relative;isolation:isolate}
body.sama-theme-v2>.sama-theme-header.is-sticky{position:sticky}
body.sama-theme-v2>.sama-theme-header .sama-theme-mobile-toggle{position:relative;z-index:1002;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;align-items:center;justify-content:center}
body.sama-theme-v2>.sama-theme-header .sama-theme-mobile-toggle-icon{display:inline-flex;align-items:center;justify-content:center;min-width:1.1em;font-size:1.25em;line-height:1}
body.sama-theme-v2>.sama-theme-header .sama-theme-nav.is-open{z-index:1001;max-height:calc(100vh - var(--sama-theme-header-h-mobile) - 24px);overflow:auto;-webkit-overflow-scrolling:touch}
body.sama-mobile-nav-open{overflow-x:hidden}
@media(max-width:960px){
 body.sama-theme-v2>.sama-theme-header .sama-theme-mobile-toggle{pointer-events:auto!important}
 body.sama-theme-v2>.sama-theme-header .sama-theme-nav.is-open{visibility:visible;opacity:1;pointer-events:auto}
}

/* v2.9.5.7 CTA/nav visibility contract */



/* v2.9.5.7 navigation base */
body.sama-theme-v2>.sama-theme-header,
body.sama-theme-v2>.sama-theme-header .sama-theme-header-inner,
body.sama-theme-v2>.sama-theme-header .sama-theme-nav,
body.sama-theme-v2>.sama-theme-header .sama-primary-menu{overflow:visible}

body.sama-theme-v2>.sama-theme-header .sama-primary-menu .sub-menu{list-style:none}
body.sama-theme-v2>.sama-theme-header .sama-primary-menu .sub-menu a{display:block;white-space:nowrap}

/* v2.9.5.7 — CTA is always outside the navigation on every viewport */
body.sama-theme-v2>.sama-theme-header .sama-theme-cta-header{
 display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto
}

/* v2.9.5.7 — mobile horizontal overflow containment */
html,body{max-width:100%;overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
body.sama-theme-v2>.sama-theme-header{max-width:100%;overflow-x:clip}
body.sama-theme-v2>.sama-theme-header .sama-theme-header-inner{
 width:100%;max-width:100%;box-sizing:border-box
}
body.sama-theme-v2>.sama-theme-header .sama-theme-brand,
body.sama-theme-v2>.sama-theme-header .sama-theme-nav{min-width:0}
body.sama-theme-v2>.sama-theme-header .sama-theme-brand img{
 max-width:100%;height:auto
}
.sama-theme-main,.sama-theme-main>*{max-width:100%;box-sizing:border-box}
img,video,iframe,embed,object{max-width:100%}
@media(max-width:1200px){
 body.sama-theme-v2>.sama-theme-header .sama-theme-nav.is-open{
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box!important
 }
 body.sama-theme-v2>.sama-theme-header .sama-primary-menu,
 body.sama-theme-v2>.sama-theme-header .sama-primary-menu li,
 body.sama-theme-v2>.sama-theme-header .sama-primary-menu a{
  max-width:100%;box-sizing:border-box
 }
 body.sama-theme-v2>.sama-theme-header .sama-primary-menu .sub-menu{
  max-width:100%!important;box-sizing:border-box!important
 }
}

/* v2.9.5.7 — true mobile viewport edge reset
   The visible white strip was page/root spacing, not only horizontal overflow. */
html{margin:0;padding:0;width:100%}
body.sama-theme-v2{
 margin:0!important;
 padding-left:0!important;
 padding-right:0!important;
 width:100%;
 min-width:0;
}
body.sama-theme-v2>.sama-theme-header,
body.sama-theme-v2>.sama-theme-main,
body.sama-theme-v2>.sama-theme-footer{
 margin-left:0!important;
 margin-right:0!important;
 width:100%;
 max-width:100%;
 box-sizing:border-box;
}
@media(max-width:1200px){
 body.sama-theme-v2>.sama-theme-main{
  padding-left:0!important;
  padding-right:0!important;
 }
 body.sama-theme-v2>.sama-theme-main>.sama-page-body-fullwidth,
 body.sama-theme-v2>.sama-theme-main>.sama-home-content{
  margin-left:0!important;
  margin-right:0!important;
  max-width:100%!important;
 }
}

/* v2.9.5.7 — header CTA containment; CTA stays outside <nav> but never outside viewport */
body.sama-theme-v2>.sama-theme-header .sama-theme-header-inner{
 display:flex;align-items:center;gap:16px;min-width:0
}
body.sama-theme-v2>.sama-theme-header .sama-theme-brand{flex:0 1 auto;min-width:0}
body.sama-theme-v2>.sama-theme-header .sama-theme-nav{flex:1 1 auto;min-width:0}
body.sama-theme-v2>.sama-theme-header .sama-theme-header-actions{
 flex:0 0 auto;min-width:0;max-width:100%;display:flex;align-items:center
}
body.sama-theme-v2>.sama-theme-header .sama-theme-cta-header{
 position:static!important;inset:auto!important;transform:none!important;
 margin:0!important;max-width:100%;box-sizing:border-box;white-space:nowrap
}
@media(max-width:1200px){
 body.sama-theme-v2>.sama-theme-header .sama-theme-header-inner{
  gap:10px;padding-left:13px;padding-right:13px
 }
 body.sama-theme-v2>.sama-theme-header .sama-theme-brand{margin-inline-start:auto}
 body.sama-theme-v2>.sama-theme-header .sama-theme-nav{
  position:absolute;inset-inline:13px;top:100%;width:auto!important;max-width:none!important
 }
 body.sama-theme-v2>.sama-theme-header .sama-theme-header-actions{
  max-width:min(34vw,160px)
 }
 body.sama-theme-v2>.sama-theme-header .sama-theme-cta-header{
  width:auto!important;min-width:0!important;padding-inline:18px!important
 }
}
@media(max-width:480px){
 body.sama-theme-v2>.sama-theme-header .sama-theme-header-inner{gap:8px;padding-left:10px;padding-right:10px}
 body.sama-theme-v2>.sama-theme-header .sama-theme-header-actions{max-width:30vw}
 body.sama-theme-v2>.sama-theme-header .sama-theme-cta-header{padding-inline:14px!important}
}

/* v2.9.5.7 — full-bleed mobile page shell
   Fixes persistent RTL edge strip by anchoring full-width page shells to the viewport,
   independent of ancestor/plugin margins. Does not alter inner plugin component spacing. */
@media(max-width:1200px){
 body.sama-theme-v2 .sama-page-body-fullwidth,
 body.sama-theme-v2 .sama-home-content{
  position:relative;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:0!important;
  padding-right:0!important;
 }
 body.sama-theme-v2 .sama-page-body-fullwidth>*,
 body.sama-theme-v2 .sama-home-content>*{
  max-width:100%;
  box-sizing:border-box;
 }
}
