/* =========================================================
   ARTMU DEVICE COMPATIBILITY
   style.css
   New DB Compatible Version
   - Devices B:AB / ArtmuProducts B:Z / Compatibility A:G
   - 기존 디자인 및 반응형 구조 유지
   ========================================================= */


/* =========================================================
   1. RESET / ROOT
   ========================================================= */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f8f9fb;

  --text: #17191d;
  --text-secondary: #62666d;
  --text-muted: #92979f;

  --line: #e7e9ed;
  --line-strong: #d9dce1;

  --primary: #111111;
  --primary-hover: #292929;

  --success: #168a4b;
  --success-bg: #edf8f2;

  --warning: #a56b00;
  --warning-bg: #fff7e6;

  --danger: #c53b3b;
  --danger-bg: #fff0f0;

  --unknown: #70757d;
  --unknown-bg: #f1f2f4;

  --recommended: #6c4cf1;
  --recommended-bg: #f3f0ff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 8px 30px rgba(0, 0, 0, 0.035);

  --container: 1180px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;

  font-size: 14px;
  line-height: 1.55;
}


button,
input,
select {
  font: inherit;
}


button {
  color: inherit;
}


button,
select {
  cursor: pointer;
}


img {
  display: block;
  max-width: 100%;
}


[hidden] {
  display: none !important;
}



/* =========================================================
   2. HEADER
   ========================================================= */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}


.header-inner {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  min-height: 84px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 22px;
}


.brand-logo {
  display: flex;
  align-items: center;

  text-decoration: none;
}


.artmu-logo {
  width: 94px;
  max-height: 34px;
  object-fit: contain;
}


.header-title-wrap {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}


.header-title {
  margin: 0;

  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}


.header-description {
  margin: 2px 0 0;

  color: var(--text-muted);
  font-size: 12px;
}



/* =========================================================
   3. MAIN
   ========================================================= */

.main-container {
  position: relative;

  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin: 30px auto 80px;
}


.section-card {
  position: relative;

  margin-bottom: 18px;
  padding: 28px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}


.section-heading-row {
  position: relative;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 24px;
}


.section-eyebrow {
  margin-bottom: 5px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}


.section-title {
  margin: 0;

  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
}


.section-description {
  margin: 6px 0 0;

  color: var(--text-secondary);
  font-size: 13px;
}



/* =========================================================
   4. COMMON BUTTONS
   ========================================================= */

.secondary-button,
.icon-text-button,
.save-device-button,
.more-button,
.status-help-button {
  min-height: 40px;

  padding: 0 15px;

  border: 1px solid var(--line-strong);
  border-radius: 10px;

  background: #fff;

  font-size: 13px;
  font-weight: 650;

  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}


.secondary-button:hover,
.icon-text-button:hover,
.more-button:hover,
.status-help-button:hover {
  background: var(--surface-soft);
  border-color: #c9ccd1;
}


.secondary-button:active,
.icon-text-button:active,
.save-device-button:active,
.more-button:active {
  transform: translateY(1px);
}


.icon-text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}


.icon-text-button svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}



/* =========================================================
   5. MY DEVICE
   ========================================================= */

.my-devices-section {
  overflow: hidden;
}


.my-devices-section::before {
  content: "";

  position: absolute;
  top: 0;
  left: 28px;

  width: 44px;
  height: 3px;

  background: var(--primary);
  border-radius: 0 0 3px 3px;
}


.my-devices-empty {
  min-height: 112px;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 20px 22px;

  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;

  color: var(--text-secondary);
}


.my-devices-empty-icon {
  width: 46px;
  height: 46px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}


.my-devices-empty-icon svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.6;
}


.my-devices-empty strong {
  display: block;

  margin-bottom: 3px;

  color: var(--text);
  font-size: 14px;
}


.my-devices-empty p {
  margin: 0;

  color: var(--text-muted);
  font-size: 12px;
}


.my-devices-list {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
}


.my-device-card {
  position: relative;

  min-width: 0;

  padding: 17px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}


.my-device-card:hover {
  border-color: #cfd2d7;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.05);

  transform: translateY(-1px);
}


.my-device-card-main {
  display: flex;
  align-items: center;
  gap: 13px;

  min-width: 0;
}


.my-device-brand-logo {
  width: 44px;
  height: 44px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 6px;

  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
}


.my-device-brand-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}


.my-device-card-info {
  min-width: 0;
  flex: 1;
}


.my-device-card-brand {
  margin-bottom: 2px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}


.my-device-card-name {
  overflow: hidden;

  color: var(--text);

  font-size: 14px;
  font-weight: 750;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.my-device-card-meta {
  margin-top: 3px;

  color: var(--text-muted);
  font-size: 11px;
}


.my-device-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 14px;
  padding-top: 12px;

  border-top: 1px solid var(--line);
}


.my-device-recommend-count {
  color: var(--text-secondary);
  font-size: 11px;
}


.my-device-recommend-count strong {
  color: var(--text);
}


.my-device-view-button {
  padding: 0;

  border: 0;
  background: transparent;

  color: var(--text);

  font-size: 11px;
  font-weight: 700;
}


.my-device-view-button:hover {
  text-decoration: underline;
}


.my-device-remove-button {
  position: absolute;
  top: 9px;
  right: 9px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: var(--text-muted);

  font-size: 18px;
  line-height: 1;
}


.my-device-remove-button:hover {
  background: var(--surface-soft);
  color: var(--danger);
}



/* =========================================================
   6. MY RECOMMENDATIONS
   ========================================================= */

.my-recommendations-section {
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fcfcfd 100%
    );
}


.my-device-tabs {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 18px;

  overflow-x: auto;
  scrollbar-width: none;
}


.my-device-tabs::-webkit-scrollbar {
  display: none;
}


.my-device-tab {
  flex: 0 0 auto;

  min-height: 36px;

  padding: 0 13px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: #fff;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 650;
}


.my-device-tab:hover {
  border-color: #c8cbd0;
}


.my-device-tab.active {
  background: var(--primary);
  border-color: var(--primary);

  color: #fff;
}


.my-recommended-products {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
}


.my-recommended-product-card {
  position: relative;

  min-width: 0;

  padding: 17px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}


.my-recommended-product-card:hover {
  border-color: #cccfd5;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.05);

  transform: translateY(-1px);
}


.my-recommended-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  margin-bottom: 10px;
}


.my-recommended-product-category {
  color: var(--text-muted);

  font-size: 10px;
  font-weight: 750;
}


.recommended-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 23px;

  padding: 0 8px;

  background: var(--recommended-bg);
  border-radius: 999px;

  color: var(--recommended);

  font-size: 10px;
  font-weight: 800;
}


.my-recommended-product-model {
  margin-bottom: 2px;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}


.my-recommended-product-name {
  overflow: hidden;

  color: var(--text-secondary);
  font-size: 12px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.my-recommended-product-result {
  margin-top: 12px;
  padding-top: 11px;

  border-top: 1px solid var(--line);

  color: var(--text-secondary);
  font-size: 11px;
}


.my-recommended-product-link {
  display: inline-flex;

  margin-top: 11px;

  color: var(--text);

  font-size: 11px;
  font-weight: 750;

  text-decoration: none;
}


.my-recommended-product-link:hover {
  text-decoration: underline;
}



/* =========================================================
   7. FORMS / DEVICE FILTER
   ========================================================= */

.device-filter-grid {
  display: grid;

  grid-template-columns:
    150px
    180px
    180px
    minmax(240px, 1fr);

  gap: 10px;

  margin-bottom: 26px;
}


.form-field {
  position: relative;
  min-width: 0;
}


.form-field label {
  display: block;

  margin-bottom: 7px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 650;
}


.form-field select,
.search-input-wrap input,
.product-search-wrap input,
.product-sort {
  width: 100%;
  height: 44px;

  outline: none;

  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;

  color: var(--text);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}


.form-field select {
  padding: 0 35px 0 13px;
}


.form-field select:focus,
.search-input-wrap input:focus,
.product-search-wrap input:focus,
.product-sort:focus {
  border-color: #9ca1a9;

  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.035);
}


.search-input-wrap,
.product-search-wrap {
  position: relative;
}


.search-input-wrap input,
.product-search-wrap input {
  padding: 0 42px 0 39px;
}


.search-icon {
  position: absolute;
  top: 50%;
  left: 13px;

  width: 16px;
  height: 16px;

  transform: translateY(-50%);

  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;

  pointer-events: none;
}


.input-clear-button {
  position: absolute;
  top: 50%;
  right: 9px;

  width: 28px;
  height: 28px;

  padding: 0;

  transform: translateY(-50%);

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: var(--text-muted);

  font-size: 19px;
}


.input-clear-button:hover {
  background: var(--surface-soft);
  color: var(--text);
}



/* =========================================================
   8. AUTOCOMPLETE
   ========================================================= */

.autocomplete {
  position: absolute;
  z-index: 50;

  top: calc(100% + 5px);
  left: 0;
  right: 0;

  overflow: hidden;

  max-height: 320px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.1);
}


.autocomplete-item {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 11px 13px;

  border: 0;
  border-bottom: 1px solid var(--line);

  background: #fff;

  text-align: left;
}


.autocomplete-item:last-child {
  border-bottom: 0;
}


.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--surface-soft);
}


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


.autocomplete-name {
  display: block;

  overflow: hidden;

  font-size: 12px;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.autocomplete-meta {
  display: block;

  margin-top: 2px;

  color: var(--text-muted);
  font-size: 10px;
}



/* =========================================================
   9. DEVICE LIST
   ========================================================= */

.device-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 9px;
}


.device-result-heading strong {
  font-size: 12px;
}


.device-result-heading span {
  color: var(--text-muted);
  font-size: 11px;
}


.device-list {
  border-top: 1px solid var(--line);
}


.device-list-item {
  width: 100%;

  display: grid;
  grid-template-columns:
    150px
    160px
    minmax(0, 1fr)
    auto;

  align-items: center;
  gap: 16px;

  min-height: 62px;

  padding: 10px 6px;

  border: 0;
  border-bottom: 1px solid var(--line);

  background: transparent;

  text-align: left;

  transition:
    background 0.15s ease;
}


.device-list-item:hover {
  background: var(--surface-soft);
}


.device-list-category {
  color: var(--text-secondary);
  font-size: 11px;
}


.device-list-brand {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--text-secondary);
  font-size: 11px;
}


.device-list-brand-logo {
  width: 34px;
  height: 34px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5px;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9px;

  overflow: hidden;
}


.device-list-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.device-list-brand-logo span {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}


.device-list-brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.device-list-main {
  min-width: 0;
}


.device-list-model {
  overflow: hidden;

  font-size: 13px;
  font-weight: 750;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.device-list-series {
  margin-top: 2px;

  color: var(--text-muted);
  font-size: 10px;
}


.device-list-arrow {
  color: var(--text-muted);
  font-size: 18px;
}



/* =========================================================
   10. MORE BUTTON
   ========================================================= */

.more-button-wrap {
  display: flex;
  justify-content: center;

  padding-top: 18px;
}


.more-button {
  min-width: 120px;
}


.more-button span {
  margin-left: 4px;

  color: var(--text-muted);

  font-size: 10px;
}



/* =========================================================
   11. DEVICE DETAIL
   ========================================================= */

.device-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  margin-bottom: 24px;
}


.device-title-area {
  display: flex;
  align-items: center;
  gap: 15px;

  min-width: 0;
}


.manufacturer-logo-wrap {
  width: 58px;
  height: 58px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 7px;

  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}


.manufacturer-logo {
  width: 100%;
  height: 100%;

  object-fit: contain;
}


.selected-device-meta {
  margin-bottom: 2px;

  color: var(--text-muted);

  font-size: 11px;
  font-weight: 650;
}


.selected-device-name {
  margin: 0;

  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
}


.device-detail-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}


.save-device-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}


.save-device-button svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}


.save-device-button.saved {
  background: var(--primary);
  border-color: var(--primary);

  color: #fff;
}


.save-device-button.saved svg {
  fill: currentColor;
}


.device-spec-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 12px;

  overflow: hidden;
}


.device-spec-item {
  min-height: 94px;

  padding: 17px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: #fff;
}


.device-spec-label {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 9px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 700;
}


.device-spec-label svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}


.device-spec-value {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;

  color: var(--text);

  font-size: 13px;
  font-weight: 650;
}


.device-note {
  margin-top: 13px;

  padding: 14px 16px;

  background: var(--surface-soft);
  border-radius: 10px;
}


.device-note strong {
  display: block;

  margin-bottom: 3px;

  font-size: 11px;
}


.device-note p {
  margin: 0;

  color: var(--text-secondary);
  font-size: 11px;
}



/* =========================================================
   12. PRODUCT FILTER TABS
   ========================================================= */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 8px;

  overflow-x: auto;

  scrollbar-width: none;
}


.filter-tabs::-webkit-scrollbar {
  display: none;
}


.filter-tab {
  flex: 0 0 auto;

  min-height: 34px;

  padding: 0 12px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: #fff;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 650;
}


.filter-tab:hover {
  border-color: #c9ccd1;
}


.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);

  color: #fff;
}


.secondary-tabs .filter-tab.active {
  background: #eceef1;
  border-color: #eceef1;

  color: var(--text);
}



/* =========================================================
   13. PRODUCT TOOLBAR
   ========================================================= */

.product-toolbar {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr)
    auto
    150px;

  align-items: center;
  gap: 10px;

  margin-top: 18px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}


.product-search-wrap {
  max-width: 420px;
}


.recommended-toggle {
  display: flex;
  align-items: center;
  gap: 8px;

  min-height: 42px;

  padding: 0 11px;

  border: 1px solid var(--line);
  border-radius: 10px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 650;

  cursor: pointer;

  user-select: none;
}


.recommended-toggle input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}


.toggle-ui {
  position: relative;

  width: 32px;
  height: 18px;

  flex: 0 0 auto;

  background: #d7d9dd;
  border-radius: 999px;

  transition: background 0.15s ease;
}


.toggle-ui::after {
  content: "";

  position: absolute;
  top: 3px;
  left: 3px;

  width: 12px;
  height: 12px;

  background: #fff;
  border-radius: 50%;

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.15s ease;
}


.recommended-toggle input:checked + .toggle-ui {
  background: var(--primary);
}


.recommended-toggle input:checked + .toggle-ui::after {
  transform: translateX(14px);
}


.product-sort {
  padding: 0 10px;
}


.product-result-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;

  margin: 15px 0 8px;

  color: var(--text-muted);
  font-size: 10px;
}


.product-result-summary strong {
  color: var(--text-secondary);
}



/* =========================================================
   14. PRODUCT TABLE
   ========================================================= */

.product-table-wrap {
  overflow: hidden;

  border-top: 1px solid var(--line);
}


.product-table-header,
.compatible-product-row {
  display: grid;

  grid-template-columns:
    90px
    minmax(210px, 1.35fr)
    100px
    70px
    minmax(125px, 0.9fr)
    minmax(150px, 1fr)
    230px;

  align-items: center;
  gap: 9px;
}


.product-table-header {
  min-height: 42px;

  padding: 0 8px;

  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 700;
}


.compatible-product-row {
  position: relative;

  min-height: 70px;

  padding: 10px 8px;

  border-bottom: 1px solid var(--line);

  transition:
    background 0.15s ease;
}


.compatible-product-row:hover {
  background: #fcfcfd;
}


.product-category-cell {
  color: var(--text-secondary);
  font-size: 11px;
}


.product-main-cell {
  min-width: 0;
}


.product-model-line {
  display: flex;
  align-items: center;
  gap: 6px;

  min-width: 0;
}


.product-model-name {
  overflow: hidden;

  font-size: 13px;
  font-weight: 800;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.product-name {
  margin-top: 2px;

  overflow: hidden;

  color: var(--text-secondary);
  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


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


.product-link:hover .product-model-name,
.product-link:hover .product-name {
  text-decoration: underline;
}


.product-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-height: 25px;

  padding: 0 9px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 750;
}


.product-status-badge.success {
  background: var(--success-bg);
  color: var(--success);
}


.product-status-badge.warning {
  background: var(--warning-bg);
  color: var(--warning);
}


.product-status-badge.danger {
  background: var(--danger-bg);
  color: var(--danger);
}


.product-status-badge.unknown {
  background: var(--unknown-bg);
  color: var(--unknown);
}


.product-status-cell {
  min-width: 0;
}


.product-condition-note {
  margin-top: 5px;

  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.35;
  word-break: keep-all;
}


.product-output-cell,
.product-port-cell,
.product-protocol-cell {
  min-width: 0;

  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.45;
}


.product-output-cell {
  font-weight: 700;
  white-space: nowrap;
}


.product-port-cell,
.product-protocol-cell {
  word-break: keep-all;
}


.product-date-cell {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  color: var(--text-muted);
  font-size: 9px;

  /* 날짜는 굵게 표시하지 않음 */
  font-weight: 400;
}

.product-date-value {
  flex: 0 0 auto;
  min-width: 64px;

  white-space: nowrap;
}

.product-buy-links {
  min-width: 0;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;

  margin-left: 12px;
}

.product-buy-button {
  min-height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 7px;

  border: 1px solid var(--line-strong);
  border-radius: 6px;

  background: #fff;
  color: var(--text);

  font-size: 8.5px;
  font-weight: 750;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.product-buy-button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-buy-button:active {
  transform: translateY(1px);
}



/* =========================================================
   15. STATUS HELP
   ========================================================= */

.status-help-button {
  min-height: 34px;

  padding: 0 11px;

  color: var(--text-secondary);

  font-size: 11px;
}


.status-help-popup {
  position: absolute;
  z-index: 40;

  top: 48px;
  right: 0;

  width: 290px;

  padding: 13px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.11);
}


.status-help-row {
  display: grid;
  grid-template-columns:
    9px
    68px
    1fr;

  align-items: center;
  gap: 8px;

  min-height: 31px;

  color: var(--text-secondary);
  font-size: 10px;
}


.status-help-row strong {
  color: var(--text);
  font-size: 10px;
}


.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
}


.status-dot.success {
  background: var(--success);
}


.status-dot.warning {
  background: var(--warning);
}


.status-dot.danger {
  background: var(--danger);
}


.status-dot.unknown {
  background: var(--unknown);
}



/* =========================================================
   16. EMPTY STATE
   ========================================================= */

.empty-state {
  padding: 32px 20px;

  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;

  color: var(--text-muted);

  font-size: 12px;
  text-align: center;
}


.device-list .empty-state,
.compatible-products-list .empty-state {
  margin-top: 10px;
}



/* =========================================================
   17. LOADING
   ========================================================= */

.loading-overlay {
  position: fixed;
  z-index: 1000;

  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);

  color: var(--text-secondary);
  font-size: 12px;
}


.loading-spinner {
  width: 28px;
  height: 28px;

  border: 3px solid #e4e5e8;
  border-top-color: #222;

  border-radius: 50%;

  animation:
    loadingSpin 0.75s linear infinite;
}


@keyframes loadingSpin {

  to {
    transform: rotate(360deg);
  }

}



/* =========================================================
   18. TOAST
   ========================================================= */

.toast {
  position: fixed;
  z-index: 1100;

  left: 50%;
  bottom: 28px;

  max-width: min(
    420px,
    calc(100% - 30px)
  );

  padding: 11px 16px;

  transform: translateX(-50%);

  background: #171717;
  border-radius: 10px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18);

  color: #fff;

  font-size: 12px;
  font-weight: 600;

  text-align: center;
}



/* =========================================================
   19. TABLET
   ========================================================= */

@media (
  max-width: 980px
) {

  .device-filter-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .my-devices-list,
  .my-recommended-products {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .device-spec-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .product-table-header,
  .compatible-product-row {
    grid-template-columns:
      90px
      minmax(195px, 1.2fr)
      100px
      80px
      minmax(130px, 0.9fr)
      minmax(165px, 1fr)
      245px;

    gap: 10px;
  }


  .product-table-wrap {
    overflow-x: auto;
  }


  .product-table-header,
  .compatible-product-row {
    min-width: 1080px;
  }

}



/* =========================================================
   20. MOBILE
   ========================================================= */

@media (
  max-width: 720px
) {

  body {
    font-size: 13px;
  }


  .header-inner {
    width: calc(100% - 28px);
    min-height: 70px;

    gap: 14px;
  }


  .artmu-logo {
    width: 76px;
  }


  .header-title-wrap {
    padding-left: 14px;
  }


  .header-title {
    font-size: 15px;
  }


  .header-description {
    display: none;
  }


  .main-container {
    width: calc(100% - 24px);

    margin-top: 16px;
    margin-bottom: 50px;
  }


  .section-card {
    margin-bottom: 12px;

    padding: 20px 16px;

    border-radius: 15px;
  }


  .my-devices-section::before {
    left: 16px;
  }


  .section-heading-row {
    flex-direction: column;
    align-items: stretch;

    margin-bottom: 18px;
  }


  .section-title {
    font-size: 19px;
  }


  .section-description {
    font-size: 11px;
  }


  #addMyDeviceButton {
    align-self: flex-start;
  }


  .my-devices-list,
  .my-recommended-products {
    grid-template-columns: 1fr;
  }


  .my-devices-empty {
    align-items: flex-start;

    min-height: auto;

    padding: 16px;
  }


  .device-filter-grid {
    grid-template-columns: 1fr;

    gap: 11px;
  }


  .device-list-item {
    grid-template-columns:
      75px
      38px
      minmax(0, 1fr)
      auto;

    gap: 8px;
  }


  .device-list-brand {
    display: flex;
  }


  .device-list-brand-logo {
    width: 34px;
    height: 34px;
  }


  .device-list-brand-name {
    display: none;
  }


  .device-detail-header {
    flex-direction: column;
    align-items: stretch;
  }


  .selected-device-name {
    font-size: 21px;
  }


  .device-detail-actions {
    flex-wrap: wrap;
  }


  .save-device-button {
    flex: 1 1 auto;

    justify-content: center;
  }


  .device-spec-grid {
    grid-template-columns: 1fr;
  }


  .device-spec-item {
    min-height: 80px;
  }


  .product-toolbar {
    grid-template-columns: 1fr;
  }


  .product-search-wrap {
    max-width: none;
  }


  .recommended-toggle {
    width: 100%;
  }


  .product-sort {
    width: 100%;
  }


  .status-help-button {
    align-self: flex-start;
  }


  .status-help-popup {
    top: auto;
    right: 16px;
    left: 16px;

    width: auto;
  }


  .toast {
    bottom: 18px;
  }

}



/* =========================================================
   21. VERY SMALL MOBILE
   ========================================================= */

@media (
  max-width: 420px
) {

  .manufacturer-logo-wrap {
    width: 50px;
    height: 50px;
  }


  .device-title-area {
    gap: 11px;
  }


  .selected-device-name {
    font-size: 19px;
  }


  .device-detail-actions {
    display: grid;
    grid-template-columns:
      1fr
      1fr;
  }


  .save-device-button {
    grid-column:
      1 / -1;
  }


  .status-help-row {
    grid-template-columns:
      9px
      64px
      1fr;
  }

}

/* =========================================================
   22. ARTMU BLACK & WHITE THEME OVERRIDES
   - 기존 레이아웃 / 간격 / 반응형 구조 유지
   - 색상 대비만 강화
   ========================================================= */

:root {
  --bg: #eef0f3;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;

  --text: #111111;
  --text-secondary: #555b63;
  --text-muted: #8b9098;

  --line: #e0e2e6;
  --line-strong: #cfd3d8;

  --primary: #111111;
  --primary-hover: #2a2a2a;

  --recommended: #111111;
  --recommended-bg: #eeeeee;

  --shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.055);
}


/* HEADER */

.site-header {
  background: #111111;
  border-bottom-color: #2b2b2b;
}

.artmu-logo {
  filter: brightness(0) invert(1);
}

.header-title-wrap {
  border-left-color: #3a3a3a;
}

.header-title {
  color: #ffffff;
}

.header-description {
  color: #aeb2b8;
}


/* COMMON SECTION CARDS */

.section-card {
  background: #ffffff;
  border-color: #dcdfe4;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.025),
    0 10px 28px rgba(0, 0, 0, 0.045);
}

.section-eyebrow {
  color: #777d85;
}

.section-title {
  color: #111111;
}

.section-description {
  color: #60656d;
}


/* MY DEVICE : DARK HERO SECTION */

#myDevicesSection,
.my-devices-section {
  background:
    linear-gradient(
      135deg,
      #111111 0%,
      #181818 58%,
      #202020 100%
    );

  border-color: #111111;
}

.my-devices-section::before {
  background: #ffffff;
}

#myDevicesSection .section-eyebrow,
.my-devices-section .section-eyebrow {
  color: #aeb2b8;
}

#myDevicesSection .section-title,
.my-devices-section .section-title {
  color: #ffffff;
}

#myDevicesSection .section-description,
.my-devices-section .section-description {
  color: #c0c3c8;
}

#myDevicesSection .secondary-button,
.my-devices-section .secondary-button {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

#myDevicesSection .secondary-button:hover,
.my-devices-section .secondary-button:hover {
  background: #ececec;
  border-color: #ececec;
}


/* SAVED DEVICE CARDS */

.my-device-card {
  background: #191919;
  border-color: #3a3a3a;
}

.my-device-card:hover {
  background: #1f1f1f;
  border-color: #666666;

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.24);
}

.my-device-brand-logo {
  background: #ffffff;
  border-color: #e1e3e6;
}

.my-device-card-brand {
  color: #aeb2b8;
}

.my-device-card-name {
  color: #ffffff;
}

.my-device-card-meta {
  color: #9da1a7;
}

.my-device-card-footer {
  border-top-color: #353535;
}

.my-device-recommend-count {
  color: #b7bbc1;
}

.my-device-recommend-count strong {
  color: #ffffff;
}

.my-device-view-button {
  color: #ffffff;
}

.my-device-remove-button {
  color: #9da1a7;
}

.my-device-remove-button:hover {
  background: #2b2b2b;
  color: #ffffff;
}


/* MY DEVICE EMPTY STATE */

.my-devices-empty {
  background: #181818;
  border-color: #454545;
  color: #d2d4d8;
}

.my-devices-empty-icon {
  background: #ffffff;
  border-color: #ffffff;
}

.my-devices-empty-icon svg {
  stroke: #111111;
}

.my-devices-empty strong {
  color: #ffffff;
}

.my-devices-empty p {
  color: #aeb2b8;
}


/* MY RECOMMENDATIONS */

#myRecommendationsSection,
.my-recommendations-section {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafafa 100%
    );
}

.my-device-tab {
  background: #ffffff;
  border-color: #d6d9de;
  color: #5e636b;
}

.my-device-tab:hover {
  border-color: #111111;
  color: #111111;
}

.my-device-tab.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.my-recommended-product-card {
  background: #fafafa;
  border-color: #d9dce1;
}

.my-recommended-product-card:hover {
  background: #ffffff;
  border-color: #111111;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.07);
}

.recommended-badge {
  background: #111111;
  color: #ffffff;
}

.my-recommended-product-result {
  border-top-color: #e1e3e6;
}


/* DEVICE SEARCH */

#deviceSearchSection {
  background: #ffffff;
  border-color: #d8dbe0;
}

#deviceSearchSection .form-field label {
  color: #3e434a;
}

.form-field select,
.search-input-wrap input,
.product-search-wrap input,
.product-sort {
  background: #f6f7f8;
  border-color: #d0d4d9;
}

.form-field select:hover,
.search-input-wrap input:hover,
.product-search-wrap input:hover,
.product-sort:hover {
  background: #ffffff;
  border-color: #aeb3ba;
}

.form-field select:focus,
.search-input-wrap input:focus,
.product-search-wrap input:focus,
.product-sort:focus {
  background: #ffffff;
  border-color: #111111;

  box-shadow:
    0 0 0 3px rgba(17, 17, 17, 0.08);
}

.search-icon {
  stroke: #656a72;
}

.input-clear-button:hover {
  background: #111111;
  color: #ffffff;
}


/* AUTOCOMPLETE */

.autocomplete {
  border-color: #d3d6db;

  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.14);
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #111111;
  color: #ffffff;
}

.autocomplete-item:hover .autocomplete-meta,
.autocomplete-item.active .autocomplete-meta {
  color: #c5c8cd;
}


/* DEVICE LIST */

.device-list {
  border-top: 2px solid #111111;
}

.device-list-item:hover {
  background: #f1f2f4;
}

.device-list-arrow {
  color: #111111;
}


/* DEVICE DETAIL */

#deviceDetailSection {
  border-color: #d8dbe0;
}

.manufacturer-logo-wrap {
  background: #f2f3f5;
  border-color: #d9dce1;
}

.selected-device-meta {
  color: #6f747c;
}

.save-device-button {
  background: #ffffff;
}

.save-device-button:hover {
  border-color: #111111;
}

.save-device-button.saved {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.device-spec-grid {
  border-top: 2px solid #111111;
  border-left-color: #dfe2e6;
}

.device-spec-item {
  background: #ffffff;
  border-color: #dfe2e6;
}

.device-note {
  background: #f1f2f4;
  border-left: 3px solid #111111;
}


/* PRODUCT FILTERS */

.filter-tab {
  background: #ffffff;
  border-color: #d7dadd;
}

.filter-tab:hover {
  border-color: #111111;
  color: #111111;
}

.filter-tab.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.secondary-tabs .filter-tab.active {
  background: #e7e9ec;
  border-color: #d4d7db;
  color: #111111;
}


/* PRODUCT TOOLBAR */

.product-toolbar {
  border-top-color: #d9dce1;
}

.recommended-toggle {
  background: #f7f7f8;
  border-color: #d6d9dd;
}

.recommended-toggle:hover {
  border-color: #111111;
}

.toggle-ui {
  background: #c9cdd2;
}

.recommended-toggle input:checked + .toggle-ui {
  background: #111111;
}


/* COMPATIBLE PRODUCTS */

#compatibleProductsSection {
  background: #ffffff;
  border-color: #d8dbe0;
}

.product-table-wrap {
  border-top: 0;
  border: 1px solid #d9dce1;
  border-radius: 12px;
}

.product-table-header {
  background: #111111;
  border-bottom-color: #111111;
  color: #ffffff;
}

.compatible-product-row {
  background: #ffffff;
  border-bottom-color: #e2e4e8;
}

.compatible-product-row:hover {
  background: #f4f5f6;
}

.product-category-cell {
  color: #656a72;
}

.product-model-name {
  color: #111111;
}

.product-name,
.product-output-cell,
.product-port-cell,
.product-protocol-cell {
  color: #5c6169;
}

.product-condition-note {
  color: #858a92;
}

.product-date-cell {
  color: #858a92;
}


/* STATUS BADGES : 상태색은 정보 식별을 위해 유지 */

.product-status-badge.success {
  background: #e8f7ee;
  color: #117b3f;
}

.product-status-badge.warning {
  background: #fff3da;
  color: #9a6200;
}

.product-status-badge.danger {
  background: #ffe9e9;
  color: #bd2f2f;
}

.product-status-badge.unknown {
  background: #eceef1;
  color: #626870;
}


/* STATUS HELP */

.status-help-button {
  background: #ffffff;
}

.status-help-button:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.status-help-popup {
  border-color: #d6d9de;

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.15);
}


/* COMMON BUTTON CONTRAST */

.secondary-button,
.icon-text-button,
.more-button {
  background: #ffffff;
  border-color: #cfd3d8;
}

.secondary-button:hover,
.icon-text-button:hover,
.more-button:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.more-button span {
  color: inherit;
}


/* EMPTY STATE */

.empty-state {
  background: #f2f3f5;
  border-color: #cfd3d8;
}


/* LOADING */

.loading-overlay {
  background: rgba(238, 240, 243, 0.9);
}

.loading-spinner {
  border-color: #d0d3d8;
  border-top-color: #111111;
}


/* TOAST */

.toast {
  background: #111111;
  color: #ffffff;
}


/* =========================================================
   23. FEATURED DEVICES / SPLIT PAGE
   ========================================================= */

.featured-devices-section {
  position: relative;
  overflow: hidden;
}

.featured-devices-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #111111;
}

.featured-device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.featured-device-tab {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s ease;
}

.featured-device-tab:hover {
  border-color: #111111;
  color: #111111;
}

.featured-device-tab.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.featured-device-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.featured-device-card {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s ease,
    padding-left 0.15s ease;
}

.featured-device-card:last-of-type {
  border-bottom: 0;
}

.featured-device-card:hover {
  background: var(--surface-soft);
  padding-left: 20px;
}

.featured-device-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}

.featured-device-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-device-logo span {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.featured-device-content {
  min-width: 0;
  flex: 1;
}

.featured-device-brand {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-device-model {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-device-meta {
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-device-side {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
}

.featured-device-compatible {
  min-width: 82px;
  color: var(--text-secondary);
  font-size: 11px;
  white-space: nowrap;
  text-align: right;
}

.featured-device-compatible strong {
  color: #111111;
}

.featured-device-arrow {
  width: 24px;
  color: #111111;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.featured-device-more-wrap {
  padding: 12px;
  background: #ffffff;
  text-align: center;
}

.featured-device-more {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s ease;
}

.featured-device-more:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.featured-device-more span {
  margin-left: 4px;
  color: var(--text-muted);
}

.featured-device-more:hover span {
  color: #ffffff;
}

@media (max-width: 720px) {
  .featured-device-card {
    gap: 11px;
    padding: 12px;
  }

  .featured-device-card:hover {
    padding-left: 12px;
  }

  .featured-device-logo {
    width: 38px;
    height: 38px;
  }

  .featured-device-side {
    gap: 8px;
    padding-left: 8px;
  }

  .featured-device-compatible {
    min-width: auto;
    font-size: 10px;
  }

  .featured-device-meta {
    display: none;
  }
}


/* 모든 디바이스 별도 페이지 */

.all-devices-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.all-devices-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.all-device-count {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}


/* 목록 브랜드 로고 */

.device-list-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.device-list-brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.device-list-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-list-brand-logo span {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.device-list-brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


@media (max-width: 980px) {

  .featured-device-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 720px) {

  .featured-device-grid {
    grid-template-columns: 1fr;
  }

  .all-devices-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .device-list-item {
    grid-template-columns:
      75px
      38px
      minmax(0, 1fr)
      auto;
  }

  .device-list-brand {
    display: flex;
  }

  .device-list-brand-name {
    display: none;
  }

}


/* =========================================================
   24. CUSTOMER FRIENDLY FINDER
   ========================================================= */

.device-finder-section {
  overflow: visible;
  padding: 34px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fafafa 55%,
      #f3f4f6 100%
    );
  border: 1px solid #d9dce1;
}

.device-finder-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 52px;
  height: 4px;
  background: #111111;
}

.device-finder-title {
  margin: 0;
  color: #111111;
  font-size: 29px;
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.device-finder-description {
  margin: 10px 0 0;
  color: #656a72;
  font-size: 12px;
  line-height: 1.65;
}

.home-device-search {
  position: relative;
  margin-top: 24px;
}

.home-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.home-search-icon {
  position: absolute;
  z-index: 2;
  left: 18px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #111111;
  stroke-width: 1.8;
}

.home-search-box input {
  width: 100%;
  height: 60px;
  padding: 0 52px;
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 14px;
  outline: none;
  color: #111111;
  font-size: 15px;
  font-weight: 650;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.05);
}

.home-search-box input::placeholder {
  color: #a0a4aa;
  font-weight: 500;
}

.home-search-box input:focus {
  box-shadow:
    0 0 0 4px rgba(17, 17, 17, 0.07),
    0 10px 24px rgba(0, 0, 0, 0.06);
}

.home-clear-search {
  position: absolute;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: #555b63;
  font-size: 19px;
  cursor: pointer;
}

.home-autocomplete {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cfd3d8;
  border-radius: 14px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.14);
}

.home-autocomplete-item {
  width: 100%;
  display: grid;
  grid-template-columns:
    40px
    minmax(0, 1fr)
    auto
    20px;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid #eceef0;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.home-autocomplete-item:hover {
  background: #f6f7f8;
}

.home-result-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid #e0e2e6;
  border-radius: 9px;
  background: #ffffff;
}

.home-result-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-result-copy {
  min-width: 0;
}

.home-result-copy strong {
  display: block;
  overflow: hidden;
  color: #111111;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-result-copy small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #8a8f96;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-result-popular {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eeeeee;
  color: #111111;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.home-result-arrow {
  color: #111111;
  font-size: 20px;
}

.home-autocomplete-all {
  width: 100%;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}

.home-autocomplete-empty {
  padding: 20px;
  text-align: center;
}

.home-autocomplete-empty strong {
  display: block;
  color: #111111;
  font-size: 13px;
}

.home-autocomplete-empty p {
  margin: 5px 0 14px;
  color: #777d85;
  font-size: 11px;
}

.quick-brand-area {
  margin-top: 21px;
}

.quick-brand-label {
  margin-bottom: 9px;
  color: #777d85;
  font-size: 10px;
  font-weight: 750;
}

.quick-brand-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-brand-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 8px;
  border: 1px solid #d8dbe0;
  border-radius: 11px;
  background: #ffffff;
  color: #30343a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s ease;
}

.quick-brand-button:hover {
  border-color: #111111;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.05);
}

.quick-brand-logo {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  background: #f6f7f8;
  border-radius: 7px;
}

.quick-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-brand-logo strong {
  color: #111111;
  font-size: 10px;
}

.quick-brand-more .quick-brand-logo {
  color: #111111;
  font-size: 18px;
  font-weight: 500;
}

.finder-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #dedfe2;
}

.finder-bottom-row p {
  margin: 0;
  color: #777d85;
  font-size: 11px;
  line-height: 1.6;
}

.finder-all-button {
  flex: 0 0 auto;
  min-height: 42px;
}

.finder-all-button span {
  color: #b8bcc2;
  font-size: 10px;
}

.featured-devices-section .section-heading-row {
  margin-bottom: 18px;
}

.featured-device-card:hover .featured-device-model {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.all-device-intro {
  padding: 24px 28px;
}

.all-device-intro-title {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.all-quick-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.all-quick-brand-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 8px;
  border: 1px solid #d8dbe0;
  border-radius: 11px;
  background: #ffffff;
  color: #30343a;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.all-quick-brand-button:hover {
  border-color: #111111;
  background: #f8f8f8;
}

.all-quick-brand-logo {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f6f7;
}

.all-quick-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {

  .device-finder-section {
    padding: 24px 16px;
  }

  .device-finder-section::before {
    left: 16px;
  }

  .device-finder-title {
    font-size: 23px;
  }

  .home-search-box input {
    height: 54px;
    padding-left: 47px;
    font-size: 13px;
  }

  .home-search-icon {
    left: 16px;
    width: 19px;
    height: 19px;
  }

  .quick-brand-buttons,
  .all-quick-brands {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .quick-brand-button,
  .all-quick-brand-button {
    width: 100%;
  }

  .finder-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .finder-all-button {
    width: 100%;
  }

  .home-autocomplete-item {
    grid-template-columns:
      38px
      minmax(0, 1fr)
      18px;
  }

  .home-result-popular {
    display: none;
  }

}



/* Apps Script 웹앱용 ARTMU 텍스트 워드마크 */
.artmu-wordmark {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}


/* =========================================================
   DEVICE DB GUIDE / REQUEST & REPORT
   ========================================================= */

.finder-bottom-row {
  align-items: flex-end;
}

.finder-guide-copy {
  min-width: 0;
  flex: 1;
}

.finder-guide-copy p {
  margin: 0;
}

.finder-guide-copy strong {
  color: var(--text);
  font-weight: 800;
}

.finder-guide-sub {
  margin-top: 4px !important;
  color: var(--text-muted);
  font-size: 11px;
}

.finder-guide-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.request-modal-backdrop {
  position: fixed;
  z-index: 1200;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
}

.request-modal {
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;

  padding: 24px;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18);
}

.request-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 22px;
}

.request-modal-title {
  margin: 0;

  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.request-modal-close {
  width: 34px;
  height: 34px;

  flex: 0 0 auto;

  border: 0;
  border-radius: 50%;

  background: var(--surface-soft);

  color: var(--text-secondary);
  font-size: 23px;
  line-height: 1;
}

.request-modal-close:hover {
  background: #111111;
  color: #ffffff;
}

.request-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.request-form-full {
  grid-column: 1 / -1;
}

.request-modal .form-field input,
.request-modal .form-field select,
.request-modal .form-field textarea {
  width: 100%;

  outline: none;

  background: #f7f8f9;
  border: 1px solid var(--line-strong);
  border-radius: 10px;

  color: var(--text);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.request-modal .form-field input,
.request-modal .form-field select {
  height: 44px;
  padding: 0 12px;
}

.request-modal .form-field textarea {
  min-height: 94px;
  padding: 11px 12px;

  resize: vertical;
}

.request-modal .form-field input:focus,
.request-modal .form-field select:focus,
.request-modal .form-field textarea:focus {
  background: #ffffff;
  border-color: #111111;

  box-shadow:
    0 0 0 3px rgba(17, 17, 17, 0.08);
}

.request-device-summary {
  margin-bottom: 16px;
  padding: 12px 14px;

  background: var(--surface-soft);
  border-left: 3px solid #111111;
  border-radius: 9px;

  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.request-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;

  margin-top: 20px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.request-modal-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

body.modal-open {
  overflow: hidden;
}


@media (max-width: 720px) {

  .finder-guide-actions {
    width: 100%;
    justify-content: stretch;
  }

  .finder-guide-actions button {
    flex: 1 1 100%;
    width: 100%;
  }

  .request-modal-backdrop {
    align-items: flex-end;
    padding: 12px;
  }

  .request-modal {
    width: 100%;
    max-height: calc(100vh - 24px);

    padding: 20px 16px;

    border-radius: 15px;
  }

  .request-form-grid {
    grid-template-columns: 1fr;
  }

  .request-form-full {
    grid-column: auto;
  }

  .request-modal-actions {
    display: grid;
    grid-template-columns:
      1fr
      1fr;
  }

}




/* =========================================================
   ACC - 모든 디바이스 보기 CTA 강조
   ========================================================= */

.finder-guide-actions .finder-all-button {
  position: relative;
  min-height: 44px;
  padding: 0 18px;

  background: #111111;
  border: 1px solid #111111;
  border-radius: 10px;

  color: #ffffff;
  font-weight: 800;

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.finder-guide-actions .finder-all-button:hover {
  background: #2a2a2a;

  transform: translateY(-1px);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.16);
}

.finder-guide-actions .finder-all-button:active {
  transform: translateY(0);

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.10);
}

.finder-guide-actions .finder-all-button #finderDeviceCount {
  margin-left: 3px;

  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 600;
}




/* =========================================================
   ACC - 이용 안내 블록
   ========================================================= */

.finder-guide-copy {
  position: relative;
  padding: 14px 16px 14px 18px;

  background: #f7f8fa;
  border: 1px solid #e4e7eb;
  border-radius: 12px;
}

.finder-guide-copy::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;

  width: 3px;

  background: #111111;
  border-radius: 0 3px 3px 0;
}

.finder-guide-label {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 7px;

  color: #111111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.finder-guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 17px;
  height: 17px;

  border: 1px solid #111111;
  border-radius: 50%;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.finder-guide-copy > p {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.7;
}

.finder-guide-copy > p:first-of-type {
  color: var(--text);
}

.finder-guide-copy .finder-guide-sub {
  margin-top: 2px !important;
}

@media (max-width: 720px) {
  .finder-guide-copy {
    width: 100%;
    padding: 13px 14px 13px 16px;
  }
}




/* =========================================================
   DESKTOP QUICK MENU
   - 예전 카드형 디자인 유지
   - 본문 레이아웃에는 영향 없음
   ========================================================= */
.page-quick-nav {
  position: fixed;
  z-index: 40;
  top: 108px;
  left: max(18px, calc(50% - (var(--container) / 2) - 172px));
  width: 146px;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 14px 12px 15px;
  background: rgba(255,255,255,.98);
  border: 1px solid #d8dbe0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-quick-nav-title {
  padding: 2px 8px 10px;
  color: #7f858d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}
.page-quick-nav-link {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  color: #626871;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
}
.page-quick-nav-link:hover {
  background: #f3f4f6 !important;
  color: #111;
}
.page-quick-nav-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 999px;
  background: #c1c5cb;
}
#featuredDevicesSection,
#myDevicesSection,
#compatibleProductsSection,
#allDeviceIntroSection,
#deviceSearchSection,
#allDeviceResultHeading { scroll-margin-top: 22px; }

@media (min-width:1500px) {
  .page-quick-nav { display:flex; }
}
@media (max-width:1499px) {
  .page-quick-nav { display:none !important; }
}


/* =========================================================
   ALL DEVICES AUTOCOMPLETE UI
   - 전체 디바이스 검색 자동완성을 메인 검색처럼 넓게 표시
   ========================================================= */

@media (min-width: 721px) {

  /* 자동완성 레이어 기준을 개별 검색칸이 아니라 필터 전체로 변경 */
  .device-filter-grid {
    position: relative;
  }

  .device-search-field {
    position: static;
  }

  .device-search-field .autocomplete {
    top: 72px;
    left: 0;
    right: 0;

    width: 100%;
    max-height: 390px;

    border-radius: 12px;

    overflow-x: hidden;
    overflow-y: auto;
  }

  /* 메인 검색 자동완성과 동일한 가독성 */
  .device-search-field .autocomplete-item {
    position: relative;

    min-height: 62px;

    display: grid;
    grid-template-columns:
      38px
      minmax(0, 1fr)
      18px;

    align-items: center;
    justify-content: initial;
    gap: 12px;

    padding: 10px 14px;

    text-align: left;
  }

  .device-search-field .autocomplete-item
  .device-list-brand-logo {
    width: 36px;
    height: 36px;

    margin: 0;
  }

  .device-search-field .autocomplete-item > div:nth-child(2) {
    min-width: 0;
    width: 100%;
  }

  .device-search-field .autocomplete-item strong {
    display: block;

    overflow: hidden;

    color: inherit;
    font-size: 12px;
    font-weight: 780;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .device-search-field .autocomplete-item
  .device-list-series {
    margin-top: 2px;

    overflow: hidden;

    color: #8b9098;
    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .device-search-field .autocomplete-item::after {
    content: "›";

    color: #111111;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;

    text-align: right;
  }

  .device-search-field .autocomplete-item:hover::after,
  .device-search-field .autocomplete-item.active::after {
    color: #ffffff;
  }

  .device-search-field .autocomplete-item:hover
  .device-list-series,
  .device-search-field .autocomplete-item.active
  .device-list-series {
    color: #c5c8cd;
  }
}




/* =========================================================
   PRODUCT PURCHASE LINKS
   ========================================================= */

.my-recommended-product-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 10px;
}

.my-recommended-product-link {
  margin-top: 0;
}



/* =========================================================
   ACC PRODUCT TABLE - PREVIOUS 8 COLUMN LAYOUT RESTORE
   제품군 / 제품 / 호환 상태 / 최대출력 / 포트구성 / 프로토콜 / 출시일 / 구매처
   ========================================================= */

.product-table-header,
.compatible-product-row {
  grid-template-columns:
    82px
    minmax(190px, 1.3fr)
    92px
    64px
    minmax(112px, .85fr)
    minmax(140px, 1fr)
    68px
    145px !important;
  gap: 8px !important;
}

.product-date-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 400;
}

.product-date-value {
  min-width: 0;
  white-space: nowrap;
}

.product-purchase-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.product-purchase-cell .product-buy-links,
.product-buy-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 5px;
  margin-left: 0 !important;
}

.product-buy-button {
  min-height: 24px;
  padding: 0 7px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .product-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-table-header,
  .compatible-product-row {
    grid-template-columns:
      82px
      minmax(190px, 1.3fr)
      92px
      64px
      minmax(112px, .85fr)
      minmax(140px, 1fr)
      68px
      145px !important;
    min-width: 1035px !important;
    gap: 8px !important;
  }
}

/* 출시일 + 구매 버튼 간격 조정 */
.product-date-cell {
  display: flex;
  align-items: center;
}

.product-date-value {
  flex-shrink: 0;
}

.product-date-cell .product-buy-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px !important;
}
/* ACC: 디바이스 상세 참고사항 영역 숨김 */
#detailNoteWrap { display: none !important; }



/* ACC 전체 디바이스: 검색 결과 우측 정렬 메뉴 */
.all-devices-page .device-result-heading {
  gap: 12px;
  min-height: 42px;
  margin-bottom: 9px;
}
.all-devices-page .device-result-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}
.all-devices-page .device-result-sort {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.all-devices-page .device-result-sort label {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.all-devices-page .device-result-sort select {
  width: 112px;
  height: 34px;
  padding: 0 28px 0 11px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
}
.all-devices-page .device-result-sort select:focus-visible {
  outline: 2px solid #777;
  outline-offset: 2px;
}
@media (max-width: 420px) {
  .all-devices-page .device-result-tools { gap: 9px; }
  .all-devices-page .device-result-sort { gap: 5px; }
  .all-devices-page .device-result-sort select { width: 96px; }
}


/* =========================================================
   ALL DEVICES — RESULT SUMMARY / SORT
   ========================================================= */
.all-devices-page .device-result-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.all-devices-page .device-result-summary strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.all-devices-page .device-result-summary #resultCount {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.all-devices-page .device-result-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.all-devices-page .device-result-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.all-devices-page .device-result-sort label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.all-devices-page .device-result-sort select {
  min-width: 150px;
  height: 36px;
  padding: 0 32px 0 11px;
  outline: none;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.all-devices-page .device-result-sort select:focus {
  border-color: #9ca1a9;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.035);
}

@media (max-width: 640px) {
  .all-devices-page .device-result-heading {
    align-items: center;
    gap: 10px;
  }

  .all-devices-page .device-result-sort label {
    display: none;
  }

  .all-devices-page .device-result-sort select {
    min-width: 132px;
    max-width: 45vw;
  }
}


/* =========================================================
   DESKTOP SIDE QUICK STACK + SAVED DEVICES
   ========================================================= */
.side-quick-stack {
  position: fixed;
  z-index: 40;
  top: 108px;
  left: max(18px, calc(50% - (var(--container) / 2) - 172px));
  width: 146px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.side-quick-stack .page-quick-nav {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  display: flex;
}

.side-my-device-nav {
  width: 100%;
  padding: 14px 12px 15px;
  background: rgba(255,255,255,.98);
  border: 1px solid #d8dbe0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.side-my-device-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.side-my-device-link {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #34383e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.side-my-device-link:hover {
  background: #f3f4f6;
  color: #111;
}

.side-my-device-heart {
  flex: 0 0 auto;
  color: #1677ff;
  font-size: 9px;
}

.side-my-device-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-my-device-empty {
  padding: 4px 8px 2px;
  color: #92979e;
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.5;
}

@media (min-width:1500px) {
  .side-quick-stack { display:flex; }
  .side-quick-stack .page-quick-nav { display:flex; }
}

@media (max-width:1499px) {
  .side-quick-stack { display:none !important; }
}

/* =========================================================
   ALL DEVICES — DEVICE CATEGORY BUTTON FILTER
   ========================================================= */
.all-devices-page .device-category-filter {
  grid-column: 1 / -1;
  min-width: 0;
  margin-bottom: 2px;
}

.all-devices-page .device-category-label {
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 650;
}

.all-devices-page .device-category-tabs {
  margin-bottom: 2px;
  flex-wrap: wrap;
  overflow: visible;
}

.all-devices-page .device-category-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 981px) {
  .all-devices-page .device-filter-grid {
    grid-template-columns: 180px 180px minmax(280px, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .all-devices-page .device-category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

/* =========================================================
   ACC - MY DEVICE SAVE BUTTON / BLUE CTA
   개인화 기능만 포인트 컬러로 분리해 시인성 강화
   ========================================================= */
#deviceDetailSection .save-device-button {
  min-height: 42px;
  padding: 0 17px;
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 750;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.20);
}

#deviceDetailSection .save-device-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

#deviceDetailSection .save-device-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 9px rgba(37, 99, 235, 0.18);
}

#deviceDetailSection .save-device-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#deviceDetailSection .save-device-button.saved {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: none;
}

#deviceDetailSection .save-device-button.saved:hover {
  background: #dbeafe;
  border-color: #60a5fa;
  color: #1d4ed8;
}

#deviceDetailSection .save-device-button.saved svg {
  fill: currentColor;
  stroke: currentColor;
}


/* =========================================================
   ALL DEVICES — DESKTOP QUICK STACK + SAVED DEVICES
   ========================================================= */
.all-devices-page .side-quick-stack {
  position: fixed;
  z-index: 40;
  top: 108px;
  left: max(18px, calc(50% - (var(--container) / 2) - 172px));
  width: 146px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.all-devices-page .side-quick-stack .page-quick-nav {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  display: flex;
}

.all-devices-page .side-my-device-nav {
  width: 100%;
  padding: 14px 12px 15px;
  background: rgba(255,255,255,.98);
  border: 1px solid #d8dbe0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.all-devices-page .side-my-device-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.all-devices-page .side-my-device-link {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #34383e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.all-devices-page .side-my-device-link:hover { background: #f3f4f6; color: #111; }
.all-devices-page .side-my-device-heart { flex: 0 0 auto; color: #1677ff; font-size: 9px; }
.all-devices-page .side-my-device-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.all-devices-page .side-my-device-empty { padding: 4px 8px 2px; color: #92979e; font-size: 9.5px; font-weight: 650; line-height: 1.5; }

@media (min-width:1500px) {
  .all-devices-page .side-quick-stack { display:flex; }
  .all-devices-page .side-quick-stack .page-quick-nav { display:flex; }
}
@media (max-width:1499px) {
  .all-devices-page .side-quick-stack { display:none !important; }
}
