.galego-app { --galego-orange: #c45408; --galego-blue: #173574; background: #fff; color: #242424; }
.galego-app button, .galego-app input { font: inherit; }
.galego-app button { cursor: pointer; }
.galego-app button:focus-visible, .galego-app input:focus-visible { outline: 3px solid #176fc1; outline-offset: 3px; }
.galego-app [hidden] { display: none; }
.galego-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 86px; }
.galego-scroll::-webkit-scrollbar { display: none; }
.galego-header { padding: 42px 16px 0; }
.galego-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; margin-bottom: 14px; }
.galego-status > span:last-child { display: flex; gap: 5px; }
.galego-status svg { width: 14px; height: 14px; }
.galego-store { display: flex; align-items: center; gap: 10px; }
.galego-store > img { width: 54px; height: 54px; border: 1px solid #eee; border-radius: 16px; object-fit: contain; }
.galego-eyebrow { font-size: 8px; letter-spacing: 1px; color: var(--galego-orange); font-weight: 800; }
.galego-store h1 { margin: 4px 0; font-size: 19px; letter-spacing: -.7px; }
.galego-store p { font-size: 10px; color: #747474; margin: 0; }
.galego-store-note { display: flex; gap: 6px; align-items: center; font-size: 9px; color: #666; border-bottom: 1px solid #f0f0f0; padding: 12px 0; }
.galego-store-note svg { width: 13px; height: 13px; color: var(--galego-orange); }
.galego-discovery { position: sticky; top: 0; z-index: 3; padding: 12px 16px 0; background: #fff; }
.galego-search { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 10px; padding: 12px 10px; }
.galego-search svg { width: 17px; height: 17px; color: var(--galego-orange); flex-shrink: 0; }
.galego-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: #242424; font-size: 11px; }
.galego-categories { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.galego-categories button { flex-shrink: 0; padding: 15px 0 12px; font-size: 11px; color: #737373; background: #fff; border-bottom: 3px solid transparent; }
.galego-categories button[aria-pressed="true"] { color: var(--galego-orange); border-bottom-color: var(--galego-orange); font-weight: 800; }
.galego-hero { position: relative; display: flex; align-items: center; overflow: hidden; margin: 16px; border-radius: 14px; background: #fff0df; min-height: 140px; }
.galego-hero > div { position: relative; z-index: 1; padding: 14px 12px; width: 64%; }
.galego-hero > img { position: absolute; width: 49%; height: 100%; right: -15px; object-fit: cover; }
.galego-hero span { font-size: 7px; font-weight: 800; letter-spacing: .7px; color: #944405; }
.galego-hero h2 { font-size: 21px; line-height: 1.13; margin: 8px 0; letter-spacing: -.8px; color: #4c290f; }
.galego-hero p { font-size: 9px; line-height: 1.5; color: #84512f; max-width: 130px; }
.galego-hero button { display: flex; align-items: center; gap: 5px; margin-top: 12px; padding: 7px 9px; border-radius: 6px; background: #fff; font-weight: 800; font-size: 9px; color: #974004; }
.galego-hero button svg { width: 12px; height: 12px; }
.galego-catalog-heading { display: flex; align-items: end; justify-content: space-between; margin: 22px 16px 8px; }
.galego-catalog-heading h2 { font-size: 19px; letter-spacing: -.6px; margin: 4px 0 0; }
#galego-count { font-size: 9px; color: #777; padding-bottom: 3px; }
.galego-group { padding: 0 16px; }
.galego-group h3 { font-size: 13px; color: var(--galego-blue); padding: 18px 0 5px; margin: 0; }
.galego-product { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; text-align: left; background: #fff; color: #242424; border-bottom: 1px solid #eee; padding: 16px 0; }
.galego-product:hover { background: #fffcf7; }
.galego-product-copy { display: grid; gap: 6px; }
.galego-product-name { font-size: 12px; font-weight: 700; line-height: 1.4; }
.galego-product-description { font-size: 10px; color: #777; line-height: 1.5; }
.galego-product-price { font-size: 13px; font-weight: 800; margin-top: 3px; }
.galego-product-price small { font-size: 9px; font-weight: 400; color: #666; }
.galego-product img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.galego-badge { justify-self: start; font-size: 8px; font-weight: 700; padding: 4px 6px; border-radius: 4px; color: #8c4808; background: #fff0dc; }
.galego-footnote { padding: 18px 24px 0; font-size: 9px; color: #777; text-align: center; line-height: 1.6; }
.galego-tabbar { position: absolute; inset: auto 0 0; height: 70px; background: #fff; border-top: 1px solid #eee; display: grid; grid-template-columns: repeat(3, 1fr); z-index: 5; padding: 8px 12px 14px; }
.galego-tabbar button { display: grid; justify-items: center; align-content: center; gap: 4px; background: #fff; color: #747474; font-size: 9px; }
.galego-tabbar svg { height: 20px; width: 20px; }
.galego-tabbar [aria-current="page"] { color: var(--galego-orange); font-weight: 800; }
.galego-empty { text-align: center; padding: 35px 20px; }
.galego-empty > svg { color: var(--galego-orange); }
.galego-empty h2 { font-size: 16px; margin: 12px 0; }
.galego-empty p { font-size: 12px; color: #666; line-height: 1.5; }
.galego-empty button { background: var(--galego-orange); color: #fff; border-radius: 8px; padding: 10px; margin-top: 12px; font-size: 11px; }
.galego-detail { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 0; border: 0; margin: 0; background: white; color: #242424; overflow-y: auto; z-index: 40; border-radius: inherit; }
.galego-detail::backdrop { background: #0009; }
.galego-detail > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.galego-close { position: absolute; top: 45px; left: 16px; background: white; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 2px 10px #0002; display: grid; place-items: center; color: #333; }
.galego-close svg { width: 20px; }
.galego-detail-copy { padding: 22px; }
.galego-detail-copy h2 { font-size: 24px; letter-spacing: -.6px; margin: 9px 0; }
.galego-detail-copy p { font-size: 13px; color: #777; line-height: 1.6; }
#galego-detail-price { display: block; font-size: 23px; margin: 20px 0; color: var(--galego-blue); }
.galego-detail-note { border-top: 1px solid #eee; padding-top: 16px; }
.galego-portfolio { border-top: 1px solid var(--line); padding-top: 70px; }
.galego-portfolio h2 span { color: #ffb34f; }
/* O mesmo catálogo pode ser usado dentro do portfólio ou em uma nova guia. */
.galego-simulator {
  display: block;
  width: min(100%, 366px);
  aspect-ratio: 9 / 18.65;
  border: 0;
  border-radius: 44px;
  box-shadow: 0 34px 95px rgba(0, 0, 0, .45);
}

.galego-embedded body {
  min-width: 0;
  min-height: 0;
  background: transparent;
}

.galego-embedded .simulator-shell {
  display: block;
  min-height: 0;
  padding: 0;
}

.galego-embedded .simulator-shell > a { display: none; }
.galego-embedded .galego-phone { width: 100%; }

@media (max-width: 640px) {
  .galego-simulator { width: min(100%, 340px); }
}
