:root {
  --primary-color: #333333;
  --border-color: #d9d9d9;
  --text-color: #333333;
  --blue-color: #3caae2;
  --gray-color: #bfbfbf;
  --background-gray: #f2f2f2;
  --background-light: #d7e7ef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background-color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.app {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-direction: row;
}

.container {
  /* width: 100%;
  max-width: 768px; */
  position: relative;
  background: white;
  min-height: 100vh;
}

/* Top Banner */

.url-bar {
  position: absolute;
  bottom: 22px;
  left: 16px;
  width: 343px;
  height: 20px;
  background: #e7eaed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.url-bar span {
  font-size: 14px;
  font-weight: 500;
  color: black;
}

/* Header */
header {
  height: 57px;
  margin-top: 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.header-content {
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  max-width: calc(1200px + 16px * 2);
  margin: 0 auto;
}

.logo {
  height: 16px;
}

.header-icons {
  display: flex;
  gap: 16px;
}

.header-icons img {
  width: 24px;
  height: 24px;
}

/* Separators */
.separator {
  height: 1px;
  background-color: var(--border-color);
  width: 100%;
}

/* Main Content */
main {
  padding: 16px;
}

.description {
  font-size: 14px;
  line-height: 28px;
  color: var(--text-color);
  margin: 12px 0 32px;
}

/* Card */
.card {
  background: white;
  padding: 0;
  margin-bottom: 48px;
}

.card h2 {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 8px;
}

.estimate-input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0 16px;
}

.estimate-input.error {
  background-color: #FFF5F5;
  border-color: #F23030;
}

.error-message {
  color: #F23030;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.form-notes {
  font-size: 12px;
  line-height: 22px;
  color: var(--text-color);
  margin: 16px 0;
}

.submit-button {
  width: 263px;
  height: 56px;
  max-width: 100%;
  background: var(--primary-color);
  border-radius: 28px;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin: 24px auto;
  display: block;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

/* Estimates Section */
.estimates-section {
  margin-top: 32px;
}

.estimates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.estimates-header h2 {
  font-size: 16px;
  font-weight: bold;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sort-icons {
  display: flex;
  gap: 4px;
}

.sort-control span {
  font-size: 12px;
  font-weight: 500;
}

/* Estimate Items */
.estimate-item {
  display: flex;
  padding: 16px 0;
  position: relative;
  align-items: center;
}

.estimate-icon {
  width: 64px;
  height: 64px;
}

.estimate-content {
  margin-left: 16px;
  max-width: 50%;
}

.estimate-content.full-width {
  max-width: 100%;
}

.estimate-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
}

.status-badge {
  padding: 2px 8px;
  border: 1px solid;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 5px;
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.status-badge.unsent {
  color: var(--blue-color);
  border-color: var(--blue-color);
}

.status-badge.sent {
  color: var(--gray-color);
  border-color: var(--gray-color);
}

.estimate-date {
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.estimate-name,
.estimate-price {
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.estimate-name {
  margin: 10px 0;
  overflow-wrap: break-word;
}

.estimate-price {
  margin: 0;
}

.edit-button {
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  vertical-align: middle;
  color: #333;
  padding: 10px 7px;
  display: inline-block;
  position: relative;
  line-height: 1;
  margin-left: auto;
  white-space: nowrap;
}

/* Disclaimer */
.disclaimer {
  margin: 48px 0;
  position: relative;
}

.disclaimer p {
  font-size: 12px;
  line-height: 22px;
  color: var(--text-color);
}

.scroll-up-icon {
  position: fixed;
  right: calc((100% - 460px) / 2 + 16px);
  bottom: 112px;
  width: 48px;
  height: 48px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  position: fixed;
  /* 画面に固定 */
  bottom: 130px;
  z-index: 1000;
}

.scroll-up-icon.scroll-up-icon--product-detail {
  right: 16px;
}

.scroll-up-icon.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media screen and (max-width: 1533px) {
  .scroll-up-icon {
    right: calc((100vw - 30vw) / 2 + 16px);
  }

  .scroll-up-icon.scroll-up-icon--product-detail {
    right: 16px;
  }
}

@media screen and (max-width: 1023px) {
  .scroll-up-icon {
    right: 16px;
  }
}

/* Footer */
footer {
  background: var(--primary-color);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer p {
  color: white;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.spacer {
  height: 8px;
  background-color: var(--background-gray);
  margin: 0 -16px;
}

.sort-modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sort-modal {
  background: #fff;
  width: 100%;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  padding-bottom: 32px;
  animation: slideUp 0.25s;
  max-width: min(30vw, 460px);
}

@media screen and (max-width: 1023px) {
  .sort-modal {
    max-width: initial;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.sort-modal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  height: 56px;
  padding: 21px;
  border-bottom: 1px solid #D9D9D9;
}

.sort-modal-header span {
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
}

.sort-modal-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  padding: 0;
  top: 50%;
  transform: translatey(-50%);
}

.sort-modal-close img {
  width: 24px;
  height: 24px;
  display: block;
}

.sort-modal-list {
  margin: 0;
}

.sort-modal-item {
  padding: 21px 16px;
  border-bottom: 1px solid #F2F2F2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  color: #333;
  padding: 21px 0px;
  margin: 0 16px;
  position: relative;
}

.sort-modal-check {
  color: #3caae2;
  font-size: 28px;
  margin-left: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translatey(-50%);
  margin: 0;
}

.sort-modal-check img {
  width: 23px;
  height: 18px;
}

.back-link {
  display: block;
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  color: #3CABE2;
  margin-top: 32px;
}

.rename-page .card {
  margin-top: 16px;
  margin-bottom: calc(240px - 16px);
}

.estimates-header + .separator {
  background-color: #d9d9d9;
  width: 100vw;
  max-width: 768px;
  margin-left: -16px;
}

@media screen and (max-width: 1023px) {
  .estimates-header + .separator {
    max-width: initial;
  }
}

.estimate-item + .separator {
  background-color: #F2F2F2;
}

.estimates-empty .sort-control {
  color: #BFBFBF;
  pointer-events: none;
}

.estimates-empty .estimate-item {
  height: 110px;
  width: 100%;
}

.estimates-empty .estimate-item .estimate-content {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.estimates-empty .estimate-item .estimate-content span {
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  color: #BFBFBF;
}

.product-detail-page--container {
  max-width: initial;
}

/* 検索用サイドバー */
.search-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 100%;
  max-width: 375px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: left 0.2s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .search-sidebar {
    max-width: initial;
    left: -110%;
  }
}

.search-sidebar.open {
  left: 0;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
}

.search-overlay.active {
  display: block;
}

.phone-frame {
  position: relative;
  width: 375px;
  height: 812px;
  background-color: white;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .phone-frame {
    width: 100%;
    height: initial;
  }
}

.title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 343px;
  margin: 40px 16px 32px;
}

@media screen and (max-width: 768px) {
  .title-bar {
    width: 100%;
    padding: 40px 16px 32px;
    margin: 0;
  }
}

.title-bar h1 {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 1px;
  line-height: 20px;
  vertical-align: middle;
}

.close-button {
  width: 16px;
  height: 16px;
  background: none;
  border: none;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-separator {
  width: 100%;
  height: 1px;
  background-color: #D9D9D9;
  border: none;
  margin: 0;
}

.search-container {
  padding: 16px;
}

.search-input {
  width: 100%;
  height: 40px;
  background-color: #F2F2F2;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  padding: 11px 15px;
  font-size: 14px;
}

.search-input::placeholder {
  color: #BFBFBF;
}

.search-categories {
  padding: 0;
}

.search-category-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 29px 16px;
}

.search-category-item span {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.7px;
  line-height: 14px;
}

.search-category-link {
  width: 100%;
  display: flex;
  text-decoration: none;
  justify-content: space-between;
}

.chevron {
  color: #333333;
}

/* カテゴリーメニュー */
.category-menu,
.recruitment-ranking,
.hashtag-search-result {
  position: fixed;
  top: 0;
  left: -400px;
  width: 100%;
  max-width: 375px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: left 0.2s cubic-bezier(.4, 0, .2, 1);
  overflow-x: hidden;
  overflow-y: auto;
}

.category-menu.open,
.recruitment-ranking.open,
.hashtag-search-result.open {
  left: 0;
}

@media screen and (max-width: 768px) {

  .category-menu,
  .recruitment-ranking,
  .hashtag-search-result {
    max-width: initial;
    left: -110%;
  }
}

.accordion-item {
  border: none;
}

.accordion-trigger {
  width: 100%;
  padding: 18px 16px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-header {
  display: flex;
  align-items: center;
  width: 100%;
}

.category-icon {
  width: 36px;
  height: 36px;
  background-color: #d9d9d9;
  border-radius: 18px;
}

.category-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.equipment-item .category-icon img {
  object-fit: cover;
}

.category-name {
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 14px;
  font-weight: bold;
  color: #333333;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-left: 16px;
}

.accordion-content {
  display: none;
}

.accordion-content.show {
  display: block;
}

.equipment-list {
  background-color: #e5e5e5;
}

.equipment-item {
  height: 72px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9d9d9;
}

.equipment-item:last-child {
  border-bottom: none;
}

.equipment-item a {
  text-decoration: none;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.equipment-item span {
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 14px;
  font-weight: bold;
  color: #333333;
}

.chevron-right {
  color: #333333;
}

.drawer-icon--close {
  display: block;
}

.drawer-icon--open {
  display: none;
}

/* Background image */
.app {
  overflow: hidden;
  height: 100vh;
  display: flex;
}

.side {
  max-width: 100%;
  min-width: cals((100% - 30vw) / 2);
  background: #F2F2F2;
  flex: 1;
}

@media screen and (max-width: 1023px) {
  .side {
    display: none;
  }
}

.container {
  width: 30vw;
  flex-shrink: 0;
  max-width: 460px;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  order: 2;
}

@media screen and (max-width: 1023px) {
  .container {
    width: 100%;
    max-width: initial;
  }
}

.side.left {
  background-image: url('../images/background-left.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  order: 1;
}

.side.left * {
  display: none !important;
}

.side.right {
  background-image: url('../images/background-right.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  order: 3;
}

.side.right * {
  display: none !important;
}

.category-menu .search-sidebar-title-container {
  margin: 40px 16px 32px;
}

.category-menu .search-sidebar-title-container-title-bar {
  margin: 0;
  justify-content: center;
}

/* 採用ランキング */
/* Separator */
.recruitment-ranking .recruitment-ranking-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

.recruitment-ranking .recruitment-ranking-title-container + .recruitment-ranking-separator {
  border-top: 1px solid #D9D9D9;
  width: 100vw;
  margin-left: -16px;
}

/* Main content */
.recruitment-ranking {
  padding: 0 16px;
  margin-bottom: calc(72px - 12px);
}

.recruitment-ranking .recruitment-ranking-title {
  margin: 40px 0 32px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 20px;
  color: #333333;
}

.recruitment-ranking .recruitment-ranking-title + .recruitment-ranking-separator {
  border-top: 1px solid #D9D9D9;
  width: 100vw;
  max-width: min(460px, 30vw);
  margin-left: -16px;
}

@media screen and (max-width: 1023px) {
  .recruitment-ranking .recruitment-ranking-title + .recruitment-ranking-separator {
    max-width: initial;
  }
}

.recruitment-ranking .recruitment-ranking-section-title {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 16px;
  color: #333333;
  margin: 32px 0 24px;
}

.recruitment-ranking .recruitment-ranking-section-title + .recruitment-ranking-separator {
  border-top: 1px solid #D9D9D9;
  width: 100vw;
  max-width: min(460px, 30vw);
  margin-left: -16px;
}

@media screen and (max-width: 1023px) {
  .recruitment-ranking .recruitment-ranking-section-title + .recruitment-ranking-separator {
    max-width: initial;
  }
}

.recruitment-ranking .recruitment-ranking-section:first-of-type .recruitment-ranking-section-title {
  margin-top: 0;
}

.recruitment-ranking .ranking-section + .ranking-section {
  margin-top: calc(40px - 20px);
}

.recruitment-ranking .ranking-section + .ranking-section .recruitment-ranking-section-title {
  margin-top: 0;
}

/* Ranking items */
.recruitment-ranking .ranking-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
}

.recruitment-ranking .ranking-item.hidden {
  display: none;
}

.recruitment-ranking .ranking-item + .recruitment-ranking-separator {
  border-top: 1px solid #F2F2F2;
}

.recruitment-ranking .ranking-item.hidden + .recruitment-ranking-separator {
  border-top: none;
}

.recruitment-ranking .item-link {
  display: flex;
  gap: 8px;
  text-decoration: none;
}

.recruitment-ranking .item-image-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.recruitment-ranking .item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.recruitment-ranking .rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruitment-ranking .ranking-item:nth-of-type(1) .rank-badge {
  background-image: url('../images/rank_1st.svg');
}

.recruitment-ranking .ranking-item:nth-of-type(2) .rank-badge {
  background-image: url('../images/rank_2nd.svg');
}

.recruitment-ranking .ranking-item:nth-of-type(3) .rank-badge {
  background-image: url('../images/rank_3rd.svg');
}

.recruitment-ranking .ranking-item:nth-of-type(n+4) .rank-badge {
  background-image: url('../images/rank_4th_5th.svg');
}

.recruitment-ranking .rank-number {
  font-family: 'Bebas Neue', sans-serif;
  color: white;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  height: 16px;
}

.recruitment-ranking .item-details {
  display: flex;
  flex-direction: column;
}

.recruitment-ranking .item-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  margin: 0;
}

.recruitment-ranking .item-manufacturer,
.recruitment-ranking .item-price {
  font-size: 12px;
  line-height: 12px;
  color: #333333;
  margin: 12px 0 0;
}

.recruitment-ranking .item-price {
  margin-top: 8px;
}

.recruitment-ranking .recruitment-ranking-empty-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  color: #BFBFBF;
  margin: 48px 0 410px;
}

.search-sidebar .toggle-button {
  cursor: pointer;
  margin: 12px auto 0;
  position: relative;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  padding: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  justify-content: center;
}

.search-sidebar .toggle-icon {
  width: 14px;
  height: 8px;
}

.search-sidebar .search-sidebar-title-container {
  position: relative;
  display: flex;
  justify-content: center;
  /* 中央に配置 */
  align-items: center;
  margin: 40px 0 32px;
}

.search-sidebar .search-sidebar-title-container-back-button {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  gap: 7px;
  top: 50%;
  transform: translatey(-50%);
  cursor: pointer;
}

.search-sidebar .search-sidebar-title-container-back-button img {
  display: block;
  position: relative;
}

.search-sidebar .search-sidebar-title-container-back-button span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  position: relative;
}

.search-sidebar .search-sidebar-title {
  margin: 0;
}

/* ハッシュタグ検索 */
.hashtag-search-result .hashtag-search-separator {
  border: none;
  height: 1px;
  background: #D9D9D9;
  margin-left: -16px;
  width: 100vw;
  max-width: 768px;
}

/* Main content */
.hashtag-search-result {
  padding: 0 16px;
  min-height: 462px;
}

.hashtag-search-result .hashtag-search-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  color: #333;
}

.hashtag-search-result .hashtag-search-title + .hashtag-search-separator {
  width: 100vw;
  max-width: 768px;
  margin-left: -16px;
  background-color: #D9D9D9;
}

.hashtag-search-result .hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 40px;
}

.hashtag-search-result .hashtag {
  padding: 6px 8px;
  border-radius: 12px;
  border: none;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  cursor: pointer;
}

.hashtag-search-result .hashtag.selected {
  background: #68a0bc;
  color: white;
}

.hashtag-search-result .hashtag:not(.selected) {
  background: #d7e7ef;
  color: #000;
}

.hashtag-search-result .search-results {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.8px;
  margin: 40px 0 32px;
}

.hashtag-search-result .search-results + .hashtag-search-separator {
  width: 100vw;
  max-width: 768px;
  margin-left: -16px;
  background-color: #D9D9D9;
}

/* Products */
.hashtag-search-result .products {
  margin-bottom: calc(72px - 24px);
}

.hashtag-search-result .product {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f2f2f2;
}

.hashtag-search-result .product:last-child {
  border-bottom: none;
}

.hashtag-search-result .product-link {
  width: 100%;
  display: flex;
  gap: 8px;
  text-decoration: none;
}

.hashtag-search-result .product-image {
  width: 80px;
  height: 80px;
}

.hashtag-search-result .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hashtag-search-result .product-info {
  flex: 1;
}

.hashtag-search-result .product-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 20px;
}

.hashtag-search-result .product-manufacturer,
.hashtag-search-result .product-price {
  font-size: 12px;
  color: #333;
  line-height: 12px;
  margin-top: 12px;
}

.hashtag-search-result .product-price {
  margin-top: 8px;
}

.hashtag-search-result .no-results {
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  color: #bfbfbf;
}

.category-menu .search-sidebar-title-container {
  margin: 40px 16px 32px;
}

@media screen and (max-width: 768px) {
  .category-menu .title-bar {
    padding: initial;
  }
}

.hidden {
  display: none;
  visibility: hidden;
}

.error-container {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 1rem;
}

.error-container .error-code {
  font-size: 24px;
}

.error-container .error-title {
  margin-top: 16px;
}

.error-container .error-body {
  margin-top: 24px;
}

.total-price-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .total-price-content {
    gap: initial;
    justify-content: space-between;
    width: 100%;
  }
}

/* Total price bar styles */
.total-price-bar {
  height: 80px;
  background-color: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  position: sticky;
  top: 57px;
  z-index: 10;
}

.total-price-bar.fixed {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  z-index: 90;
  background-color: var(--background-light);

  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .total-price-bar {
    height: 56px;
  }
}

.total-label {
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .total-label {
    font-size: 14px;
    line-height: 14px;
  }
}

.price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .price {
    align-items: baseline;
    gap: 4px;
  }
}

.amount {
  font-size: 20px;
  white-space: nowrap;
}

.card {
  margin-top: calc(40px - 16px);
}
