.ysn-results{direction:rtl;padding:36px 0 64px;min-height:460px;color:inherit;background:#fff}
/* The Center theme uses yc-search for both its body and a hidden mobile header widget. */
body.ysn-center-results{display:block}
.ysn-results.ysn-layout-woodmart{grid-column:1/-1;width:100%;min-width:0}
.ysn-results .ysn-container{width:min(1240px,calc(100% - 32px));margin:auto}
.ysn-results .ysn-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.ysn-results .ysn-heading h1{font-size:clamp(20px,2.3vw,32px);line-height:1.8;margin:0}
.ysn-results .ysn-heading form{display:flex;gap:8px;min-width:min(100%,360px)}
.ysn-results .ysn-heading input{width:100%;min-width:0;border:1px solid #ddd;border-radius:10px;padding:10px 14px;background:#fff;color:#222}
.ysn-results .ysn-heading button,.ysn-results .ysc-results-pages a{border-radius:8px;padding:9px 16px;white-space:nowrap}
.ysn-results .ysn-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:start;margin:0!important;padding:0!important;list-style:none}
.ysn-results .ysn-entry{min-width:0;width:100%;margin:0;padding:0;float:none}
.ysn-results .ysn-entry--product>*,.ysn-results .ysn-entry--product .product{width:100%!important;max-width:100%;margin:0!important;float:none!important}
.ysn-results .ysn-entry--product>ul.products{display:block;list-style:none;padding:0}
.ysn-results .ysn-entry--product>ul.products:before,.ysn-results .ysn-entry--product>ul.products:after{display:none}
.ysn-results .ysn-entry--product>ul.products>li.product{width:100%;margin:0;float:none}
.ysn-results .ysn-entry--product .wd-col{padding:0}
.ysn-results.ysn-layout-newyadak .ysn-entry--product .product{border:1px solid #e8e8e8;border-radius:16px;overflow:hidden;background:#fff}
.ysn-results.ysn-layout-newyadak .ysn-entry--product img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.ysn-results.ysn-layout-newyadak .ysn-entry--product h3{font-size:16px;line-height:1.9;padding:16px;margin:0}
.ysn-results .ysn-article{margin:0;border:1px solid #e8e8e8;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 28px #00000008}
.ysn-results .ysn-article__image{display:block;position:relative;aspect-ratio:1;overflow:hidden;background:#f6f6f6}
.ysn-results .ysn-article__image img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.ysn-results .ysn-article__image span{position:absolute;right:12px;bottom:12px;background:#fff;color:#333;padding:3px 10px;border-radius:6px;font-size:12px}
.ysn-results .ysn-article__body{padding:16px}
.ysn-results .ysn-article__body h2{margin:0 0 12px;font-size:16px;line-height:1.9}
.ysn-results .ysn-article__body p{font-size:13px;line-height:2;color:#666;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 16px}
.ysn-results .ysn-article__more{display:block;text-align:center;border:1px solid #ddd;border-radius:8px;padding:8px;font-size:13px}
.ysn-results .ysc-results-pages{display:flex;justify-content:center;gap:14px;margin-top:32px}
.ysn-results .ysn-skeleton{height:330px;border-radius:16px;background:linear-gradient(100deg,#f5f5f5 20%,#fafafa 40%,#f5f5f5 60%);background-size:200% 100%;animation:ysn-pulse 1.5s infinite}
.ysn-preview-host{position:relative}
.ysn-header-search{direction:rtl;width:min(1240px,calc(100% - 32px));margin:16px auto}
.ysn-header-search form{display:flex;gap:8px}
.ysn-header-search input{width:100%;min-width:0;border:1px solid #ddd;border-radius:10px;padding:12px 16px;background:#fff;color:#222}
.ysn-header-search button{border-radius:10px;padding:10px 22px}
.ysn-preview{position:absolute;top:calc(100% + 8px);right:0;width:100%;z-index:9999;border:1px solid #eee;border-radius:12px;background:#fff;color:#333;box-shadow:0 10px 30px #0002;direction:rtl;padding:8px;text-align:right}
.ysn-preview[hidden]{display:none!important}
.ysn-preview ul{padding:0;margin:0;list-style:none}
.ysn-preview a{display:flex;align-items:center;gap:10px;padding:8px;color:inherit;text-decoration:none;line-height:1.7}
.ysn-preview a:focus,.ysn-preview a:hover{background:#f7f7f7;border-radius:8px}
.ysn-preview img{width:48px;height:48px;object-fit:contain;border-radius:6px}
.ysn-preview p{font-size:13px;line-height:1.8;padding:8px;margin:0}
@keyframes ysn-pulse{to{background-position:-200% 0}}
@media(max-width:1024px){.ysn-results .ysn-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:767px){.ysn-results{padding:24px 0 40px}.ysn-results .ysn-heading{display:block}.ysn-results .ysn-heading form{margin-top:16px;min-width:0}.ysn-results .ysn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ysn-results .ysn-article__body{padding:10px}.ysn-results .ysn-article__body h2{font-size:14px}.ysn-results .ysn-article__body p{font-size:12px;-webkit-line-clamp:2}.ysn-results .ysn-skeleton{height:240px}}
@media(prefers-reduced-motion:reduce){.ysn-results .ysn-skeleton{animation:none}}
