/* Phase A: accessible catalog and coupon navigation; keep home/chat isolated. */
#semper-home[hidden],#semper-route[hidden],#semper-catalog-view[hidden],
#semper-coupons-view[hidden],#semper-route button[hidden]{display:none!important}
.route-content{min-height:55vh;padding-top:34px;padding-bottom:90px}
.route-intro{margin:0 0 24px}
.route-intro h1{font-size:clamp(30px,4vw,46px);color:#123f75;line-height:1.12;margin:0 0 10px}
.route-intro p{color:#4c6785;line-height:1.55;margin:0}
.route-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;background:#fff;border:1px solid #dce8f8;padding:16px;border-radius:18px;margin-bottom:20px}
.route-filter{display:grid;gap:6px;flex:1 1 150px;min-width:0;color:#173d68;font-size:13px;font-weight:700}
.route-filter-wide{flex:2 1 250px}
.route-filter input,.route-filter select{min-width:0;width:100%;min-height:46px;border:1px solid #b4c9e3;border-radius:10px;background:#fff;color:#16395f;padding:10px 12px;font-size:16px}
.route-filter-button{min-height:46px;border:0;border-radius:10px;background:#0758b4;color:#fff;padding:10px 18px;font-size:15px;font-weight:800;cursor:pointer}
.route-filter-actions{display:grid;gap:7px;min-width:150px}
.route-clear-filters{display:inline-flex;align-items:center;justify-content:center;min-height:28px;color:#0751a1;font-size:13px;font-weight:800;text-decoration:none}
.route-clear-filters[hidden]{display:none!important}
.route-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:-7px 0 13px}
.route-active-filters:empty{display:none}
.route-filter-chip{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid #bad1eb;border-radius:999px;background:#eef5ff;color:#0751a1;font-size:13px;font-weight:800;text-decoration:none}
.route-status{min-height:26px;color:#345878;font-size:14px;margin:10px 0 14px}
.route-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:15px;align-items:stretch}
.route-card{background:#fff;color:#173d68;border:1px solid #d5e3f2;border-radius:16px;overflow:hidden;min-width:0}
.route-product-image{width:100%;height:180px;object-fit:contain;padding:12px;background:#f6f9fd;display:block}
.route-image-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:180px;padding:12px;background:linear-gradient(145deg,#edf4fc,#f8fbff);color:#7187a1;font-size:13px;font-weight:700}
.route-card-content{padding:18px;min-width:0}
.route-eyebrow{font-size:12px;font-weight:700;color:#536f91}
.route-card h2{font-size:17px;line-height:1.35;margin:6px 0 10px;overflow-wrap:anywhere;color:#163c6c}
.route-merchant,.route-description{color:#4c6785;font-size:13px;line-height:1.5;margin:7px 0}
.route-price,.route-coupon-value{display:block;font-size:18px;margin:12px 0;color:#17482f}
.route-coupon-card{border-top:4px solid #1c76c7}
.route-coupon-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}
.route-coupon-urgency{border-radius:999px;background:#fff1e5;color:#a14b00;padding:5px 8px;font-size:11px;font-weight:900;white-space:nowrap}
.route-coupon-code{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed #87afd7;background:#f3f8ff;border-radius:12px;padding:11px 12px;overflow-wrap:anywhere}
.route-coupon-code-value{display:grid;gap:3px;min-width:0}
.route-coupon-code-value span{font-size:11px;color:#53708e;text-transform:uppercase;font-weight:800}
.route-coupon-code-value strong{font-size:17px;letter-spacing:.04em;color:#123f75}
.route-copy-code{min-height:40px;border:1px solid #95b7da;border-radius:9px;background:#fff;color:#0751a1;padding:8px 12px;font-weight:850;cursor:pointer}
.route-coupon-auto{border-radius:11px;background:#edf8f2;color:#24603f;padding:11px 12px;font-size:13px;line-height:1.45}
.route-coupon-rules{border-top:1px solid #e1ebf5;margin-top:14px;padding-top:12px}
.route-coupon-rules summary{color:#0751a1;font-size:13px;font-weight:850;cursor:pointer}
.route-coupon-rules p{color:#4c6785;font-size:13px;line-height:1.55;white-space:pre-line}
.route-coupon-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:#607b96;font-size:12px;margin-top:13px}
.route-empty-kicker{display:block;color:#c5650d;font-weight:950;letter-spacing:.08em;margin-bottom:8px}
.route-empty-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.route-coupon-empty{text-align:left;background:linear-gradient(145deg,#fff,#f2f7fd)}
.route-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.route-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #b7cfe9;border-radius:10px;color:#0751a1;font-weight:800;font-size:13px;text-decoration:none}
.route-link-primary{background:#0758b4;border-color:#0758b4;color:#fff}
.route-empty{background:#fff;border:1px solid #d5e3f2;border-radius:17px;padding:28px;grid-column:1/-1;color:#173d68}
.route-empty h2{font-size:22px;color:#173d68}
.route-empty p{color:#4c6785;line-height:1.55}
.route-pagination{margin:24px auto 0;display:block;min-height:44px;border:1px solid #b7cfe9;border-radius:10px;background:#fff;color:#0751a1;padding:10px 18px;font-weight:800;cursor:pointer}
.route-card-skeleton{pointer-events:none}
.route-skeleton-image,.route-skeleton-line{display:block;background:linear-gradient(90deg,#edf2f8 25%,#f8fafc 50%,#edf2f8 75%);background-size:200% 100%;animation:route-skeleton 1.25s ease-in-out infinite}
.route-skeleton-image{height:180px}
.route-skeleton-line{height:13px;border-radius:999px;margin:8px 0;width:100%}
.route-skeleton-short{width:36%}
.route-skeleton-medium{width:72%}
.route-skeleton-price{height:20px;width:45%;margin-top:18px}
@keyframes route-skeleton{0%{background-position:200% 0}100%{background-position:-200% 0}}
.route-content a:focus-visible,.route-content button:focus-visible,.route-content input:focus-visible,.route-content select:focus-visible,.route-content summary:focus-visible{outline:3px solid #ffb153;outline-offset:3px}
.nav .links a[aria-current="page"]{background:#edf4ff;color:#0751a1}
.nav .links a:first-child:not([aria-current="page"]){background:transparent;color:#12365f}
@media(max-width:600px){
.route-content{padding:24px 16px calc(120px + env(safe-area-inset-bottom))}
.route-intro h1{font-size:30px;color:#fff}
.route-intro p,.route-status{color:#c4d8ef}
.route-filters{padding:14px;gap:12px}
.route-filter{flex-basis:100%}
.route-filter-actions{width:100%}
.route-filter-button{width:100%}
.route-clear-filters{min-height:40px}
.route-active-filters{margin-top:-6px}
.route-grid{grid-template-columns:1fr;gap:12px}
.route-product-image,.route-image-fallback,.route-skeleton-image{height:170px}
.route-card-content{padding:17px}
.route-card h2{font-size:17px}
.route-coupon-code{align-items:stretch;flex-direction:column}
.route-copy-code{width:100%}
.route-empty-actions{display:grid}
}
@media(prefers-reduced-motion:reduce){.route-content *{scroll-behavior:auto!important}.route-skeleton-image,.route-skeleton-line{animation:none}}

/* Exactly four primary actions, comfortably spaced on touch screens. */
@media(max-width:600px){
  .mobile-tabbar{gap:4px}
  .mobile-tabbar>a{min-width:0;min-height:56px;justify-content:center}
  .mobile-tabbar>.mobile-ai-tab{min-width:0}
}

/* SemperMKT icon in mobile assistant entry. */
.mobile-tabbar .mobile-ai-tab .icon-slot img{display:block;width:24px;height:24px;object-fit:contain;pointer-events:none}

/* Manaus usa o mesmo shell e a mesma navegação do catálogo Semper MKT. */
#semper-manaus-view[hidden]{display:none!important}
.manaus-route{color:#12365f}
.manaus-route-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr);align-items:center;gap:28px;background:linear-gradient(120deg,#0b3475,#0c4c9e 58%,#1881c9);border-radius:26px;padding:44px;color:#fff}
.manaus-route-kicker{font-size:12px;font-weight:900;letter-spacing:1px;color:#ffb35f}
.manaus-route-hero h1{font-size:clamp(33px,4.4vw,54px);letter-spacing:-.045em;line-height:1.08;margin:15px 0 18px;color:#fff}
.manaus-route-copy>p{font-size:16px;line-height:1.65;color:#deebfb;max-width:660px}
.manaus-route-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:24px}
.manaus-route-search label{display:grid;gap:7px;color:#fff;font-size:13px;font-weight:850}
.manaus-route-search input{width:100%;min-height:50px;border:1px solid #ffffff70;border-radius:12px;background:#fff;color:#12365f;padding:12px 14px;font-size:16px}
.manaus-route-search button{min-height:50px;border:0;border-radius:12px;background:#ff9b31;color:#17324f;padding:12px 17px;font-weight:900;cursor:pointer}
.manaus-route-hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:17px}
.manaus-route-hero-actions a{color:#fff;font-size:13px;font-weight:850;text-decoration:underline;text-underline-offset:4px}
.manaus-route-ai{background:#fff;color:#12365f;border-radius:20px;padding:25px;box-shadow:0 12px 30px #082d6230}
.manaus-route-ai-label{font-size:11px;letter-spacing:1px;font-weight:900;color:#c87520}
.manaus-route-ai h2{font-size:clamp(22px,2.2vw,28px);line-height:1.16;margin:13px 0;color:#123f75}
.manaus-route-ai p{font-size:14px;line-height:1.6;color:#536e8b;margin:0}
.manaus-route-ai .manaus-route-ai-cta{display:flex;margin-top:20px;min-height:48px;padding:13px 16px;border-radius:12px;background:#0758b4;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-weight:900;text-decoration:none}
.manaus-route-offers{margin:34px 0}
.manaus-route-section-kicker{display:block;color:#b65e0d;font-size:11px;font-weight:950;letter-spacing:.1em;margin-bottom:9px}
.manaus-route-categories{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.manaus-route-categories a{display:inline-flex;align-items:center;min-height:40px;border:1px solid #bad1eb;border-radius:999px;background:#fff;color:#0751a1;padding:8px 13px;font-size:13px;font-weight:850;text-decoration:none}
.manaus-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.manaus-product-card h3{font-size:16px;line-height:1.4;margin:7px 0 10px;color:#163c6c;overflow-wrap:anywhere}
.manaus-product-note{color:#607894;font-size:12px;line-height:1.5}
.manaus-route-fallback-link{display:inline-flex;color:#0751a1;font-weight:850;margin-top:12px}
.manaus-route-guidance{margin:30px 0}
.manaus-route-section-heading h2,.manaus-route-partners h2{font-size:clamp(24px,2.8vw,31px);letter-spacing:-.025em;color:#123f75;margin:0 0 9px}
.manaus-route-section-heading>p,.manaus-route-partners p{color:#536e8b;font-size:15px;line-height:1.6;margin:0}
.manaus-route-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.manaus-route-tips article{background:#fff;border:1px solid #dce8f8;border-radius:18px;padding:22px}
.manaus-route-tips article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e9f3ff;color:#0758b4;font-size:14px;font-weight:950;margin-bottom:13px}
.manaus-route-tips h3{font-size:17px;margin:0 0 8px;color:#123f75}
.manaus-route-tips p{font-size:14px;color:#536e8b;line-height:1.6;margin:0}
.manaus-route-faq{background:#fff;border:1px solid #dce8f8;border-radius:20px;padding:25px;margin:30px 0}
.manaus-route-faq details{border-top:1px solid #dce8f8;padding:16px 0}
.manaus-route-faq details:first-of-type{margin-top:14px}
.manaus-route-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#123f75;font-weight:850;cursor:pointer}
.manaus-route-faq summary::after{content:'+';color:#0758b4;font-size:22px;font-weight:500}
.manaus-route-faq details[open] summary::after{content:'−'}
.manaus-route-faq p{color:#536e8b;font-size:14px;line-height:1.6;margin:11px 0 0}
.manaus-route-partners{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;background:#eaf3ff;border:1px solid #d1e3fa;border-radius:20px;padding:26px}
.manaus-route-partner-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.manaus-route-partner-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #9dbde0;border-radius:11px;background:#fff;color:#0751a1;padding:11px 15px;font-size:13px;font-weight:900;text-decoration:none}
.manaus-route-partner-actions .manaus-route-partner-primary{background:#0758b4;border-color:#0758b4;color:#fff}
.manaus-route-disclosure{color:#4c6785;line-height:1.6;font-size:12px;margin-top:22px}
@media(max-width:1100px){.manaus-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.manaus-route-hero{grid-template-columns:minmax(0,1fr);padding:30px}.manaus-route-tips{grid-template-columns:1fr}.manaus-route-partners{grid-template-columns:1fr}.manaus-route-partner-actions{justify-content:flex-start}}
@media(max-width:600px){
  .manaus-route-hero{border-radius:20px;padding:24px 19px;gap:21px;background:linear-gradient(180deg,#0c3b79,#0b2a55)}
  .manaus-route-hero h1{font-size:clamp(31px,9vw,39px)}
  .manaus-route-copy>p{font-size:15px}
  .manaus-route-ai{background:#102d52;border:1px solid #31577f;color:#fff;box-shadow:none;padding:20px}
  .manaus-route-ai h2{color:#fff;font-size:23px}
  .manaus-route-ai p{color:#b9cee6}
  .manaus-route-search{grid-template-columns:1fr;margin-top:20px}
  .manaus-route-search button{width:100%}
  .manaus-route-hero-actions{display:grid;gap:11px}
  .manaus-route-ai .manaus-route-ai-cta{display:flex}
  .manaus-route-offers{margin:28px 0;padding:0 16px}
  .manaus-route-section-kicker{color:#ffad58}
  .manaus-route-categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}
  .manaus-route-categories::-webkit-scrollbar{display:none}
  .manaus-route-categories a{flex:0 0 auto;background:#102d52;border-color:#31577f;color:#eaf3ff}
  .manaus-products-grid{grid-template-columns:1fr}
  .manaus-product-card h3{color:#fff}
  .manaus-product-note{color:#b9cee6}
  .manaus-route-section-heading h2,.manaus-route-partners h2{color:#fff;font-size:25px}
  .manaus-route-section-heading>p,.manaus-route-partners p{color:#c4d8ef}
  .manaus-route-tips article{background:#0e2342;border-color:#244975}
  .manaus-route-tips h3{color:#fff}
  .manaus-route-tips p{color:#b9cee6}
  .manaus-route-faq{background:#0e2342;border-color:#244975;padding:21px;margin:28px 16px}
  .manaus-route-faq details{border-color:#244975}
  .manaus-route-faq summary{color:#fff}
  .manaus-route-faq p{color:#b9cee6}
  .manaus-route-partners{background:#102d52;border-color:#31577f;padding:21px;margin-left:16px;margin-right:16px}
  .manaus-route-partner-actions{display:grid}
  .manaus-route-partner-actions a{width:100%;background:#0e2342;border-color:#31577f;color:#eaf3ff}
  .manaus-route-partner-actions .manaus-route-partner-primary{background:#1261b8;border-color:#1261b8}
  .manaus-route-disclosure{color:#a8c2df}
}

