/* Default-theme homepage chooser: two visible rows with horizontal overflow. */
.mobile-home-category-dialog .mobile-home-category-dialog__header { position:relative; justify-content:center; }
.mobile-home-category-dialog__header > div { box-sizing:border-box; width:100%; padding:0 36px; text-align:center; }
.mobile-home-category-dialog .mobile-home-category-dialog__header button { position:absolute; right:20px; top:50%; margin:0; transform:translateY(-50%); }
.mobile-home-category-dialog__status:not([data-category-modal-error]) { position:absolute; width:1px; height:1px; min-height:0; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mobile-home-category-dialog { box-sizing:border-box; position:fixed; inset:0; width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:24px; border:0; background:transparent; color:#181818; overflow:hidden; overscroll-behavior:contain; }
.mobile-home-category-dialog::backdrop { background:rgb(13 15 18 / 68%); }
.mobile-home-category-dialog__panel { box-sizing:border-box; position:absolute; top:50%; left:50%; display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; width:min(calc(100% - 48px), 980px); max-height:78dvh; min-height:340px; transform:translate(-50%,-50%); overflow:hidden; border-radius:18px; background:#fff; box-shadow:0 24px 80px rgb(0 0 0 / 24%); }
.mobile-home-category-dialog__header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:22px 26px 12px; background:#fff; }
.mobile-home-category-dialog__header h2 { margin:0; color:#171717; font-size:22px; font-weight:650; line-height:1.25; }
.mobile-home-category-dialog__header p { margin:6px 0 0; color:#676767; font-size:14px; line-height:1.4; }
.mobile-home-category-dialog__header button { flex:0 0 40px; width:40px; height:40px; margin:-4px -6px 0 0; border:0; border-radius:50%; background:#f2f2f2; color:#222; font-size:28px; line-height:1; cursor:pointer; }
.mobile-home-category-dialog__status { min-height:18px; margin:0; padding:0 26px 8px; color:#666; font-size:12px; line-height:18px; }
.mobile-home-category-dialog__body { min-height:0; overflow:auto; overscroll-behavior:contain; padding:6px 26px 18px; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.mobile-home-category-grid { display:grid; width:max-content; grid-template-rows:repeat(2,max-content); grid-auto-flow:column; grid-auto-columns:150px; gap:20px 16px; }
.mobile-home-category-card { display:flex; min-width:0; flex-direction:column; align-items:center; gap:8px; color:#202020; text-align:center; text-decoration:none; }
.mobile-home-category-card img,.mobile-home-category-card__fallback { box-sizing:border-box; display:grid; width:116px; aspect-ratio:1; place-items:center; overflow:hidden; border-radius:50%; background:#f5f3f0; object-fit:cover; }
.mobile-home-category-card img[data-image-kind="logo"] { padding:16px; object-fit:contain; background:#fff; }
.mobile-home-category-card__fallback { padding:10px; color:#57514b; font-size:13px; line-height:1.25; overflow-wrap:anywhere; }
.mobile-home-category-card__name { max-width:100%; color:inherit; font-size:14px; font-weight:550; line-height:1.35; overflow-wrap:anywhere; }
.mobile-home-category-dialog__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:60px; padding:10px 26px 14px; border-top:1px solid #ece9e5; background:#fff; }
.mobile-home-category-dialog__footer a { color:#191919; font-size:14px; font-weight:650; text-underline-offset:3px; }
.mobile-home-category-dialog__footer button { border:0; background:transparent; color:#5a4533; font:inherit; text-decoration:underline; cursor:pointer; }
.mobile-home-category-dialog [hidden] { display:none!important; }
@media (max-width:767px) { .mobile-home-category-dialog { padding:18px; } .mobile-home-category-dialog__panel { width:min(calc(100% - 24px),560px); max-height:70dvh; min-height:250px; } .mobile-home-category-dialog__header { padding:20px 20px 12px; } .mobile-home-category-dialog__header h2 { font-size:20px; } .mobile-home-category-dialog__header p { font-size:13px; } .mobile-home-category-dialog__status { padding:0 20px 8px; } .mobile-home-category-dialog__body { padding:2px 16px 14px; overflow-x:auto; } .mobile-home-category-grid { grid-auto-columns:min(160px,calc((100vw - 88px)/3)); gap:12px 10px; } .mobile-home-category-card img,.mobile-home-category-card__fallback { width:min(100%,112px); } .mobile-home-category-dialog__footer { min-height:58px; padding:10px 20px 14px; } }
@media (max-width:380px) { .mobile-home-category-grid { grid-auto-columns:min(160px,calc((100vw - 80px)/3)); } }
@media (max-height:500px) and (min-width:500px) { .mobile-home-category-dialog { padding:12px; } .mobile-home-category-dialog__panel { max-height:calc(100dvh - 24px); min-height:0; } .mobile-home-category-dialog__header { padding:8px 14px 4px; } .mobile-home-category-dialog__header h2 { font-size:18px; } .mobile-home-category-dialog__header p { margin-top:2px; font-size:11px; } .mobile-home-category-dialog__header button { width:34px; height:34px; flex-basis:34px; } .mobile-home-category-dialog__status { min-height:14px; padding:0 14px 2px; font-size:11px; line-height:14px; } .mobile-home-category-dialog__body { padding:2px 12px 6px; } .mobile-home-category-grid { grid-auto-columns:min(160px,calc((100vw - 80px)/3)); gap:5px 8px; } .mobile-home-category-card { gap:3px; } .mobile-home-category-card img,.mobile-home-category-card__fallback { width:min(100%,56px); } .mobile-home-category-card__name { font-size:11px; line-height:1.15; } .mobile-home-category-dialog__footer { min-height:42px; padding:4px 14px 6px; } }
