@font-face{font-family:WCMS Search;src:url('../fonts/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:WCMS Search;src:url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600 700;font-display:swap}
.wcms-search-trigger{display:flex;direction:rtl;align-items:center;border:1px solid #ccc;border-radius:10px;padding:3px;max-width:100%;height:44px;background:#fff}
.wcms-search-trigger input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;height:36px;padding:0 10px;font:14px 'WCMS Search',sans-serif}
.wcms-search-trigger button{display:grid;place-items:center;border:0;border-radius:8px;background:#ae8d5e;color:#fff;width:36px;height:36px;padding:8px;flex-shrink:0}
.wcms-search-trigger svg{width:22px;height:22px}
html.wcms-search-open{overflow:hidden}
.wcms-search{--gold:#aa8350;--warm:#f5f1ec;box-sizing:border-box;width:min(880px,calc(100% - 40px));max-width:880px;position:fixed;inset:24px 0 auto;max-height:calc(100dvh - 48px);margin:0 auto;scrollbar-gutter:stable;overflow-anchor:none;padding:16px 18px;border:0;border-radius:18px;background:#fff;color:#171715;box-shadow:0 20px 65px #382a2526;font:15px/1.6 'WCMS Search',sans-serif;overflow:auto;overscroll-behavior:contain}
.wcms-search::backdrop{background:rgb(57 47 36 / 17%);backdrop-filter:blur(5px)}
.wcms-search *{box-sizing:border-box}
.wcms-search [hidden]{display:none!important}
.wcms-search button,.wcms-search input,.wcms-search a{font:inherit;letter-spacing:normal;text-transform:none}
.wcms-search button{cursor:pointer;border:0;box-shadow:none;margin:0;min-height:0;background:none;color:inherit;padding:0}
.wcms-search a{color:inherit;text-decoration:none}
.wcms-search svg{width:22px;height:22px;flex-shrink:0}
.wcms-search :focus-visible,.wcms-search-trigger :focus-visible{outline:2px solid #aa8350;outline-offset:3px}
.wcms-search-mobile-heading{display:none}
.wcms-search-form{display:flex;align-items:center;gap:12px;height:54px;border:1px solid #b8b7b5;border-radius:13px;padding:3px;margin:0}
.wcms-search .wcms-search-submit{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:10px;background:linear-gradient(115deg,#b59870,#ab8958);color:white}
.wcms-search-submit svg{width:26px;height:26px}
.wcms-search-form input{flex:1;min-width:0;height:44px;border:0!important;background:none!important;box-shadow:none!important;padding:0;font-size:20px;color:#171715;outline:none}
.wcms-search-form input::placeholder{font-size:14px;color:#888}
.wcms-search-form input::-webkit-search-cancel-button{display:none}
.wcms-search-form [data-clear]{display:grid;place-items:center;width:30px;flex-shrink:0;color:#555}
.wcms-search .wcms-search-escape{border-right:1px solid #aaa;padding:0 14px;margin-left:4px;line-height:25px}
.wcms-search-escape kbd{font:12px Arial,sans-serif;border:1px solid #aaa;border-radius:3px;padding:3px 6px;background:#fff;color:#444}
.wcms-search-tabs{display:flex;gap:8px;margin:12px 0 18px}
.wcms-search-tabs button{flex:1;min-width:0;padding:7px 5px;border-radius:14px;background:var(--warm);font-size:15px;line-height:26px}
.wcms-search-tabs button[aria-pressed=true]{color:#fff;background:linear-gradient(115deg,#b59870,#ab8958);font-weight:600}
.wcms-search-status{text-align:center;color:#777;padding:24px 0;margin:0;font-size:14px}
.wcms-search-results{display:block}
.wcms-search-section{min-width:0}
.wcms-search-products{grid-column:1/-1;padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid #dedddd}
.wcms-search-section-heading{display:flex;align-items:center;gap:14px;margin:0 0 12px;min-height:28px}
.wcms-search-section-heading h2{display:flex;align-items:center;gap:10px;white-space:nowrap;font:600 18px/1.5 'WCMS Search',sans-serif;margin:0;color:#141413}
.wcms-search-section-heading h2 svg{color:var(--gold)}
.wcms-search-rule{height:1px;background:#e3e2df;flex:1}
.wcms-search .wcms-search-more{display:flex;align-items:center;gap:5px;color:var(--gold);font-size:12px;font-weight:600;white-space:nowrap}
.wcms-search-more svg{width:17px;height:17px}
.wcms-search-grid{display:grid;gap:14px}
.wcms-search-products .wcms-search-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.wcms-search-card{display:block;min-width:0;text-align:center}
.wcms-search-picture{aspect-ratio:1/1;border-radius:12px;background:var(--warm);overflow:hidden;display:flex;align-items:center;justify-content:center}
.wcms-search-picture img{width:100%;height:100%;object-fit:contain;display:block;margin:0}
.wcms-search-copy h3{font:500 16px/1.65 'WCMS Search',sans-serif;margin:8px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#141413}
.wcms-search-subtitle{display:block;color:#666;font:13px/1.8 'WCMS Search',sans-serif;min-height:23px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wcms-search-price{margin-top:3px;color:var(--gold);font-size:14px;font-weight:600;min-height:25px}
.wcms-search-price del{opacity:.65;font-size:11px}.wcms-search-price ins{background:none;color:inherit;text-decoration:none}
.wcms-search-notes,.wcms-search-brands{padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #dedddd}
.wcms-search-notes .wcms-search-grid,.wcms-search-brands .wcms-search-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.wcms-search-notes .wcms-search-picture,.wcms-search-brands .wcms-search-picture{border-radius:50%;border:1px solid #ded9d2;padding:4px;background:white;width:100%;max-width:104px;margin:auto}
.wcms-search-notes img,.wcms-search-brands img{border-radius:50%;object-fit:cover}
.wcms-search-brands img{object-fit:contain}
.wcms-search-notes .wcms-search-copy h3,.wcms-search-brands .wcms-search-copy h3{font-size:14px;margin-top:4px}
.wcms-search-brands .wcms-search-subtitle{font-size:12px;min-height:0}
.wcms-search .wcms-search-all{position:relative;display:flex;align-items:center;justify-content:center;width:100%;margin-top:14px;padding:11px 36px;border-radius:10px;background:linear-gradient(110deg,#b99d76,#ab8958);color:white;font-weight:600;font-size:16px;min-height:50px}
.wcms-search-all svg{position:absolute;left:16px}
.wcms-search .wcms-search-load{display:block;margin:14px auto;padding:10px 20px;color:var(--gold);font-size:13px}
.wcms-search-load:disabled{cursor:wait}
@media(max-width:640px){
.wcms-search{width:100%;max-width:none;inset:0;height:100dvh;max-height:100dvh;margin:0;scrollbar-gutter:auto;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:0;box-shadow:none}
.wcms-search-mobile-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:19px}
.wcms-search-mobile-heading button{display:grid;place-items:center;width:30px;height:30px}
.wcms-search-form{height:44px;border-radius:11px;gap:8px}
.wcms-search .wcms-search-submit{width:36px;height:36px;border-radius:9px}
.wcms-search-submit svg{width:24px;height:24px}
.wcms-search-form input{font-size:18px;height:36px}
.wcms-search .wcms-search-escape{display:none}
.wcms-search-tabs{gap:6px;margin:12px 0 19px}
.wcms-search-tabs button{font-size:14px;padding:5px 4px;border-radius:11px}
.wcms-search-results{display:block}
.wcms-search-section-heading{gap:8px;margin-bottom:10px}
.wcms-search-section-heading h2{font-size:17px;gap:7px}
.wcms-search-section-heading h2 svg{width:23px;height:23px}
.wcms-search-rule{background:none}
.wcms-search .wcms-search-more{font-size:12px}
.wcms-search-products{padding-bottom:16px;margin-bottom:12px}
.wcms-search-products .wcms-search-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wcms-search-products .wcms-search-picture{aspect-ratio:0.92;border-radius:9px}
.wcms-search-copy h3{font-size:15px;margin-top:6px}
.wcms-search-subtitle{font-size:11px;min-height:20px}
.wcms-search-price{font-size:12px;overflow-wrap:anywhere}
.wcms-search-notes .wcms-search-grid,.wcms-search-brands .wcms-search-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wcms-search-notes .wcms-search-picture,.wcms-search-brands .wcms-search-picture{max-width:100px;padding:3px}
.wcms-search .wcms-search-all{font-size:16px;min-height:43px;padding:8px 32px;margin-top:9px}

}

.wcms-search-item{position:relative;min-width:0}
.wcms-search-wishlist{position:absolute;left:13px;top:12px;width:24px;height:24px;display:grid;place-items:center;color:#555!important}

.wcms-search-form input:focus-visible{outline:none}
.wcms-search-form:focus-within{border-color:#aa8350}
.wcms-search-products .wcms-search-picture img{mix-blend-mode:multiply}

/* Measure natural content independently of the animated desktop dialog height. */
.wcms-search-content{display:flow-root}
.wcms-search-submit{position:relative}
.wcms-search.is-loading .wcms-search-submit svg{visibility:hidden}
.wcms-search.is-loading .wcms-search-submit::after{content:"";position:absolute;width:21px;height:21px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:wcms-search-spin .7s linear infinite}
@keyframes wcms-search-spin{to{transform:rotate(360deg)}}
.wcms-search-results[data-category="all"] .wcms-search-section{border-bottom:0}
.wcms-search-results[data-category="all"] .wcms-search-rule{background:none}
.wcms-search-brands .wcms-search-picture{width:104px;height:104px;max-width:100%;border:0;border-radius:0;padding:0;background:transparent}
.wcms-search-brands .wcms-search-picture img{border-radius:0;object-fit:contain}
@media(max-width:640px){.wcms-search-brands .wcms-search-picture{width:88px;height:88px;padding:0}}
@media(prefers-reduced-motion:reduce){.wcms-search.is-loading .wcms-search-submit::after{animation:none;border-color:#ffffff55;border-top-color:#fff}}
