#app .maker-shop-page {
  padding-block: 20px 24px;
}

#app .maker-shop-page > .container {
  width: 100%;
  max-width: 1440px;
  padding-inline: clamp(10px, 2vw, 24px);
  box-sizing: border-box;
}

#app .maker-shop-page .page-title {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.25;
}

#app .maker-shop-page .page-subtitle {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

#app .maker-shop-page .course-theme {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 10px;
  padding-left: 10px;
}

#app .maker-shop-page .course-theme h2 {
  font-size: clamp(20px, 2vw, 24px);
}

#app .maker-shop-page :is(.esp32-theme, .protocol-theme, .electronics-theme) {
  margin-top: 22px;
}

#app .maker-shop-page .electronics-group-title {
  margin: 14px 0 8px;
  font-size: 18px;
}

#app .maker-shop-page .course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#app .maker-shop-page .course-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) clamp(116px, 14vw, 176px);
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: none;
}

#app .maker-shop-page .course-card .course-icon {
  grid-area: 1 / 1;
  width: 100% !important;
  height: 54px;
  min-height: 0;
  border-radius: 8px;
  font-size: 24px;
}

#app .maker-shop-page .course-copy {
  grid-area: 1 / 2;
  width: auto;
  min-width: 0;
}

#app .maker-shop-page .course-copy small {
  color: #26344b;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

#app .maker-shop-page .course-copy h2 {
  margin: 2px 0;
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
}

#app .maker-shop-page .course-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

#app .maker-shop-page .course-card .course-preview {
  grid-area: 1 / 3;
  width: 100% !important;
  height: 82px !important;
  object-fit: contain;
}

@media (max-width: 900px) {
  #app .maker-shop-page .course-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  #app .maker-shop-page {
    padding-block: 14px 18px;
  }

  #app .maker-shop-page .course-card {
    grid-template-columns: 28px minmax(0, 1fr) clamp(48px, 17vw, 86px);
    gap: 6px;
    padding: 8px;
  }

  #app .maker-shop-page .course-card .course-icon {
    height: 38px;
    font-size: 18px;
  }

  #app .maker-shop-page .course-copy :is(small, p) {
    font-size: 13px;
  }

  #app .maker-shop-page .course-copy h2 {
    font-size: 16px;
  }

  #app .maker-shop-page .course-card .course-preview {
    height: 60px !important;
  }
}
