@charset "UTF-8";

/*!
 * goods-catalog.css
 * エヴァンゲリオンLP グッズカタログ スタイルシート (完全修正版)
 * - 特務機関NERV・戦術コンソールをモチーフにしたサイバーUIデザイン
 * - 3軸多層フィルタ・堅牢レスポンシブサムネイルグリッド・詳細モーダル
 * - 商品画像は見切れ厳禁 (object-fit: contain)
 * - PC / SP 完全対応レイアウト
 */

:root {
  --eva-black: #080a0f;
  --eva-dark: #10131c;
  --eva-dark-surface: #141824;
  --eva-dark-border: rgba(255, 85, 0, 0.25);
  --eva-orange: #ff5500;
  --eva-orange-light: #ff7722;
  --eva-orange-glow: rgba(255, 85, 0, 0.45);
  --eva-red: #e60012;
  --eva-red-glow: rgba(230, 0, 18, 0.5);
  --eva-purple: #70389a;
  --eva-green: #00e676;
  --eva-green-glow: rgba(0, 230, 118, 0.4);
  --eva-text-main: #ffffff;
  --eva-text-sub: #a4b3c6;
  --eva-text-muted: #5e6b7d;
  --eva-font-en: 'Big Shoulders Stencil', 'Oswald', 'Sarpanch', sans-serif;
  --eva-font-ja: 'Noto Serif JP', 'YakuhanMP', sans-serif;
}

/* ==========================================================================
   0. 親レイアウトの拘束 & はみ出し防止（PC / SP 共通）
   ========================================================================== */
#p-goods .p-body {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

#p-goods .p-body-inner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}


/* ==========================================================================
   1. カタログ全体ラッパー & コンソールヘッダー
   ========================================================================== */
.eva-goods-catalog-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.eva-catalog-console {
  background: linear-gradient(180deg, rgba(20, 24, 36, 0.96) 0%, rgba(10, 13, 20, 0.98) 100%);
  border: 1px solid var(--eva-dark-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 85, 0, 0.08);
  position: relative;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}

.eva-catalog-console::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eva-orange), transparent);
  pointer-events: none;
}

.eva-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: rgba(8, 10, 15, 0.85);
  border-bottom: 1px solid rgba(255, 85, 0, 0.2);
  font-family: var(--eva-font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  flex-wrap: wrap;
  gap: 8px;
  box-sizing: border-box;
}

.eva-console-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--eva-orange);
  font-weight: 700;
  min-width: 0;
}

.eva-led-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--eva-green);
  box-shadow: 0 0 8px var(--eva-green-glow);
  animation: eva-led-blink 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes eva-led-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.eva-console-header__status {
  color: var(--eva-text-sub);
  font-size: 12px;
  white-space: nowrap;
}

.eva-status-text {
  color: var(--eva-green);
  font-weight: 600;
}

/* ==========================================================================
   2. フィルタコントロール行
   ========================================================================== */
.eva-filter-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.eva-filter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.eva-filter-row[data-filter-group="sortC"] {
  display: none;
}

.eva-filter-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.eva-filter-row__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eva-filter-row__tag {
  font-family: var(--eva-font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--eva-orange);
  background: rgba(255, 85, 0, 0.12);
  padding: 2px 8px;
  border-left: 2px solid var(--eva-orange);
  font-weight: 600;
  white-space: nowrap;
}

.eva-filter-row__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--eva-text-main);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.eva-filter-row__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eva-filter-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--eva-text-sub);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  user-select: none;
  white-space: nowrap;
}

.eva-filter-btn:hover {
  background: rgba(255, 85, 0, 0.15);
  border-color: var(--eva-orange);
  color: #ffffff;
  transform: translateY(-1px);
}

.eva-filter-btn.is-active {
  background: linear-gradient(135deg, var(--eva-orange) 0%, #d83f00 100%);
  border-color: var(--eva-orange-light);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 14px var(--eva-orange-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   3. フィルタフッター（件数カウンター & リセット）
   ========================================================================== */
.eva-filter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(10, 13, 18, 0.95);
  border-top: 1px solid rgba(255, 85, 0, 0.25);
  flex-wrap: wrap;
  gap: 10px;
  box-sizing: border-box;
}

.eva-result-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--eva-font-en);
}

.eva-counter-label {
  font-size: 12px;
  color: var(--eva-text-sub);
  letter-spacing: 0.1em;
}

.eva-counter-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--eva-orange);
  text-shadow: 0 0 10px var(--eva-orange-glow);
  line-height: 1;
}

.eva-counter-unit {
  font-size: 12px;
  color: var(--eva-text-sub);
}

.eva-reset-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(230, 0, 18, 0.5);
  color: #ff4d5a;
  padding: 6px 14px;
  font-family: var(--eva-font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.eva-reset-btn:hover {
  background: var(--eva-red);
  color: #ffffff;
  box-shadow: 0 0 12px var(--eva-red-glow);
  border-color: var(--eva-red);
}

/* ==========================================================================
   4. 商品サムネイルグリッド（PC: 4列 / タブレット: 3列 / スマホ: 2列）
   ========================================================================== */
#eva-goods-grid-container {
  width: 100%;
  box-sizing: border-box;
  transition: opacity 0.15s ease;
}

#eva-goods-grid-container.is-updating {
  opacity: 0.3;
}

.eva-goods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1199px) {
  .eva-goods-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .eva-goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* カード本体 */
.eva-goods-card {
  min-width: 0;
  width: 100%;
  position: relative;
  background: var(--eva-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.eva-goods-card:hover {
  transform: translateY(-4px);
  border-color: var(--eva-orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 15px var(--eva-orange-glow);
}

.eva-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* コーナー装飾 */
.eva-card__corner {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--eva-orange);
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}

.eva-card__corner--tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.eva-card__corner--br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* 期間限定バッジ */
.eva-card__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--eva-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  z-index: 5;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  clip-path: polygon(3px 0%, 100% 0%, calc(100% - 3px) 100%, 0% 100%);
  pointer-events: none;
}

/* サムネイル画像エリア（見切れ絶対にNG: object-fit: contain） */
.eva-card__thumb {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #080b12;
    background: #2a2a2a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.eva-card__thumb picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eva-card__thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* ★見切れ防止 */
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: block;
}

.eva-goods-card:hover .eva-card__thumb img {
  transform: scale(1.05);
}

/* ホバーオーバーレイ */
.eva-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 15, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 3;
}

.eva-goods-card:hover .eva-card__overlay {
  opacity: 1;
}

.eva-card__view-btn {
  font-family: var(--eva-font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--eva-orange);
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border: 1px solid var(--eva-orange);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 10px var(--eva-orange-glow);
}

/* カード情報エリア */
.eva-card__info {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
  background: var(--eva-dark-surface);
}

.eva-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.eva-tag {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.eva-tag.series {
  background: rgba(255, 85, 0, 0.12);
  color: var(--eva-orange);
  border: 1px solid rgba(255, 85, 0, 0.3);
}

.eva-tag.category {
  background: rgba(255, 255, 255, 0.08);
  color: var(--eva-text-sub);
}

.eva-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--eva-text-main);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.eva-card__price {
  font-family: var(--eva-font-en);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eva-orange);
  margin-top: 6px;
  margin-bottom: 0;
}

/* エンプティステート */
.eva-grid-empty {
  text-align: center;
  padding: 50px 20px;
  background: rgba(20, 24, 36, 0.5);
  border: 1px dashed rgba(255, 85, 0, 0.3);
  box-sizing: border-box;
  width: 100%;
}

.eva-empty-warning {
  font-family: var(--eva-font-en);
  font-size: 18px;
  color: var(--eva-orange);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.eva-empty-text {
  color: var(--eva-text-sub);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   5. モーダルダイアログ（NERV調 詳細ウィンドウ）
   ========================================================================== */
body.eva-modal-open {
  overflow: hidden !important;
}

dialog.eva-modal-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  padding: 0;
  background: transparent;
  max-width: 940px;
  width: 92%;
  max-height: 90vh;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

dialog.eva-modal-dialog:not([open]) {
  display: none;
}

dialog.eva-modal-dialog.show-from,
dialog.eva-modal-dialog.hide-to {
  opacity: 0;
  transform: scale(0.95);
}

/* Backdrop */
.eva-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

/* パネル本体 */
.eva-modal-panel {
  position: relative;
  background: linear-gradient(175deg, #181d29 0%, #0d1017 100%);
  border: 2px solid var(--eva-orange);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px var(--eva-orange-glow);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  box-sizing: border-box;
}

/* コーナー装飾 */
.eva-modal-panel__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #ffffff;
  border-style: solid;
  pointer-events: none;
  z-index: 5;
}

.eva-modal-panel__corner--tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.eva-modal-panel__corner--tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
.eva-modal-panel__corner--bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
.eva-modal-panel__corner--br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

/* 閉じるボタン */
.eva-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  appearance: none;
  background: rgba(230, 0, 18, 0.95);
  border: 1px solid #ff4d5a;
  color: #ffffff;
  font-family: var(--eva-font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  pointer-events: auto !important;
}

.eva-modal-close-btn * {
  pointer-events: none !important;
}

.eva-modal-close-btn:hover {
  background: var(--eva-red);
  box-shadow: 0 0 14px var(--eva-red-glow);
  transform: scale(1.04);
}

/* コンテンツ領域 */
.eva-modal-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 30px 32px 20px;
  flex-grow: 1;
  transition: opacity 0.15s ease;
  box-sizing: border-box;
}

.eva-modal-content.is-fade-out {
  opacity: 0;
}

.eva-modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  box-sizing: border-box;
}

/* メディアカラム */
.eva-modal-col-media {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
}

.eva-modal-gallery {
  width: 100%;
  aspect-ratio: 1 / 1;
    background: #2a2a2a;
  border: 1px solid rgba(255, 85, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}

.eva-modal-main-img {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eva-modal-main-img picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eva-modal-main-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* ★見切れ防止 */
  display: block;
}

/* 情報カラム */
.eva-modal-col-info {
  display: flex;
  flex-direction: column;
}

.eva-modal-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.eva-modal-badge {
  display: inline-block;
  background: var(--eva-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  margin-bottom: 8px;
  align-self: flex-start;
  clip-path: polygon(3px 0%, 100% 0%, calc(100% - 3px) 100%, 0% 100%);
}

.eva-modal-badge span {
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 400;
  opacity: 0.9;
}

.eva-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.eva-modal-subtitle {
  font-family: var(--eva-font-en);
  font-size: 12px;
  color: var(--eva-orange);
  letter-spacing: 0.12em;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.eva-modal-price {
  font-family: var(--eva-font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--eva-orange);
  margin: 0 0 14px 0;
}

.eva-modal-desc {
  color: var(--eva-text-sub);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.eva-modal-desc p {
  margin: 0;
}

/* スペックリスト (dl) */
.eva-spec-list {
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eva-spec-row {
  display: grid;
  grid-template-columns: 85px 1fr;
  font-size: 12.5px;
  line-height: 1.5;
}

.eva-spec-label {
  color: var(--eva-orange);
  font-weight: 700;
}

.eva-spec-value {
  color: var(--eva-text-main);
  margin: 0;
}

/* 店舗案内 */
.eva-modal-shop {
  margin-top: 6px;
}

.eva-modal-shop .c-btn {
  display: inline-flex;
}

/* モーダルフッターナビゲーション (Prev / Next) */
.eva-modal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(8, 10, 15, 0.95);
  border-top: 1px solid rgba(255, 85, 0, 0.3);
  box-sizing: border-box;
}

.eva-modal-nav-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--eva-text-main);
  font-family: var(--eva-font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.eva-modal-nav-btn:hover {
  background: rgba(255, 85, 0, 0.15);
  border-color: var(--eva-orange);
  color: var(--eva-orange);
  box-shadow: 0 0 10px var(--eva-orange-glow);
}

.eva-nav-arrow {
  color: var(--eva-orange);
  font-size: 10px;
}

.eva-modal-indicator {
  font-family: var(--eva-font-en);
  font-size: 14px;
  color: var(--eva-text-sub);
  letter-spacing: 0.1em;
}

.eva-modal-indicator #eva-modal-current-num {
  color: var(--eva-orange);
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================================
   6. モバイル（SP: max-width: 767px）完全最適化
   ========================================================================== */
@media (max-width: 767px) {
  .eva-goods-catalog-section {
    padding: 0;
  }

  /* コンソール */
  .eva-catalog-console {
    margin-bottom: 20px;
  }

  .eva-console-header {
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .eva-console-header__title {
    font-size: 11px;
    word-break: break-all;
  }

  .eva-filter-body {
    padding: 12px 10px;
    gap: 12px;
  }

  .eva-filter-row {
    gap: 6px;
    padding-bottom: 10px;
  }

  .eva-filter-row__tag {
    font-size: 10px;
    padding: 1px 6px;
  }

  .eva-filter-row__title {
    font-size: 12px;
  }

  .eva-filter-row__options {
    gap: 6px;
  }

  .eva-filter-btn {
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .eva-filter-footer {
    padding: 8px 10px;
  }

  .eva-counter-label {
    font-size: 10px;
  }

  .eva-counter-num {
    font-size: 18px;
  }

  .eva-counter-unit {
    font-size: 10px;
  }

  .eva-reset-btn {
    padding: 4px 10px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  /* グリッドカード */
  .eva-card__thumb {
    padding: 6px;
  }

  .eva-card__info {
    padding: 8px 8px 10px;
  }

  .eva-card__title {
    font-size: 12px;
    line-height: 1.35;
  }

  .eva-tag {
    font-size: 9px;
    padding: 1px 4px;
  }

  /* モーダル */
  dialog.eva-modal-dialog {
    width: 95%;
    max-height: 92vh;
  }

  .eva-modal-panel {
    max-height: 90vh;
  }

  .eva-modal-close-btn {
    top: 8px;
    right: 8px;
    padding: 8px 14px;
    font-size: 12px;
    min-height: 38px;
    min-width: 68px;
    z-index: 9999;
  }

  .eva-modal-content {
    padding: 38px 14px 14px;
  }

  .eva-modal-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eva-modal-gallery {
    aspect-ratio: 1 / 1;
    max-width: 240px;
    margin: 0 auto;
    padding: 10px;
  }

  .eva-modal-title {
    font-size: 18px;
  }

  .eva-modal-desc {
    font-size: 12.5px;
    line-height: 1.65;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .eva-spec-row {
    grid-template-columns: 75px 1fr;
    font-size: 11.5px;
  }

  .eva-modal-nav {
    padding: 8px 12px;
  }

  .eva-modal-nav-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

.eva-result-counter:after{
  content: "※最新の販売状況や在庫状況は販売店舗ページよりご確認ください";
    color: var(--eva-text-sub);
  font-size: 11px;
}
.eva-modal-subtitle,
.eva-spec-list {
  display:none;
}
@media (max-width: 767px) {
	.eva-result-counter {
	  flex-wrap: wrap;
	}
}
