:root {
  --cmx-pwa-navy: #052e5c;
  --cmx-pwa-blue: #0878e5;
  --cmx-pwa-yellow: #ffd500;
  --cmx-pwa-red: #e31b23;
  --cmx-pwa-favorite: #e53935;
  --cmx-pwa-ink: #082b58;
  --cmx-pwa-muted: #66758a;
  --cmx-pwa-bg: #f5f8fc;
  --cmx-pwa-card: #fff;
  --cmx-pwa-line: #e2eaf3;
  --cmx-pwa-shadow: 0 14px 36px rgba(5, 46, 92, .12);
  --cmx-pwa-bottom-nav-height: 66px;
  --cmx-pwa-bottom-nav-clearance: 40px;
}

html { scroll-behavior: smooth; }
body.cmx-pwa-app { margin: 0; background: var(--cmx-pwa-bg); color: var(--cmx-pwa-ink); font-family: Montserrat, Arial, sans-serif; overflow-x: hidden; }
body.cmx-pwa-bottom-nav-page { padding-bottom: calc(var(--cmx-pwa-bottom-nav-height) + var(--cmx-pwa-bottom-nav-clearance) + env(safe-area-inset-bottom)); }
body.cmx-pwa-menu-open { overflow: hidden; }
.cmx-pwa-app *, .cmx-pwa-app *::before, .cmx-pwa-app *::after { box-sizing: border-box; }
.cmx-pwa-app img { max-width: 100%; }
.cmx-pwa-app a { color: inherit; text-decoration: none; }
.cmx-pwa-app button, .cmx-pwa-app input { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.cmx-pwa-shell-header { position: sticky; z-index: 900; top: 0; width: 100%; padding: max(8px, env(safe-area-inset-top)) max(14px, calc((100vw - 1160px) / 2)) 8px; border-bottom: 1px solid rgba(5, 46, 92, .07); background: rgba(255, 255, 255, .97); box-shadow: 0 5px 18px rgba(5, 46, 92, .05); backdrop-filter: blur(16px); }
.cmx-pwa-header-row { height: 46px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 8px; }
.cmx-pwa-brand { justify-self: center; display: inline-flex; align-items: center; }
.cmx-pwa-brand img { display: block; width: 148px; height: 54px; object-fit: contain; }
.cmx-pwa-icon-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 13px; background: #f0f5fa; color: var(--cmx-pwa-navy); cursor: pointer; }
.cmx-pwa-icon-button:last-child { justify-self: end; }
.cmx-pwa-icon-button svg { width: 23px; height: 23px; fill: currentColor; }
.cmx-pwa-icon-button:hover { background: #e5eef7; }
.cmx-pwa-language { display: inline-flex; align-items: center; gap: 2px; color: #415976; font-size: 10px; font-weight: 900; white-space: nowrap; }
.cmx-pwa-language a { min-width: 27px; min-height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--cmx-pwa-navy); }
.cmx-pwa-language a:hover { background: #fff5bf; }
.cmx-pwa-language a[aria-current="true"] { background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); box-shadow: 0 4px 12px rgba(5, 46, 92, .11); }
.cmx-pwa-location { width: fit-content; min-height: 29px; display: flex; align-items: center; gap: 5px; margin: 1px auto 0; color: #355274; font-size: 12px; font-weight: 700; }
.cmx-pwa-location svg { width: 15px; height: 15px; fill: var(--cmx-pwa-blue); }
.cmx-pwa-location b { margin-top: -3px; font-size: 15px; }
.cmx-pwa-location-back { color: var(--cmx-pwa-blue); display: inline-flex; font-size: 14px; font-weight: 800; margin: 4px 0 12px; }
.cmx-pwa-location-center > h1 { color: var(--cmx-pwa-navy); font-size: 28px; margin: 0 0 16px; }

.cmx-pwa-frame { width: min(100%, 1180px); min-height: 100vh; margin: 0 auto; padding: 14px 14px calc(var(--cmx-pwa-bottom-nav-height) + var(--cmx-pwa-bottom-nav-clearance) + env(safe-area-inset-bottom)); }
.cmx-pwa-app .cmx-location-message { font-size: 12px; line-height: 1.4; }
.cmx-pwa-app .cmx-location-message.is-error { padding: 8px 10px; border: 1px solid #f0c5c8; border-radius: 10px; background: #fff5f5; color: #8f1d24; font-weight: 700; }
.cmx-pwa-main { display: grid; gap: 25px; }
.cmx-pwa-search { min-height: 50px; display: grid; grid-template-columns: 21px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 5px 4px 15px; border: 1px solid #e0e8f1; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(5, 46, 92, .07); }
.cmx-pwa-search:focus-within { border-color: var(--cmx-pwa-blue); box-shadow: 0 0 0 3px rgba(8, 120, 229, .14); }
.cmx-pwa-search > svg { width: 21px; height: 21px; fill: #718095; }
.cmx-pwa-search input { width: 100%; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; color: var(--cmx-pwa-ink); font-size: 14px; }
.cmx-pwa-search input::placeholder { color: #7b899a; opacity: 1; }
.cmx-pwa-search button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); font-weight: 900; cursor: pointer; }
.cmx-pwa-search button i { font-size: 12px; }

.cmx-pwa-hero { position: relative; min-height: 226px; overflow: hidden; border-radius: 23px; background: var(--cmx-pwa-navy); box-shadow: var(--cmx-pwa-shadow); isolation: isolate; }
.cmx-pwa-hero::after { content: ""; position: absolute; z-index: -1; right: -38px; bottom: -89px; width: 210px; height: 210px; border: 28px solid var(--cmx-pwa-yellow); border-radius: 50%; opacity: .96; }
.cmx-pwa-hero > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.cmx-pwa-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(3, 33, 67, .98) 0%, rgba(4, 40, 80, .9) 50%, rgba(5, 46, 92, .1) 100%); }
.cmx-pwa-hero-copy { width: 72%; min-height: 226px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 20px; color: #fff; }
.cmx-pwa-hero-copy > span, .cmx-pwa-eyebrow { color: var(--cmx-pwa-blue); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.cmx-pwa-hero-copy > span { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); letter-spacing: .08em; }
.cmx-pwa-hero-copy h1 { margin: 10px 0 7px; color: #fff; font-size: clamp(27px, 8vw, 46px); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.cmx-pwa-hero-copy p { max-width: 330px; margin: 0 0 15px; color: rgba(255, 255, 255, .91); font-size: 13px; font-weight: 600; line-height: 1.4; }
.cmx-pwa-hero-copy a, .cmx-pwa-tip-copy > a { min-height: 40px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border-radius: 11px; background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); font-size: 13px; font-weight: 900; }

.cmx-pwa-section { min-width: 0; }
.cmx-pwa-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.cmx-pwa-section-head h1, .cmx-pwa-section-head h2 { margin: 0; color: var(--cmx-pwa-ink); font-size: clamp(20px, 5.5vw, 29px); line-height: 1.15; letter-spacing: -.025em; }
.cmx-pwa-section-head > a { flex: none; padding-bottom: 2px; color: var(--cmx-pwa-blue); font-size: 12px; font-weight: 800; }
.cmx-pwa-section-head > a span { font-size: 18px; line-height: 10px; }
.cmx-pwa-categories { margin-top: -2px; }
.cmx-pwa-category-grid { display: grid; grid-auto-columns: clamp(82px, calc((100vw - 62px) / 4.2), 90px); grid-auto-flow: column; grid-template-columns: none; gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 1px 8px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cmx-pwa-category-grid::-webkit-scrollbar, .cmx-pwa-store-rail::-webkit-scrollbar { display: none; }
.cmx-pwa-category { box-sizing: border-box; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 9px 6px; border: 1px solid #dbe5f0; border-radius: 13px; background: #fff; box-shadow: 0 1px 2px rgba(5, 46, 92, .04); color: #052e5c; text-align: center; scroll-snap-align: start; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.cmx-pwa-category > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 0; background: transparent; color: #052e5c; }
.cmx-pwa-category .cmx-category-outline-icon { display: block; width: 26px; height: 26px; font-size: 26px; line-height: 26px; text-align: center; }
.cmx-pwa-category strong { display: flex; min-height: 28px; align-items: center; justify-content: center; color: #052e5c; font-size: 11px; font-weight: 700; line-height: 1.18; }
.cmx-pwa-category:hover { border-color: #adc3da; background: #f4f9ff; transform: translateY(-1px); }
.cmx-pwa-category:active { border-color: #7fa8d1; background: #edf6ff; transform: none; }
.cmx-pwa-category:focus-visible { outline: 3px solid var(--cmx-pwa-blue); outline-offset: 2px; }

.cmx-pwa-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.cmx-pwa-offer-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--cmx-pwa-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(5, 46, 92, .07); }
.cmx-pwa-offer-image { position: relative; height: 120px; display: block; overflow: hidden; background: #edf3f8; }
.cmx-pwa-offer-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmx-pwa-offer-image > b { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; border-radius: 7px; background: var(--cmx-pwa-red); color: #fff; font-size: 11px; }
.cmx-pwa-demo-badge { position: absolute; z-index: 2; top: 9px; left: 9px; display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid rgba(5, 46, 92, .12); border-radius: 999px; background: rgba(255, 213, 0, .96); color: var(--cmx-pwa-navy); font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 3px 10px rgba(5, 46, 92, .15); }
.cmx-pwa-offer-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--cmx-pwa-blue); font-size: 37px; }
.cmx-pwa-favorite, .cmx-pwa-store-favorite { position: absolute !important; z-index: 4; top: 9px; right: 9px; width: 38px !important; height: 38px !important; min-width: 38px !important; display: grid !important; place-items: center !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .96) !important; color: var(--cmx-pwa-favorite) !important; box-shadow: 0 4px 14px rgba(5, 46, 92, .2); cursor: pointer; }
.cmx-pwa-favorite span, .cmx-pwa-store-favorite span { font-size: 19px; }
.cmx-pwa-offer-copy { padding: 11px 12px 14px; }
.cmx-pwa-offer-copy > span { display: block; color: var(--cmx-pwa-blue); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.cmx-pwa-offer-copy h3 { margin: 4px 0 7px; color: var(--cmx-pwa-ink); font-size: 14px; line-height: 1.2; }
.cmx-pwa-offer-copy p, .cmx-pwa-offer-copy small { display: flex; align-items: center; gap: 5px; margin: 4px 0 0; color: var(--cmx-pwa-muted); font-size: 10px; line-height: 1.35; }
.cmx-pwa-demo-link { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0 10px; border-radius: 9px; background: #fff3ad; color: var(--cmx-pwa-navy); font-size: 10px; font-weight: 900; }
.cmx-pwa-demo-link i { font-size: 8px; }

.cmx-pwa-stores { scroll-margin-top: 110px; }
.cmx-pwa-store-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(225px, 74%); gap: 12px; overflow-x: auto; padding: 2px 2px 9px; scroll-snap-type: x proximity; scrollbar-width: none; }
.cmx-pwa-store-card { position: relative; overflow: hidden; border: 1px solid var(--cmx-pwa-line); border-radius: 19px; background: #fff; box-shadow: 0 9px 23px rgba(5, 46, 92, .08); scroll-snap-align: start; }
.cmx-pwa-store-cover { height: 122px; display: block; overflow: hidden; background: #dbeaf7; }
.cmx-pwa-store-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmx-pwa-store-summary { min-height: 80px; display: grid; grid-template-columns: 55px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 12px; }
.cmx-pwa-store-logo { width: 55px; height: 55px; display: grid; place-items: center; overflow: hidden; border: 3px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(5, 46, 92, .16); }
.cmx-pwa-store-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cmx-pwa-store-logo span { font-weight: 900; }
.cmx-pwa-store-summary h3 { margin: 0 0 5px; overflow: hidden; color: var(--cmx-pwa-ink); font-size: 14px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.cmx-pwa-store-summary p { margin: 0; overflow: hidden; color: var(--cmx-pwa-muted); font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }

.cmx-pwa-tip { display: grid; grid-template-columns: 42% minmax(0, 1fr); overflow: hidden; border-radius: 21px; background: linear-gradient(135deg, #edf6ff, #fff); box-shadow: 0 10px 30px rgba(5, 46, 92, .09); }
.cmx-pwa-tip-media { min-height: 190px; display: grid; place-items: center; overflow: hidden; background: var(--cmx-pwa-navy); color: var(--cmx-pwa-yellow); font-size: 50px; }
.cmx-pwa-tip-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmx-pwa-tip-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 18px; }
.cmx-pwa-tip-copy h2 { margin: 6px 0 7px; color: var(--cmx-pwa-ink); font-size: 18px; line-height: 1.15; letter-spacing: -.02em; }
.cmx-pwa-tip-copy p { margin: 0 0 13px; color: var(--cmx-pwa-muted); font-size: 11px; line-height: 1.45; }
.cmx-pwa-tip-copy > a { min-height: 36px; padding: 0 13px; font-size: 11px; }

.cmx-pwa-city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.cmx-pwa-city { position: relative; min-height: 115px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 17px; background: var(--cmx-pwa-navy); color: #fff; box-shadow: 0 7px 20px rgba(5, 46, 92, .12); }
.cmx-pwa-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 28, 57, .88), rgba(2, 28, 57, .08) 75%); }
.cmx-pwa-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmx-pwa-city > span { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; padding: 12px 10px; color: #fff; font-size: 12px; font-weight: 900; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.cmx-pwa-city small { margin-top: 2px; color: rgba(255, 255, 255, .78); font-size: 9px; font-weight: 600; }
.cmx-pwa-city > i { position: absolute; z-index: 1; right: 10px; bottom: 14px; font-size: 10px; }

.cmx-pwa-coming-soon { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid #dce8f3; border-radius: 17px; background: #fff; }
.cmx-pwa-coming-soon > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #fff5bf; color: var(--cmx-pwa-navy); }
.cmx-pwa-coming-soon strong { color: var(--cmx-pwa-ink); font-size: 13px; }
.cmx-pwa-coming-soon p { margin: 3px 0 0; color: var(--cmx-pwa-muted); font-size: 10px; line-height: 1.35; }

.cmx-pwa-search-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmx-pwa-search-links a { min-height: 68px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 10px; border: 1px solid var(--cmx-pwa-line); border-radius: 15px; background: #fff; }
.cmx-pwa-search-links a > i { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e8f3ff; color: var(--cmx-pwa-blue); }
.cmx-pwa-search-links strong { font-size: 12px; }
.cmx-pwa-search-links small { color: var(--cmx-pwa-muted); font-size: 10px; }
.cmx-pwa-search-empty { display: grid; justify-items: center; gap: 9px; padding: 28px 20px; border-radius: 18px; background: #fff; text-align: center; }
.cmx-pwa-search-empty > i { color: var(--cmx-pwa-blue); font-size: 28px; }
.cmx-pwa-search-empty a { color: var(--cmx-pwa-blue); font-size: 12px; font-weight: 800; }

.cmx-pwa-explore { min-width: 0; }
.cmx-pwa-explore-heading { margin: 0 0 14px; }
.cmx-pwa-explore-heading h1 { margin: 3px 0 0; color: var(--cmx-pwa-ink); font-size: clamp(25px, 7vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.cmx-pwa-tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 5px; border: 1px solid var(--cmx-pwa-line); border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(5, 46, 92, .07); }
.cmx-pwa-app .cmx-pwa-tablist button { position: relative; min-height: 47px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #52677f; font-size: 13px; font-weight: 800; cursor: pointer; }
.cmx-pwa-app .cmx-pwa-tablist button[aria-selected="true"] { background: var(--cmx-pwa-navy); color: #fff; box-shadow: 0 6px 16px rgba(5, 46, 92, .19); }
.cmx-pwa-app .cmx-pwa-tablist button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 22px; height: 3px; border-radius: 3px; background: var(--cmx-pwa-yellow); transform: translateX(-50%); }
.cmx-pwa-tabpanel { margin-top: 16px; }
.cmx-pwa-tabpanel[hidden] { display: none !important; }
.cmx-pwa-explore-empty { min-height: 285px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 22px; border: 1px solid var(--cmx-pwa-line); border-radius: 21px; background: linear-gradient(145deg, #fff, #eef6ff); text-align: center; box-shadow: 0 10px 28px rgba(5, 46, 92, .07); }
.cmx-pwa-explore-empty > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #fff3ad; color: var(--cmx-pwa-navy); font-size: 25px; }
.cmx-pwa-explore-empty h2 { margin: 17px 0 7px; color: var(--cmx-pwa-ink); font-size: 21px; line-height: 1.2; }
.cmx-pwa-explore-empty p { max-width: 390px; margin: 0 0 18px; color: var(--cmx-pwa-muted); font-size: 13px; line-height: 1.5; }
.cmx-pwa-app .cmx-pwa-explore-empty button { min-height: 43px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 0; border-radius: 12px; background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); font-size: 12px; font-weight: 900; cursor: pointer; }
.cmx-pwa-explore-store-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cmx-pwa-business-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--cmx-pwa-line); border-radius: 18px; background: #fff; box-shadow: 0 7px 20px rgba(5, 46, 92, .07); }
.cmx-pwa-business-card-link { min-height: 100px; display: grid; grid-template-columns: 68px minmax(0, 1fr) 24px; align-items: center; gap: 13px; padding: 14px 13px; color: var(--cmx-pwa-ink); }
.cmx-pwa-business-logo { width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dce7f2; border-radius: 15px; background: #fff; box-shadow: 0 4px 13px rgba(5, 46, 92, .1); }
.cmx-pwa-business-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.cmx-pwa-business-logo > span { color: var(--cmx-pwa-navy); font-size: 16px; font-weight: 900; }
.cmx-pwa-business-copy { min-width: 0; display: grid; gap: 6px; padding-right: 5px; }
.cmx-pwa-business-copy strong { overflow: hidden; color: var(--cmx-pwa-navy); font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.cmx-pwa-business-copy small { overflow: hidden; color: var(--cmx-pwa-muted); font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cmx-pwa-business-chevron { color: var(--cmx-pwa-blue); font-size: 29px; font-weight: 500; line-height: 1; text-align: right; }
.cmx-pwa-business-card .cmx-pwa-store-favorite { top: 7px !important; right: 7px !important; width: 32px !important; height: 32px !important; min-width: 32px !important; }
.cmx-pwa-business-card .cmx-pwa-store-favorite + .cmx-pwa-business-card-link, .cmx-pwa-business-card:has(.cmx-pwa-store-favorite) .cmx-pwa-business-copy { padding-right: 30px; }

.cmx-pwa-internal-screen { min-height: min(560px, calc(100vh - 220px)); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 22px; border: 1px solid var(--cmx-pwa-line); border-radius: 24px; background: linear-gradient(145deg, #fff, #edf6ff); box-shadow: 0 10px 28px rgba(5, 46, 92, .07); }
.cmx-pwa-internal-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 19px; background: #fff3ad; color: var(--cmx-pwa-navy); font-size: 25px; }
.cmx-pwa-internal-screen h1 { margin: 6px 0 9px; color: var(--cmx-pwa-navy); font-size: clamp(27px, 8vw, 38px); line-height: 1.1; }
.cmx-pwa-internal-screen > p { max-width: 560px; margin: 0 0 22px; color: var(--cmx-pwa-muted); font-size: 14px; line-height: 1.55; }
.cmx-pwa-internal-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border-radius: 13px; background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); font-size: 13px; font-weight: 900; }
.cmx-pwa-internal-action.is-secondary { margin-top: 14px; border: 1px solid #c8d9ea; background: #fff; color: var(--cmx-pwa-blue); }
.cmx-pwa-internal-feature { width: 100%; max-width: 680px; margin: 3px 0 8px; padding: 18px; border: 1px solid #dce8f3; border-radius: 17px; background: #fff; }
.cmx-pwa-internal-feature h2 { margin: 0 0 8px; color: var(--cmx-pwa-navy); font-size: 19px; line-height: 1.25; }
.cmx-pwa-internal-feature p { margin: 0 0 12px; color: var(--cmx-pwa-muted); font-size: 13px; line-height: 1.5; }
.cmx-pwa-internal-feature > a { color: var(--cmx-pwa-blue); font-size: 12px; font-weight: 900; }

.cmx-pwa-bottom-nav { position: fixed; z-index: 1000; left: 50%; bottom: 0; width: min(100%, 660px); min-height: calc(var(--cmx-pwa-bottom-nav-height) + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 5px 8px max(6px, env(safe-area-inset-bottom)); border: 1px solid var(--cmx-pwa-line); border-bottom: 0; border-radius: 20px 20px 0 0; background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 28px rgba(5, 46, 92, .12); transform: translateX(-50%); backdrop-filter: blur(16px); }
.cmx-pwa-bottom-nav a { min-width: 0; min-height: 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 13px; color: #65758a; font-size: 9px; font-weight: 800; }
.cmx-pwa-bottom-nav svg { width: 22px; height: 22px; fill: currentColor; }
.cmx-pwa-bottom-nav a[aria-current="page"] { background: #eaf4ff; color: var(--cmx-pwa-blue); }

.cmx-pwa-menu { position: fixed; z-index: 2000; inset: 0; display: grid; grid-template-columns: minmax(0, 310px) 1fr; }
.cmx-pwa-menu[hidden] { display: none; }
.cmx-pwa-menu-backdrop { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; border: 0; background: rgba(3, 29, 58, .62); backdrop-filter: blur(3px); }
.cmx-pwa-menu-panel { z-index: 1; grid-column: 1; grid-row: 1; width: min(86vw, 310px); height: 100%; padding: max(17px, env(safe-area-inset-top)) 17px 30px; background: #fff; box-shadow: 16px 0 38px rgba(5, 46, 92, .2); }
.cmx-pwa-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--cmx-pwa-line); }
.cmx-pwa-menu-head img { width: 145px; height: 58px; object-fit: contain; }
.cmx-pwa-menu-head button { width: 39px; height: 39px; border: 0; border-radius: 12px; background: #edf3f8; color: var(--cmx-pwa-navy); font-size: 27px; line-height: 1; }
.cmx-pwa-menu-language { min-height: 49px; justify-content: flex-end; margin-top: 16px; padding: 7px 10px; border: 1px solid var(--cmx-pwa-line); border-radius: 12px; background: #f7faff; }
.cmx-pwa-menu-language strong { margin-right: auto; color: var(--cmx-pwa-ink); font-size: 13px; }
.cmx-pwa-menu-links { display: grid; gap: 4px; padding-top: 16px; }
.cmx-pwa-menu-links a { min-height: 49px; display: grid; grid-template-columns: 31px 1fr; align-items: center; padding: 0 12px; border-radius: 12px; color: var(--cmx-pwa-ink); font-size: 13px; font-weight: 700; }
.cmx-pwa-menu-links a:first-child, .cmx-pwa-menu-links a:hover { background: #edf6ff; color: var(--cmx-pwa-blue); }
.cmx-pwa-menu-links i { font-size: 16px; text-align: center; }
.cmx-pwa-menu-links .cmx-pwa-menu-business { min-height: 53px; margin-top: 10px; border-top: 1px solid var(--cmx-pwa-line); border-radius: 0 0 12px 12px; background: #fff3ad; color: var(--cmx-pwa-navy); }
.cmx-pwa-menu-links .cmx-pwa-menu-business:hover { background: var(--cmx-pwa-yellow); color: var(--cmx-pwa-navy); }

.cmx-pwa-app a:focus-visible, .cmx-pwa-app button:focus-visible, .cmx-pwa-app input:focus-visible { outline: 3px solid var(--cmx-pwa-yellow); outline-offset: 3px; }

@media (max-width: 420px) {
  .cmx-pwa-search { grid-template-columns: 20px minmax(0, 1fr) 40px; }
  .cmx-pwa-search button { width: 40px; padding: 0; }
  .cmx-pwa-search button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .cmx-pwa-hero-copy { width: 76%; }
  .cmx-pwa-tip { grid-template-columns: 38% minmax(0, 1fr); }
  .cmx-pwa-tip-copy { padding: 17px 14px; }
  .cmx-pwa-tip-copy p { display: none; }
}

@media (min-width: 720px) {
  .cmx-pwa-shell-header { padding-inline: max(24px, calc((100vw - 1160px) / 2)); }
  .cmx-pwa-header-row { height: 55px; grid-template-columns: 46px minmax(0, 1fr) 46px; }
  .cmx-pwa-language { font-size: 11px; }
  .cmx-pwa-language a { min-width: 31px; min-height: 31px; }
  .cmx-pwa-brand img { width: 184px; height: 68px; }
  .cmx-pwa-location { margin-top: 5px; font-size: 13px; }
  .cmx-pwa-frame { padding: 22px 24px calc(var(--cmx-pwa-bottom-nav-height) + var(--cmx-pwa-bottom-nav-clearance) + env(safe-area-inset-bottom)); }
  .cmx-pwa-main { gap: 34px; }
  .cmx-pwa-hero { min-height: 330px; }
  .cmx-pwa-hero-copy { min-height: 330px; padding: 42px; }
  .cmx-pwa-category-grid { grid-auto-columns: 128px; gap: 14px; overflow-x: auto; }
  .cmx-pwa-category { min-height: 118px; }
  .cmx-pwa-category > span { width: 68px; height: 68px; font-size: 26px; }
  .cmx-pwa-category strong { max-width: 140px; font-size: 13px; }
  .cmx-pwa-offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cmx-pwa-offer-image { height: 165px; }
  .cmx-pwa-store-rail { grid-auto-flow: initial; grid-auto-columns: initial; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .cmx-pwa-store-cover { height: 145px; }
  .cmx-pwa-tip { grid-template-columns: 38% minmax(0, 1fr); }
  .cmx-pwa-tip-media { min-height: 255px; }
  .cmx-pwa-tip-copy { padding: 34px; }
  .cmx-pwa-tip-copy h2 { font-size: 27px; }
  .cmx-pwa-tip-copy p { font-size: 13px; }
  .cmx-pwa-city { min-height: 190px; }
  .cmx-pwa-city > span { padding: 18px; font-size: 18px; }
  .cmx-pwa-city > i { right: 18px; bottom: 24px; }
  .cmx-pwa-explore-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .cmx-pwa-shell-header { position: relative; }
  .cmx-pwa-brand img { width: 210px; height: 76px; }
  .cmx-pwa-frame { padding-top: 26px; }
  .cmx-pwa-hero-copy { width: 60%; }
  .cmx-pwa-explore-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cmx-pwa-app *, .cmx-pwa-app *::before, .cmx-pwa-app *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Keep the approved compact category-card geometry at every viewport. */
@media (min-width: 720px) {
  .cmx-pwa-category-grid { grid-auto-columns: 90px; gap: 10px; }
  .cmx-pwa-category { height: 100px; min-height: 100px; }
  .cmx-pwa-category > span { width: 28px; height: 28px; }
  .cmx-pwa-category strong { max-width: 78px; font-size: 11px; }
}

/* PWA 1.1 — scoped enhancements; commercial and parent theme styles stay intact. */
:root { --cmx-pwa-bg:#fff; --cmx-pwa-blue:#005eb8; --cmx-pwa-muted:#405775; --cmx-pwa-bottom-nav-height:72px; --cmx-pwa-banner-offset:0px; }
.cmx-pwa-frame { padding-bottom:calc(var(--cmx-pwa-bottom-nav-height) + var(--cmx-pwa-bottom-nav-clearance) + env(safe-area-inset-bottom) + var(--cmx-pwa-banner-offset)); }
body.cmx-pwa-bottom-nav-page { padding-bottom:calc(var(--cmx-pwa-bottom-nav-height) + var(--cmx-pwa-bottom-nav-clearance) + env(safe-area-inset-bottom) + var(--cmx-pwa-banner-offset)); }
.cmx-pwa-bottom-nav { bottom:var(--cmx-pwa-banner-offset); }
.cmx-pwa-bottom-nav a { min-height:56px; font-size:11px; line-height:1.2; color:#405775; text-align:center; }
.cmx-pwa-icon-button,.cmx-pwa-menu-head>button { min-width:44px; min-height:44px; }
.cmx-pwa-menu-panel:focus { outline:none; }
.cmx-pwa-menu a:focus-visible,.cmx-pwa-menu button:focus-visible,.cmx-pwa-bottom-nav a:focus-visible { outline:3px solid #005eb8; outline-offset:2px; }
.cmx-pwa-keyboard-open .cmx-pwa-bottom-nav { display:none; }
.cmx-pwa-control { box-sizing:border-box; max-width:1160px; margin:16px auto; padding:16px; border:1px solid #d0dfef; border-radius:14px; background:#f5f9ff; color:#052e5c; font:15px/1.5 Arial,sans-serif; }
.cmx-pwa-control[hidden],.cmx-pwa-control [hidden] { display:none!important; }
.cmx-pwa-control p { margin:0 0 10px; }
.cmx-pwa-control-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cmx-pwa-control button { min-height:44px; padding:10px 16px; border:1px solid transparent; border-radius:10px; background:#ffd500; color:#052e5c; font:700 14px/1.4 Arial,sans-serif; cursor:pointer; }
.cmx-pwa-control button.is-secondary { background:white; border-color:#9db4ca; }
.cmx-pwa-control button:disabled { opacity:.65; cursor:default; }
.cmx-pwa-control button:focus-visible { outline:3px solid #005eb8; outline-offset:3px; }
.cmx-pwa-control [data-cmx-pwa-ios-help] { margin-top:14px; max-width:620px; }
@media(max-width:680px) { .cmx-pwa-control { margin:12px 0; } .cmx-pwa-bottom-nav a { font-size:11px; } .cmx-pwa-shell-header { padding-left:max(14px,env(safe-area-inset-left)); padding-right:max(14px,env(safe-area-inset-right)); } }

/* Final phase-2 readability adjustment. Only the app category rail on mobile. */
@media (max-width: 680px) {
  .cmx-pwa-app .cmx-pwa-category-grid { grid-auto-columns:140px; gap:10px; }
  .cmx-pwa-app .cmx-pwa-category { height:auto; min-height:132px; justify-content:flex-start; gap:10px; padding:14px 8px; }
  .cmx-pwa-app .cmx-pwa-category strong { display:block; width:100%; min-height:54px; max-width:none; font-size:14px; line-height:1.3; font-weight:700; white-space:normal; overflow:visible; overflow-wrap:break-word; }
}
