/*
Theme Name: خرازی نصری
Description: طرح اختصاصی خرازی نصری، مطابق طراحی قبلی فروشگاه، سازگار با ووکامرس.
Version: 1.0.0
Author: Nasri
Text Domain: nasri-classic
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:155px}body{margin:0;color:#202a25;background:#fff;font-family:Tahoma,Arial,sans-serif;font-size:16px;line-height:1.8}button,input{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #5e9474;outline-offset:4px}.notice{background:#12432e;color:#fff;text-align:center;font-size:13px;padding:8px}.header-wrap{background:#fff;position:sticky;top:0;z-index:5;box-shadow:0 2px 4px #00000012}header{max-width:1440px;margin:auto;display:flex;align-items:center;gap:24px;padding:18px 32px}.brand{font-size:27px;font-weight:900;color:#12432e;white-space:nowrap;line-height:1.5}.brand small{display:block;font-size:12px;font-weight:normal;color:#777}form.search{display:flex;gap:15px;align-items:center;background:#f0f0f1;border-radius:8px;padding:7px 18px;flex:1;max-width:650px}form.search span{font-size:28px;color:#81858b}form.search input{background:transparent;border:0;outline:none;width:100%;min-width:0;font-size:14px;padding:7px 0}.header-contact{font-size:14px;border:1px solid #e0e0e2;border-radius:8px;padding:10px 15px;margin-right:auto;white-space:nowrap}.cart-button{border:0;border-right:1px solid #ddd;background:white;padding:8px 15px;font-size:14px;white-space:nowrap}.cart-icon{display:none}.cart-button #count{background:#12432e;color:#fff;border-radius:6px;display:inline-grid;place-items:center;min-width:24px;margin-right:6px}nav{max-width:1440px;margin:auto;display:flex;gap:25px;padding:0 32px 13px;font-size:14px;color:#62666d;overflow-x:auto;white-space:nowrap}.nav-categories{color:#202a25;font-weight:bold;border-left:1px solid #ddd;padding-left:25px}main{max-width:1400px;margin:auto;padding:20px 24px}.hero{display:grid;grid-template-columns:1fr 1fr;background:#edf5ef;overflow:hidden;border-radius:16px;min-height:290px}.hero-copy{padding:30px 50px}.eyebrow{font-size:14px;color:#65726a;display:block}.hero .eyebrow{color:#12432e}h1{font-size:clamp(26px,3vw,42px);line-height:1.6;margin:10px 0;font-weight:900}.hero p{font-size:15px;color:#62666d;margin:8px 0 20px}.primary{display:inline-block;background:#12432e;color:#fff;padding:11px 24px;border-radius:8px;font-size:14px}.primary:hover{background:#0d3323}.hero-image{min-height:290px;overflow:hidden}.hero-image img{width:100%;height:100%;max-height:340px;object-fit:cover}.category-shortcuts{display:flex;justify-content:center;gap:70px;padding:28px 0;align-items:start}.category-shortcuts button,.category-shortcuts a{background:none;border:0;display:flex;align-items:center;flex-direction:column;gap:10px;font-size:14px;color:#202a25;padding:0;text-align:center}.category-shortcuts img,.all-categories{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid #fff;outline:2px solid #12432e}.all-categories{display:grid;place-items:center;background:#f0f0f1;font-size:30px;color:#81858b;outline:0}.catalog-banner{background:#12432e;color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:23px 35px;margin:5px 0 28px}.catalog-banner span{display:block;font-size:14px;color:#e0efe5}.catalog-banner strong{font-size:24px}.catalog-banner a{border:1px solid #ffffff88;border-radius:8px;padding:9px 20px;font-size:14px}.catalog{border:1px solid #e0e0e2;border-radius:16px;padding:25px;margin-bottom:28px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}h2{font-size:23px;line-height:1.6;margin:0 0 7px}.catalog-label{font-size:13px;color:#12432e}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 12px}.filters button{border:1px solid #e0e0e2;background:#fff;padding:7px 18px;border-radius:8px;font-size:14px;color:#62666d}.filters button.active{background:#edf5ef;color:#12432e;border-color:#12432e}.sample-note{font-size:12px;color:#81858b;margin-bottom:20px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #f0f0f1}.product{padding:16px;border-left:1px solid #f0f0f1;border-bottom:1px solid #f0f0f1;background:white;transition:box-shadow .2s}.product:hover{box-shadow:0 2px 12px #00000014;z-index:1}.product .photo{height:170px;background:#f5f5f5;position:relative;overflow:hidden;border-radius:8px}.product img{height:100%;width:100%;object-fit:cover}.tag{position:absolute;top:8px;right:8px;background:#fff;padding:1px 8px;color:#81858b;font-size:12px;border-radius:4px}.info{padding:13px 0 0}.info small{color:#81858b;font-size:12px}.info h3{font-size:15px;margin:6px 0;color:#202a25;min-height:30px}.unit{font-size:12px;color:#81858b;min-height:30px}.buy-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.price{font-weight:bold;font-size:17px;color:#202a25}.price small{font-size:12px;font-weight:normal}.add{background:#fff;border:1px solid #12432e;color:#12432e;border-radius:8px;width:34px;height:34px;flex-shrink:0;font-size:23px;line-height:1}.add:hover{background:#12432e;color:#fff}.about{padding:28px;border:1px solid #e0e0e2;border-radius:16px;margin-bottom:24px}.about p{max-width:820px;color:#62666d;font-size:15px}.about a{color:#12432e;direction:ltr;display:inline-block;font-size:14px}footer{border-top:1px solid #e0e0e2;max-width:1440px;margin:auto;padding:30px 32px;display:flex;gap:25px;justify-content:space-between;font-size:14px;color:#81858b}footer strong{color:#12432e;font-size:22px}dialog{width:min(520px,calc(100% - 30px));border:0;border-radius:12px;padding:26px;max-height:85vh;overflow:auto;color:#202a25}dialog::backdrop{background:#202a2580;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;margin-bottom:16px}.dialog-head button{background:none;border:0;font-size:30px}.cart-item{padding:14px 0;border-bottom:1px solid #eee;display:flex;justify-content:space-between;gap:16px}.cart-item h3{font-size:15px;margin:0}.cart-item small{font-size:12px;color:#81858b}.quantity{display:flex;align-items:center;gap:10px;white-space:nowrap}.quantity button{border:1px solid #ddd;background:white;border-radius:5px;width:28px;height:30px;color:#12432e}.total{display:flex;justify-content:space-between;padding-top:25px;font-size:15px}.checkout-note{font-size:13px;color:#62666d;background:#f7f7f8;padding:12px}.contact{display:block;text-align:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#202a25;color:white;border-radius:8px;padding:12px 25px;opacity:0;pointer-events:none;transition:opacity .2s;font-size:14px;z-index:10}.toast.show{opacity:1}@media(max-width:1000px){header{gap:15px;padding:15px 24px}.header-contact{display:none}form.search{max-width:none}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{padding:25px 30px}.category-shortcuts{gap:45px}}@media(max-width:650px){html{scroll-padding-top:170px}.notice{font-size:12px;padding:6px 10px}header{padding:12px 16px;flex-wrap:wrap;gap:12px}.brand{font-size:22px}.brand small{font-size:10px}.cart-button{margin-right:auto;padding:4px 10px}form.search{order:3;flex-basis:100%;padding:4px 14px}form.search input{font-size:14px}nav{padding:0 16px 10px;gap:18px;font-size:13px}.nav-categories{padding-left:18px}main{padding:14px 12px}.hero{grid-template-columns:1.15fr 1fr;min-height:230px;border-radius:12px}.hero-copy{padding:20px 16px}h1{font-size:25px;margin:8px 0}.hero .eyebrow{font-size:12px}.hero p{font-size:12px;margin:8px 0 16px}.hero .primary{padding:9px 12px;font-size:12px}.hero-image{min-height:230px}.hero-image img{height:100%;max-height:none;object-position:47% center}.category-shortcuts{gap:0;justify-content:space-around;padding:24px 0}.category-shortcuts button,.category-shortcuts a{font-size:12px;gap:8px;width:24%}.category-shortcuts img,.all-categories{width:60px;height:60px}.catalog-banner{padding:18px;margin:3px 0 20px}.catalog-banner strong{font-size:17px}.catalog-banner span{font-size:12px}.catalog-banner a{font-size:12px;padding:7px 11px;white-space:nowrap}.catalog{padding:16px 10px;border-radius:12px}.section-head{gap:10px}h2{font-size:19px}.eyebrow{font-size:12px}.catalog-label{font-size:12px}.filters{gap:7px;margin-top:18px}.filters button{padding:6px 10px;font-size:12px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.product{padding:10px}.product .photo{height:130px}.info h3{font-size:14px}.price{font-size:14px}.price small{font-size:12px}.unit{font-size:12px}.about{padding:20px}.about p{font-size:14px}footer{padding:22px 16px;flex-wrap:wrap;gap:12px}footer span:last-child{display:none}}@media(max-width:350px){.hero{grid-template-columns:1fr}.hero-image{display:none}.products{grid-template-columns:1fr}.category-shortcuts img,.all-categories{width:48px;height:48px}.catalog-banner a{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.mobile-bottom{display:none}
@media(max-width:650px){
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
 .header-wrap nav,.header-wrap .cart-button{display:none}
 .header-wrap header{gap:8px}
 .mobile-bottom{position:fixed;inset:auto 0 0;z-index:8;display:flex;align-items:stretch;justify-content:space-around;gap:0;margin:0;max-width:none;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e0e0e2;box-shadow:0 -2px 10px #00000006;overflow:visible}
 .mobile-bottom a,.mobile-bottom button{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:52px;border:0;background:none;color:#62666d;font:inherit;font-size:12px;line-height:1.6;padding:0;text-align:center}
 .mobile-bottom svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .mobile-bottom .bottom-home{color:#202a25;font-weight:bold}
 .bottom-cart-icon{position:relative;display:block}
 .mobile-count{position:absolute;top:-6px;right:-10px;min-width:17px;height:17px;border-radius:5px;background:#12432e;color:#fff;font-size:10px;line-height:17px;padding:0 3px}
 .mobile-count[hidden]{display:none}
 .toast{bottom:calc(88px + env(safe-area-inset-bottom,0px));width:max-content;max-width:90vw}
}

.profile-content{text-align:center;padding:15px 0 5px}.profile-content>svg{width:64px;height:64px;fill:none;stroke:#81858b;stroke-width:1.5;margin:0 auto;display:block}.profile-content h3{font-size:18px;margin:18px 0 8px}.profile-content p{font-size:14px;color:#62666d;margin-bottom:24px}

.profile-account{display:flex;gap:14px;align-items:center;padding:15px 0 24px}.profile-avatar{width:48px;height:48px;border-radius:50%;background:#edf5ef;color:#12432e;display:grid;place-items:center;font-size:23px}.profile-account strong{font-size:17px}.profile-account small{display:block;color:#62666d;font-size:12px;margin-top:3px}.profile-menu{border:1px solid #e0e0e2;border-radius:10px;overflow:hidden}.profile-menu button,.profile-menu a{display:block;width:100%;border:0;border-bottom:1px solid #f0f0f1;background:white;text-align:right;padding:14px 18px;color:#202a25;line-height:1.8}.profile-menu a:last-child{border-bottom:0}.profile-menu span{display:block;font-size:15px}.profile-menu small{display:block;font-size:12px;color:#81858b}.profile-menu button:hover,.profile-menu a:hover{background:#f7f7f8}.profile-menu button[aria-pressed=true]{background:#edf5ef;color:#12432e}.profile-detail{padding:16px;margin-top:16px;border-radius:8px;background:#f7f7f8}.profile-detail h3{font-size:15px;margin:0 0 8px}.profile-detail p{font-size:14px;color:#62666d;margin:0}

.phone-login{border:1px solid #e0e0e2;border-radius:10px;padding:18px;margin-bottom:20px}.phone-login h3{font-size:19px;margin:0 0 10px}.phone-login p{font-size:14px;color:#62666d;margin:0 0 15px}.phone-login label{display:block;font-size:14px;margin-bottom:7px}.phone-login input{display:block;width:100%;border:1px solid #c0c2c5;border-radius:8px;padding:12px 14px;font-size:17px;color:#202a25;background:white}.phone-login input[aria-invalid=true]{border-color:#12432e}.phone-login small{font-size:12px;color:#62666d;display:block;margin:7px 0 18px}.phone-login button{width:100%;border:0;cursor:pointer}.phone-login .phone-status{font-size:12px;color:#81858b;margin:10px 0 0}.phone-login #phoneMessage{margin:14px 0 0;padding:10px;border-radius:6px;background:#f0f0f1;font-size:13px}.phone-login #phoneMessage.phone-error{color:#9e2435;background:#edf5ef}

#profileLoginScreen[hidden],#profileDashboard[hidden]{display:none}.preview-link{display:block;width:100%;padding:12px;margin:12px 0;border:1px solid #e0e0e2;border-radius:8px;background:white;color:#12432e;font-size:14px}.profile-information{padding:18px;border:1px solid #e0e0e2;border-radius:10px;margin-bottom:18px}.profile-information h3{font-size:18px;margin:0 0 15px}.profile-information label{display:block;font-size:14px;margin:12px 0 6px}.profile-information input{width:100%;border:1px solid #c0c2c5;border-radius:8px;background:#fff;color:#202a25;font-size:16px;padding:11px 13px}.profile-information input[readonly]{background:#f0f0f1;color:#62666d}.profile-information .primary{border:0;width:100%;margin-top:20px}.preview-note,#profileSaveMessage{font-size:12px;color:#62666d;margin:12px 0 0}#profileSaveMessage{font-size:14px;padding:10px;background:#f0f0f1;border-radius:6px}

#profile.login-view{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:30px;background:#fff}
#profile.login-view .dialog-head{position:absolute;top:20px;right:25px;left:25px;border:0;margin:0;justify-content:flex-start}
#profile.login-view .dialog-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#profile.login-view #profileClose{font-size:14px;border:1px solid #e0e0e2;border-radius:8px;padding:6px 14px;color:#202a25}
#profile.login-view #profileLoginScreen{max-width:440px;margin:clamp(70px,17vh,170px) auto 40px}
.login-brand{color:#12432e;font-size:34px;font-weight:900;text-align:center;margin-bottom:65px;line-height:1.6}.login-brand small{display:block;font-size:11px;font-weight:normal;letter-spacing:2px;color:#65726a}
#profile .phone-login{border:0;padding:0;margin-bottom:12px}
#profile .phone-login h3{font-size:21px;margin-bottom:22px;color:#202a25}
#profile .phone-login>p:first-of-type{font-size:15px;color:#81858b;margin-bottom:28px}
.login-phone-field{position:relative}
#profile .login-phone-field label{position:absolute;top:-14px;right:14px;background:#fff;padding:0 8px;margin:0;font-size:14px;color:#202a25}
#profile .login-phone-field input{border:2px solid #68766e;border-radius:10px;padding:17px 18px;font-size:18px}
#profile .login-phone-field input:focus{border-color:#12432e;outline:2px solid #b3d0bc;outline-offset:2px}
#profile .phone-login .primary{margin-top:5px;min-height:50px;font-size:16px;background:#12432e}
#profile .phone-login .phone-status{text-align:center;font-size:12px;line-height:1.8;margin-top:20px}
#profile .preview-link{font-size:13px}
@media(max-width:650px){#profile.login-view{padding:24px 18px}#profile.login-view #profileLoginScreen{margin-top:clamp(95px,22vh,210px)}.login-brand{font-size:32px;margin-bottom:52px}#profile .phone-login h3{font-size:20px}#profile.login-view .dialog-head{top:16px;right:18px;left:18px}}

.product-no-image{display:grid;place-items:center;height:100%;color:#65726a;font-size:14px}.add:disabled,.quantity button:disabled{opacity:.4;cursor:not-allowed;background:#f0f0f1;color:#65726a;border-color:#dce5df}

.product-link{display:block}.product h3 a:hover{color:#12432e;text-decoration:underline}

#checkoutLink{margin-top:18px}#checkoutLink[aria-disabled=true]{opacity:.5;cursor:not-allowed}

.product .buy-row{flex-direction:column;align-items:stretch;gap:12px}.product .price{align-self:flex-end}.product .add{width:100%;height:auto;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 7px;border:1px solid #12432e;border-radius:8px;line-height:1.7}.product .add-symbol{font-size:23px;line-height:1;flex-shrink:0}.product .add-label{font-size:14px;line-height:1.7}@media(max-width:650px){.product .add{gap:5px;padding:8px 5px}.product .add-label{font-size:12px}.product .add-symbol{font-size:21px}}

.category-sheet{position:fixed;top:0;right:0;left:auto;bottom:0;width:min(380px,90vw);height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:24px;overflow:auto}.category-sheet .dialog-head{margin-bottom:20px}.category-sheet .dialog-head h2{font-size:20px}.category-panel-items{display:flex;flex-direction:column;gap:10px}.category-panel-item{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:1px solid #dde6df;border-radius:8px;padding:15px 16px;background:white;color:#202a25;text-align:right;line-height:1.8}.category-panel-item span{font-size:15px;overflow-wrap:anywhere}.category-panel-item small{font-size:12px;color:#748178;white-space:nowrap}.category-panel-item:hover,.category-panel-item[aria-pressed=true]{background:#edf5ef;border-color:#12432e;color:#12432e}.category-panel-empty{font-size:14px;color:#65726a;line-height:1.9;margin-top:20px}.category-sheet::backdrop{background:#202a2566;backdrop-filter:blur(2px)}@media(max-width:650px){.category-sheet{top:auto;bottom:0;left:0;right:0;width:100%;height:auto;max-height:75dvh;border-radius:18px 18px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom,0px))}.category-sheet .dialog-head{margin-bottom:18px}.category-panel-item{padding:14px 16px}}

.category-sheet{z-index:9}.category-panel-items{gap:7px}.category-panel-item{padding:9px 12px;border-radius:6px;min-height:40px}.category-panel-item span{font-size:14px}.category-shade{position:fixed;inset:0;z-index:7;border:0;background:#202a2566;backdrop-filter:blur(2px);padding:0;cursor:default}.category-shade[hidden]{display:none}@media(max-width:650px){.category-sheet{bottom:var(--category-nav-height,72px);max-height:calc(75dvh - var(--category-nav-height,72px));padding:16px 18px 18px;border-bottom:1px solid #dde6df}.category-sheet .dialog-head{margin-bottom:12px}.category-sheet .dialog-head h2{font-size:18px}.category-panel-item{padding:9px 12px}.category-shade{bottom:var(--category-nav-height,72px)}.mobile-bottom{z-index:8}}

.products{border-top:0;gap:12px}.product{border:1px solid #a3bcae;border-radius:9px}.product:hover{border-color:#638e74;box-shadow:0 2px 12px #12432e12}@media(max-width:650px){.products{gap:10px}}

.store-logo{display:flex;justify-content:center;padding:18px;background:#d6e8dc;border-radius:16px;margin-bottom:20px}.store-logo img{display:block;width:min(100%,380px);height:auto;object-fit:contain}@media(max-width:650px){.store-logo{padding:14px;border-radius:12px;margin-bottom:14px}.store-logo img{width:min(100%,320px)}}

.brand-color-filter{position:absolute;pointer-events:none;overflow:hidden}.store-logo img{filter:url(#forest-logo-color)}

#cart .cart-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px}#cart .cart-thumbnail{display:block;width:64px;height:64px;object-fit:contain;padding:4px;background:#fff;border:1px solid #dce5df;border-radius:8px}#cart .cart-no-image{display:grid;place-items:center;background:#edf5ef;color:#65726a;font-size:12px;text-align:center}#cart .cart-item-info{min-width:0;overflow-wrap:anywhere}#cart .quantity{flex-shrink:0}@media(max-width:420px){#cart .cart-item{grid-template-columns:56px minmax(0,1fr);gap:10px}#cart .cart-thumbnail{width:56px;height:56px}#cart .quantity{grid-column:2;justify-self:start}}

.cart-coupon{margin-top:20px;padding:0;border:0}.cart-coupon label{display:block;font-size:14px;margin-bottom:8px}.cart-coupon>div{display:flex;gap:8px}.cart-coupon input{min-width:0;flex:1;width:100%;border:1px solid #bdccc2;border-radius:8px;padding:10px;font-size:16px}.cart-coupon button{border:0;white-space:nowrap;padding:10px 14px}.cart-coupon p{font-size:14px;color:#65726a;margin:10px 0 0}.cart-page-link{display:block;text-align:center;border:1px solid #12432e;color:#12432e;border-radius:8px;padding:11px;margin-top:16px;font-size:14px}

/* Native WordPress and WooCommerce integration */
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.site-header{max-width:1440px}form.search button{border:0;background:none;color:#65726a;padding:0}form.search{margin:0}.nasri-count{background:#12432e;color:#fff;border-radius:6px;display:inline-grid;place-items:center;min-width:24px;margin-right:6px}
.admin-bar .header-wrap{top:32px}a.primary,button.primary{border:0}.product .photo img{object-fit:contain;background:white}.product-category{font-size:12px;color:#81858b}.product h3{font-size:15px;font-weight:bold;margin:8px 0}.product .price{font-size:17px}.product .add{font-size:14px;text-align:center}.product .added_to_cart{font-size:12px;color:#12432e;text-align:center}.products .product{min-width:0}.nasri-pagination{margin-top:24px}.nasri-pagination .page-numbers{display:inline-block;padding:6px 12px;border:1px solid #dce5df;border-radius:6px}.nasri-pagination .current{background:#12432e;color:white}.filters a{border:1px solid #e0e0e2;padding:7px 18px;border-radius:8px;font-size:14px}.filters a.active{background:#edf5ef;border-color:#12432e;color:#12432e}.category-shortcuts a{white-space:normal}.search-empty{padding:20px;text-align:center}.shop-toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#65726a}.shop-toolbar select{padding:8px;border:1px solid #dce5df;border-radius:8px;background:white}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#65726a;margin:0 0 25px}.woocommerce div.product{padding:24px;border-radius:16px;border:1px solid #dce5df}.woocommerce div.product .product_title{font-size:28px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#12432e}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#12432e;color:white;border-radius:8px;padding:12px 20px;font-weight:normal;line-height:1.7}.woocommerce a.button:hover,.woocommerce button.button:hover{background:#0d3323;color:white}.woocommerce .quantity input.qty{padding:10px 4px;min-height:48px;width:70px;border:1px solid #bdccc2;border-radius:8px}.woocommerce .quantity{display:inline-flex}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce input.input-text{padding:12px;border:1px solid #bdccc2;border-radius:8px;font:inherit}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:#dce5df;border-radius:12px}.woocommerce table.shop_table{border:1px solid #dce5df;border-radius:12px;border-collapse:separate}.woocommerce table.shop_table img{width:64px;height:64px;object-fit:contain}.woocommerce .cart-collaterals .cart_totals{padding:20px;border:1px solid #dce5df;border-radius:12px}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:#12432e;background:#edf5ef}.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:#12432e}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-color:#12432e}.woocommerce .related ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.woocommerce .related ul.products li.product{width:auto!important;margin:0!important;padding:15px}.woocommerce .related ul.products li.product img{height:170px;object-fit:contain}.woocommerce ul.products li.product .price{color:#12432e}.woocommerce-MyAccount-navigation{border:1px solid #dce5df;border-radius:12px;overflow:hidden}.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-MyAccount-navigation a{display:block;padding:12px 18px;border-bottom:1px solid #edf5ef}.woocommerce-MyAccount-navigation .is-active{background:#edf5ef;color:#12432e}.woocommerce-MyAccount-content{padding:24px;border:1px solid #dce5df;border-radius:12px}.woocommerce .woocommerce-mini-cart{list-style:none;padding:0;margin:0}.woocommerce .woocommerce-mini-cart li{padding:16px 0;border-bottom:1px solid #eee;min-height:80px}.woocommerce .woocommerce-mini-cart li a:not(.remove){display:block;font-size:14px;font-weight:bold}.woocommerce .woocommerce-mini-cart li img{width:64px;height:64px;object-fit:contain;float:right;margin:0 0 0 12px;border:1px solid #dce5df;border-radius:8px;padding:4px}.woocommerce .woocommerce-mini-cart li .quantity{font-size:13px;color:#65726a;margin-top:6px}.woocommerce a.remove{float:left;color:#12432e!important}.woocommerce .woocommerce-mini-cart__buttons{display:flex;gap:10px}.woocommerce .woocommerce-mini-cart__buttons a{flex:1;font-size:13px;text-align:center}.cart-coupon input{font:inherit}.nasri-page{padding:24px;border:1px solid #e0e0e2;border-radius:16px;min-height:350px;margin-bottom:25px}.nasri-page h1{font-size:28px}.nasri-unit{display:block;font-size:12px;color:#65726a}.store-logo img{max-width:380px}.woocommerce-store-notice{display:none}.wc-block-components-button:not(.is-link){background:#12432e;color:white;border-radius:8px}.wc-block-components-text-input input{border-color:#bdccc2!important;border-radius:8px!important}.wc-block-components-product-image img{object-fit:contain}.wc-block-cart,.wc-block-checkout{font-family:Tahoma,Arial,sans-serif}.wc-block-components-order-summary-item__image img{object-fit:contain}
@media(max-width:782px){.admin-bar .header-wrap{top:46px}.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{width:100%!important;float:none!important;margin-bottom:20px}.woocommerce .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.nasri-page{padding:18px 12px}.woocommerce div.product{padding:16px}.woocommerce div.product .product_title{font-size:23px}.woocommerce .woocommerce-mini-cart__buttons{flex-direction:column}.woocommerce .woocommerce-mini-cart li img{width:56px;height:56px}.shop-toolbar{font-size:12px}.filters a{font-size:12px;padding:6px 10px}.nasri-count{font-size:10px}.store-logo img{max-width:320px}.product .price{font-size:14px}}

/* Mobile category sheet alignment and compact close control */
#categoryPanel{max-width:none;box-sizing:border-box;}
#categoryPanel .dialog-head{gap:12px;min-height:44px;padding-bottom:10px;}
#categoryPanel .dialog-head h2{margin:0;flex:1;}
#categoryPanel .dialog-head button{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;padding:0;margin:0;border:0;border-radius:8px;background:#edf5ef;color:#12432e;font-size:26px;line-height:1;outline:none;appearance:none;-webkit-appearance:none;}
#categoryPanel .dialog-head button:focus-visible{box-shadow:inset 0 0 0 2px #638e74;outline:none;}
@media(max-width:650px){#categoryPanel{position:fixed;inset:auto 0 var(--category-nav-height,72px) 0;width:100%;max-width:100%;min-width:0;margin:0;padding:16px 18px 18px;border-radius:18px 18px 0 0;max-height:calc(80dvh - var(--category-nav-height,72px));overflow-x:hidden;}#categoryPanel .dialog-head h2{font-size:18px;}#categoryPanel .category-panel-item{width:100%;min-width:0;}}

/* Consistent compact dialog close buttons */
dialog .dialog-head{gap:12px;min-height:44px;padding-bottom:10px;}
dialog .dialog-head h2{margin:0;flex:1;}
dialog .dialog-head button[data-close]{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;padding:0;margin:0;border:0;border-radius:8px;background:#edf5ef;color:#12432e;font-size:26px;line-height:1;outline:none;appearance:none;-webkit-appearance:none;}
dialog .dialog-head button[data-close]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #638e74;}

/* Compact product-card add to cart button */
.products .nasri-card .add{min-height:36px;padding:6px 5px;font-size:12px;line-height:1.5;gap:4px;white-space:nowrap;border-radius:7px;}
@media(max-width:650px){.products .nasri-card .add{min-height:34px;padding:6px 2px;font-size:10px;line-height:1.4;letter-spacing:0;}}

/* Compact mobile storefront and explicit selling units */
.nasri-price-unit{display:inline-block;font-size:12px;font-weight:normal;color:#65726a;margin-inline-start:5px;white-space:nowrap}.woocommerce div.product p.price .nasri-price-unit{font-size:14px}
@media(max-width:650px){
 .store-logo{padding:6px;margin-bottom:10px}.store-logo img{width:140px;max-width:140px}
 .hero{min-height:0;grid-template-columns:1.15fr 1fr}.hero-copy{padding:12px 14px}.hero h1{font-size:21px;line-height:1.5;margin:5px 0}.hero .eyebrow{font-size:11px}.hero p{font-size:11px;margin:5px 0 10px}.hero .primary{padding:7px 10px;font-size:11px}.hero-image{min-height:0;height:170px}.hero-image img{height:100%;max-height:170px}
 .category-shortcuts{padding:16px 0}.category-shortcuts img,.all-categories{width:48px;height:48px}.catalog-banner{padding:12px 14px;margin:0 0 14px}.catalog-banner strong{font-size:15px}.catalog-banner span{font-size:11px}.catalog-banner a{padding:6px 9px;font-size:11px}.nasri-price-unit{font-size:11px}
}
@media(max-width:350px){.hero{grid-template-columns:1fr}}

/* Compact storefront introduction. */
.store-logo{padding:8px;margin-bottom:12px}.store-logo img{width:110px;max-width:110px}
.hero{min-height:0}.hero-copy{padding:16px 28px}.hero h1{font-size:27px;line-height:1.4;margin:4px 0}.hero p{margin:4px 0 10px;font-size:13px}.hero-image{min-height:0;height:180px}.hero-image img{height:180px;max-height:180px}.hero .primary{padding:7px 16px}
.category-shortcuts{gap:48px;padding:16px 0}.category-shortcuts img,.all-categories{width:62px;height:62px}
@media(max-width:650px){.store-logo{padding:5px;margin-bottom:8px}.store-logo img{width:80px;max-width:80px}.hero-copy{padding:10px 12px}.hero h1{font-size:18px;line-height:1.4}.hero p{font-size:11px;margin:3px 0 7px}.hero-image,.hero-image img{height:130px;max-height:130px}.hero .primary{padding:6px 10px;font-size:11px}.category-shortcuts{gap:6px;padding:12px 0}.category-shortcuts a{flex:1;min-width:0;width:auto;font-size:10px;line-height:1.5}.category-shortcuts img,.all-categories{width:44px;height:44px}}
