/* BTO PC easy search - Creator mode migration 2026-09-14 */
:root {
  --font-weight-bold: 700;
}

.bto-easy-search > .section-inner {
  width: min(100% - 32px, 1600px);
  margin-inline: auto;
}


/* ===== 共通スタイル ===== */
#applied_sokunou_btopc_area {
  margin: 0 auto 20px;
  max-width: 1400px;
  padding: 10px;
}
.applied_sokunou_btopc_area_h2 {
  margin: 0;
}

/* -------- ローディングアイコン -------- */
#applied_sokunou_btopc_area.loading {
  min-height: 300px; /* お好みで調整 */
  position: relative;
}
#loadingIndicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #1976d2;
  border-color: #1976d2 transparent #1976d2 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ローディングテキスト用 */
#loadingText {
  position: absolute;
  top: calc(50% + 48px); /* ローディングアイコンの直下に配置 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: #1976d2;  /* ローディングアイコンの色と合わせる */
  letter-spacing: 0.5px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}
#applied_sokunou_btopc_area #loadingIndicator {
  display: block;
  margin: 20px auto 0;
}
#applied_sokunou_btopc_area #loadingText {
  display: inline-block;
  width: 300px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  margin: 10px auto 20px;
}

/* パルスアニメーション */
@keyframes loadingPulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.2; }
  100% { opacity: 1; }
}

/* -------- フィルタボタンエリア -------- */
#applied_sokunou_btopc_filter {
  column-count: 2;
  column-gap: 16px;
  margin-bottom: 20px;
}
#applied_sokunou_btopc_filter > div.applied-sokunou-btopc-filter-group-clear {
  display: block;
  break-before: column;
  column-span: all;
  width: 50%;
  margin: auto;
  border: none;
}
@media (max-width: 1024px) {
  #applied_sokunou_btopc_filter {
    column-count: 1;
  }
}
.applied-sokunou-btopc-filter-group {
  display: inline-block;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  border: solid 1px #ccc;
  border-radius: 4px;
}
.applied-sokunou-btopc-filter-group h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: bold;
  display: inline-block;
  align-items: center;
}
.applied-sokunou-btopc-filter-group h3 svg {
  margin-right: 4px;
}
.applied-sokunou-btopc-filter-group > p {
  display: inline-block;
  margin: 0 0 8px 8px;
}
.applied-sokunou-btopc-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.applied-sokunou-btopc-result-count {
  display: block;
  break-before: column;
  column-span: all;
  width: 100%;
  margin-top: -24px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  text-align: left;
}

/* —— ソート切替トグル（固有クラス名版） —— */
.applied-sokunou-btopc-sort-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -18px 0 16px 0;
  column-span: all;
}
.applied-sokunou-btopc-sort-container .applied-sokunou-btopc-sort-label,
.applied-sokunou-btopc-sort-container .applied-sokunou-btopc-sort-asc-label,
.applied-sokunou-btopc-sort-container .applied-sokunou-btopc-sort-desc-label {
  font-size: 0.9rem;
  color: #555;
}

/* トグルスイッチ全体 */
.applied-sokunou-btopc-sort-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
/* チェックボックス本体を非表示 */
.applied-sokunou-btopc-sort-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* スライダー本体 */
.applied-sokunou-btopc-sort-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}
/* ノブ */
.applied-sokunou-btopc-sort-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
/* チェック時の背景色 */
.applied-sokunou-btopc-sort-toggle-input:checked + .applied-sokunou-btopc-sort-toggle-slider {
  background-color: #1976d2;
}
/* チェック時のノブ移動 */
.applied-sokunou-btopc-sort-toggle-input:checked + .applied-sokunou-btopc-sort-toggle-slider:before {
  transform: translateX(20px);
}

/* 最新の流行を意識したかっこいいボタンデザイン */
.applied-sokunou-btopc-filter-buttons button {
  flex-grow: 2;
  box-sizing: border-box;
  padding: 8px 16px;
  background-color: #888;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.applied-sokunou-btopc-filter-group[data-filter-type="custom"]
  button:nth-child(-n+4) {
  flex-shrink: 3;
  min-width: 100%;
}
.applied-sokunou-btopc-filter-group[data-filter-type="custom"]
  button:nth-child(n+5) {
  flex-shrink: 1;
}
.applied-sokunou-btopc-filter-buttons button:hover {
  background-color: #2088ff;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}
.applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-selected {
  background-color: #0d47a1;
}
.applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-disabled,
.applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-unavailable {
  background-color: #fff;
  color: #fff;
  pointer-events: none;
}

/* すべての選択解除ボタン用 */
.applied-sokunou-btopc-filter-group-clear h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 8px 0;
}
.applied-sokunou-btopc-filter-group-clear .applied-sokunou-btopc-filter-buttons {
  display: flex;
  gap: 8px;
}
.applied-sokunou-btopc-clear-all {
  padding: 8px 16px;
  background-color: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
button.applied-sokunou-btopc-clear-all.applied-sokunou-btopc-disabled {
  background-color: #fff;
  color: #fff;
  cursor: not-allowed;
}

/* -------- 商品リストエリア -------- */
#applied_sokunou_btopc_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
@media (max-width: 1024px) {
  #applied_sokunou_btopc_list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
.applied-sokunou-btopc-product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.applied-sokunou-btopc-product-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.applied-sokunou-btopc-product-image {
  padding-top: 10px;
  width: 100%;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.applied-sokunou-btopc-product-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.applied-sokunou-btopc-product-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mcon .applied-sokunou-btopc-product-info p,
.mcon li.innrtList_li p {
  margin-bottom: 0;
}
.mcon .applied-sokunou-btopc-product-info p.applied-sokunou-btopc-product-name,
.mcon .applied-sokunou-btopc-product-info p.item-prefix,
.mcon .applied-sokunou-btopc-product-info p.item-info-note,
.mcon .applied-sokunou-btopc-product-info p.applied-sokunou-btopc-product-price,
.mcon .applied-sokunou-btopc-product-info p.applied-sokunou-btopc-product-shipping,
.mcon .applied-sokunou-btopc-product-info p.applied-sokunou-btopc-product-quantity,
.mcon .applied-sokunou-btopc-product-info p.applied-sokunou-btopc-product-soldout,
#category li.innrtList_li p.name p.item-prefix,
#category li.innrtList_li p.name p.item-info-note {
  margin-bottom: 0.3em;
}
.applied-sokunou-btopc-product-info > a:last-child {
  display: inline-block;
  width: 70%;
  margin: auto;
  padding: 4px;
  text-align: center;
  color: white;
  background-color: #196BC7;
}
.applied-sokunou-btopc-product-name,
#category li.innrtList_li p.name {
  font-size: 0.95rem;
  font-weight: bold;
  margin: 0;
}
#category li.innrtList_li p.name,
#category li.innrtList_li p.price,
#category li.innrtList_li p.shouhin_addcode {
  margin-top: 10px;
}

/* —— 商品リストのスペック表示 —— */
.applied-sokunou-btopc-product-info .spec-list,
#category li.innrtList_li p.name .spec-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.applied-sokunou-btopc-product-info .spec-list li,
#category li.innrtList_li p.name .spec-list li {
  display: inline-block;
}
.applied-sokunou-btopc-product-info .spec-list li a,
.applied-sokunou-btopc-product-info p.item-prefix a,
.applied-sokunou-btopc-product-info p.item-info-note a,
#category li.innrtList_li p.name .spec-list li a,
#category li.innrtList_li p.name p.item-prefix a,
#category li.innrtList_li p.name p.item-info-note a {
  color: #333;
}
.applied-sokunou-btopc-product-info .spec-full,
#category li.innrtList_li p.name .spec-full {
  width: 100%;
  font-size: 1.1rem;
  font-weight: bold;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0.2em 0 0;
}
.applied-sokunou-btopc-product-info .spec-type,
#category li.innrtList_li p.name .spec-type {
  width: 20%;
  font-size: 0.9rem;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0.2em 0 0;
}
.applied-sokunou-btopc-product-info .spec-value,
#category li.innrtList_li p.name .spec-value {
  width: 80%;
  font-size: 1.1rem;
  font-weight: bold;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0.2em 0 0;
}
.applied-sokunou-btopc-product-info .hide-colon,
#category li.innrtList_li p.name .hide-colon {
  display: none;
}
.applied-sokunou-btopc-product-info .item-prefix,
#category li.innrtList_li p.name .item-prefix {
  font-size: 1rem;
  color: #333;
  margin: 0;
  padding: 0;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #ccc;
}
.applied-sokunou-btopc-product-info .item-info-note,
#category li.innrtList_li p.name .item-info-note {
  font-size: 0.9rem;
  color: #333;
  margin: 0.2em 0 0 0;
  padding: 0;
}

.applied-sokunou-btopc-product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #e53935;
  margin: -12px 0 0 0;
}
.applied-sokunou-btopc-product-quantity {
  font-size: 1rem;
  color: #333;
  margin: 0;
}
.applied-sokunou-btopc-product-name a,
#category li.innrtList_li p.name a {
  text-decoration: none;
  color: inherit;
}
.applied-sokunou-btopc-product-name a:hover,
#category li.innrtList_li p.name  a:hover {
  text-decoration: underline;
}

/* ===== ページャーのスタイル（最新マテリアルデザイン風） ===== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}
.pagination-container button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 0 4px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}
@media (max-width: 1024px) {
  .pagination-container button {
    padding: 14px 4px;
    margin: 0 2px;
    min-width: 24px;
  }
}
.pagination-container button:hover {
  background-color: #e0e0e0;
}
.pagination-container button.active {
  background-color: #1976d2;
  color: #fff;
  border-color: #1976d2;
}
.pagination-container button:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none;
}

/* ===== アコーディオン ===== */

/* コンテンツラッパー */
#btopc-accordion-content {
  overflow: hidden;
  height: 0;
  display: none;
  transition: height 1s ease;
}

/* ボタン */
#btopc-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #196BC7;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  width: auto;
  margin: 0.75rem auto;
  border-radius: 25px;
  transition: background-color .2s;
}
#btopc-accordion-toggle .svg-inline--fa {
  margin-right: 6px;
}
#btopc-accordion-toggle.open {
  background-color: #196BC7;
}
#applied_sokunou_btopc_area.loading:not(.open) {
  min-height: 0 !important;
}


/* Creator mode TOP overrides (extracted from current TOP user CSS) */
/* BTOかんたん検索 */
.bto-easy-search.lyt-section,#applied_sokunou_btopc_area {
  --bto-search-navy: #012061;
  --bto-search-red: #e60012;
  color: var(--bto-search-navy);
  padding: 0 0 60px;
}

.bto-easy-search.lyt-section {
  --bto-search-background: #f5f6f8;
  background: var(--bto-search-background);
}

.bto-easy-search #applied_sokunou_btopc_area {
  margin: 0;
  padding: 0;
}

.bto-easy-search .applied_sokunou_btopc_area_h2 {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 16px;
  font-size: clamp(18px, 3.4vw, 36px);
  line-height: 1.4;
}

.bto-easy-search .applied_sokunou_btopc_area_h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--bto-search-red);
  border-radius: 999px;
}

.bto-easy-search-lead {
  margin-bottom: 20px;
  color: #5d6873;
  font-size: 13px;
  line-height: 1.8;
}

.bto-filter-panel-open,
.bto-filter-panel-close {
  display: none;
}

.bto-filter-panel {
  display: block;
}

@media screen and (max-width: 767px) {
  .bto-easy-search.lyt-section {
    padding: 20px 0 30px;
  }
  .bto-filter-panel-open {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 74px;
    margin: 0 0 18px;
    padding: 13px 14px;
    color: #fff;
    background: var(--bto-search-navy);
    border: 1px solid var(--bto-search-navy);
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 8px 18px rgba(1, 32, 97, 0.16);
  }

  .bto-filter-panel-open-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--bto-search-red);
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 400;
  }

  .bto-filter-panel-open strong,
  .bto-filter-panel-open small {
    display: block;
  }

  .bto-filter-panel-open strong {
    font-size: 15px;
  }

  .bto-filter-panel-open small {
    margin-top: 2px;
    color: #dce6fb;
    font-size: 10px;
    line-height: 1.5;
  }

  .bto-filter-panel-open-arrow {
    font-size: 20px;
    text-align: center;
  }

  .bto-filter-panel {
    display: none;
  }

  .bto-easy-search.is-filter-panel-open .bto-filter-panel {
    display: block;
  }

  .bto-easy-search.is-filter-panel-open .bto-filter-panel-open {
    display: none;
  }

  .bto-filter-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    margin: 2px 0 20px;
    padding: 10px 16px;
    color: #fff;
    background: var(--bto-search-red);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .bto-filter-panel-close span {
    font-size: 20px;
    font-weight: 400;
  }

  #applied_sokunou_btopc_filter,
  #applied_sokunou_btopc_toolbar,
  #applied_sokunou_btopc_list {
    scroll-margin-top: 88px;
  }
}

.bto-easy-search #applied_sokunou_btopc_filter {
  column-count: 1;
  column-gap: 18px;
  margin-bottom: 16px;
}

.bto-easy-search .applied-sokunou-btopc-filter-group {
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 41, 68, 0.04);
}

.bto-easy-search .applied-sokunou-btopc-filter-group h3 {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: var(--bto-search-navy);
  font-size: 16px;
  line-height: 1.5;
}

.bto-easy-search .applied-sokunou-btopc-filter-group h3 svg {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  color: var(--bto-search-red);
}

.bto-easy-search .applied-sokunou-btopc-filter-group > p {
  margin: -10px 0 12px 22px;
  color: #6d7780;
  font-size: 11px;
}

.bto-easy-search .applied-sokunou-btopc-filter-buttons {
  gap: 8px;
}

.bto-easy-search .applied-sokunou-btopc-filter-buttons button {
  min-height: 32px;
  padding: 6px 13px;
  color: var(--bto-search-navy);
  background: #eef1f4;
  border: 1px solid #d6dce2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  margin: 0 6px 6px 0;
}

.bto-easy-search .applied-sokunou-btopc-filter-buttons button:hover {
  color: #fff;
  background: var(--bto-search-navy);
  border-color: var(--bto-search-navy);
  box-shadow: none;
}

.bto-easy-search .applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-selected {
  color: #fff;
  background: var(--bto-search-red);
  border-color: var(--bto-search-red);
}

.bto-easy-search .applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-disabled,
.bto-easy-search .applied-sokunou-btopc-filter-buttons button.applied-sokunou-btopc-unavailable {
  color: #9ba4ad;
  background: #e8ebee;
  border-color: #e1e5e8;
  cursor: not-allowed;
  opacity: 0.72;
}

.bto-easy-search #applied_sokunou_btopc_filter > .applied-sokunou-btopc-filter-group-clear {
  width: 100%;
  margin: 4px 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bto-easy-search .applied-sokunou-btopc-filter-group-clear h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: center;
}

.bto-easy-search .applied-sokunou-btopc-filter-group-clear .applied-sokunou-btopc-filter-buttons {
  justify-content: center;
}

.bto-easy-search .applied-sokunou-btopc-filter-group-clear .applied-sokunou-btopc-clear-all {
  flex-grow: 0;
  width: min(100%, 360px);
  color: #fff;
  background: var(--bto-search-navy);
  border-color: var(--bto-search-navy);
}

.bto-easy-search .applied-sokunou-btopc-filter-group-clear .applied-sokunou-btopc-clear-all.applied-sokunou-btopc-disabled {
  color: #7f8993;
  background: #dfe3e7;
  border-color: #dfe3e7;
}

.bto-easy-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  margin: 8px 0 26px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: 10px;
}

.bto-search-waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 8px 16px;
  text-align: center;
}

.bto-search-waiting strong {
  color: var(--bto-search-navy);
  font-size: 15px;
}

.bto-search-waiting span {
  margin-top: 3px;
  color: #687580;
  font-size: 11px;
}

.bto-easy-search .applied-sokunou-btopc-result-count {
  margin: 0;
  color: var(--bto-search-navy);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bto-easy-search .applied-sokunou-btopc-sort-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.bto-easy-search .applied-sokunou-btopc-sort-label {
  color: #5d6873;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bto-easy-search .applied-sokunou-btopc-sort-select-wrap {
  position: relative;
  min-width: 168px;
}

.bto-easy-search .applied-sokunou-btopc-sort-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--bto-search-navy);
  border-bottom: 2px solid var(--bto-search-navy);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.bto-easy-search .applied-sokunou-btopc-sort-select {
  width: 100%;
  min-height: 42px;
  padding: 8px 40px 8px 14px;
  color: var(--bto-search-navy);
  background: #f8f9fa;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.bto-easy-search .applied-sokunou-btopc-sort-select:focus-visible {
  outline: 3px solid rgba(230, 0, 18, 0.2);
  outline-offset: 2px;
}

.bto-easy-search #applied_sokunou_btopc_list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px 8px !important;
  width: 100% !important;
  max-width: none !important;
}

.bto-easy-search .applied-sokunou-btopc-product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7dde3 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(15, 41, 68, 0.04);
}

.bto-easy-search .applied-sokunou-btopc-product-card:hover {
  box-shadow: 0 8px 22px rgba(15, 41, 68, 0.12);
}

.bto-easy-search .applied-sokunou-btopc-product-image {
  width: 100% !important;
  height: auto !important;
  padding: 10px !important;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.bto-easy-search .applied-sokunou-btopc-product-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.bto-easy-search .applied-sokunou-btopc-product-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
}

.bto-easy-search .applied-sokunou-btopc-product-info {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 12px !important;
}

.bto-easy-search .applied-sokunou-btopc-product-name {
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  font-size: 12px;
  line-height: 1.55;
}

.bto-easy-search .applied-sokunou-btopc-product-name a {
  color: var(--bto-search-navy);
}

.bto-easy-search .applied-sokunou-btopc-product-info .spec-list {
  margin: 0;
}

.bto-easy-search .applied-sokunou-btopc-product-info .spec-type {
  color: #65717d;
  font-size: 10px;
}

.bto-easy-search .applied-sokunou-btopc-product-info .spec-value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--bto-search-navy);
  font-size: 14px;
  font-weight: 700;
}

.bto-easy-search .applied-sokunou-btopc-product-price {
  margin-top: auto;
  color: var(--bto-search-red);
  font-size: 19px;
  font-weight: 800;
}

.bto-easy-search .applied-sokunou-btopc-product-shipping{
  font-size: 0.8rem;
  color: #333;
  margin: 0.2em 0 0 0;
  padding: 0;
}

.bto-easy-search .applied-sokunou-btopc-product-quantity {
  margin-top: 5px;
  color: #55616c;
  font-size: 10px;
  line-height: 1.55;
}

.bto-easy-search .applied-sokunou-btopc-product-soldout {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 8px 0 0;
  padding: 4px 10px;

  border: 1px solid #c62828;
  border-radius: 4px;

  background: #fff2f2;
  color: #b71c1c;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.bto-easy-search .applied-sokunou-btopc-product-info > a:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 10px;
  color: #fff;
  background: var(--bto-search-red);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

.bto-easy-search .applied-sokunou-btopc-product-info > a:last-child:hover {
  background: var(--bto-search-navy);
  opacity: 1;
}

.bto-easy-search .pagination-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 24px 0;
}

@media screen and (max-width: 767px) {
  .bto-easy-search .pagination-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .bto-easy-search .pagination-container button {
    flex: 0 0 auto;
    min-width: 34px;
    min-height: 36px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .bto-easy-search .pagination-container .pagination-prev,
  .bto-easy-search .pagination-container .pagination-next {
    min-width: 68px;
  }
}

.bto-easy-search .pagination-container button {
  min-width: 38px;
  min-height: 38px;
  margin: 0;
  padding: 7px 9px;
  color: var(--bto-search-navy);
  background: #fff;
  border: 1px solid #cfd6dd;
  border-radius: 5px;
}

.bto-easy-search .pagination-container button:hover {
  color: #fff;
  background: var(--bto-search-navy);
}

.bto-easy-search .pagination-container button.active {
  color: #fff;
  background: var(--bto-search-red);
  border-color: var(--bto-search-red);
}

.bto-easy-search .pagination-container button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.bto-easy-search #loadingText {
  color: var(--bto-search-navy);
}

.bto-easy-search .lds-dual-ring::after {
  border-color: var(--bto-search-red) transparent var(--bto-search-navy) transparent;
}

@media screen and (max-width: 479px) {
  .bto-easy-search-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .bto-easy-search .applied-sokunou-btopc-sort-container {
    justify-content: space-between;
  }

  .bto-easy-search .applied-sokunou-btopc-sort-select-wrap {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (min-width: 480px) {
  .bto-easy-search #applied_sokunou_btopc_list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (min-width: 768px) {
  .bto-easy-search-lead {
    margin-bottom: 36px;
    font-size: 14px;
  }

  .bto-easy-search .applied-sokunou-btopc-filter-group {
    padding: 20px;
  }

  .bto-easy-search .applied-sokunou-btopc-filter-buttons button {
    min-height: 44px;
    font-size: 13px;
  }

  .bto-easy-search #applied_sokunou_btopc_list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 44px 18px !important;
  }
}

@media screen and (min-width: 1025px) {
  .bto-easy-search #applied_sokunou_btopc_filter {
    column-count: 2;
  }

  .bto-easy-search #applied_sokunou_btopc_filter > .applied-sokunou-btopc-filter-group-clear {
    width: 50%;
    margin-right: auto;
    margin-left: auto;
  }

  .bto-easy-search #applied_sokunou_btopc_list {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media screen and (min-width: 1280px) {
  .bto-easy-search #applied_sokunou_btopc_list {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 64px 22px !important;
  }
}

/* 検索エリアを親要素の幅に収める */
#applied_sokunou_btopc_area.bto-easy-search {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* スマホの商品一覧を、内容にかかわらず2列に収める */
@media screen and (max-width: 479px) {
  .bto-easy-search #applied_sokunou_btopc_list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}