/* Search popup and results page */
.mc-search-overlay,.mc-sx-page{--sx-green:#43993a;--sx-soft:#eaf5e9;--sx-navy:#1a2248;--sx-blue:#223479;--sx-muted:#64748b;--sx-line:#e2e8f0;font-family:"Hind Siliguri","Inter",system-ui,sans-serif}
.mc-search-overlay svg,.mc-sx-page .mc-sx-bar svg,.mc-sx-empty svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Search bar */
.mc-sx-form{display:block!important;width:100%;margin:0}
.mc-sx-form .mc-sx-bar{display:flex;align-items:center;gap:8px;padding:5px 5px 5px 14px;border:2px solid #43993a;border-radius:999px;background:#fff;box-shadow:0 6px 18px rgba(67,153,58,.14)}
.mc-sx-form .mc-sx-bar>svg{flex:0 0 20px;width:20px;height:20px;color:#43993a}
.mc-sx-form .mc-sx-bar input.mc-sx-input{flex:1 1 0;width:100%;min-width:0;height:40px;margin:0;padding:0!important;border:0!important;border-radius:0;outline:0!important;box-shadow:none!important;background:transparent!important;color:#1a2248;font:500 16px "Hind Siliguri",system-ui,sans-serif!important}
.mc-sx-form .mc-sx-bar button.mc-sx-submit{flex:0 0 auto;min-height:40px;margin:0;padding:6px 18px!important;border:0!important;border-radius:999px!important;background:#43993a!important;color:#fff!important;font:700 14px "Hind Siliguri",system-ui,sans-serif!important;box-shadow:none!important;cursor:pointer}

/* Popup */
.mc-search-overlay{padding:7vh 16px 24px;background:rgba(15,23,42,.6);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.mc-search-overlay .mc-search-dialog{width:min(680px,100%);max-height:84vh;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(15,23,42,.35);animation:mfSxIn .22s ease-out}
@keyframes mfSxIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.mc-search-overlay .mc-search-top{display:block;padding:14px 16px;border:0;border-bottom:1px solid var(--sx-line);background:linear-gradient(160deg,#eef8ec,#eef1fb)}
.mc-search-overlay .mc-sx-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.mc-search-overlay .mc-sx-head strong{color:var(--sx-navy);font-size:19px;font-weight:700}
.mc-search-overlay .mc-sx-head button.mc-search-close{display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0!important;border:1px solid #e2e8f0!important;border-radius:50%!important;background:#fff!important;color:#1a2248!important;font-size:24px;line-height:1;box-shadow:none!important}
.mc-search-overlay .mc-sx-form button.mc-image-search-trigger{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;margin:10px 0 0;padding:6px 12px!important;border:1px dashed #223479!important;border-radius:999px!important;background:#fff!important;color:#223479!important;font:600 14px "Hind Siliguri",system-ui,sans-serif!important;box-shadow:none!important;cursor:pointer}
.mc-search-overlay .mc-image-search-trigger svg{width:19px;height:19px}
.mc-search-overlay .mc-image-search-trigger span{font-size:14px}
.mc-search-overlay .mc-sx-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 20px}
.mc-search-overlay .mc-live-search-results{padding:0;overflow:visible}
.mc-search-overlay .has-results .mc-sx-cats{display:none}
.mc-search-overlay .mc-search-hint,.mc-search-overlay .mc-search-empty{margin:16px 0 0;padding:22px 16px;border-radius:16px;background:#f8fafc;color:var(--sx-muted);font-size:14.5px;text-align:center}
.mc-search-overlay .mc-search-group{margin:16px 0 0}
.mc-sx-cats h3,.mc-search-overlay .mc-search-group h3{margin:0 0 10px;color:var(--sx-blue);font:700 15px/1.5 "Hind Siliguri",system-ui,sans-serif;letter-spacing:0;text-transform:none}
.mc-sx-cats{margin:16px 0 0}
.mc-sx-cats>div,.mc-search-overlay .mc-search-categories{display:flex;flex-wrap:wrap;gap:8px}
.mc-sx-cats a,.mc-search-overlay .mc-search-categories a{display:inline-flex;align-items:center;gap:8px;padding:6px 15px;border:1px solid #d5e9d2;border-radius:999px;background:#eaf5e9;color:#2f7a28;font-size:14px;font-weight:600;text-decoration:none}
.mc-search-overlay .mc-search-products{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mc-search-overlay .mc-search-product{display:flex;align-items:center;gap:11px;min-width:0;padding:8px;border:1px solid var(--sx-line);border-radius:15px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.mc-search-overlay .mc-search-product:hover,.mc-search-overlay .mc-search-product:focus-visible{border-color:var(--sx-green);box-shadow:0 6px 16px rgba(67,153,58,.16)}
.mc-search-overlay .mc-search-product>img{flex:0 0 66px;width:66px;height:78px;margin:0;border-radius:11px;object-fit:cover;object-position:top center}
.mc-search-overlay .mc-search-product-info{flex:1;gap:3px}
.mc-search-overlay .mc-search-product-info strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--sx-navy);font-size:14.5px;line-height:1.45}
.mc-search-overlay .mc-search-product-info>span{color:var(--sx-green);font-size:16px;font-weight:700}
.mc-search-overlay .mc-search-product-info ins{background:none;text-decoration:none}
.mc-search-overlay .mc-search-product-info del{margin-right:5px;color:#94a3b8;font-size:13px;font-weight:400}
.mc-search-overlay .mc-search-arrow{display:grid;place-items:center;flex:0 0 28px;height:28px;margin:0;border-radius:50%;background:var(--sx-soft);color:var(--sx-green);font-size:20px;line-height:1}
.mc-search-overlay .mc-search-all{margin-top:6px;padding:12px;border-radius:999px;background:var(--sx-green);color:#fff;font-size:15px;font-weight:700;text-decoration:none}

/* Results page */
.mc-sx-page{padding:0 0 110px;background:#f6f8fb}
.mc-sx-page .mc-sx-wrap{width:calc(100% - 24px);max-width:1120px;margin:0 auto}
.mc-sx-page .mc-sx-hero{padding:22px 0 24px;border-radius:0 0 26px 26px;background:linear-gradient(135deg,#223479,#1a2248 55%,#2f6f35);text-align:center}
.mc-sx-page .mc-sx-hero h1{margin:0 0 14px;color:#fff;font:700 21px/1.5 "Hind Siliguri",system-ui,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.mc-sx-page .mc-sx-hero h1 span{color:#a7e39b}
.mc-sx-page .mc-sx-hero .mc-sx-form{max-width:620px;margin:0 auto;text-align:left}
.mc-sx-page .mc-sx-count{margin:16px 0 0;color:var(--sx-muted);font-size:15px}
.mc-sx-page .mc-sx-count strong{color:var(--sx-green);font-size:18px}
.mc-sx-page .mc-sx-cats>div{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.mc-sx-page .mc-sx-cats a{flex:0 0 auto;background:#fff}
.mc-sx-page .mc-sx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0;padding:0;list-style:none}
.mc-sx-page .mc-sx-card{min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid var(--sx-line);border-radius:17px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.mc-sx-page .mc-sx-card>a{display:flex;flex-direction:column;height:100%;text-decoration:none}
.mc-sx-page .mc-sx-card__media{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:#f1f5f9}
.mc-sx-page .mc-sx-card__media img{display:block;width:100%;height:100%;margin:0;object-fit:cover;object-position:top center;transition:transform .3s}
.mc-sx-page .mc-sx-card:hover img{transform:scale(1.04)}
.mc-sx-page .mc-sx-card__badge{position:absolute;top:8px;left:8px;padding:2px 10px;border-radius:999px;background:#ee4444;color:#fff;font-size:12px;font-style:normal;font-weight:700}
.mc-sx-page .mc-sx-card__badge--out{background:#475569}
.mc-sx-page .mc-sx-card__body{display:flex;flex:1;flex-direction:column;gap:5px;padding:10px}
.mc-sx-page .mc-sx-card__body>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;color:var(--sx-navy);font-size:14.5px;line-height:1.45}
.mc-sx-page .mc-sx-card__price{color:var(--sx-green);font-size:18px;font-weight:700;line-height:1.4}
.mc-sx-page .mc-sx-card__price ins{background:none;text-decoration:none}
.mc-sx-page .mc-sx-card__price del{margin-right:6px;color:#94a3b8;font-size:13px;font-weight:400}
.mc-sx-page .mc-sx-card__button{margin-top:auto;padding:6px;border-radius:999px;background:var(--sx-green);color:#fff;font-size:13.5px;font-weight:700;text-align:center}
.mc-sx-page .mc-sx-pages{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:22px}
.mc-sx-page .mc-sx-pages .page-numbers{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--sx-line);border-radius:11px;background:#fff;color:var(--sx-navy);font-weight:700;text-decoration:none}
.mc-sx-page .mc-sx-pages .current{border-color:var(--sx-green);background:var(--sx-green);color:#fff}
.mc-sx-page .mc-sx-empty{margin-top:18px;padding:30px 18px;border:1px solid var(--sx-line);border-radius:20px;background:#fff;text-align:center}
.mc-sx-page .mc-sx-empty svg{width:62px;height:62px;padding:15px;border-radius:50%;background:var(--sx-soft);color:var(--sx-green)}
.mc-sx-page .mc-sx-empty h2,.mc-sx-page .mc-sx-title{margin:12px 0 4px;color:var(--sx-navy);font:700 19px/1.5 "Hind Siliguri",system-ui,sans-serif}
.mc-sx-page .mc-sx-empty p{margin:0 0 16px;color:var(--sx-muted)}
.mc-sx-page .mc-sx-empty a{display:inline-block;padding:9px 24px;border-radius:999px;background:var(--sx-green);color:#fff;font-weight:700;text-decoration:none}
.mc-sx-page .mc-sx-title{margin-top:24px}

@media(max-width:600px){
	.mc-search-overlay{padding:0}
	.mc-search-overlay .mc-search-dialog{width:100%;height:100%;height:100dvh;min-height:0;max-height:none;border-radius:0}
	.mc-search-overlay .mc-search-products{grid-template-columns:1fr}
	body.admin-bar .mc-search-overlay{top:46px}
	body.admin-bar .mc-search-overlay .mc-search-dialog{height:100%}
}
@media(min-width:700px){.mc-sx-page .mc-sx-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(min-width:1000px){.mc-sx-page .mc-sx-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
