/* ==========================================================================
   ShoeF Wiki & Price - Premium Forest Green Theme & Responsive Design
   ========================================================================== */

:root {
  /* Forest Green Palette */
  --bg-primary: #07130f;
  --bg-secondary: #0c1a14;
  --bg-tertiary: #12261e;
  --bg-card: #0e1e17;
  --bg-hover: #173327;
  
  --border-color: #1b3a2b;
  --border-subtle: #12281e;
  --border-glow: rgba(52, 211, 153, 0.4);
  
  --text-main: #f0fdf4;
  --text-muted: #86a394;
  --text-dim: #4e6a5c;
  
  --accent-forest: #10b981;
  --accent-forest-bright: #34d399;
  --accent-forest-glow: rgba(52, 211, 153, 0.18);
  --accent-sage: #a7f3d0;
  
  --accent-orange: #fb923c;
  --accent-red: #f87171;
  
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.dark-theme {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

/* 1. 최상단 초슬림 헤더 */
.slim-header {
  background-color: rgba(12, 26, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 9px 16px;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-badge {
  background: linear-gradient(135deg, #059669, #34d399);
  color: #052e16;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.sub-txt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-forest-bright);
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-forest-bright);
  box-shadow: 0 0 8px var(--accent-forest-bright);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* 2. 컨트롤 패널 */
.control-panel {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
}

.panel-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 2-1. 브랜드 선택 (로고 버튼 & 흑백 반전 토글) */
.brand-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent-forest-bright);
  font-size: 11px;
  cursor: pointer;
  padding: 1px 4px;
  transition: opacity 0.2s;
}

.btn-text:hover {
  text-decoration: underline;
}

.divider {
  color: var(--border-color);
}

/* 10개 브랜드 로고 선택 그리드 */
.brand-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}

@media (max-width: 1200px) {
  .brand-checkbox-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.brand-logo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  height: 36px;
  color: var(--text-main);
  outline: none;
}

.brand-logo-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-logo-count {
  font-size: 10px;
  color: var(--text-dim);
  margin-left: auto;
}

/* 로고 선택 상태: 활성(Active) vs 미선택(Inactive 흑백 반전) */
.brand-logo-btn.active {
  background-color: rgba(16, 185, 129, 0.16);
  border-color: var(--accent-forest-bright);
  box-shadow: 0 0 10px var(--accent-forest-glow);
  color: #fff;
}

.brand-logo-btn.active .brand-logo-icon {
  color: var(--accent-forest-bright);
  filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.5));
}

.brand-logo-btn.inactive {
  opacity: 0.32;
  filter: grayscale(100%);
  background-color: rgba(7, 19, 15, 0.6);
  border-color: #142a20;
}

.brand-logo-btn.inactive:hover {
  opacity: 0.7;
  filter: grayscale(40%);
  border-color: var(--border-color);
}

/* 2-2. 카테고리 / 사이즈 / 발볼 / 검색 콤팩트 툴바 */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.field-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.custom-select, .custom-input {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  height: 32px;
}

.custom-select:focus, .custom-input:focus {
  border-color: var(--accent-forest-bright);
}

.search-field {
  flex: 1;
  min-width: 180px;
}

.custom-input {
  width: 100%;
}

.toggle-field {
  justify-content: flex-end;
  padding-bottom: 1px;
}

.checkbox-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  height: 32px;
}

.checkbox-toggle input {
  display: none;
}

.toggle-slider {
  width: 26px;
  height: 14px;
  background-color: var(--border-color);
  border-radius: 7px;
  position: relative;
  transition: background-color 0.2s;
}

.toggle-slider::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.checkbox-toggle input:checked + .toggle-slider {
  background-color: var(--accent-orange);
}

.checkbox-toggle input:checked + .toggle-slider::after {
  transform: translateX(12px);
}

.toggle-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
  white-space: nowrap;
}

/* 3. 메인 콘텐츠 & 신발 카드 리스트 */
.main-content {
  padding: 16px 20px;
}

.content-container {
  max-width: 1440px;
  margin: 0 auto;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.count-txt {
  font-size: 13px;
  color: var(--text-muted);
}

.count-txt strong {
  color: var(--accent-forest-bright);
}

.sort-controls {
  display: flex;
  gap: 6px;
}

.sort-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sort-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-forest-bright);
}

.sort-btn.active {
  background-color: var(--accent-forest);
  border-color: var(--accent-forest-bright);
  color: #052e16;
  font-weight: 700;
}

/* 신발 카드 리스트 */
.shoes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 개별 다나와식 신발 카드 */
.shoe-danawa-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 160px 220px 1fr 130px;
  gap: 18px;
  align-items: stretch;
  transition: border-color 0.2s, box-shadow 0.2s ease;
}

.shoe-danawa-card:hover {
  border-color: var(--accent-forest-bright);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* 1열: 제품 사진 */
.card-col-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  padding: 10px;
  position: relative;
  min-height: 130px;
}

.shoe-img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s;
}

.shoe-danawa-card:hover .shoe-img {
  transform: scale(1.05);
}

.outlet-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* 2열: 제품명 & 세대 & 카테고리 & 공식정가(MSRP) */
.card-col-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-top {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-code-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-line {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-forest-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.style-code-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-sage);
  background-color: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 1px 5px;
  border-radius: 3px;
}

.shoe-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-sage);
  background-color: rgba(52, 211, 153, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 4px;
}

.info-bottom {
  margin-top: 10px;
}

.msrp-box {
  background-color: rgba(52, 211, 153, 0.06);
  border-left: 3px solid var(--accent-forest);
  padding: 6px 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msrp-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
}

.msrp-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-sage);
}

/* 3열: 다나와식 판매처별 가격 리스트 (오버플로우 완벽 해소) */
.card-col-prices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
  padding-left: 18px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-row {
  border-bottom: 1px solid var(--border-subtle);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row td {
  padding: 8px 6px;
  vertical-align: middle;
}

/* 쇼핑몰 셀: 2줄 구조 */
.mall-cell {
  width: 32%;
}

.mall-primary-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mall-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.mall-badge.dept {
  background-color: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.mall-badge.official {
  background-color: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.mall-badge.multi {
  background-color: rgba(245, 158, 11, 0.2);
  color: #fde047;
}

.mall-badge.select {
  background-color: rgba(20, 184, 166, 0.2);
  color: #5eead4;
}

.mall-main-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.mall-sub-name {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  display: block;
}

/* 사이즈 셀 */
.size-cell {
  width: 25%;
}

.size-stock-txt {
  font-size: 11px;
  color: var(--text-muted);
}

.size-stock-txt strong {
  color: var(--accent-forest-bright);
}

/* 가격 & 할인율 셀: 2줄 구조 */
.price-cell {
  width: 28%;
  text-align: right;
  white-space: nowrap;
}

.price-primary-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.current-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.price-row.is-lowest .current-price {
  color: #4ade80;
  font-size: 16px;
}

.lowest-tag {
  background-color: #22c55e;
  color: #052e16;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
}

.price-secondary-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
}

.discount-badge {
  color: var(--accent-orange);
  font-size: 11px;
  font-weight: 700;
}

.regular-badge {
  color: var(--text-dim);
  font-size: 10px;
}

.shipping-fee-txt {
  font-size: 11px;
  color: var(--text-dim);
}

/* 구매 바로가기 셀 */
.action-cell {
  width: 15%;
  text-align: right;
}

.btn-buy-link {
  display: inline-block;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-buy-link:hover {
  background-color: var(--accent-forest);
  border-color: var(--accent-forest-bright);
  color: #052e16;
}

/* 4열: 런리핏 스펙 요약 & 모달 버튼 */
.card-col-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--border-subtle);
  padding-left: 16px;
  text-align: center;
  gap: 12px;
}

.runrepeat-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rr-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.rr-score-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-forest-bright);
  line-height: 1;
  margin: 4px 0;
}

.rr-grade {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-sage);
}

.btn-open-modal {
  width: 100%;
  background: linear-gradient(135deg, #0d281e, #183e2f);
  border: 1px solid var(--border-color);
  color: var(--accent-sage);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-open-modal:hover {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: var(--accent-forest-bright);
  color: #052e16;
  box-shadow: 0 0 12px var(--accent-forest-glow);
}

/* 4. 런리핏 모달 */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 14, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-brand-badge {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-forest-bright);
  padding: 2px 8px;
  border-radius: 4px;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.score-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.score-card.primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
  padding-right: 14px;
}

.score-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
}

.score-val {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent-forest-bright);
  line-height: 1.1;
}

.score-max {
  font-size: 13px;
  color: var(--text-dim);
}

.score-eval {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-sage);
}

.spec-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.spec-mini-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-lbl {
  font-size: 10px;
  color: var(--text-dim);
}

.mini-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.foam-info-box {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.foam-tag {
  color: var(--accent-forest-bright);
  font-weight: 700;
}

.foam-name {
  color: var(--text-main);
  font-weight: 500;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pros-box, .cons-box {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
}

.box-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pros-title { color: #4ade80; }
.cons-title { color: #f87171; }

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bullet-list li {
  font-size: 12px;
  color: var(--text-main);
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
}

.pros-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
}

.cons-box li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: bold;
}

.summary-box {
  background-color: var(--bg-tertiary);
  border-left: 3px solid var(--accent-forest-bright);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.summary-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.summary-desc {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.5;
}

/* 5. 푸터 */
.slim-footer {
  text-align: center;
  padding: 20px 16px;
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  margin-top: 30px;
}

/* ==========================================================================
   반응형 최적화 (모바일 친화 - 상단 극소형화 & 오버플로우 방지)
   ========================================================================== */
@media (max-width: 1024px) {
  .shoe-danawa-card {
    grid-template-columns: 130px 170px 1fr;
    grid-template-rows: auto auto;
  }
  .card-col-action {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 8px;
    flex-direction: row;
    justify-content: space-between;
  }
  .runrepeat-score-box {
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
  }
  .btn-open-modal {
    width: auto;
    padding: 5px 12px;
  }
}

@media (max-width: 768px) {
  .slim-header {
    padding: 6px 10px;
  }
  .brand-title .logo-badge {
    font-size: 11px;
    padding: 1px 5px;
  }
  .brand-title .sub-txt {
    font-size: 11px;
  }
  .header-meta {
    font-size: 10px;
  }
  .live-indicator {
    display: none;
  }

  .control-panel {
    padding: 8px 10px;
  }
  .panel-container {
    gap: 6px;
  }

  /* 브랜드 로고 바: 가로 슬라이딩 칩 */
  .brand-checkbox-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .brand-checkbox-grid::-webkit-scrollbar {
    display: none;
  }
  .brand-logo-btn {
    flex: 0 0 auto;
    height: 28px;
    padding: 2px 7px;
    gap: 4px;
  }
  .brand-logo-icon {
    width: 16px;
    height: 16px;
  }
  .brand-logo-name {
    font-size: 11px;
  }
  .brand-logo-count {
    display: none;
  }

  /* 3분할 콤팩트 툴바 */
  .filter-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 5px;
  }
  .filter-field {
    gap: 2px;
  }
  .field-label {
    font-size: 9px;
  }
  .custom-select {
    height: 28px;
    font-size: 11px;
    padding: 2px 5px;
  }

  /* 검색창 & 토글 */
  .search-field {
    grid-column: 1 / 3;
    min-width: 0;
  }
  .custom-input {
    height: 28px;
    font-size: 11px;
    padding: 2px 6px;
  }
  .toggle-field {
    grid-column: 3 / 4;
  }
  .checkbox-toggle {
    height: 28px;
    padding: 2px 6px;
    gap: 4px;
    width: 100%;
    justify-content: center;
  }
  .toggle-label {
    font-size: 10px;
  }

  .main-content {
    padding: 10px;
  }
  .results-bar {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  /* 신발 카드 모바일 세로 스택 & 오버플로우 제로화 */
  .shoe-danawa-card {
    grid-template-columns: 1fr;
    padding: 10px 12px;
    gap: 8px;
  }
  .card-col-photo {
    min-height: 100px;
    padding: 4px;
  }
  .shoe-img {
    max-height: 90px;
  }
  .shoe-name {
    font-size: 14px;
  }
  .category-badge {
    font-size: 10px;
    padding: 2px 5px;
  }
  
  .card-col-prices {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 8px;
  }
  .price-row td {
    padding: 5px 2px;
  }
  
  .mall-cell {
    width: 38%;
  }
  .mall-main-name {
    font-size: 11px;
  }
  .mall-sub-name {
    font-size: 10px;
  }
  
  .size-cell {
    width: 22%;
  }
  .size-stock-txt {
    font-size: 10px;
  }

  .price-cell {
    width: 28%;
  }
  .current-price {
    font-size: 13px;
  }
  .price-row.is-lowest .current-price {
    font-size: 14px;
  }
  .discount-badge, .shipping-fee-txt {
    font-size: 10px;
  }

  .action-cell {
    width: 12%;
  }
  .btn-buy-link {
    font-size: 10px;
    padding: 2px 6px;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .score-grid {
    grid-template-columns: 1fr;
  }
  .score-card.primary {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 8px;
  }
}
