/* 디자인 2~5. 1번(기본)은 style.css 그대로입니다. */
.hero-photos, .tiles { display: none; }

.design-picker { position: fixed; z-index: 25; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: #fff; color: #131a2a; border: 1px solid #d7dbe4; border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: 0 10px 30px rgba(10,15,28,.22); white-space: nowrap; max-width: calc(100vw - 16px); overflow-x: auto; }
.design-picker span { font-size: 12px; font-weight: 700; margin-right: 6px; }
.design-picker button { border: 0; background: none; color: inherit; border-radius: 999px; padding: 6px 11px; font-size: 13px; cursor: pointer; }
.design-picker button.on { background: #131a2a; color: #fff; }
body { padding-bottom: 0; }
footer { padding-bottom: 90px; }

/* ===== 2 쇼룸: 사진 중심, 분류 타일 ===== */
[data-design="show"] { --navy: #17325c; --accent: #1f5eff; --accent-dark: #1747c4; --bg: #f4f6fb; --radius: 22px; }
[data-design="show"] .hero { background: linear-gradient(180deg, #e8eefc 0%, #f4f6fb 100%); color: var(--ink); }
[data-design="show"] .hero-grid { grid-template-columns: 1fr 1.1fr; padding-top: 48px; padding-bottom: 40px; }
[data-design="show"] .eyebrow { color: var(--accent); }
[data-design="show"] .hero h1 { font-size: 42px; }
[data-design="show"] .lead { color: var(--sub); }
[data-design="show"] .hero .btn.ghost { color: var(--ink); border-color: #b9c3da; }
[data-design="show"] .steps { display: none; }
[data-design="show"] .hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
[data-design="show"] .hero-photos button { border: 0; background: #fff; border-radius: 22px; padding: 12px; cursor: pointer; box-shadow: 0 14px 34px rgba(23,50,92,.12); }
[data-design="show"] .hero-photos img { display: block; width: 100%; height: 150px; object-fit: contain; }
[data-design="show"] .hero-photos span { font-weight: 800; font-size: 13px; }
[data-design="show"] .tiles { display: block; padding-top: 30px; }
[data-design="show"] main { padding-top: 34px; }
[data-design="show"] .tiles h2 { font-size: 22px; margin-bottom: 14px; }
[data-design="show"] .tiles > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
[data-design="show"] .tiles button { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 14px; cursor: pointer; text-align: center; }
[data-design="show"] .tiles button:hover { border-color: var(--accent); }
[data-design="show"] .tiles img { display: block; width: 100%; height: 90px; object-fit: contain; margin-bottom: 6px; }
[data-design="show"] .tiles strong { display: block; font-size: 14px; }
[data-design="show"] .tiles span { font-size: 12px; color: var(--sub); }
[data-design="show"] .chip, [data-design="show"] .btn, [data-design="show"] .add { border-radius: 999px; }
[data-design="show"] .card { border: 0; box-shadow: 0 6px 20px rgba(23,50,92,.08); }
[data-design="show"] .card .thumb { height: 240px; border-bottom: 0; }
[data-design="show"] .logo-mark { border-radius: 50%; }

/* ===== 3 미니멀: 흰 바탕, 여백, 선 ===== */
[data-design="mini"] { --ink: #111; --sub: #777; --line: #e9e9e9; --bg: #fff; --navy: #111; --accent: #111; --accent-dark: #333; --radius: 2px; }
[data-design="mini"] .hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); text-align: center; }
[data-design="mini"] .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 76px; padding-bottom: 46px; }
[data-design="mini"] .eyebrow { color: var(--sub); letter-spacing: 6px; font-weight: 500; }
[data-design="mini"] .hero h1 { font-size: 46px; font-weight: 300; letter-spacing: -1.5px; }
[data-design="mini"] .hero h1 br { display: none; }
[data-design="mini"] .lead { color: var(--sub); margin: 0 auto; }
[data-design="mini"] .hero-actions { justify-content: center; }
[data-design="mini"] .hero .btn.ghost { color: var(--ink); border-color: #111; }
[data-design="mini"] .steps { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto; width: 100%; text-align: left; }
[data-design="mini"] .steps li { background: none; border: 0; border-top: 1px solid #111; border-radius: 0; padding: 14px 0; }
[data-design="mini"] .steps b { background: none; border: 1px solid #111; color: #111; }
[data-design="mini"] .steps span { color: var(--sub); }
[data-design="mini"] .btn, [data-design="mini"] .add, [data-design="mini"] .chip, [data-design="mini"] .cart-btn, [data-design="mini"] .search input, [data-design="mini"] .badge, [data-design="mini"] .logo-mark { border-radius: 0; }
[data-design="mini"] .chips { justify-content: center; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); }
[data-design="mini"] .chip { border: 0; border-bottom: 2px solid transparent; padding: 8px 0; background: none; }
[data-design="mini"] .chip span { display: none; }
[data-design="mini"] .chip.on { color: #111; border-bottom-color: #111; }
[data-design="mini"] .grid { gap: 34px 20px; }
[data-design="mini"] .card { border: 0; background: none; }
[data-design="mini"] .card:hover { box-shadow: none; transform: none; }
[data-design="mini"] .card .thumb { background: #f4f4f2; border: 0; height: 260px; }
[data-design="mini"] .card .thumb img { mix-blend-mode: multiply; padding: 22px; }
[data-design="mini"] .card:hover .thumb { background: #ecece8; }
[data-design="mini"] .card-body { padding: 12px 0 0; }
[data-design="mini"] .card h3 { font-weight: 500; }
[data-design="mini"] .tags { display: none; }
[data-design="mini"] .add { border: 0; border-bottom: 1px solid #111; padding: 2px 0; }
[data-design="mini"] .add:hover { background: none; color: #111; opacity: .6; }
[data-design="mini"] .badge { background: #111; }
[data-design="mini"] footer { background: #f4f4f2; color: #555; }
[data-design="mini"] footer strong { color: #111; }

/* ===== 4 다크: 산업 현장 느낌, 노란 강조 ===== */
[data-design="dark"] { --ink: #eef0f3; --sub: #9aa3b2; --line: #2b313c; --bg: #101216; --card: #191d24; --navy: #ffc400; --accent: #ffc400; --accent-dark: #e0ac00; --radius: 8px; }
[data-design="dark"] .top { background: rgba(16,18,22,.94); }
[data-design="dark"] .search input:focus { background: #191d24; }
[data-design="dark"] .logo-mark, [data-design="dark"] .cart-btn, [data-design="dark"] .btn.primary, [data-design="dark"] .badge { color: #111; }
[data-design="dark"] .cart-btn b { background: #111; color: #ffc400; }
[data-design="dark"] .hero { background: repeating-linear-gradient(135deg, #15181e 0 22px, #171a21 22px 44px); border-bottom: 4px solid #ffc400; }
[data-design="dark"] .eyebrow { color: #ffc400; }
[data-design="dark"] .hero h1 { font-weight: 900; }
[data-design="dark"] .steps b { background: #ffc400; color: #111; border-radius: 6px; }
[data-design="dark"] .chip, [data-design="dark"] .list-head select, [data-design="dark"] .add, [data-design="dark"] .help, [data-design="dark"] .modal, [data-design="dark"] .drawer, [data-design="dark"] .sizes button { background: #191d24; color: var(--ink); }
[data-design="dark"] .chip.on, [data-design="dark"] .add:hover, [data-design="dark"] .sizes button.on { background: #ffc400; color: #111; border-color: #ffc400; }
[data-design="dark"] .chip.on span { color: #4a3b00; }
[data-design="dark"] .add { border-color: #ffc400; color: #ffc400; }
[data-design="dark"] .card .thumb, [data-design="dark"] .modal .thumb { background: #fff; }
[data-design="dark"] .card:hover { box-shadow: 0 0 0 2px #ffc400; }
[data-design="dark"] .docs { color: #ffc400; }
[data-design="dark"] #orderForm input, [data-design="dark"] #orderForm textarea, [data-design="dark"] .qty input { background: #101216; color: var(--ink); }
[data-design="dark"] .btn.ghost { color: var(--ink); border-color: #4a5262; }
[data-design="dark"] .toast { color: #111; }
[data-design="dark"] footer { background: #0a0b0e; }

/* ===== 5 카탈로그: 왼쪽 분류, 한 줄씩 빠른 목록 ===== */
[data-design="list"] { --navy: #0f5c4d; --accent: #0f7a63; --accent-dark: #0b5c4b; --radius: 8px; --bg: #f5f7f6; }
[data-design="list"] .hero { background: #0f5c4d; }
[data-design="list"] .hero-grid { grid-template-columns: 1fr; padding-top: 22px; padding-bottom: 22px; }
[data-design="list"] .hero h1 { font-size: 24px; margin: 4px 0 0; }
[data-design="list"] .hero h1 br { display: none; }
[data-design="list"] .eyebrow { color: #a8e6d4; }
[data-design="list"] .lead, [data-design="list"] .steps { display: none; }
[data-design="list"] .hero-actions { margin-top: 12px; }
[data-design="list"] .hero .btn { height: 38px; font-size: 14px; }
[data-design="list"] main { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 24px; align-content: start; }
[data-design="list"] .chips { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-self: start; position: sticky; top: 86px; overflow: visible; gap: 4px; }
[data-design="list"] .chip { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 8px; padding: 10px 14px; }
[data-design="list"] .list-head { grid-column: 2; margin-top: 0; }
[data-design="list"] .grid, [data-design="list"] .empty { grid-column: 2; }
[data-design="list"] .grid { grid-template-columns: 1fr; gap: 8px; align-content: start; }
[data-design="list"] .card { flex-direction: row; }
[data-design="list"] .card:hover { transform: none; }
[data-design="list"] .card .thumb { flex: 0 0 96px; width: 96px; height: auto; min-height: 96px; border: 0; border-right: 1px solid var(--line); }
[data-design="list"] .card-body { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 10px 16px; min-width: 0; }
[data-design="list"] .brand { display: none; }
[data-design="list"] .card h3 { font-size: 17px; flex: 0 0 110px; }
[data-design="list"] .title { flex: 1 1 220px; }
[data-design="list"] .tags { display: none; }
[data-design="list"] .card-foot { margin: 0 0 0 auto; padding: 0; flex-direction: row; align-items: center; gap: 14px; }
[data-design="list"] .badge { left: 4px; top: 4px; font-size: 10px; padding: 0 5px; }

@media (max-width: 760px) {
  .design-picker span { display: none; }
  .design-picker { padding-left: 8px; }
  .design-picker button { padding: 6px 8px; font-size: 12px; }
  [data-design="show"] .hero-grid { grid-template-columns: 1fr; }
  [data-design="show"] .hero h1 { font-size: 30px; }
  [data-design="show"] .hero-photos img { height: 100px; }
  [data-design="show"] .tiles > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-design="show"] .card .thumb { height: 160px; }
  [data-design="mini"] .hero-grid { padding-top: 40px; }
  [data-design="mini"] .hero h1 { font-size: 28px; }
  [data-design="mini"] .steps { grid-template-columns: 1fr; }
  [data-design="mini"] .card .thumb { height: 170px; }
  [data-design="list"] main { display: block; }
  [data-design="list"] .chips { flex-direction: row; position: static; overflow-x: auto; }
  [data-design="list"] .chip { flex: 0 0 auto; }
  [data-design="list"] .list-head { margin-top: 18px; }
  [data-design="list"] .card .thumb { flex-basis: 80px; width: 80px; }
  [data-design="list"] .card h3 { flex-basis: 100%; }
  [data-design="list"] .card-foot { margin: 0; width: 100%; justify-content: space-between; }
}
