/* カタログ読込プログレス */
.catalog-load-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  background: rgba(15, 17, 17, 0.92);
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}
.catalog-load-progress__track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.catalog-load-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff9900, #ffb84d);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.catalog-load-progress__label { white-space: nowrap; opacity: 0.85; }

.dev-connection-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  background: #b12704;
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.dev-connection-banner[hidden] { display: none !important; }
.dev-connection-banner code {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.dev-connection-banner__retry {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.dev-connection-banner__start {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

.dev-connection-banner--soft {
  background: linear-gradient(90deg, #b45309, #d97706);
}

.dealmax-boot-blocker {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 17, 17, 0.72);
  backdrop-filter: blur(4px);
}

.dealmax-boot-blocker[hidden] { display: none !important; }

.dealmax-boot-blocker__panel {
  width: min(560px, 100%);
  background: #fff;
  color: #0f1111;
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.dealmax-boot-blocker__panel h1 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.dealmax-boot-blocker__panel p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  font-size: 0.9375rem;
}

.dealmax-boot-blocker__cmd {
  display: block;
  margin: 0.35rem 0 0.65rem;
  padding: 0.55rem 0.65rem;
  background: #f3f3f3;
  border-radius: 8px;
  font-size: 0.8125rem;
  word-break: break-all;
}

.dealmax-boot-blocker__link {
  display: inline-block;
  margin-top: 0.25rem;
  color: #007185;
  font-weight: 700;
  word-break: break-all;
}

.dealmax-boot-blocker__copy,
.dealmax-boot-blocker__link {
  font-family: inherit;
}

.dealmax-boot-blocker__copy {
  border: 1px solid #d5d9d9;
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
}

.dealmax-boot-blocker__hint {
  color: #565959;
  font-size: 0.8125rem;
}

body.dealmax-boot-blocked .app-splash,
body.dealmax-boot-blocked .deal-bg,
body.dealmax-boot-blocked .amz-header,
body.dealmax-boot-blocked main {
  pointer-events: none;
  user-select: none;
}

/* Amazon.co.jp 風 UI — カテゴリドロップダウン・サイドメニュー・ホームカード */

/* ── 検索バー内カテゴリピッカー ── */
.amz-cat-picker {
  position: relative;
  flex-shrink: 0;
}

.amz-cat-picker__trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  border: 0;
  background: #f3f3f3;
  color: #0f1111;
  font-size: 0.75rem;
  padding: 0 0.65rem;
  border-right: 1px solid #cdcdcd;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  max-width: 9.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amz-cat-picker__trigger:hover { background: #e3e6e6; }

.amz-cat-picker__trigger svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.amz-cat-picker__menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 500;
  min-width: 260px;
  max-width: min(320px, 92vw);
  max-height: min(70vh, 520px);
  overflow: hidden;
  border-radius: 8px;
  background: rgba(15, 17, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.amz-cat-picker__menu[hidden] { display: none; }

.amz-cat-picker__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.amz-cat-picker__list::-webkit-scrollbar { width: 6px; }
.amz-cat-picker__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.amz-cat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
}

.amz-cat-item:hover { background: rgba(255, 255, 255, 0.1); }

.amz-cat-item.is-active { font-weight: 600; }

.amz-cat-item__check {
  width: 14px;
  flex-shrink: 0;
  opacity: 0;
  font-size: 0.75rem;
}

.amz-cat-item.is-active .amz-cat-item__check { opacity: 1; }

.amz-cat-divider {
  padding: 0.65rem 1rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.amz-cat-item__count {
  margin-left: auto;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── サブナビ（Amazon 第2行） ── */
.amz-subnav {
  background: var(--header-sub);
  color: #fff;
  position: sticky;
  top: 56px;
  z-index: 180;
}

.amz-subnav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.amz-subnav__inner::-webkit-scrollbar { display: none; }

.amz-subnav__all {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.amz-subnav__all:hover { outline: 1px solid #fff; outline-offset: -1px; border-radius: 2px; }

.amz-subnav__link {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.amz-subnav__link:hover { text-decoration: underline; }

.amz-subnav__link.is-active { color: #febd69; }

.amz-subnav__link--amazon { color: #febd69; }
.amz-subnav__link--rakuten { color: #ffb3b3; }

.amz-subnav__sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 0.15rem;
}

/* ── ハンバーガー カテゴリドロワー ── */
.amz-drawer[hidden] { display: none; }

.amz-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
}

.amz-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.amz-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
  animation: amzSlideIn 0.22s ease;
}

@keyframes amzSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.amz-drawer__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--header-sub);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.amz-drawer__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.amz-drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.amz-drawer__group {
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
}

.amz-drawer__group-head {
  padding: 0.65rem 1rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.amz-drawer__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.6rem 1rem;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.amz-drawer__item:hover { background: #f7fafa; }

.amz-drawer__item.is-active {
  background: #fff4e5;
  font-weight: 600;
  color: var(--amazon-dark);
}

.amz-drawer__item .amz-cat-item__check { color: var(--amazon); opacity: 0; }
.amz-drawer__item.is-active .amz-cat-item__check { opacity: 1; }

/* ── ホーム（Amazon カードグリッド） ── */
.amz-home { background: var(--bg); }

.amz-hero-banner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 0 7rem;
  background: linear-gradient(180deg, #37475a 0%, #232f3e 40%, var(--bg) 95%);
  overflow: hidden;
}

.amz-hero-banner__slide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
  color: #fff;
  min-height: 220px;
}

.amz-hero-banner__slide h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  max-width: 520px;
}

.amz-hero-banner__slide p {
  font-size: 0.9375rem;
  color: #ddd;
  max-width: 480px;
  margin: 0 0 1rem;
  line-height: 1.55;
}

.amz-hero-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: var(--amazon);
  color: #111;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

.amz-hero-banner__cta:hover { background: #f3a847; }

.amz-hero-banner__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

/* ── ヒーロー内ピックアップチップ ── */
.amz-hero-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  max-width: 640px;
}

.amz-hero-picks__label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffb84d;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255, 184, 77, 0.45);
  border-radius: 4px;
}

.amz-hero-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: min(100%, 220px);
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.amz-hero-pick:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 184, 77, 0.55);
}

a.amz-hero-pick,
button.amz-hero-pick {
  text-decoration: none;
  color: inherit;
}

button.amz-hero-pick,
button.top-deal-card {
  border: none;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  color: inherit;
}

button.special-card {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  color: inherit;
  text-align: left;
}

.product-card,
.deal-card.list-card {
  cursor: pointer;
}

.product-card__media-link,
.deal-card__img-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__name-link {
  text-decoration: none;
  color: inherit;
}

.product-card__name-link:hover {
  color: var(--amazon-dark, var(--accent));
  text-decoration: underline;
}

.amz-hero-pick--collab { border-color: rgba(167, 139, 250, 0.45); }
.amz-hero-pick--limited { border-color: rgba(255, 184, 77, 0.45); }

.amz-hero-pick__tag { flex-shrink: 0; font-size: 0.85rem; }

.amz-hero-pick__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── コラボ・限定スポットライト ── */
.amz-spotlight {
  max-width: 1280px;
  margin: -5.5rem auto 0;
  padding: 0 1rem 1.25rem;
  position: relative;
  z-index: 3;
}

.amz-spotlight__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0 0.15rem;
}

.amz-spotlight__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.amz-spotlight__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: #0f1111;
  line-height: 1.2;
}

.amz-spotlight__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #565959;
}

.amz-spotlight__more {
  flex-shrink: 0;
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.amz-spotlight__more:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.amz-spotlight__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0.5rem;
  padding: 0.5rem 0.15rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.amz-spotlight__track::-webkit-scrollbar { height: 6px; }
.amz-spotlight__track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.amz-spotlight__empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: #888;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.special-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 17, 17, 0.1);
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
}

.special-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 17, 17, 0.14);
}

.special-card--collab {
  border-color: rgba(124, 58, 237, 0.25);
  background: linear-gradient(180deg, #faf5ff 0%, #fff 40%);
}

.special-card--limited {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, #fffbeb 0%, #fff 40%);
}

.special-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(15, 17, 17, 0.82);
  color: #fff;
}

.special-card--collab .special-card__badge { background: linear-gradient(135deg, #7c3aed, #9333ea); }
.special-card--limited .special-card__badge { background: linear-gradient(135deg, #d97706, #f59e0b); }

.special-card__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f7f7f7;
}

.special-card__brand {
  font-size: 0.65rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.special-card__name {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.05em;
}

.special-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #b12704;
}

.special-card__price em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 500;
  color: #888;
  margin-left: 0.2rem;
}

.special-card__win {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #fff;
  align-self: flex-start;
}

.special-card__win.route-amazon { background: var(--amazon-dark, #232f3e); }
.special-card__win.route-rakuten { background: var(--rakuten, #bf0000); }

.amz-subnav__link--special {
  color: #7c3aed !important;
  font-weight: 600;
}

.amz-subnav__link--special:hover { color: #6d28d9 !important; }

.product-card__choice--collab {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  color: #fff !important;
}

.product-card__choice--limited {
  background: linear-gradient(135deg, #d97706, #f59e0b) !important;
  color: #fff !important;
}

.cat-check--special span { color: #7c3aed; font-weight: 600; }

@media (max-width: 768px) {
  .amz-spotlight { margin-top: -4rem; }
  .amz-spotlight__head { flex-direction: column; align-items: flex-start; }
  .special-card { flex: 0 0 148px; }
}

.amz-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  position: relative;
  z-index: 2;
}

.amz-card {
  background: #fff;
  border-radius: 0;
  padding: 1.25rem;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.amz-card--wide { grid-column: span 2; }
.amz-card--full { grid-column: 1 / -1; }

.amz-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.amz-card__sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin: -0.5rem 0 0.75rem;
}

.amz-card__body {
  flex: 1;
  min-height: 0;
}

.amz-card__link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.85rem;
  border: 0;
  background: none;
  color: #007185;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.amz-card__link:hover { color: var(--amazon-dark); text-decoration: underline; }

/* カード内 2×2 グリッド */
.amz-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.amz-card-grid__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.amz-card-grid__item img,
.amz-card-grid__item .top-deal-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #f0f0f0;
}

.amz-card-grid__label {
  font-size: 0.75rem;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.amz-card-scroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.amz-card-scroll .top-deal-card {
  flex: 0 0 140px;
}

/* カテゴリショートカット（ホーム内） */
.amz-cat-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.amz-cat-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #e7e7e7;
  background: #fff;
  padding: 0.65rem 0.35rem;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  transition: border-color 0.15s;
}

.amz-cat-shortcut:hover { border-color: var(--amazon); }

.amz-cat-shortcut__icon { font-size: 1.5rem; }
.amz-cat-shortcut__label { font-size: 0.6875rem; font-weight: 600; text-align: center; line-height: 1.2; }

/* 旧 cat-filter 非表示 */
.cat-filter { display: none !important; }

.platform-strip {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.platform-strip__inner { color: var(--muted); font-size: 0.75rem; }

/* 商品カード Amazon 強化 */
.product-card {
  border-radius: 0;
  border: 1px solid transparent;
}

.product-card:hover { border-color: #ddd; }

.product-card__name-btn {
  color: #007185 !important;
  font-weight: 400 !important;
}

.product-card__name-btn:hover { color: var(--amazon-dark) !important; text-decoration: underline; }

.product-card__price-main {
  color: #b12704;
  font-size: 1.375rem;
}

.shop-cta {
  border-radius: 20px !important;
  font-size: 0.8125rem !important;
}

/* ヘッダー調整 */
.deal-header {
  background: var(--header-bg) !important;
  padding: 0.5rem 1rem !important;
  flex-wrap: nowrap !important;
}

.mall-search {
  height: 42px !important;
  border-radius: 4px !important;
  overflow: visible !important;
}

.mall-search__input { border-radius: 0; }

.mall-search__btn {
  border-radius: 0 4px 4px 0 !important;
  background: #febd69 !important;
}

.mall-search__btn:hover { background: #f3a847 !important; }

.deal-footer {
  background: var(--header-sub);
  color: #ccc;
  border-top: 0;
  margin-bottom: 56px;
}

.deal-footer button { color: #ccc !important; }

@media (max-width: 1024px) {
  .amz-home-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .amz-card--wide { grid-column: span 2; }
}

.amz-hero-banner__slide .deal-hero__badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.amz-hero-banner__slide .gradient-text {
  background: linear-gradient(90deg, #ff9900, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.amz-card .platform-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .amz-subnav { top: 96px; }
  .amz-home-grid {
    grid-template-columns: 1fr;
    margin-top: -2rem;
    gap: 0.85rem;
  }
  .amz-card--wide { grid-column: span 1; }
  .amz-cat-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .amz-cat-picker__trigger { max-width: 5.5rem; font-size: 0.6875rem; }
}

/* ── Amazon風 検索結果 ── */
.amz-search-header { margin-bottom: 0.5rem; }

.amz-search-results {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.85rem 1rem 0.75rem;
}

.amz-search-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.amz-search-results__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: #0f1111;
  line-height: 1.3;
}

.amz-search-results__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: #565959;
}

.amz-search-results__meta strong { color: #0f1111; font-weight: 700; }

.amz-search-results__intent {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  background: #f0f2f2;
  border-radius: 3px;
  font-size: 0.75rem;
  color: #007185;
}

.amz-search-results__loading { color: #b12704; }

.amz-search-results__fusion {
  display: inline-block;
  margin-left: 0.35rem;
  color: #007185;
  font-size: 0.88em;
}

.amz-search-results__fusion strong { color: #0f1111; }

.amz-search-results__tagline {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #565959;
  line-height: 1.4;
}

.amz-search-results__external {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amz-search-external {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d5d9d9;
  background: #fff;
  color: #0f1111;
}

.amz-search-external:hover { border-color: #007185; color: #007185; }

.amz-search-external--amazon { border-color: #ff9900; color: #c45500; }
.amz-search-external--rakuten { border-color: #bf0000; color: #bf0000; }

.amz-search-refine {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.amz-search-refine__chip {
  flex: 0 0 auto;
  border: 1px solid #d5d9d9;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: #0f1111;
  cursor: pointer;
  white-space: nowrap;
}

.amz-search-refine__chip:hover { border-color: #007185; color: #007185; }

.amz-search-refine__chip.is-active {
  background: #232f3e;
  border-color: #232f3e;
  color: #fff;
}

.results-bar--search .compare-mode { display: none; }

.product-card--search {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.65rem;
  background: #fff;
  box-shadow: none;
}

.product-card--search .product-card__name {
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0.35rem 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--search .product-card__name-link { color: #007185; }

.product-card--search .product-card__search-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #b12704;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.product-card--search .product-card__prime--inline {
  position: static;
  font-size: 0.62rem;
  padding: 0.1rem 0.35rem;
}

.product-card--search .shop-cta--search {
  width: 100%;
  font-size: 0.78rem;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
}

.product-card--search .fav-btn {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.85rem;
}

.product-grid--search {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.product-card__lane {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.product-card__lane--amazon { background: #fff3e0; color: #c45500; border: 1px solid #ff9900; }
.product-card__lane--rakuten { background: #fff0f0; color: #bf0000; border: 1px solid #bf0000; }
.product-card__lane--both { background: #e8f4f8; color: #007185; border: 1px solid #007185; }

.mall-search {
  position: relative;
  overflow: visible;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 44px;
  z-index: 120;
  background: #fff;
  border: 1px solid #cdcdcd;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(15, 17, 17, 0.15);
  max-height: min(420px, 60vh);
  overflow: auto;
}

.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #0f1111;
}

.search-suggest__item:hover,
.search-suggest__item.is-active {
  background: #f3f3f3;
}

.search-suggest__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  text-align: center;
  opacity: 0.75;
}

.search-suggest__text {
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest__sub {
  display: block;
  font-size: 0.72rem;
  color: #565959;
  margin-top: 0.1rem;
}

.search-compare-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3.4rem, 1fr));
  gap: 0.25rem;
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid #e7e7e7;
}

.search-compare-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem 0.15rem;
  border-radius: 4px;
  border: 1px solid #e7e7e7;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  font-size: 0.62rem;
  line-height: 1.2;
  min-width: 0;
}

.search-compare-strip__item:hover { border-color: #007185; background: #f7feff; }
.search-compare-strip__item.is-win { border-color: #067d62; background: #f0faf6; }
.search-compare-strip__item.is-empty { opacity: 0.65; }
.search-compare-strip__item.amazon { border-top: 2px solid #ff9900; }
.search-compare-strip__item.rakuten { border-top: 2px solid #bf0000; }
.search-compare-strip__item.yahoo { border-top: 2px solid #ff0033; }
.search-compare-strip__item.yodobashi { border-top: 2px solid #004098; }
.search-compare-strip__item.biccamera { border-top: 2px solid #cc0000; }
.search-compare-strip__item.costco { border-top: 2px solid #3071a9; }

.search-compare-strip__icon { font-size: 0.75rem; line-height: 1; }
.search-compare-strip__shop { color: #565959; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.search-compare-strip__price { font-weight: 700; color: #0f1111; font-size: 0.68rem; }
.search-compare-strip__item.is-win .search-compare-strip__price { color: #067d62; }

.empty-state__external {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}
