/* V30.17.144 — Home universal, navegação por público e correções mobile públicas */

/* Home: categorias alinhadas aos presets reais do sistema */
.home-category-explorer{margin:34px 17% 70px;padding:0}
.home-category-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:18px}
.home-category-heading h2{font-size:30px;line-height:1.05;margin:5px 0 6px;color:#101828;letter-spacing:-.03em}
.home-category-heading p{margin:0;color:#667085;font-size:14px}
.home-category-heading>a{display:inline-flex;align-items:center;gap:8px;color:#101828;text-decoration:none;font-weight:900;font-size:13px;white-space:nowrap}
.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-category-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;padding:16px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;text-decoration:none;color:#101828;transition:.2s ease;box-shadow:0 8px 24px rgba(15,23,42,.025)}
.home-category-card:hover{border-color:#f4b400;transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.07)}
.home-category-icon{width:46px;height:46px;border-radius:14px;background:#111827;color:#ffbd00;display:grid;place-items:center;font-size:17px}
.home-category-card strong,.home-category-card small{display:block;min-width:0}
.home-category-card strong{font-size:14px;line-height:1.25}
.home-category-card small{font-size:11px;color:#667085;margin-top:3px;line-height:1.35}
.home-category-card>i{font-size:12px;color:#98a2b3}
.home-all-categories{margin-top:14px;border:1px solid #e4e7ec;border-radius:16px;background:#fbfcfd;overflow:hidden}
.home-all-categories summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 16px;cursor:pointer;font-size:12px;font-weight:900;color:#344054}
.home-all-categories summary::-webkit-details-marker{display:none}.home-all-categories summary span{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#111827;color:#ffbd00;display:inline-grid;place-items:center;font-size:10px}.home-all-categories summary i{font-size:9px;transition:.2s}.home-all-categories[open] summary i{transform:rotate(180deg)}
.home-category-grid-all{padding:0 14px 14px;grid-template-columns:repeat(4,minmax(0,1fr))}.home-category-card.compact{padding:12px}.home-category-card.compact .home-category-icon{width:38px;height:38px;border-radius:11px;font-size:14px}

/* Navegação: público no topo, organizador dentro de Serviços */
.category-more-menu{width:620px!important;grid-template-columns:1fr 1fr!important;gap:4px!important}.category-more-menu a{min-width:0}.organizer-services-menu{width:380px!important}
@media(min-width:901px){.category-more-menu{display:grid!important}}

/* Checkout de inscrição: sem estouro horizontal e mais compacto no celular */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body main.checkout-page{width:100%!important;max-width:100%!important;padding:14px 12px 110px!important;margin:0!important;box-sizing:border-box!important;overflow-x:hidden!important}
  body .checkout-page *{box-sizing:border-box}
  body .checkout-page .checkout-layout{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
  body .checkout-page .checkout-main-card,body .checkout-page .checkout-summary,body .checkout-page .checkout-summary-card,body .checkout-page .checkout-box{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
  body .checkout-page .checkout-main-card{padding:16px!important;border-radius:18px!important;overflow:hidden!important}
  body .checkout-page .ticket-destination-v26{width:100%!important;max-width:100%!important;margin:10px 0 12px!important;padding:12px!important;border-radius:16px!important}
  body .checkout-page .destination-title span{font-size:18px!important;line-height:1.2!important}body .checkout-page .destination-title small{display:none!important}
  body .checkout-page .destination-choice-grid,body .checkout-page .destination-choice-grid.has-dependent{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}
  body .checkout-page .destination-choice{min-width:0!important;width:100%!important}
  body .checkout-page .destination-choice-card{width:100%!important;min-width:0!important;min-height:86px!important;padding:10px!important;border-radius:14px!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:9px!important}
  body .checkout-page .destination-choice-card i{width:34px!important;height:34px!important;border-radius:10px!important;font-size:13px!important}
  body .checkout-page .destination-choice-card b{font-size:12px!important;line-height:1.18!important;overflow-wrap:anywhere}body .checkout-page .destination-choice-card small{font-size:9px!important;line-height:1.25!important;overflow-wrap:anywhere}
  body .checkout-page .destination-third-fields,body .checkout-page .destination-dependent-fields{width:100%!important;max-width:100%!important;padding:11px!important;margin-top:10px!important}
  body .checkout-page .registration-included-kit{width:100%!important;max-width:100%!important;margin:10px 0!important;padding:12px!important;border-radius:16px!important;overflow:hidden!important}
  body .checkout-page .registration-products-head{margin-bottom:8px!important}body .checkout-page .registration-products-head strong{font-size:16px!important}body .checkout-page .registration-products-head>i{font-size:16px!important}
  body .checkout-page .registration-included-list{width:100%!important;min-width:0!important}body .checkout-page .registration-included-item{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:56px minmax(0,1fr)!important;gap:9px!important;padding:9px!important;border-radius:13px!important}
  body .checkout-page .registration-included-photo{width:56px!important;height:56px!important;border-radius:10px!important}body .checkout-page .registration-included-copy{min-width:0!important}body .checkout-page .registration-included-copy strong{font-size:13px!important;line-height:1.25!important}body .checkout-page .registration-included-copy label{font-size:10px!important;margin-top:7px!important}body .checkout-page .registration-included-copy select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;font-size:16px!important;padding:7px 10px!important}
  body .checkout-page .checkout-add-actions{display:block!important;width:100%!important;margin-top:12px!important}body .checkout-page .checkout-add-actions button,body .checkout-page .registration-express-action button{width:100%!important;max-width:100%!important;min-height:52px!important;border-radius:14px!important;padding:12px 14px!important;font-size:14px!important}
  body .checkout-page .checkout-floating-cart{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;max-width:none!important}body .checkout-page .checkout-floating-cart-copy span{display:none!important}
  body:has(.checkout-page) .ceo-whatsapp-float{display:none!important}
}
@media(max-width:360px){body .checkout-page .destination-choice-grid,body .checkout-page .destination-choice-grid.has-dependent{grid-template-columns:1fr!important}body .checkout-page .destination-choice-card{min-height:66px!important}}

@media(max-width:1100px){
  .home-category-explorer{margin-left:7%;margin-right:7%}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category-grid-all{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .home-category-explorer{margin:24px 14px 46px}.home-category-heading{display:block}.home-category-heading h2{font-size:25px}.home-category-heading>a{margin-top:10px}.home-category-grid,.home-category-grid-all{grid-template-columns:1fr}.home-category-grid-all{padding:0 10px 10px}.home-category-card{padding:13px;border-radius:15px}.home-category-icon{width:42px;height:42px;border-radius:12px}.home-all-categories{margin-top:10px}.category-more-menu,.organizer-services-menu{width:min(92vw,380px)!important;grid-template-columns:1fr!important}
}
