/* Mockup layout only. The step follows the WordPress "Choose Theme" step of the onboarding (OnboardingChooseTemplateModal):
   logo, centred h1 and subtitle, TagsSidebar with Back, the data-iterator sort and search, CatalogCard cards and the
   DataIteratorNoResultsContainer empty state. Values are those of the kit components (scoped there, restated here). */

body { background: var(--v-body-base); }
.go { position: relative; width: 100%; min-width: 0; min-height: 100vh; background: var(--v-body-base); color: var(--v-text-darken2); padding: 0 64px 64px; }
.go-close { position: fixed; top: 16px; right: 16px; z-index: 30; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--v-gray-darken1); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.go-close svg { width: 20px; height: 20px; }
.go-close:hover { background: var(--v-gray-lighten5); color: var(--v-text-darken2); }

/* top-info: logo, h1 (pt-8) and the subtitle, centred. */
.go-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; }
.go-top img { width: 200px; height: 44px; object-fit: contain; }
.go-top h1 { padding-top: 32px; margin: 0; }
.go-top span { margin-top: 4px; color: var(--v-text-base); }

.go-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---- TagsSidebar (pt-8, sticky at 24px): outlined Back, then the list. Items: semibold text-base, hover and active move 12px
   right; the active one is the white pill with elevation 4 (sticky-sidebar list). ---- */
.go-side { position: sticky; top: 24px; padding-top: 32px; display: flex; flex-direction: column; }
.go-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 300px; height: 44px; margin-bottom: 16px; border: 1px solid var(--v-gray-lighten2); border-radius: 4px; background: var(--v-white-base); font: inherit; font-size: 14px; font-weight: 700; color: var(--v-text-darken2); cursor: pointer; }
.go-back svg { width: 16px; height: 16px; color: var(--v-gray-darken1); }
.go-back:hover { border-color: var(--v-gray-lighten1); }
.go-tags { display: flex; flex-direction: column; max-height: calc(100vh - 140px); overflow: auto; padding: 4px 8px 16px 4px; margin: -4px -8px 0 -4px; scrollbar-width: thin; }
.go-tag { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px 0 0; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--v-text-base); text-align: left; cursor: pointer; transition: padding-left .3s ease, color .24s ease; }
.go-tag small { font-size: 13px; font-weight: 400; color: var(--v-gray-darken1); }
.go-tag:hover { padding-left: 12px; color: var(--v-primary-base); }
.go-tag[aria-current="true"] { padding-left: 12px; background: var(--v-white-base); color: var(--v-primary-darken1); font-weight: 700; box-shadow: 0px 8px 24px 6px var(--shadowColor4), 0px 0px 1px 0px var(--shadowColor5); }
.go-tag:focus-visible { outline: 2px solid var(--v-primary-base); outline-offset: -2px; }
.go-tags hr { width: 100%; border: 0; border-top: 1px solid var(--v-gray-lighten2); margin: 8px 0; }

/* ---- sticky-filters: the count on the left, sort and search on the right (DataIteratorFilterControls). ---- */
.go-filters { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px 0 16px; background: var(--v-body-base); }
.go-count { font-size: 14px; line-height: 20px; color: var(--v-gray-darken1); }
.go-count b { color: var(--v-text-darken2); }
.go-controls { display: flex; gap: 16px; margin-left: auto; }
.go-sort { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--v-gray-lighten2); border-radius: 4px; background: var(--v-white-base); font-size: 14px; color: var(--v-text-darken2); white-space: nowrap; }
.go-sort > svg:first-child { width: 14px; height: 14px; color: var(--v-gray-darken1); }
.go-sort > svg.go-chev { position: absolute; right: 10px; width: 18px; height: 18px; pointer-events: none; }
.go-sort select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font: inherit; }
.go-sort:hover, .go-field:hover .go-input { border-color: var(--v-gray-lighten1); }
.go-field { position: relative; width: 360px; }
.go-field > svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--v-gray-darken1); pointer-events: none; }
.go-input { width: 100%; height: 40px; padding: 0 36px 0 40px; border: 1px solid var(--v-gray-lighten2); border-radius: 4px; background: var(--v-white-base); font: inherit; font-size: 14px; color: var(--v-text-darken2); outline: none; transition: border-color .2s, box-shadow .2s; }
.go-input::placeholder { color: var(--v-gray-darken1); }
.go-input:focus { border-color: var(--v-primary-base); box-shadow: inset 0 0 0 1px var(--v-primary-base); }
.go-input::-webkit-search-cancel-button { display: none; }
.go-clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--v-gray-darken1); cursor: pointer; display: none; align-items: center; justify-content: center; }
.go-clear svg { width: 14px; height: 14px; }
.go-clear:hover { background: var(--v-gray-lighten5); }
.go-field.has-value .go-clear { display: inline-flex; }

/* ---- Cards: CatalogCard (v-card elevation 4, 200px media with the hover actions and a divider, title 18/24/12,
   text 0 24, actions 20/24/24) ---- */
.go-group { margin: 8px 0 16px; }
.go-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.go-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 8px; background: var(--v-white-base); box-shadow: 0px 8px 24px 6px var(--shadowColor4), 0px 0px 1px 0px var(--shadowColor5); overflow: hidden; cursor: pointer; }
.go-card:focus-visible { outline: 2px solid var(--v-primary-base); outline-offset: 2px; }
.go-media { position: relative; height: 200px; background: var(--v-gray-lighten6); border-bottom: 1px solid var(--v-gray-lighten2); }
.go-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.go-media__actions { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 48px; opacity: 0; backdrop-filter: blur(8px); transition: opacity .2s ease; }
.go-card:hover .go-media__actions, .go-card:focus-within .go-media__actions { opacity: 1; }
.go-media__actions .v-btn { width: 184px; }
.go-media__actions .go-white { background: var(--v-white-base) !important; color: var(--v-text-darken2) !important; }
.go-card__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 24px 12px; }
.go-card__title h5 { margin: 0; min-width: 0; display: flex; align-items: center; gap: 12px; }
.go-card__title h5 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-icon { flex: none; width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.go-icon--big { width: 56px; height: 56px; border-radius: 8px; }
.go-verified { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--v-primary-base); }
.go-card__text { padding: 0 24px; font-size: 14px; line-height: 20px; color: var(--v-text-base); }
.go-card__text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.go-card__rep { display: block; margin-top: 8px; color: var(--v-gray-darken1); }
.go-card__rep.is-match { color: var(--v-primary-darken1); font-weight: 700; }
.go-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 20px 24px 24px; font-size: 14px; color: var(--v-gray-darken1); }
.go-stat { display: inline-flex; align-items: center; gap: 4px; color: var(--v-text-darken2); font-weight: 700; white-space: nowrap; }
.go-stat svg { width: 20px; height: 20px; color: var(--v-gray-lighten1); }
.go-card mark { background: none; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--v-primary-base); text-underline-offset: 3px; }

.go-more { display: flex; justify-content: center; margin: 8px 0 0; }

/* DataIteratorNoResultsContainer: dashed edge (.no-data-container), illustration, message, Clear filter link. */
.go-empty { display: flex; flex-direction: column; align-items: center; padding: 40px; border: 1px dashed var(--v-gray-lighten2); border-radius: 8px; margin: 16px 0 32px; text-align: center; }
.go-empty__art { width: 120px; height: 90px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--v-gray-lighten1); border-radius: 8px; font-size: 12px; color: var(--v-gray-darken1); }
.v-application .go-empty p { margin: 28px 0 24px; color: var(--v-gray-darken1); }
.go-linkbtn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--v-primary-base); cursor: pointer; }
.go-linkbtn svg { width: 16px; height: 16px; }

/* ---- Details: in place of the list, as the GO step does today ---- */
.go-detail { padding-top: 32px; max-width: 1100px; }
.go-allapps { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--v-text-darken2); cursor: pointer; }
.go-allapps svg { width: 16px; height: 16px; }
.go-allapps:hover { color: var(--v-primary-darken1); }
.go-detail__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.go-detail__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.v-application .go-detail__head p { margin: 2px 0 0; color: var(--v-text-base); }
.go-detail__head .v-btn { margin-left: auto; }
.go-detail__cover { border-radius: 8px; overflow: hidden; background: var(--v-gray-lighten6); box-shadow: 0px 8px 24px 6px var(--shadowColor4), 0px 0px 1px 0px var(--shadowColor5); margin-bottom: 32px; }
.go-detail__cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; object-position: top center; }
.go-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.v-application .go-detail__desc { font-size: 16px; line-height: 26px; color: var(--v-text-base); margin: 0 0 24px; }
.go-hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.go-hl > div { padding: 16px; font-size: 14px; line-height: 20px; color: var(--v-text-base); }
.go-hl b { display: block; margin-bottom: 6px; color: var(--v-text-darken2); }
.go-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; margin: 0; padding: 20px 24px; font-size: 14px; line-height: 20px; border-radius: 8px; background: var(--v-white-base); box-shadow: 0px 8px 24px 6px var(--shadowColor4), 0px 0px 1px 0px var(--shadowColor5); }
.go-facts dt { color: var(--v-gray-darken1); }
.go-facts dd { margin: 0; color: var(--v-text-darken2); overflow-wrap: anywhere; }
.go-facts a { color: var(--v-primary-base); font-weight: 600; text-decoration: none; }
.go-facts a:hover { text-decoration: underline; }
.go-btn svg { width: 18px; height: 18px; margin-left: 8px; }
.go-btn .v-btn__content { white-space: nowrap; }

@media (width >= 1920px) { .go-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (width <= 1279.98px) {
  .go { padding: 0 24px 48px; }
  .go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .go-detail__grid { grid-template-columns: minmax(0, 1fr); }
  .go-hl { grid-template-columns: minmax(0, 1fr); }
}
/* Mobile: the sidebar becomes a strip of tabs (TagsSidebar v-tabs); Back stays above it. Cards open the details on tap. */
@media (width <= 959.98px) {
  .go-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .go-side { position: static; padding-top: 16px; }
  .go-tags { flex-direction: row; gap: 8px; max-height: none; overflow-x: auto; padding: 8px; margin: 0 -8px; scrollbar-width: none; }
  .go-tags::-webkit-scrollbar { display: none; }
  .go-tags hr { display: none; }
  .go-tag { flex: none; width: auto; padding: 0 14px; white-space: nowrap; }
  .go-tag:hover, .go-tag[aria-current="true"] { padding-left: 14px; }
  .go-back { max-width: none; height: 40px; }
  .go-filters { flex-wrap: wrap; margin-top: 8px; padding-top: 16px; }
  .go-controls { width: 100%; margin-left: 0; }
  .go-field { flex: 1; width: auto; }
  .go-media__actions { display: none; }
}
@media (width <= 600px) {
  .go { padding: 0 16px 40px; }
  .go-top { padding-top: 24px; }
  .go-top img { width: 171px; height: 36px; }
  .go-top h1 { padding-top: 24px; }
  .go-grid { grid-template-columns: minmax(0, 1fr); }
  .go-controls { flex-direction: column-reverse; gap: 8px; }
  .go-sort { width: 100%; }
  .go-detail__head { flex-wrap: wrap; }
  .go-detail__head .v-btn { margin-left: 0; width: 100%; }
}
.go-detail[hidden], .go-row[hidden] { display: none !important; }
.v-application .go-card__text p { color: var(--v-text-base); margin: 0; }
