﻿/* BLACKLABEL — 흑백 모노톤. 검정(라벨) + 흰 바탕, 굵은 산세리프 대문자 */
:root {
  --bg: #ffffff;
  --bg-glass: #ffffffef;
  --ink: #0b0b0b;
  --muted: #6e6e6e;
  --line: #e6e6e6;
  --dark: #0b0b0b;
  --soft: #f3f3f3;
  --chip: #f3f3f3;
  --white: #ffffff;
  --black: #000000;
  --sans: "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: var(--sans);
  --wrap: 1360px;
  --gutter: 16px;
  --radius-pill: 9999px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
h1, h2, h3 { letter-spacing: -.01em; }
h1.sr-only { font-size: 16px; }
button, select { font-family: inherit; }
svg { display: block; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- top bar (흐르는 안내 띠) ---------- */
.topbar {
  height: 30px; background: var(--black); color: var(--white);
  display: flex; align-items: center; overflow: hidden;
  font-size: 11px; line-height: 16px; letter-spacing: .12em; white-space: nowrap;
}
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: flex; gap: 28px; padding-right: 28px; }
.marquee i { font-style: normal; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- header (가운데 로고) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg-glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .head-row { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { grid-column: 2; display: flex; align-items: center; height: 28px; white-space: nowrap; }
.logo b { font-weight: 800; font-size: 20px; letter-spacing: .32em; padding-left: .32em; }
.logo small { display: none; }
.main-nav { display: none; gap: 28px; }
.nav-l { grid-column: 1; grid-row: 1; justify-self: start; }
.nav-r { margin-right: 8px; }
.main-nav a, .search-link {
  position: relative; font-size: 12px; line-height: 20px; letter-spacing: .18em; color: var(--muted); font-weight: 500;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--ink);
}
.header-tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 16px; }
.menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
.search-link { display: flex; align-items: center; gap: 4px; color: var(--ink); }
.mobile-menu .wrap { display: block; height: auto; }
.search-link span { display: none; }
.menu-btn {
  width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-menu { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.mobile-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); padding: 16px 0;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu a {
  display: block; width: max-content; padding: 8px 0; font-size: 14px; line-height: 20px;
  letter-spacing: .2em; color: var(--muted); position: relative;
}
.mobile-menu a.is-active { color: var(--ink); }
.mobile-menu a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--ink);
}

@media (min-width: 640px) {
  .search-link span { display: inline; }
}
@media (max-width: 1023px) {
  .logo b { font-size: 17px; letter-spacing: .26em; padding-left: .26em; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-btn, .mobile-menu, .menu-open .mobile-menu { display: none; }
}

/* ---------- main ---------- */
main { display: block; }
.home { display: flow-root; }
.home::after { content: ""; display: block; height: 64px; }

/* ---------- hero (BLACK LABEL) : 화면 가득, 흑백 사진 + 큰 글자 ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--black); color: var(--white);
  height: min(calc(100svh - 94px), 820px); min-height: 520px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides a { position: absolute; inset: 0; opacity: 0; animation: hero-fade 15s infinite; }
.hero-slides a:nth-child(1) { animation-delay: 0s; }
.hero-slides a:nth-child(2) { animation-delay: 5s; }
.hero-slides a:nth-child(3) { animation-delay: 10s; }
.hero-slides img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block;
  filter: grayscale(1) contrast(1.08) brightness(.82);
}
@keyframes hero-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slides a { animation: none; } .hero-slides a:first-child { opacity: 1; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.15) 100%);
}
.hero-body {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 32px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-tag {
  display: inline-flex; gap: 14px; padding: 6px 12px; border: 1px dashed rgba(255,255,255,.55);
  font-size: 10px; line-height: 14px; letter-spacing: .3em; font-weight: 600;
}
.hero-tag span + span { opacity: .6; }
.hero-title {
  margin-top: 18px; font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 17vw, 168px); line-height: .86; letter-spacing: -.02em;
}
.hero-sub { margin-top: 18px; font-size: 14px; line-height: 22px; color: rgba(255,255,255,.82); }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  font-size: 12px; line-height: 20px; letter-spacing: .2em; font-weight: 600;
}
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #e9e9e9; }
.btn-line { border: 1px solid rgba(255,255,255,.7); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.12); }
.hero .hero-count {
  position: absolute; z-index: 2; right: 20px; top: 20px; bottom: auto;
  display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; font-weight: 600;
}
.hero .hero-count i { width: 40px; height: 1px; background: rgba(255,255,255,.7); }
@media (min-width: 768px) {
  /* 큰 화면: 사진 3장을 나란히, 왼쪽이 어두운 그라데이션 */
  .hero-slides { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-slides a { position: relative; opacity: 1; animation: none; }
  .hero-slides a + a { border-left: 1px solid #000; }
  .hero-slides img { transition: filter .5s; }
  .hero-slides a:hover img { filter: grayscale(0) contrast(1) brightness(.95); }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.05) 75%), linear-gradient(to top, rgba(0,0,0,.5), transparent 40%); }
  .hero-body { left: max(40px, calc((100vw - var(--wrap)) / 2 + 16px)); right: auto; bottom: 64px; max-width: 640px; }
  .hero-sub { font-size: 15px; }
  .hero .hero-count { right: 40px; top: auto; bottom: 64px; }
}
/* notice bar */
.notice-bar {
  margin-top: 40px; display: flex; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0;
}
.notice-bar .label { flex: none; width: 52px; font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--muted); }
.notice-bar .item {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14px; line-height: 20px;
}
.notice-bar .item .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-bar .item .d { flex: none; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.notice-bar .more { flex: none; }

/* section heads */
.block { margin-top: 64px; }
.eyebrow { font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--muted); }
.block-title { margin-top: 8px; font-family: var(--serif); font-size: 30px; line-height: 36px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.see-all { flex: none; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
.see-all span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* category circles */
.cat-nav {
  margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px;
}
.cat-nav a {
  justify-self: center; width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: var(--radius-pill);
  background: var(--chip); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 10px; line-height: 14px; letter-spacing: .15em; padding-left: .15em;
}
.cat-nav svg { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .cat-nav { grid-template-columns: repeat(8, 1fr); gap: 16px; }
  .cat-nav a { max-width: 96px; gap: 8px; font-size: 11px; line-height: 16px; }
}
@media (min-width: 1024px) {
  .cat-nav svg { width: 32px; height: 32px; }
}

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
.block .grid { margin-top: 32px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; min-width: 0; }
.card-img { position: relative; aspect-ratio: 4 / 5; background-color: var(--soft); overflow: hidden; }
.badge {
  position: absolute; left: 12px; top: 12px; background: var(--dark); color: var(--white);
  font-size: 10px; line-height: 13px; font-weight: 500; letter-spacing: .15em; padding: 2px 8px 2px 9px;
}
.card-img .fav { position: absolute; right: 18px; bottom: 18px; width: 16px; height: 16px; color: var(--ink); opacity: 0; transition: opacity .2s; }
.card:hover .fav { opacity: 1; }
.card-meta {
  padding-top: 16px; display: flex; justify-content: space-between; gap: .12em;
  font-size: 11px; line-height: 17px; letter-spacing: .12em; color: var(--muted);
}
.card-meta span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta span:last-child { flex: none; }
.card h3 { font-family: var(--serif); font-size: 16px; line-height: 24px; }
.card .price { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.swatches { margin-top: 8px; display: flex; align-items: center; gap: 6px; height: 16px; }
.swatches i { width: 12px; height: 12px; border-radius: var(--radius-pill); border: 1px solid rgba(0,0,0,.12); }
.swatches span { margin-left: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }

/* ---------- listing pages ---------- */
.page { padding: 40px 0; }
.crumbs { font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--muted); }
.page .eyebrow.mt { margin-top: 24px; }
.page h1 { margin-top: 8px; font-family: var(--serif); font-size: 36px; line-height: 40px; }
.page .lead { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.tabs {
  margin-top: 32px; display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; padding: 0 4px 8px; font-size: 14px; line-height: 20px; letter-spacing: .1em;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.toolbar {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.toolbar .count { font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--muted); }
.toolbar .controls { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.toolbar select {
  height: 28px; padding: 0 6px 0 10px; border: 1px solid #d0d0d0; border-radius: 0; background: var(--white);
  color: var(--ink); font-size: 14px;
}
.toolbar select.brand-sel { width: 100%; max-width: 160px; flex: 0 1 160px; }
.toolbar select.sort-sel { width: 94px; }
.page .grid { margin-top: 24px; }
.page.qc .grid { margin-top: 40px; }
.qc-card .qc-no { margin-top: 12px; font-size: 11px; line-height: 17px; color: var(--muted); }
.qc-card h3 { margin-top: 4px; }
.qc-card .price { margin-top: 4px; color: var(--ink); }
.empty { margin-top: 48px; font-size: 14px; color: var(--muted); }

/* brand list */
.brand-list { margin-top: 32px; display: grid; grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 768px) { .brand-list { grid-template-columns: repeat(3, 1fr); } }
.brand-list a {
  display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 20px; color: var(--muted);
}
.brand-list a.is-active { color: var(--ink); font-weight: 500; }
.brand-list a small { margin-right: 8px; font-size: 11.2px; line-height: 1; }
.brand-list a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-list a.extra { display: none; }
.brands-open .brand-list a.extra { display: flex; }
.more-brands {
  margin-top: 16px; width: 100%; height: 34px; display: flex; align-items: center; justify-content: center; gap: 4px;
  background: none; border: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .2em; cursor: pointer;
}
.brands-open .more-brands svg { transform: rotate(180deg); }

/* ---------- footer ---------- */
.site-footer { margin-top: 96px; background: var(--white); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; }
.foot-top { display: flex; flex-direction: column; gap: 32px; }
.foot-logo { display: flex; align-items: baseline; gap: 8px; line-height: 28px; }
.foot-logo b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.foot-logo small { font-size: 11px; color: var(--muted); }
.foot-desc { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.foot-nav { display: flex; gap: 24px; font-size: 14px; line-height: 20px; letter-spacing: .15em; color: var(--muted); }
.copyright {
  margin-top: 48px; border-top: 1px solid var(--line); padding: 16px 0;
  font-size: 12px; line-height: 16px; color: var(--muted);
}
@media (min-width: 768px) {
  .foot-top { flex-direction: row; justify-content: space-between; gap: 32px; }
  .foot-brand { flex: 1; }
  .foot-nav { align-items: flex-start; }
}

/* ---------- floating inquiry ---------- */
.chat-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 6px;
  background: var(--dark); color: var(--white); border: 0; box-shadow: var(--shadow);
  font-size: 14px; line-height: 20px; cursor: pointer;
}
.chat-pop {
  margin: auto; width: min(92vw, 26rem); padding: 0; border: 0;
  background: var(--bg); color: var(--ink);
}
.chat-pop::backdrop { background: rgba(0, 0, 0, .4); }
.chat-in { padding: 24px; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; }
.chat-pop h2 { font-family: var(--serif); font-size: 24px; line-height: 32px; }
.chat-close { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.chat-box { margin-top: 24px; padding: 16px; border: 1px solid var(--line); }
.chat-box p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.chat-box .chat-box-t { margin-top: 0; font-weight: 500; color: var(--ink); }
.chat-box a { margin-top: 16px; display: inline-block; padding: 8px 16px; background: var(--dark); color: var(--white); font-size: 14px; line-height: 20px; }
.chat-note { margin-top: 16px; font-size: 14px; line-height: 20px; }
.chat-hours { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--muted); }

.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- product and QC detail pages ---------- */
.detail-post { max-width: 768px; margin: 0 auto; }
.detail-post .eyebrow.mt { margin-top: 32px; }
.detail-post h1, .product h1 { font-size: 30px; line-height: 36px; }
.page .sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.detail-price { margin-top: 16px; font-size: 20px; line-height: 28px; }
.ask-btn {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 14px; line-height: 20px; cursor: pointer;
}
.product .ask-btn { background: var(--ink); color: var(--bg); text-decoration: none; }
.detail-photos { margin-top: 32px; display: grid; gap: 16px; }
.detail-photos figure { margin: 0; }
.detail-photos img { display: block; width: 100%; height: auto; background: var(--soft); }
.product-grid { margin-top: 32px; display: grid; gap: 40px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: 1fr 1fr; } }
.product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.product-brand { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.product-brand:hover { color: var(--ink); }
.product-info h1 { margin-top: 8px; }
.product-info hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.opt-label { font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.opt-label span { margin-left: 8px; color: var(--ink); letter-spacing: normal; }
.swatch-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.swatch-btn { width: 40px; height: 40px; padding: 4px; border-radius: var(--radius-pill); border: 2px solid transparent; background: none; cursor: pointer; }
.swatch-btn[aria-pressed="true"] { border-color: var(--ink); }
.swatch-btn i { display: block; width: 100%; height: 100%; border-radius: var(--radius-pill); border: 1px solid rgba(0,0,0,.12); }


/* ===================== BLACKLABEL 스타일 덮어쓰기 ===================== */
.home::after { height: 0; }
.notice-bar { margin-top: 0; border-top: 0; padding: 16px 0; }
.notice-bar .label { font-weight: 700; color: var(--ink); }
.block { margin-top: 88px; }
.eyebrow { font-size: 11px; letter-spacing: .3em; font-weight: 600; }
.block-title, .page h1 {
  font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: 28px; line-height: 32px;
}
@media (min-width: 768px) { .block-title { font-size: 36px; line-height: 40px; } .page h1 { font-size: 44px; line-height: 48px; } }
.see-all { font-size: 12px; letter-spacing: .2em; font-weight: 600; }
.see-all span { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* 카테고리: 동그라미 → 검은 테두리 사각 타일 */
.cat-nav { gap: 8px; }
.cat-nav a {
  max-width: none; aspect-ratio: 1; border-radius: 0; background: var(--white);
  border: 1px solid var(--line); font-weight: 600; letter-spacing: .2em; transition: background .2s, color .2s, border-color .2s;
}
.cat-nav a:hover { background: var(--black); color: var(--white); border-color: var(--black); }
@media (min-width: 768px) { .cat-nav a { max-width: none; } }

/* 상품 카드 */
.grid { gap: 48px 12px; }
@media (min-width: 768px) { .grid { gap: 56px 20px; } }
.card-img { background-color: var(--soft); }
.card-img img { transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { background: var(--black); font-weight: 700; letter-spacing: .25em; left: 0; top: 0; padding: 4px 10px; }
.card-meta { font-weight: 600; color: var(--ink); text-transform: uppercase; }
.card-meta span:last-child { color: var(--muted); font-weight: 400; }
.card h3 { margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 400; }
.card .price { font-size: 13px; }

/* 목록·상세 */
.tabs a { font-weight: 600; letter-spacing: .18em; font-size: 12px; }
.tabs a.is-active { border-bottom-width: 2px; }
.toolbar select { border-color: var(--ink); }
.brand-list a { font-size: 13px; letter-spacing: .06em; }
.brand-list a.is-active { color: var(--ink); font-weight: 700; }
.detail-post h1, .product h1 { font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.product .ask-btn { height: 52px; padding: 0 28px; margin-top: 28px; letter-spacing: .12em; font-weight: 600; border-color: var(--black); background: var(--black); color: var(--white); }
.product .ask-btn:hover { background: #2a2a2a; }
.product-brand { font-weight: 700; color: var(--ink); text-transform: uppercase; }
.detail-price { font-weight: 600; }

/* 푸터: 검정 */
.site-footer { background: var(--black); color: #d9d9d9; border-top: 0; }
.foot-logo b { font-weight: 800; letter-spacing: .3em; font-size: 20px; color: var(--white); }
.foot-logo small, .foot-desc, .foot-nav, .copyright { color: #9a9a9a; }
.foot-desc a { color: var(--white); border-bottom: 1px solid #555; }
.foot-desc + .foot-desc { margin-top: 8px; }
.foot-nav a:hover { color: var(--white); }
.copyright { border-top-color: #262626; letter-spacing: .1em; }

/* 1:1 문의 버튼·팝업 */
.chat-btn { background: var(--black); border-radius: 0; letter-spacing: .06em; font-weight: 600; }
.chat-pop { background: var(--white); }
.chat-pop h2 { font-weight: 800; text-transform: uppercase; }
.chat-box a { background: var(--black); }
.chat-btn { border: 1px solid #3a3a3a; }
@media (min-width: 768px) { .hero .hero-count { top: 32px; bottom: auto; } }
/* 휴대폰 히어로: 첫 사진이 처음부터 보이고 5초마다 자연스럽게 바뀜 */
.hero-slides a { animation-name: hero-fade2; }
.hero-slides a:nth-child(1) { animation-delay: 0s; }
.hero-slides a:nth-child(2) { animation-delay: -10s; }
.hero-slides a:nth-child(3) { animation-delay: -5s; }
@keyframes hero-fade2 { 0% { opacity: 1; } 27% { opacity: 1; } 33.4% { opacity: 0; } 93.3% { opacity: 0; } 100% { opacity: 1; } }
@media (min-width: 768px) { .hero-slides a { animation: none; opacity: 1; } }

/* 상세컷 여러 장: 세로로 쌓기, PC에서는 글 영역이 따라 내려오게 */
.product-photo { display: grid; gap: 12px; align-content: start; }
@media (min-width: 768px) { .product-info { position: sticky; top: 96px; align-self: start; } }

[hidden] { display: none !important; }

/* ---------- 핸드폰 화면 맞춤 ---------- */
body { word-break: keep-all; overflow-wrap: break-word; }   /* 한글 단어 중간에서 줄바꿈 안 함 */
@media (max-width: 767px) {
  .tabs { flex-wrap: wrap; gap: 10px 18px; overflow: visible; }   /* 카테고리 칸이 잘리지 않게 두 줄로 */
  .chat-btn { right: 12px; bottom: 12px; height: 40px; padding: 0 14px; font-size: 13px; }
  .site-footer { padding-bottom: 64px; }                            /* 떠 있는 문의 버튼이 맨 아래 글자를 가리지 않게 */
  .page .grid { padding-bottom: 8px; }
}

/* 이벤트 배너 (홈) + 이벤트 글 */
.event-banner, .event-post { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 28px; align-items: center; margin: 28px 0 8px; padding: 20px; border: 1px solid var(--line, #e5e5e5); color: inherit; text-decoration: none; }
.event-banner img, .event-post img { width: 100%; height: auto; display: block; }
.event-banner h2, .event-post h2 { margin: 6px 0 4px; font-size: 24px; }
.event-banner .sub, .event-post .sub { margin: 0 0 12px; color: var(--muted, #777); }
.event-banner ul, .event-post ul { margin: 0 0 16px; padding-left: 18px; line-height: 1.8; }
.event-post { grid-template-columns: minmax(0, 420px) 1fr; align-items: start; }
@media (max-width: 767px) {
  .event-banner, .event-post { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .event-banner img { max-width: 320px; margin: 0 auto; }
}

/* search page */
.search-form{display:flex;gap:8px;margin:28px 0 12px;max-width:640px}
.search-form input{flex:1;min-width:0;height:48px;padding:0 16px;border:1px solid #111;border-radius:0;font-size:16px;background:#fff;color:#111}
.search-form input:focus{outline:2px solid #111;outline-offset:2px}
.search-form button{height:48px;padding:0 22px;border:0;background:#111;color:#fff;font-size:14px;letter-spacing:.12em;cursor:pointer}
#search-results{margin-top:24px}
.search-more{text-align:center;margin:32px 0}
.search-more button{height:44px;padding:0 32px;border:1px solid #111;background:#fff;cursor:pointer;letter-spacing:.1em}

/* ACC 세부 분류 탭 */
.tabs.subtabs { margin-top: -6px; border-bottom: 0; }
.tabs.subtabs a { font-size: 13px; letter-spacing: .04em; padding: 6px 14px; border: 1px solid var(--line, #ddd); border-radius: 999px; }
.tabs.subtabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 동그란 브랜드 사진 줄 */
.brand-circles { display: flex; flex-wrap: wrap; gap: 22px 12px; margin: 28px 0 8px; }
.brand-circles .bc { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 82px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink); }
.brand-circles .bc-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #dcdcdc; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; transition: border-color .15s; }
.brand-circles .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-circles .bc-all { color: #e4502b; font-weight: 900; font-size: 24px; letter-spacing: -.02em; }
.brand-circles .bc-name { font-size: 12.5px; line-height: 1.3; text-align: center; word-break: keep-all; }
.brand-circles .bc:hover .bc-img { border-color: #999; }
.brand-circles .bc.is-active .bc-img { border-color: var(--ink); }
.brand-circles .bc.is-active .bc-name { font-weight: 700; }
@media (max-width: 640px) {
  .brand-circles { gap: 16px 6px; }
  .brand-circles .bc { width: 68px; }
  .brand-circles .bc-img { width: 64px; height: 64px; }
  .brand-circles .bc-name { font-size: 11.5px; }
}
