/* MobiGo smart search overlay. Kept separate so product/home releases cannot drop it. */
body.mg-search-open{overflow:hidden}
.mg-smart-search[hidden]{display:none!important}
.mg-smart-search{position:fixed;z-index:1200;inset:0;display:grid;place-items:start center;padding:28px}
.mg-smart-search__backdrop{position:absolute;inset:0;border:0;background:rgba(11,38,50,.58);backdrop-filter:blur(12px);cursor:default}
.mg-smart-search__dialog{position:relative;width:min(1240px,100%);max-height:calc(100vh - 56px);overflow:hidden;display:flex;flex-direction:column;border:1px solid #d6e5e0;border-radius:34px;background:#f8fbf9;box-shadow:0 32px 90px rgba(10,35,46,.3)}
.mg-smart-search__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 28px;border-bottom:1px solid var(--mg-line);background:#fff}
.mg-smart-search__brand{font-size:30px}.mg-smart-search__form{height:60px;display:grid;grid-template-columns:24px minmax(0,1fr) 42px;align-items:center;gap:10px;padding:0 10px 0 20px;border:2px solid #cce4db;border-radius:19px;background:#fff}
.mg-smart-search__form:focus-within{border-color:#18b978;box-shadow:0 0 0 5px rgba(24,185,120,.1)}.mg-smart-search__form>i{color:#0aa35f}.mg-smart-search__form input{width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--mg-ink);font-size:18px;font-weight:650}
.mg-smart-search__clear,.mg-smart-search__close{border:0;cursor:pointer;color:var(--mg-ink)}.mg-smart-search__clear{width:40px;height:40px;border-radius:13px;background:#edf3f0}.mg-smart-search__close{height:48px;display:inline-flex;align-items:center;gap:10px;padding:0 14px;border-radius:15px;background:#fff;font-weight:800}.mg-smart-search__close i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#edf3f0}
.mg-smart-search__body{overflow:auto;overscroll-behavior:contain;padding:28px}.mg-smart-search__intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:25px}.mg-smart-search__intro h2{margin:7px 0 0;font-size:clamp(30px,3vw,48px);font-weight:850;letter-spacing:-.045em}.mg-smart-search__intro p{max-width:430px;margin:0;color:var(--mg-muted);font-size:15px;line-height:1.55}
.mg-smart-search__section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.mg-smart-search__section-title h3{margin:0;font-size:20px;font-weight:850}.mg-smart-search__section-title small{color:#7c9189;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mg-smart-search__quick{margin-bottom:25px}.mg-smart-search__chips{display:flex;flex-wrap:wrap;gap:9px}.mg-smart-search__chips button{min-height:40px;padding:0 16px;border:1px solid #d8e5e0;border-radius:999px;background:#fff;color:#345260;font-weight:750;cursor:pointer}.mg-smart-search__chips button:hover{border-color:#7edab7;background:#eaf9f2;color:#078c51}
.mg-smart-search__categories{margin-bottom:28px}.mg-smart-search__category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mg-smart-search__category-grid>a{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border:1px solid #dae7e2;border-radius:20px;background:#fff!important;color:var(--mg-ink)!important}.mg-smart-search__category-grid>a:nth-child(3n+1){background:#edf9f3!important}.mg-smart-search__category-grid>a:nth-child(3n+2){background:#eef6ff!important}.mg-smart-search__category-grid>a:nth-child(3n){background:#fff5e9!important}.mg-smart-search__category-grid span{display:flex;min-width:0;flex-direction:column}.mg-smart-search__category-grid small{color:#799088;font-size:9px;font-weight:850;letter-spacing:.1em}.mg-smart-search__category-grid strong{overflow:hidden;margin-top:5px;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.mg-smart-search__category-grid i{color:#0aa35f}
.mg-smart-search__product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mg-search-card{position:relative;min-width:0;display:grid;grid-template-rows:180px 1fr;overflow:hidden;border:1px solid #dae6e2;border-radius:22px;background:#fff;color:var(--mg-ink)!important}.mg-search-card__media{position:relative;display:grid;place-items:center;overflow:hidden;padding:14px;background:#f4f8f6}.mg-search-card__media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.mg-search-card__media em{position:absolute;top:12px;right:12px;padding:6px 9px;border-radius:999px;font-size:9px;font-style:normal;font-weight:850}.mg-search-card__media em.is-stock{background:#def8e9;color:#087e48}.mg-search-card__media em.is-order,.mg-search-card__media em.is-out{background:#fee8e8;color:#bd3737}.mg-search-card__media em.is-waiting{background:#fff3cf;color:#9a6500}.mg-search-card__media em.is-preorder{background:#e8f0ff;color:#285fc4}.mg-search-card__media em.is-custom{background:#f0e8ff;color:#6e42b8}
.mg-search-card__body{min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px 48px 17px 16px}.mg-search-card__body>strong{display:-webkit-box;overflow:hidden;min-height:43px;font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mg-search-card__price{display:flex;align-items:baseline;gap:8px;margin-top:auto;flex-wrap:wrap}.mg-search-card__price b{color:#079d58;font-size:19px}.mg-search-card__old{color:#a8b2ae;font-size:12px;text-decoration:line-through}.mg-search-card__arrow{position:absolute;right:15px;bottom:16px;width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#e8f8f1;color:#08a35d}
.mg-smart-search__empty{grid-column:1/-1;min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:30px;border:1px dashed #cbdcd6;border-radius:22px;background:#fff;color:#7b9189;text-align:center}.mg-smart-search__empty strong{color:var(--mg-ink);font-size:18px}.mg-smart-search__empty--compact{min-height:92px}.mg-search-skeleton{height:305px;border-radius:22px;background:linear-gradient(90deg,#eef4f1 25%,#f8fbf9 45%,#eef4f1 65%);background-size:300% 100%;animation:mgSearchLoading 1.1s infinite}@keyframes mgSearchLoading{0%{background-position:100% 0}100%{background-position:0 0}}
.mg-smart-search__all{min-height:58px;margin-top:18px;padding:0 23px;display:flex;align-items:center;justify-content:space-between;border-radius:18px;background:linear-gradient(120deg,#168fd3,#12bd72);color:#fff!important;font-size:15px;font-weight:850}
@media(max-width:900px){.mg-smart-search{padding:0;place-items:stretch}.mg-smart-search__dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.mg-smart-search__header{grid-template-columns:minmax(0,1fr) 48px;gap:9px;padding:12px 14px}.mg-smart-search__brand{display:none}.mg-smart-search__form{height:52px;padding-left:16px}.mg-smart-search__close{width:48px;padding:0;justify-content:center}.mg-smart-search__close span{display:none}.mg-smart-search__body{padding:19px 14px calc(105px + env(safe-area-inset-bottom))}.mg-smart-search__intro{display:block;margin-bottom:19px}.mg-smart-search__intro h2{font-size:29px}.mg-smart-search__intro p{margin-top:8px;font-size:13px}.mg-smart-search__chips{flex-wrap:nowrap;overflow-x:auto}.mg-smart-search__chips button{flex:0 0 auto}.mg-smart-search__category-grid,.mg-smart-search__product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mg-smart-search__category-grid>a{min-height:78px;padding:14px}.mg-search-card{grid-template-rows:145px minmax(125px,1fr);border-radius:18px}.mg-search-card__body{padding:13px}.mg-search-card__body>strong{min-height:58px;font-size:13px;-webkit-line-clamp:3}.mg-search-card__arrow{display:none}.mg-smart-search__all{position:sticky;bottom:0}}
@media(max-width:370px){.mg-smart-search__product-grid{grid-template-columns:1fr}}
