.search-page {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  width: min(94%, 1166px);
  margin: 24px auto 80px;
}
@media (max-width: 960px) {
  .search-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .sr-sidebar {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0, 0, 0, 0.5);
    display: none;
  }
  .sr-sidebar.is-open {
    display: block;
  }
}

.sr-sidebar__inner {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
@media (max-width: 960px) {
  .sr-sidebar__inner {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    z-index: 401;
  }
}

.sr-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.sr-sidebar__title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #333;
}

.sr-sidebar__close {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 4px 8px;
}
@media (max-width: 960px) {
  .sr-sidebar__close {
    display: block;
  }
}

.sr-filter-group {
  border-bottom: 1px solid #e0e0e0;
}
.sr-filter-group:last-of-type {
  border-bottom: none;
}

.sr-filter-group__label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  padding: 10px 16px 6px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  display: block;
}

.sr-filter-scroll {
  max-height: none;
  overflow-y: visible;
}

.sr-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #444;
  border-bottom: 1px dotted #e8e8e8;
  user-select: none;
}
.sr-filter-check:last-child {
  border-bottom: none;
}
.sr-filter-check:hover {
  background: #f9f9f9;
}
.sr-filter-check input[type=radio],
.sr-filter-check input[type=checkbox] {
  accent-color: #E1628F;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.sr-filter-check__text {
  flex: 1;
  line-height: 1.4;
}

.sr-filter-count {
  font-size: 1.1rem;
  color: #999;
  white-space: nowrap;
}
.sr-filter-count::before {
  content: "(";
}
.sr-filter-count::after {
  content: ")";
}

.sr-main {
  min-width: 0;
}

.sr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sr-toolbar__keyword {
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
}
.sr-toolbar__keyword strong {
  color: #E1628F;
}

.sr-toolbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sr-sort {
  border: 1px solid #ccc;
  padding: 6px 10px;
  font-size: 1.4rem;
  color: #333;
  background: #fff;
  cursor: pointer;
}
.sr-sort:focus {
  outline: none;
}

.sr-view-toggle {
  display: flex;
  gap: 4px;
}

.sr-view-toggle__btn {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 10px;
  cursor: pointer;
  color: #999;
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sr-view-toggle__btn.active, .sr-view-toggle__btn:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.sr-toolbar__filter-btn {
  display: none;
  background: #E1628F;
  color: #fff;
  border: none;
  padding: 7px 16px;
  font-size: 1.6rem;
  cursor: pointer;
  gap: 6px;
  align-items: center;
}
@media (max-width: 960px) {
  .sr-toolbar__filter-btn {
    display: inline-flex;
  }
}

.sr-meta {
  margin-bottom: 14px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
}

.sr-meta__count {
  font-size: 1.6rem;
  color: #666;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.sr-meta__count span:first-child {
  font-weight: 700;
  color: #333;
}

.sr-meta__tax {
  font-size: 1.5rem;
  color: #aaa;
  margin-left: auto;
}

.sr-meta__empty {
  padding: 48px 0;
  text-align: center;
  color: #666;
  font-size: 1.8rem;
}
.sr-meta__empty strong {
  color: #E1628F;
}

.sr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #faedf3;
  color: #E1628F;
  border: 1px solid #E1628F;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}
.sr-chip:hover {
  background: #E1628F;
  color: #fff;
}

.sr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 32px;
  column-gap: 0;
}
@media (max-width: 960px) {
  .sr-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}
@media (max-width: 540px) {
  .sr-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
    column-gap: 0;
  }
}
.sr-list.is-list-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sr-list.is-list-view .sr-card {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: none;
}
.sr-list.is-list-view .sr-card__img-wrap {
  width: 150px;
  padding-top: 0;
  height: 150px;
  flex-shrink: 0;
  position: relative;
}
.sr-list.is-list-view .sr-card__img-link {
  position: absolute;
  inset: 0;
}
.sr-list.is-list-view .sr-card__body {
  flex: 1;
  padding: 0;
}
.sr-list.is-list-view .sr-card__name {
  font-size: 1.6rem;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.sr-list.is-list-view .sr-card__cart {
  margin-left: auto;
}
.sr-list.is-list-view .sr-card__sku {
  width: 240px;
  flex: none;
}
.sr-list.is-list-view .sr-card__add-btn {
  width: auto;
  padding: 0 16px;
  height: 40px;
}
.sr-list.is-list-view .sr-card__add-label {
  display: inline;
  font-size: 0.75em;
}

.sr-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.sr-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #fff;
}
.sr-card__img-wrap.is-loading {
  animation: sr-pulse 1.6s ease-in-out infinite;
}
.sr-card__img-wrap.is-loading .sr-card__thumb {
  visibility: hidden;
}

@keyframes sr-pulse {
  0%, 100% {
    background-color: #f5f5f5;
  }
  50% {
    background-color: #ebebeb;
  }
}
.sr-card__img-link {
  position: absolute;
  inset: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.35s ease;
}
.sr-card:hover .sr-card__thumb {
  filter: brightness(1.07);
}

.sr-card__body {
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.sr-card__name {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-card__name a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.sr-card__name a:hover .sr-card__name-text {
  text-decoration: underline;
}

.sr-card__brand {
  font-size: 1.2rem;
  color: #aaa;
  font-weight: 400;
  line-height: 1.4;
}

.sr-card__name-text {
  font-size: 1.4rem;
}

.sr-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.5rem;
  margin-top: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .sr-card__rating {
    font-size: 1.2rem;
    gap: 2px;
  }
}

.sr-card__stars {
  display: inline-flex;
  gap: 1px;
}

.sr-star--full {
  color: #ffb400;
}

.sr-star--half {
  color: #ffb400;
  opacity: 0.5;
}

.sr-star--empty {
  color: #ddd;
}

.sr-card__rating-score {
  font-weight: 700;
  color: #ffb400;
  font-size: 1.5rem;
}

.sr-card__rating-count {
  color: #999;
  font-size: 1.4rem;
}

.sr-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 2px;
  white-space: nowrap;
}

.sr-card__price-value {
  font-weight: 700;
  font-size: 2rem;
  color: #333;
  line-height: 1.2;
}
@media (max-width: 540px) {
  .sr-card__price-value {
    font-size: 1.6rem;
  }
}

.sr-card__price-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-left: 1px;
}

.sr-card__price-sep {
  font-size: 1.6rem;
  margin: 0 3px;
}

.sr-card__cart {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}
.sr-card__cart--soldout {
  justify-content: center;
  margin-top: 8px;
  border: 1px solid currentColor;
}

.sr-card__sku {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-right: none;
  height: 40px;
  padding: 0 24px 0 8px;
  font-size: 1.3rem;
  color: #333;
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sr-card__sku:focus {
  outline: none;
}

.sr-card__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  background: #E1628F;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.15s;
}
.sr-card__add-btn:hover {
  background: rgb(218.4545454545, 63.7454545455, 118.5636363636);
}
.is-list-view .sr-card__add-btn {
  width: auto;
  padding: 0 16px;
  height: 40px;
}

.sr-card__add-label {
  display: none;
}
.is-list-view .sr-card__add-label {
  display: inline;
}

.sr-card__soldout {
  font-size: 1.6rem;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

.sr-paginate {
  margin: 28px 0;
}
.sr-paginate--top {
  margin-top: 2em;
  margin-bottom: 1.5em;
}
.sr-paginate nav {
  display: flex;
  justify-content: center;
}
.sr-paginate .pagination {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sr-paginate .page-item.active .page-link {
  background: #333;
  border-color: #333;
  color: #fff;
  font-weight: 700;
}
.sr-paginate .page-item.disabled .page-link {
  color: #ccc;
  pointer-events: none;
}
.sr-paginate .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #ddd;
  color: #555;
  font-size: 1.6rem;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sr-paginate .page-link:hover {
  background: #faedf3;
  border-color: #E1628F;
  color: #E1628F;
}

.sr-loading {
  display: none;
}

.sr-loading-overlay {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0 20px;
  width: 100%;
}

.sr-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f0ecec;
  border-top-color: #E1628F;
  border-radius: 50%;
  animation: sr-spin 0.7s linear infinite;
}

@keyframes sr-spin {
  to {
    transform: rotate(360deg);
  }
}
.sr-loading__text {
  font-size: 1.6rem;
  color: #333;
}

.sr-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #333;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
}
.sr-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}/*# sourceMappingURL=search.css.map */