.mall-page { background: var(--wm-color-canvas); }
.mall-page [hidden] { display: none !important; }
.mall-page button, .mall-page a, .mall-page select { -webkit-tap-highlight-color: transparent; }
.mall-scroll { padding: 0 10px 24px; }
.mall-cart-link { position: relative; display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; text-decoration: none; }
.mall-cart-link .b45-icon { width: 23px; height: 23px; }
.mall-cart-link b { position: absolute; top: 1px; right: 1px; display: flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0 4px; border-radius: 999px; background: var(--wm-color-live); color: white; font-size: 11px; font-weight: 500; line-height: 18px; }
.mall-search { display: flex; height: 38px; align-items: center; gap: 9px; margin: 0; padding: 0 13px; border-radius: 22px; background: var(--wm-color-disabled-bg); }
.mall-search > span { display: flex; flex: 0 0 18px; }
.mall-search .b45-icon { display: block; width: 18px; height: 18px; }
.mall-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--wm-color-ink); font-size: 13px; line-height: 20px; }
.mall-search input::placeholder { color: var(--wm-color-muted); opacity: 1; }
.mall-search input::-webkit-search-cancel-button { display: none; }
.mall-search button { display: flex; width: 23px; height: 28px; flex-shrink: 0; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; }
.mall-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.mall-filters label { position: relative; height: 32px; border: 1px solid var(--wm-color-line); border-radius: 8px; background: var(--wm-color-primary-wash); }
.mall-filters select { width: 100%; height: 100%; padding: 0 23px 0 9px; appearance: none; border: 0; outline-offset: 2px; background: transparent; color: var(--wm-color-ink); font-size: 12px; text-align: center; text-overflow: ellipsis; }
.mall-filters label > span { position: absolute; top: 9px; right: 9px; display: flex; pointer-events: none; }
.mall-filters .b45-icon { width: 12px; height: 12px; }
.mall-sort { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 50px; align-items: center; }
.mall-sort button { position: relative; display: flex; height: 38px; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: transparent; color: var(--wm-color-ink); font-size: 13px; line-height: 20px; }
.mall-sort button.is-active { color: var(--wm-color-action); font-weight: 700; }
.mall-sort button.is-active::after { position: absolute; bottom: 1px; left: calc(50% - 11px); width: 22px; height: 3px; border-radius: 3px; background: var(--wm-color-primary); content: ""; }
.mall-sort button:is([data-sort="sales"], [data-sort="price"]).is-active::after { bottom: -4px; }
.mall-sort .b45-icon { display: block; width: 14px; height: 14px; }
.mall-sort-direction { position: absolute; top: 25px; font-size: 10px; line-height: 12px; }
.mall-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mall-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--wm-color-line); border-radius: 10px; background: var(--wm-color-surface); color: var(--wm-color-ink); text-decoration: none; }
.mall-product-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mall-product-body { padding: 8px 9px; }
.mall-product-card h2 { margin: 0 0 3px; font-size: 13px; font-weight: 700; line-height: 18px; letter-spacing: -.025em; }
.mall-product-card p { margin: 0; color: var(--wm-color-muted); font-size: 11px; line-height: 16px; white-space: nowrap; }
.mall-product-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; margin-top: 4px; }
.mall-product-price { color: var(--wm-color-live); font-size: 22px; font-weight: 600; line-height: 27px; }
.mall-product-price small { margin-right: 2px; font-size: 14px; }
.mall-product-price-row > span:last-child { color: var(--wm-color-muted); font-size: 11px; white-space: nowrap; }
.mall-product-count { margin: 17px 0; color: var(--wm-color-muted); font-size: 11px; line-height: 18px; text-align: center; }
.mall-consult { display: flex; width: 100%; min-height: 50px; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--wm-color-line); border-radius: 12px; background: var(--wm-color-surface); color: var(--wm-color-action); font-size: 12px; }
.mall-consult > span { display: flex; }
.mall-consult > span:first-child .b45-icon { width: 23px; height: 23px; }
.mall-consult strong { flex: 1; color: var(--wm-color-ink); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.mall-consult > span:nth-last-child(2) { white-space: nowrap; }
.mall-consult > span:last-child .b45-icon { width: 12px; height: 12px; }
.mall-empty { padding: 84px 0 40px; text-align: center; }
.mall-empty-image { display: block; width: 125px; height: 112px; object-fit: contain; margin: 0 auto 24px; }
.mall-empty h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 24px; }
.mall-empty p { margin: 0; color: var(--wm-color-muted); font-size: 13px; line-height: 22px; }
.mall-empty-actions { display: flex; justify-content: center; gap: 9px; margin-top: 25px; }
.mall-empty-actions button { display: flex; min-width: 116px; min-height: 39px; align-items: center; justify-content: center; padding: 8px 17px; border: 1px solid var(--wm-color-primary); border-radius: 24px; background: transparent; color: var(--wm-color-action); font-size: 14px; font-weight: 600; }
.mall-empty-actions .is-primary { background: var(--wm-color-primary); color: white; }
@media (max-width: 350px) { .mall-product-body { padding-right: 7px; padding-left: 7px; } .mall-product-card p { font-size: 10px; } .mall-consult { gap: 7px; padding-right: 10px; padding-left: 10px; } }
