@font-face{font-family:KS Estedad;src:url("fonts/Estedad-VF.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{--ks-green:#21452a;--ks-deep:#173421;--ks-gold:#a96f14;--ks-page:#fbf7f0;--ks-line:#e4dac9;--ks-width:1440px}
.ks-shell{width:min(calc(100% - clamp(24px,6vw,96px)),var(--ks-width));margin-inline:auto}
.ks-site-header,.ks-site-footer{font-family:KS Estedad,Estedad,Tahoma,sans-serif;line-height:1.55;direction:rtl}
.ks-site-header *,.ks-site-footer *{box-sizing:border-box}
.ks-site-header a,.ks-site-footer a{text-decoration:none;color:inherit}
.ks-site-header button,.ks-site-header input,.ks-site-header summary{font:inherit}
.ks-site-header :is(a,button,input,summary):focus-visible,.ks-site-footer a:focus-visible{outline:2px solid #ac7727;outline-offset:3px}
.ks-site-header{position:relative;z-index:20;background:var(--ks-page);color:#182c1d;border-bottom:1px solid var(--ks-line)}
.ks-skip{position:fixed;inset:8px 8px auto auto;z-index:1000;background:#fff;color:#21452a;padding:.7rem;transform:translateY(-180%)}
.ks-skip:focus{transform:none}
.ks-top{background:var(--ks-deep);color:#fff9eb}
.ks-top-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;font-size:.73rem}
.ks-header-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(210px,530px) minmax(185px,1fr);align-items:center;gap:clamp(12px,3vw,48px);min-height:86px;padding-block:12px}
.ks-brand{display:inline-flex;align-items:center;gap:.45rem;color:var(--ks-green);min-width:0}
.ks-brand img{display:block;width:60px;height:53px;object-fit:contain;flex:none}
.ks-brand img.ks-brand-custom{width:82px}
.ks-brand strong,.ks-brand small{display:block}
.ks-brand strong{font-size:clamp(1.25rem,2.1vw,1.9rem);font-weight:900;line-height:1.25}
.ks-brand small{font-size:.72rem;font-weight:550;margin-top:.18rem}
.ks-search{display:grid;grid-template-columns:minmax(0,1fr) 48px;min-width:0;border:1px solid #d5c6af;border-radius:999px;background:#f4ede1}
.ks-search input{border:0;background:transparent;color:inherit;min-width:0;min-height:44px;padding:0 14px;border-radius:0;font-size:.84rem;box-shadow:none}
.ks-search button{display:grid;place-items:center;min-height:44px;padding:0;border:0;border-radius:999px 0 0 999px;background:var(--ks-gold);color:white;cursor:pointer}
.ks-site-header svg{width:22px;height:22px;flex:none}
.ks-actions{display:flex;justify-content:flex-end;align-items:center;gap:clamp(10px,2vw,25px)}
.ks-actions a{display:grid;justify-items:center;align-content:center;gap:.2rem;position:relative;min-height:44px;white-space:nowrap;font-size:.72rem}
.ks-count{position:absolute;inset:-1px auto auto 50%;background:var(--ks-gold);color:white;padding:0 .4em;border-radius:999px;font-size:.72rem}
.ks-nav{display:flex;align-items:center;gap:clamp(14px,3vw,38px);padding-block:3px 10px}
.ks-nav-links{display:flex;align-items:center;gap:clamp(14px,3vw,44px);min-width:0;overflow:auto;scrollbar-width:none;white-space:nowrap}
.ks-nav-links a{font-size:.84rem;padding-block:7px;border-bottom:2px solid transparent}
.ks-nav-links a[aria-current],.ks-nav-links a:hover{color:var(--ks-green);border-color:#b58429}
.ks-menu{position:relative;flex:none}
.ks-menu summary{list-style:none;display:flex;align-items:center;gap:.5rem;padding:.54rem .95rem;border-radius:12px;background:var(--ks-green);color:#fff;font-size:.84rem;cursor:pointer;white-space:nowrap}
.ks-menu summary::-webkit-details-marker{display:none}
.ks-menu summary svg{width:18px;height:18px}
.ks-menu ul{position:absolute;inset:calc(100% + 6px) 0 auto auto;display:grid;gap:2px;width:min(290px,calc(100vw - 28px));margin:0;padding:8px;list-style:none;background:#fffdf7;border:1px solid var(--ks-line);border-radius:14px;box-shadow:0 12px 30px #17342129;z-index:10}
.ks-menu:not([open]) ul{display:none}
.ks-menu a{display:block;padding:.43rem .62rem;border-radius:8px;font-size:.8rem}
.ks-menu a:is(:hover,[aria-current]){background:#e8eddf;color:var(--ks-green)}
.ks-site-footer{position:relative;isolation:isolate;margin-top:0;background:#183620;color:#fff9ed;font-size:clamp(.65rem,.93vw,.84rem)}
.ks-footer-wave{position:absolute;inset:0 0 auto;width:100%;height:clamp(12px,1.52vw,22px);fill:var(--ks-page);z-index:2;pointer-events:none}
.ks-footer-main{position:relative;background:linear-gradient(97deg,#21462a 0%,#1b3c23 36%,#18341f 100%)}
.ks-footer-photo{position:absolute;inset:0 auto 0 0;width:clamp(130px,18.1vw,270px);height:100%;object-fit:cover;object-position:left top;mask-image:linear-gradient(to right,#000 73%,transparent 100%);pointer-events:none}
.ks-footer-grid{position:relative;display:grid;grid-template-columns:1.28fr 1.08fr .88fr .89fr .82fr;gap:clamp(12px,2.4vw,36px);padding:clamp(27px,3.1vw,48px) 0 clamp(13px,1.3vw,26px);padding-inline-end:clamp(118px,15vw,230px);min-height:clamp(178px,18.9vw,290px)}
.ks-site-footer .ks-footer-grid > section{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
.ks-footer-grid h2{color:#fff9ed;font-size:1.05em;margin:0 0 .45rem;font-weight:800}
.ks-footer-grid .ks-brand{color:inherit;margin-top:-.6rem;margin-bottom:.6rem;gap:.24rem}
.ks-footer-grid .ks-brand img{display:block;max-height:clamp(39px,5.5vw,71px);width:clamp(40px,6.1vw,82px);height:auto}
.ks-footer-grid .ks-brand strong{white-space:nowrap;font-size:clamp(1rem,2.15vw,1.9rem)}
.ks-footer-grid .ks-brand small{font-size:.87em;color:#e8e4d1}
.ks-footer-grid p{line-height:1.8;max-width:37ch;margin:0}
.ks-footer-grid ul{list-style:none;display:grid;gap:.16rem;line-height:1.55;margin:0;padding:0;overflow-wrap:anywhere}
.ks-footer-grid a:hover{text-decoration:underline}
.ks-footer-contact .ks-brand{display:flex;align-items:center}.ks-footer-contact li a{display:flex;align-items:flex-start;gap:.45rem}
.ks-footer-contact li svg{width:1.05rem;height:1.05rem;color:#f0d894;flex:none}
.ks-footer-actions{display:flex;gap:clamp(7px,1.5vw,19px);margin-top:.65rem}
.ks-footer-actions a{width:clamp(23px,2.8vw,36px);height:clamp(23px,2.8vw,36px);display:grid;place-items:center;border-radius:50%;background:#b88a33;color:white}
.ks-footer-actions :is(svg,img){width:60%;height:60%;fill:none;stroke:currentColor;stroke-width:1.55}
.ks-footer-bar{border-top:1px solid #bdaa6e66;background:linear-gradient(92deg,#355639,#24472c 65%,#203f29)}
.ks-footer-bottom{position:relative;min-height:clamp(47px,5vw,77px);padding-block:7px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.ks-footer-bottom p{margin:0}
.ks-footer-tiles{align-self:flex-start;display:flex;margin-top:clamp(-25px,-1.35vw,-12px);padding:.3rem .44rem;border:1px solid #fff9ee;border-radius:clamp(10px,1.35vw,19px);background:#f4efe4;color:#21452a;box-shadow:0 3px 8px #11251338}
.ks-footer-tiles a{display:grid;justify-items:center;gap:.12rem;min-width:clamp(59px,7vw,105px);padding:.15rem .25rem;font-size:.86em;font-weight:700;text-align:center}
.ks-footer-tiles a+a{border-inline-start:1px solid #ded5c2}
.ks-footer-tiles svg{width:clamp(16px,2vw,26px);height:clamp(16px,2vw,26px)}
.ks-footer-bottom .mk-ft-credentials{display:flex;flex-wrap:wrap;gap:.5rem}
.ks-footer-bottom .mk-ft-credential{display:grid;justify-items:center}
.ks-footer-bottom .mk-ft-credential img{width:auto;height:32px;max-width:65px;object-fit:contain}
body.ks-inner :is(.shop-main,.site-wrap,.mk-main){width:min(calc(100% - clamp(24px,6vw,96px)),var(--ks-width));max-width:none;margin-inline:auto}
body.ks-inner{background-color:var(--ks-page)}
body.ks-auth-page .cl-shell{margin-inline:auto;min-height:min(760px,85vh)}
@media(max-width:850px){
.ks-top-inner{justify-content:center}
.ks-top-inner span:not(:first-child){display:none}
.ks-header-row{grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1rem;min-height:auto}
.ks-header-row .ks-brand img{width:40px;height:36px}
.ks-header-row .ks-brand small{display:none}
.ks-search{grid-column:1/-1;grid-row:2}
.ks-actions{grid-column:2;grid-row:1;gap:.7rem}
.ks-actions a{font-size:.65rem}
.ks-actions svg{width:19px;height:19px}
.ks-nav{gap:.65rem}
.ks-nav-links{gap:.85rem}
.ks-menu summary{font-size:.73rem;padding-inline:.65rem}
.ks-nav-links a{font-size:.73rem}
.ks-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem;padding-inline-end:0}
.ks-footer-photo{width:145px;height:145px;inset:auto auto 0 0;opacity:.38;mask-image:linear-gradient(to right,#000 40%,transparent 100%)}
.ks-footer-bottom{padding-block:.65rem}
.ks-footer-tiles{margin-top:0}
.ks-footer-grid .ks-brand{margin-top:0}
}
@media(max-width:420px){.ks-actions{gap:.46rem}.ks-actions a{font-size:.59rem}.ks-header-row{column-gap:.6rem}.ks-brand strong{font-size:1.15rem}.ks-footer-grid{font-size:.75rem}.ks-footer-grid h2{font-size:.84rem}}

.ks-order-page{min-height:100vh;display:flex;flex-direction:column}
.ks-order-content.shop-shell{flex:1;min-height:0}


/* Green and brass finishing for the shared footer. */
.ks-footer-main{background:radial-gradient(ellipse at 29% 92%,#34583255,transparent 58%),linear-gradient(103deg,#234729,#193b25 56%,#132e1d)}
.ks-footer-grid h2{color:#f4dfac;margin-bottom:.62rem}
.ks-footer-grid h2::after{content:'';display:block;width:24px;height:1px;background:#c4943b;margin-top:.35rem}
.ks-footer-grid ul a{color:#fff7e2;text-underline-offset:3px}
.ks-footer-actions a{background:linear-gradient(150deg,#d0a54b,#9d711d);border:1px solid #dab86a80;box-shadow:0 2px 6px #101e1366}
.ks-footer-actions a:hover{background:#d5a74c;color:#173421}
.ks-footer-photo{mask-image:linear-gradient(to right,#000 64%,#000b 85%,transparent 100%)}
.ks-footer-tiles{background:#fff7e8;border-color:#e4c990}
.ks-footer-bar{background:linear-gradient(100deg,#38583a,#284b31 60%,#203f29)}
@media(max-width:850px){.ks-footer-photo{mask-image:linear-gradient(to right,#000 45%,transparent 100%)}}

.ks-menu ul { max-height: min(65vh, 360px); overflow-y: auto; scrollbar-width: thin; }
@media(min-width:681px) { .ks-menu ul { width: min(370px,calc(100vw - 28px)); grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* v1.009: slim footer (3 columns) + clear Enamad seal. Desktop: seals as text links only. Mobile: «تماس با ما» button with the Enamad seal on its left. */
.ks-footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:clamp(16px,3vw,48px)}
.ks-site-footer .ks-footer-about{color:#e8e4d1;font-size:.95em;line-height:1.8;margin:0 0 .75rem;max-width:44ch;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ks-footer-grid ul{gap:.4rem}
.ks-footer-seals{display:flex;align-items:center;gap:.75rem}
.ks-footer-contact-btn{display:none}
.ks-site-footer .ks-footer-bottom .mk-ft-credentials{display:flex;flex:none;flex-wrap:wrap;gap:.4rem 1.1rem;justify-content:flex-start}
.ks-site-footer .ks-footer-bottom .mk-ft-credential{display:inline-flex;align-items:center;width:auto;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff7e2;font-size:.95em;font-weight:700;text-underline-offset:3px}
.ks-site-footer .ks-footer-bottom .mk-ft-credential:hover{background:none;color:#f4dfac;text-decoration:underline}
.ks-site-footer .ks-footer-bottom .mk-ft-credential-mark{display:none}
@media(max-width:767px){
.ks-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem 1.25rem}
.ks-footer-contact{grid-column:1/-1}
.ks-footer-grid ul{gap:0}
.ks-footer-grid ul a{display:inline-flex;align-items:center;min-height:40px}
.ks-footer-bottom{flex-direction:column;align-items:stretch;gap:.8rem;padding-block:1rem}
.ks-footer-bottom p{order:2;text-align:center;font-size:.9em;color:#e8e4d1}
.ks-footer-seals{order:1;justify-content:center;flex-wrap:nowrap;gap:.75rem}
.ks-site-footer .ks-footer-contact-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:52px;padding:.55rem 1.25rem;border:1px solid #e4c990;border-radius:14px;background:#fff7e8;color:#21452a;font-size:.95rem;font-weight:800;box-shadow:0 3px 8px #11251338}
.ks-footer-contact-btn svg{width:22px;height:22px}
.ks-site-footer .ks-footer-bottom .mk-ft-credentials{flex-wrap:nowrap;gap:.6rem}
.ks-site-footer .ks-footer-bottom .mk-ft-credential{display:inline-flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff7e2;font-size:.85rem;font-weight:800;text-decoration:none}
.ks-site-footer .ks-footer-bottom .mk-ft-credential-mark{display:block;width:auto;height:auto;padding:4px;border:1px solid #e4c990;border-radius:14px;background:#fff;box-shadow:0 3px 8px #11251338}
.ks-site-footer .ks-footer-bottom .mk-ft-credential img{display:block;width:auto;height:72px;max-width:96px;object-fit:contain;opacity:1;filter:none}
/* v1.010: برچسب «اینماد» زیر لوگو همیشه دیده می‌شود؛ اگر تصویر لود نشد، فقط برچسب به شکل دکمه می‌ماند. */
.ks-site-footer .ks-footer-bottom .mk-ft-credential:not(.mk-ft-enamad)>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ks-site-footer .ks-footer-bottom .mk-ft-enamad-label{display:block;line-height:1.4}
.ks-site-footer .ks-footer-bottom .mk-ft-enamad.is-broken .mk-ft-credential-mark{display:none}
.ks-site-footer .ks-footer-bottom .mk-ft-enamad.is-broken{justify-content:center;min-height:52px;padding:.55rem 1rem;border:1px solid #e4c990;border-radius:14px;background:#fff7e8;color:#21452a}
}
