/**
 * HDBOX (현대박스) - Custom Packaging Solution Design System
 * 
 * [왜 이렇게 설계했는가?]
 * 1. 클라이언트(박수연 팀장님) 명함 아이덴티티('HD[BOX] 현대박스', 레드 #C82027 & 다크네이비 #162032, 파주공장 1100평)와
 *    전달해주신 2종의 샘플 시안 레이아웃을 완벽히 결합함.
 * 2. 메인 배너 내부에 8대 박스 유형(고급인쇄, 골판지, 싸바리, PVC, 끈, 기성, 기타주문, 각종인쇄)이
 *    자동으로 롤링되면서도 스크롤 없이 즉시 클릭 이동이 가능한 인터랙티브 배너 슬라이더를 구현함.
 * 3. 모바일에서 아래로 길게 스크롤해야만 내용이 보이던 문제를 해결하기 위해,
 *    상단 전체메뉴 고정 바 + 모바일 2열(2-Column) 압축 그리드로 첫 화면 정보 밀도를 극대화함.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Serif+KR:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg-main: #FAF8F4;
  /* 밝고 세련된 아이보리 배경 */
  --bg-sub: #FFFFFF;
  /* 순백 화이트 배경 */
  --bg-ivory-warm: #F3EFE6;
  /* 종이 질감 웜 아이보리 */
  --color-primary: #22252A;
  /* 프리미엄 딥 차콜 (포인트 1) */
  --color-charcoal: #2C3038;
  --color-dark: #1C1B19;
  --color-red: #C82027;
  /* HD 명함 시그니처 레드 */
  --color-red-hover: #A5171D;
  --color-accent: #8B5E3C;
  /* 크라프트 & 브론즈 브라운 (포인트 2) */
  --color-accent-hover: #6E472B;
  --color-brown-light: #C69C6D;
  --color-border: #E4DEC9;
  --color-border-dark: #C8BFA8;
  --color-npay: #03C75A;
  --color-npay-hover: #02a34a;
  --text-muted: #5E5A54;
  --font-serif: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* ========================================================
   전역 초기화 & [와이드 럭셔리 컨테이너 (상하/좌우 여백 황금 밸런스)]
   ======================================================== */
.container,
.container-fluid {
  max-width: 1580px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 3.5vw, 48px) !important;
  padding-right: clamp(20px, 3.5vw, 48px) !important;
}

body {
  background-color: var(--bg-main) !important;
  color: var(--color-dark) !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(14.5px, 0.92vw + 2.5px, 17px);
  line-height: 1.68;
  letter-spacing: -0.02em;
  word-break: keep-all;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans) !important;
  color: var(--color-primary) !important;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 800;
  word-break: keep-all;
}

h1 {
  font-size: clamp(34px, 3.2vw + 8px, 56px);
}

h2 {
  font-size: clamp(26px, 1.9vw + 5px, 38px);
}

h3 {
  font-size: clamp(20px, 1.35vw + 4px, 28px);
}

h4 {
  font-size: clamp(16.5px, 1.05vw + 2px, 21.5px);
}

h5 {
  font-size: clamp(15px, 0.95vw + 2px, 19px);
}

h6 {
  font-size: clamp(13.5px, 0.85vw + 1.5px, 16px);
}

.serif-title {
  font-family: var(--font-serif) !important;
}

*,
*::before,
*::after {
  border-radius: 0px !important;
}

a {
  color: var(--color-dark);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

a:hover {
  color: var(--color-red);
}

/* ========================================================
   현대박스 공식 로고 (HD[BOX] 현대박스) & 헤더 전체메뉴
   ======================================================== */
#header_area {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hd-topbar {
  background: #F3EFE6;
  color: #4A443C;
  border-bottom: 1px solid #E4DEC9;
  font-size: clamp(12px, 0.72vw + 2px, 14px);
  padding: clamp(6px, 0.5vw, 9px) 0;
}

.hd-topbar a {
  color: #22252A;
  font-weight: 600;
}

.hd-topbar strong {
  color: var(--color-red) !important;
}

.header_btm_area {
  padding: clamp(14px, 1vw, 20px) 0;
  background: #FFFFFF;
}

/* 명함 시그니처 공식 로고: 업로드된 공식 HD[BOX] 로고 이미지 + 현대박스 */
.hd-official-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 0.85vw, 14px);
  text-decoration: none;
  padding: 4px 0;
}

.hd-logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  position: relative;
}

.hd-logo-mark .hd-logo-img {
  height: clamp(32px, 2.5vw, 40px);
  width: auto;
  display: block;
  object-fit: contain;
}

.hd-footer-logo-badge {
  background: #FFFFFF;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hd-footer-logo-badge img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hd-logo-kor {
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid #E2DACB;
  padding-left: clamp(10px, 0.8vw, 14px);
}

.hd-logo-kor .kor-name {
  font-size: clamp(19px, 1.3vw + 2px, 25px);
  font-weight: 900;
  color: #162035;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hd-logo-kor .kor-sub {
  font-size: clamp(10.5px, 0.65vw + 1px, 12px);
  color: #8B5E3C;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* PC 네비게이션 */
.hd-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd-nav li {
  margin: 0 clamp(10px, 1.1vw, 20px);
}

.hd-nav li a {
  font-size: clamp(14.5px, 0.85vw + 3px, 17px);
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  padding: 6px 0;
  display: inline-block;
}

.hd-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-red);
  transition: width 0.2s ease;
}

.hd-nav li a:hover::after,
.hd-nav li.active a::after {
  width: 100%;
}

/* 헤더 우측 전화번호 & 견적문의 버튼 */
.hd-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.2vw, 22px);
}

.hd-header-tel {
  font-size: clamp(14px, 0.85vw + 2px, 16.5px);
  font-weight: 800;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hd-header-tel i {
  color: var(--color-red);
}

.hd-cta-btn {
  background-color: var(--color-red) !important;
  color: #fff !important;
  font-size: clamp(13px, 0.8vw + 2px, 15px);
  font-weight: 700;
  padding: clamp(9px, 0.7vw, 13px) clamp(16px, 1.2vw, 24px);
  display: inline-block;
  border: 1px solid var(--color-red) !important;
  transition: all 0.2s ease;
}

.hd-cta-btn:hover {
  background-color: var(--color-red-hover) !important;
  border-color: var(--color-red-hover) !important;
  color: #fff !important;
}

.hd-btn-red {
  background-color: var(--color-red) !important;
  border: 1px solid var(--color-red) !important;
  color: #fff !important;
  font-weight: 700;
  padding: clamp(12px, 0.9vw, 16px) clamp(22px, 1.6vw, 34px);
  font-size: clamp(14px, 0.85vw + 2.5px, 16.5px);
  display: inline-block;
  transition: all 0.2s ease;
}

.hd-btn-red:hover {
  background-color: var(--color-red-hover) !important;
  color: #fff !important;
}

/* 모바일/PC 공통 상단 전체메뉴 바 & 드롭다운 메가메뉴 */
.hd-fullmenu-bar {
  background: #F3F1EC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.hd-fullmenu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

@media (min-width: 992px) {
  .hd-fullmenu-inner {
    overflow: visible !important;
  }
}

.hd-fullmenu-inner::-webkit-scrollbar {
  display: none;
}

.hd-fullmenu-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(2px, 0.35vw, 8px);
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
}

.hd-fullmenu-links li {
  flex-shrink: 0;
  position: relative;
}

.hd-fullmenu-links li a {
  display: inline-block;
  padding: clamp(10px, 0.7vw, 13px) clamp(6px, 0.55vw, 11px);
  font-size: clamp(13px, 0.75vw + 1.5px, 15.5px);
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
}

.hd-fullmenu-links li a.active,
.hd-fullmenu-links li a:hover {
  color: var(--color-red);
}

.hd-fullmenu-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background-color: var(--color-red);
}

/* 스마트스토어 스타일 C형박스 하위 카테고리 드롭다운 (C형끈박스 / C형기본박스) */
.hd-has-subcat > a .subcat-arrow {
  font-size: 12px;
  margin-left: 3px;
  color: #8A6240;
  transition: transform 0.2s ease;
}

.hd-has-subcat:hover > a,
.hd-has-subcat.open > a {
  color: #9A7B56 !important;
}

.hd-subcat-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 175px;
  background: #FFFFFF;
  border: 1px solid #DCDCDC;
  padding: 16px 20px;
  z-index: 1050;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
}

/* 상단 중앙 꼬리표 화살표 (스마트스토어 동일 디자인) */
.hd-subcat-popover::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #DCDCDC;
}

.hd-subcat-popover::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #FFFFFF;
}

.hd-has-subcat:hover .hd-subcat-popover,
.hd-has-subcat.open .hd-subcat-popover {
  display: block;
}

.hd-subcat-popover a {
  display: block !important;
  padding: 7px 2px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #222222 !important;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.hd-subcat-popover a + a {
  margin-top: 4px;
}

.hd-subcat-popover a:hover,
.hd-subcat-popover a.active {
  color: var(--color-red) !important;
  font-weight: 800 !important;
}

.hd-subcat-popover a::after {
  display: none !important;
}

/* shop.html C형박스 하위 카테고리 선택 바 (C형끈박스 / C형기본박스) */
.hd-ctype-subbar {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #FAF8F4;
  border: 1px solid #E2DFD7;
  border-left: 4px solid #8A6240;
}

.hd-ctype-subbar.active {
  display: flex;
}

.hd-ctype-subbar .subbar-label {
  font-size: 13px;
  font-weight: 800;
  color: #8A6240;
  margin-right: 6px;
}

.hd-ctype-subbtn {
  background: #FFFFFF;
  border: 1px solid #D1CEC5;
  color: #1C1B19;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hd-ctype-subbtn:hover {
  border-color: #1C1B19;
}

.hd-ctype-subbtn.active {
  background: #1C1B19;
  color: #FFFFFF;
  border-color: #1C1B19;
}

.hd-allcat-toggle {
  background: var(--color-primary);
  color: #fff !important;
  font-size: clamp(13px, 0.75vw + 2px, 15px);
  font-weight: 700;
  padding: clamp(9px, 0.7vw, 13px) clamp(14px, 1.2vw, 22px);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 전체메뉴 펼침 드로어 */
.hd-megamenu-drawer {
  display: none;
  background: #FFFFFF;
  border-bottom: 2px solid var(--color-primary);
  padding: clamp(20px, 1.6vw, 32px) 0;
}

.hd-megamenu-drawer.open {
  display: block;
}

.hd-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1vw, 18px);
}

.hd-megamenu-item {
  border: 1px solid var(--color-border);
  padding: clamp(12px, 0.9vw, 16px) clamp(14px, 1.1vw, 20px);
  background: var(--bg-main);
  font-size: clamp(13.5px, 0.8vw + 2px, 15.5px);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hd-megamenu-item:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* ========================================================
   히어로 배너 (화사하고 따뜻한 아이보리 & 크림 톤 + 다채로운 입체 패키지 쇼케이스)
   ======================================================== */
.hd-hero-section {
  background: linear-gradient(135deg, #FFFDF9 0%, #FAF6EE 52%, #F3ECE0 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .hd-hero-section {
    background: linear-gradient(180deg, #FFFDF9 0%, #FAF6EE 60%, #F3ECE0 100%);
  }
}

/* 상하 및 좌우 완벽한 수직/수평 센터링 컨테이너 */
.hd-hero-middle-container {
  width: 100%;
  padding: clamp(32px, 4vh, 60px) 0 clamp(36px, 4.5vh, 64px) !important;
  position: relative;
  z-index: 2;
}

.hd-hero-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
  padding: clamp(20px, 2.2vw, 34px);
  border: 1px solid #E5DEC9;
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 16px 36px rgba(139, 94, 60, 0.08);
}

/* 주문제작 전문 브랜드 배지 (따뜻한 브라운 & 골드 포인트) */
.hd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12.5px, 0.85vw + 2px, 14.5px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6E472B;
  text-transform: uppercase;
  margin-bottom: clamp(12px, 1.4vh, 16px);
  background: #F6EFE2;
  border: 1px solid #DFCFAF;
  border-left: 4px solid var(--color-accent);
  padding: 8px 16px;
  width: fit-content;
}

.hd-hero-badge i {
  color: var(--color-accent);
  font-size: clamp(14px, 0.95vw + 2px, 17px);
}

/* 메인 타이틀 대화면 웅장한 볼드 확장 */
.hd-hero-main-title {
  font-size: clamp(32px, 3.4vw + 4px, 54px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.22;
  margin-bottom: clamp(12px, 1.5vh, 16px);
  letter-spacing: -0.04em;
}

.hd-hero-main-title .highlight-red {
  color: var(--color-red);
}

.hd-hero-main-title .highlight-brown {
  color: var(--color-accent);
}

.hd-hero-sub-desc {
  font-size: clamp(14.5px, 1vw + 2px, 17.5px);
  color: var(--text-muted);
  margin-bottom: clamp(16px, 1.8vh, 24px);
  line-height: 1.65;
  max-width: 680px;
}

/* [모바일 & PC 핵심] 제품 빠른 검색 + 1:1 주문제작 견적 신청 통합 허브 */
.hd-search-quote-hub {
  background: #FAF7F0;
  border: 1px solid #D8CBB3;
  padding: 16px;
  margin-bottom: 16px;
}

.hd-search-quote-hub .hub-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hd-search-quote-hub .hub-label span.brown-tag {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.hd-hub-search-form {
  display: flex;
  gap: 8px;
}

.hd-hub-search-input {
  flex: 1;
  border: 1px solid var(--color-border-dark);
  background: #FFFFFF;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.hd-hub-search-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.hd-hub-search-btn {
  background: var(--color-accent);
  color: #FFFFFF;
  border: 1px solid var(--color-accent);
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hd-hub-search-btn:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.hd-hub-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.hd-hub-quick-tags a {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-hover);
  background: #FFFFFF;
  border: 1px solid #DFD4BE;
  padding: 4px 8px;
}

.hd-hub-quick-tags a:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.hd-btn-secondary {
  padding: clamp(12px, 0.9vw, 16px) clamp(22px, 1.6vw, 34px) !important;
  font-size: clamp(14px, 0.85vw + 2.5px, 16.5px) !important;
}

/* 우측 화사한 아이보리 & 크림 쇼케이스 스테이지 */
.hd-hero-showcase-stage {
  background: #FFFDF9;
  border: 1px solid #DFD3BC;
  padding: clamp(16px, 1.8vw, 24px);
  box-shadow: 0 20px 44px rgba(139, 94, 60, 0.12);
  position: relative;
}

.hd-showcase-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EAE2D3;
  color: #4A3E33;
  font-size: 12.5px;
  font-weight: 600;
}

.hd-showcase-top-bar .craft-pill {
  background: var(--color-accent);
  color: #FFFFFF;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hd-hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.96fr;
  gap: clamp(12px, 1.4vw, 16px);
  padding: 4px 0 8px;
}

.hd-hero-showcase img {
  width: 100%;
  height: clamp(230px, 30vh, 340px);
  object-fit: cover;
  object-position: center center;
  border: 1px solid #E2D8C5;
  box-shadow: 0 12px 28px rgba(110, 71, 43, 0.12);
}

.hd-showcase-bottom-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.hd-showcase-spec-item {
  background: #FAF6EE;
  border: 1px solid #E5DAC6;
  padding: 8px 12px;
  color: var(--color-primary);
  text-align: center;
}

.hd-showcase-spec-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--color-accent-hover);
  font-weight: 700;
}

.hd-showcase-spec-item span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* [핵심 요청사항] 메인 배너 내 자동 롤링 & 즉시 클릭 가능한 박스 유형 슬라이더 (밝은 웜 아이보리 톤) */
.hd-rolling-banner-wrap {
  background: #F4EFE4;
  padding: clamp(12px, 1.2vh, 16px) 0;
  margin-top: 0;
  border-top: 1px solid #E0D6C2;
  border-bottom: 1px solid #E0D6C2;
}

.hd-rolling-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.hd-rolling-header .rolling-title {
  font-size: clamp(13.5px, 0.85vw + 2px, 15.5px);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-rolling-header .rolling-badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hd-rolling-controls button {
  background: #FFFFFF;
  border: 1px solid #D5CBB8;
  color: var(--color-primary);
  width: 32px;
  height: 32px;
  font-size: 13px;
  cursor: pointer;
}

.hd-rolling-controls button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

/* 가로 자동 슬라이드 트랙 (마우스 오버/터치 시 멈추고 즉시 클릭 가능) */
.hd-rolling-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hd-rolling-viewport::-webkit-scrollbar {
  display: none;
}

.hd-rolling-track {
  display: inline-flex;
  gap: clamp(12px, 1vw, 16px);
  padding-bottom: 4px;
}

.hd-rolling-card {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #D5D2CA;
  padding: clamp(8px, 0.7vw, 12px) clamp(12px, 1vw, 20px) clamp(8px, 0.7vw, 12px) clamp(8px, 0.7vw, 12px);
  min-width: clamp(225px, 14vw, 280px);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.hd-rolling-card:hover {
  border-color: var(--color-red);
  transform: translateY(-2px);
  background: #FFFDF9;
}

.hd-rolling-card img {
  width: clamp(56px, 3.8vw, 68px);
  height: clamp(56px, 3.8vw, 68px);
  object-fit: cover;
  margin-right: clamp(12px, 0.9vw, 16px);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.hd-rolling-card-body {
  display: flex;
  flex-direction: column;
  white-space: normal;
}

.hd-rolling-card-body .box-cat-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hd-rolling-card-body .box-cat-name {
  font-size: clamp(14.5px, 0.85vw + 2px, 17px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin: 2px 0;
}

.hd-rolling-card-body .box-cat-action {
  font-size: clamp(11.5px, 0.7vw + 1px, 13px);
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================================
   섹션 공통 타이틀 (빨간 화살표 요구사항: 풍성하고 시원한 상하 여백 100~145px)
   ======================================================== */
.hd-section {
  padding: clamp(88px, 8.5vw, 144px) 0 !important;
}

.hd-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 3.8vw, 60px) !important;
  flex-wrap: wrap;
  gap: 16px;
}

.hd-section-head .eng-sub {
  font-size: clamp(11.5px, 0.7vw + 2px, 13.5px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.hd-section-head h2 {
  font-size: clamp(26px, 1.9vw + 4px, 38px);
  font-weight: 800;
  margin: 0;
  color: var(--color-primary);
  line-height: 1.25;
}

.hd-section-head p {
  font-size: clamp(14px, 0.9vw + 2px, 17px);
  color: var(--text-muted);
  margin: 8px 0 0;
  max-width: 820px;
}

/* ========================================================
   섹션 1: 현대박스가 특별한 이유 (4단 카드, 모바일 2x2 + 3D 입체감 & 차콜/브라운 포인트)
   ======================================================== */
.hd-why-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  height: 100%;
  box-shadow: 0 12px 28px rgba(34, 37, 42, 0.07), 0 3px 8px rgba(139, 94, 60, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hd-why-card:hover {
  border-color: var(--color-accent);
  border-top-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(34, 37, 42, 0.14);
}

.hd-why-card img {
  width: 100%;
  height: clamp(145px, 11.5vw, 215px);
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.hd-why-body {
  padding: clamp(16px, 1.2vw, 24px) clamp(14px, 1vw, 20px);
  text-align: center;
}

.hd-why-body h4 {
  font-size: clamp(16.5px, 1vw + 2.5px, 21px);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.hd-why-body p {
  font-size: clamp(13px, 0.8vw + 2px, 15.5px);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* [주문제작 전문 브랜드] 원단 & 후가공 쇼케이스 배너 (화사한 웜 아이보리 + 브라운 포인트) */
.hd-bespoke-material-strip {
  background: linear-gradient(135deg, #FFFDF9 0%, #F5EFE2 100%);
  border: 1px solid #DFD3BC;
  border-left: 6px solid var(--color-accent);
  padding: clamp(20px, 2vw, 32px) clamp(20px, 2.4vw, 38px);
  margin-top: clamp(28px, 3vw, 44px);
  color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(139, 94, 60, 0.08);
}

.hd-bespoke-material-strip h4 {
  color: var(--color-primary) !important;
  font-size: clamp(18px, 1.25vw + 2px, 24px);
  margin-bottom: 6px;
}

.hd-bespoke-material-strip p {
  color: var(--text-muted);
  font-size: clamp(13px, 0.85vw + 1.5px, 15.5px);
  margin-bottom: 14px;
}

.hd-material-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hd-material-chip {
  background: #FFFFFF;
  border: 1px solid #DCCEB4;
  color: var(--color-primary);
  font-size: clamp(12px, 0.75vw + 1px, 13.5px);
  font-weight: 700;
  padding: 6px 13px;
}

.hd-material-chip strong {
  color: var(--color-accent);
  margin-right: 4px;
}

/* ========================================================
   섹션 2: 맞춤 주문제작 박스 제품군 그리드 (입체 그림자 & 종이 질감 강조)
   ======================================================== */
.hd-cat-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 12px 26px rgba(34, 37, 42, 0.08), 0 3px 8px rgba(139, 94, 60, 0.06);
  transition: all 0.25s ease;
}

.hd-cat-card:hover {
  border-color: var(--color-primary);
  border-bottom-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(34, 37, 42, 0.16);
}

.hd-cat-img-wrap {
  position: relative;
  height: clamp(155px, 12.5vw, 225px);
  overflow: hidden;
  background: var(--bg-ivory-warm);
  border-bottom: 1px solid var(--color-border);
}

.hd-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hd-cat-card:hover .hd-cat-img-wrap img {
  transform: scale(1.06);
}

.hd-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  color: #fff;
  font-size: clamp(10px, 0.65vw + 1px, 12px);
  font-weight: 700;
  padding: 3px 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.hd-cat-body {
  padding: clamp(14px, 1vw, 20px) clamp(12px, 0.9vw, 18px);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hd-cat-body h4 {
  font-size: clamp(16px, 1vw + 2px, 20.5px);
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.hd-cat-body p {
  font-size: clamp(12.5px, 0.75vw + 2px, 14.5px);
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.hd-cat-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.hd-cat-btn-row a {
  font-size: clamp(12px, 0.75vw + 1px, 14px);
  font-weight: 700;
  padding: clamp(7px, 0.5vw, 10px) 4px;
  border: 1px solid var(--color-border-dark);
  background: var(--bg-main);
  color: var(--color-primary);
}

.hd-cat-btn-row a:hover {
  background: var(--color-accent);
  color: #fff !important;
  border-color: var(--color-accent);
}

.hd-cat-btn-row a.quote-link {
  background: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary);
}

.hd-cat-btn-row a.quote-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

/* ========================================================
   섹션 3: 주문부터 납품까지 5단계 프로세스 (사각 박스 제거 + 대형 원형 이미지화 + 화살표 순서 강조)
   ======================================================== */
.hd-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 32px);
  position: relative;
  z-index: 2;
}

.hd-process-step {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 6px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hd-process-circle-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* 대형 원형 이미지 프레임 (원형 안 이미지화) */
.hd-process-circle {
  width: clamp(138px, 11.5vw, 178px);
  height: clamp(138px, 11.5vw, 178px);
  border-radius: 50% !important;
  background: #FFFFFF;
  border: 4px solid #DFD3BC;
  box-shadow: 0 14px 32px rgba(139, 94, 60, 0.14);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.hd-process-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
}

/* 원형 좌상단 큼직한 순서 번호 배지 (01 ~ 05) */
.hd-process-num-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  width: clamp(36px, 2.6vw, 44px);
  height: clamp(36px, 2.6vw, 44px);
  border-radius: 50% !important;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFFDF9;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  z-index: 3;
  transition: all 0.3s ease;
}

/* 단계와 단계 사이 진행 순서를 명확히 보여주는 원형 화살표 */
.hd-process-flow-arrow {
  position: absolute;
  right: calc(-1 * clamp(14px, 1.5vw, 24px));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(30px, 2.2vw, 38px);
  height: clamp(30px, 2.2vw, 38px);
  border-radius: 50% !important;
  background: var(--color-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 1vw, 16px);
  box-shadow: 0 6px 16px rgba(200, 32, 39, 0.28);
  z-index: 4;
}

.hd-process-step .step-num {
  display: inline-flex;
  align-items: center;
  background: #F4EFE4;
  border: 1px solid #DFD3BC;
  color: var(--color-accent-hover);
  font-size: clamp(11.5px, 0.75vw + 1px, 13.5px);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px !important;
  margin-bottom: 10px;
}

.hd-process-step h5 {
  font-size: clamp(16.5px, 1.05vw + 2px, 20.5px);
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.hd-process-step p {
  font-size: clamp(13px, 0.8vw + 1.5px, 15px);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 230px;
}

/* ========================================================
   섹션 4: 메인 하단 따뜻한 아이보리+크림 간편 견적 신청 바
   ======================================================== */
.hd-quick-quote-sec {
  background: linear-gradient(135deg, #F5EFE4 0%, #EDE3D2 100%);
  color: var(--color-primary);
  padding: clamp(90px, 8vw, 135px) 0 !important;
  border-top: 2px solid #DFD3BC;
}

.hd-quick-quote-box {
  background: #FFFFFF;
  padding: clamp(22px, 1.8vw, 36px);
  color: var(--color-dark);
  border: 1px solid #DFD3BC;
  box-shadow: 0 16px 36px rgba(139, 94, 60, 0.1);
}

/* ========================================================
   제작 사례 & 주문제작 포트폴리오 카드 (3D 입체감 강화)
   ======================================================== */
.hd-product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 12px 28px rgba(34, 37, 42, 0.08), 0 3px 8px rgba(139, 94, 60, 0.06);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hd-product-card:hover {
  border-color: var(--color-accent);
  border-bottom-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(34, 37, 42, 0.16);
}

.hd-thumb-wrap {
  position: relative;
  background: var(--bg-ivory-warm);
  padding-top: 75%;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hd-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd-spec-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  color: #fff;
  font-size: clamp(10.5px, 0.65vw + 1px, 12px);
  font-weight: 700;
  padding: 3px 9px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.hd-product-info {
  padding: clamp(14px, 1vw, 20px) clamp(12px, 0.9vw, 18px);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hd-category-label {
  font-size: clamp(10.5px, 0.65vw + 1px, 12.5px);
  color: var(--color-accent);
  font-weight: 800;
  margin-bottom: 4px;
}

.hd-product-title {
  font-size: clamp(15px, 0.95vw + 2px, 18px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hd-spec-box {
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  padding: clamp(8px, 0.6vw, 12px) clamp(10px, 0.8vw, 14px);
  font-size: clamp(12px, 0.75vw + 1.5px, 14px);
  margin-bottom: 12px;
  color: var(--text-muted);
}

.hd-spec-box span {
  color: var(--color-primary);
  font-weight: 700;
}

.hd-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.hd-bundle-qty {
  font-size: clamp(11.5px, 0.7vw + 1px, 13px);
  color: var(--color-accent-hover);
  font-weight: 700;
}

.hd-price-value {
  font-size: clamp(14px, 0.9vw + 2px, 16.5px);
  font-weight: 800;
  color: var(--color-primary);
}

.hd-btn-detail {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: #fff !important;
  font-size: clamp(12.5px, 0.75vw + 2px, 14.5px);
  font-weight: 700;
  padding: clamp(10px, 0.7vw, 14px) 0;
  border-top: 1px solid var(--color-primary);
}

.hd-btn-detail:hover {
  background: var(--color-accent);
  border-top-color: var(--color-accent);
  color: #fff !important;
}

/* [모바일 전용 하단 고정 듀얼 액션바: 제품 검색 & 견적 신청 중심] */
.hd-mobile-bottom-bar {
  display: none;
}

@media (max-width: 767px) {
  .hd-floating-cta {
    display: none !important;
  }

  .hd-mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #FFFFFF;
    border-top: 2px solid var(--color-primary);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
  }

  .hd-mobile-bottom-bar a,
  .hd-mobile-bottom-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-align: center;
  }

  .hd-mobile-bottom-bar .mob-search-btn {
    background: var(--color-primary);
    color: #FFFFFF !important;
  }

  .hd-mobile-bottom-bar .mob-quote-btn {
    background: var(--color-red);
    color: #FFFFFF !important;
  }

  body {
    padding-bottom: 52px;
  }
}

/* 푸터 (넉넉한 상하 여백) */
.hd-footer {
  background: #111723;
  color: #9DA5B4;
  border-top: 1px solid #242E42;
  padding: clamp(65px, 5.5vw, 95px) 0 clamp(30px, 3vw, 50px);
  font-size: clamp(13px, 0.8vw + 2px, 15px);
  line-height: 1.8;
}

.hd-footer h4 {
  color: #fff !important;
  font-size: clamp(15px, 0.9vw + 2px, 17.5px);
  margin-bottom: 16px;
  font-weight: 800;
}

.hd-footer a {
  color: #9DA5B4;
}

.hd-footer a:hover {
  color: #fff;
}

.hd-footer-btm {
  border-top: 1px solid #242E42;
  padding-top: 20px;
  margin-top: 36px;
  font-size: clamp(12px, 0.75vw + 1px, 13.5px);
  color: #6C7484;
}

/* 상세페이지 3대 액션 버튼 */
.hd-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.hd-btn-npay {
  background: var(--color-npay) !important;
  color: #fff !important;
  border: 1px solid var(--color-npay);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hd-btn-direct-order {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: 1px solid var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hd-btn-custom-inq {
  background: var(--color-red) !important;
  color: #fff !important;
  border: 1px solid var(--color-red);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 상세페이지 스펙 테이블 */
.hd-detail-html-container {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  margin-top: 30px;
}

.hd-spec-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.hd-spec-table th,
.hd-spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  font-size: 13.5px;
}

.hd-spec-table th {
  background: var(--bg-sub);
  width: 30%;
  font-weight: 700;
  color: var(--color-primary);
}

/* 폼 및 게시판 */
.hd-form-box {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 35px;
}

.hd-form-group {
  margin-bottom: 18px;
}

.hd-form-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: var(--color-primary);
}

.hd-form-label .req {
  color: var(--color-red);
  margin-left: 3px;
}

.hd-form-control {
  width: 100%;
  border: 1px solid var(--color-border);
  background: #FAFAFA;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--color-dark);
}

.hd-form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.hd-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.hd-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
}

.hd-table th {
  background: var(--bg-sub);
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
}

.hd-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13.5px;
}

.hd-table tr:hover td {
  background-color: var(--bg-main);
  cursor: pointer;
}

.hd-status-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
}

.hd-status-pending {
  background: #E5E2DC;
  color: #4A4843;
}

.hd-status-pricing {
  background: var(--color-red);
  color: #fff;
}

.hd-status-done {
  background: var(--color-primary);
  color: #fff;
}

/* Floating CTA */
.hd-floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  background: var(--color-red);
  color: #fff !important;
  padding: 12px 18px;
  border: 1px solid #901117;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.hd-floating-cta:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* 푸터 */
.hd-footer {
  background: #111723;
  color: #9DA5B4;
  border-top: 1px solid #242E42;
  padding: 45px 0 25px;
  font-size: 13px;
}

.hd-footer h4 {
  color: #fff !important;
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
}

.hd-footer a {
  color: #9DA5B4;
}

.hd-footer a:hover {
  color: #fff;
}

.hd-footer-biz-wrap {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #242E42;
  border-left: 3px solid var(--color-accent);
  font-size: 12.5px;
  color: #AEB6C5;
  line-height: 1.85;
}

.hd-footer-biz-title {
  display: inline-block;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.hd-footer-biz-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.hd-footer-biz-line span {
  display: inline-block;
}

.hd-footer-biz-line strong {
  color: #E2E8F0;
  font-weight: 700;
  margin-right: 4px;
}

.hd-footer-biz-divider {
  color: #3B475E;
  margin: 0 2px;
}

.hd-footer-btm {
  border-top: 1px solid #242E42;
  padding-top: 18px;
  margin-top: 20px;
  font-size: 12px;
  color: #6C7484;
}

.hd-modal-content {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 28px;
}

.hd-modal-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.hd-modal-title {
  font-size: 18px;
  font-weight: 800;
}

/* ========================================================
   모바일 레이아웃 최적화 (스크롤 최소화 & 한눈에 보기)
   ======================================================== */
@media (max-width: 767.98px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hd-topbar {
    font-size: 11px;
    padding: 5px 0;
  }

  .header_btm_area {
    padding: 10px 0;
  }

  .hd-logo-mark .hd-logo-img {
    height: 28px;
  }

  .hd-logo-kor .kor-name {
    font-size: 16px;
  }

  .hd-cta-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hd-hero-section {
    padding: 0 0 12px !important;
    min-height: auto;
  }

  .hd-hero-middle-container {
    padding: 14px 0 10px;
  }

  .hd-hero-badge {
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 10px;
  }

  .hd-hero-main-title {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .hd-hero-sub-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .hd-hero-showcase img {
    height: 145px;
  }

  /* 히어로 최상단 롤링 배너 모바일 여백 및 컴팩트 최적화 */
  .hd-rolling-banner-wrap {
    margin-top: 0 !important;
    padding: 10px 0 !important;
  }

  .hd-rolling-head {
    margin-bottom: 8px;
  }

  .hd-rolling-head .badge-tag {
    font-size: 9.5px;
    padding: 2px 6px;
  }

  .hd-rolling-head .title {
    font-size: 11.5px;
  }

  .hd-rolling-card {
    min-width: 175px;
    padding: 6px 10px 6px 6px;
  }

  .hd-rolling-card img {
    width: 44px;
    height: 44px;
    margin-right: 8px;
  }

  /* 데스크탑 clamp(90px, 8.5vw, 145px) !important 오버라이드 */
  .hd-section {
    padding: 36px 0 !important;
  }

  .hd-section-head {
    margin-bottom: 20px !important;
  }

  .hd-section-head h2 {
    font-size: 20px;
  }

  .hd-section-head p {
    font-size: 13px;
  }

  .hd-megamenu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .hd-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hd-why-card img,
  .hd-cat-img-wrap {
    height: 105px;
  }

  .hd-form-box {
    padding: 20px 15px;
  }

  .hd-page-header {
    padding: 24px 0 20px;
  }

  .hd-page-header h1 {
    font-size: 22px;
  }

  /* 모바일 하단 고정 바(.hd-mobile-bottom-bar)에 푸터가 가려지지 않도록 하단 여백 확보 */
  .hd-footer {
    padding: 36px 0 80px !important;
  }

  .hd-footer-biz-wrap {
    margin-top: 20px;
    padding: 14px 12px;
    font-size: 11.5px;
    line-height: 1.75;
  }
}

/* ========================================================
   [LUXURY INTERACTION SUITE]
   1. Lenis Smooth Scroll
   2. Cross-Parallax Showcase
   3. Seamless Infinite Marquee Track
   4. Staggered Zoom-out Card Reveals
   5. Step-by-Step Glowing Process Timeline
   ======================================================== */

/* 1. Lenis 전역 버터 스무스 스크롤 최적화 */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* 2. 히어로 섹션 교차 패럴랙스 (Cross-Parallax - 정수 픽셀 & 고해상도 렌더링) */
.hd-hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.96fr;
  gap: 16px;
  padding: 10px 0 20px;
}

.hero-parallax-img {
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(22, 32, 50, 0.08);
}

.hero-img-left {
  transform: none;
}

.hero-img-right {
  margin-top: 12px;
}

/* 3. CLICK BANNER 무한 마키 (Seamless Infinite Marquee) */
.hd-marquee-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: grab;
  user-select: none;
  padding: 6px 0 10px;
  /* 카드 상하 호버 및 테두리/그림자 잘림 방지 안전 여백 */
}

.hd-marquee-viewport:active {
  cursor: grabbing;
}

.hd-marquee-track {
  display: inline-flex;
  gap: 12px;
  width: max-content;
  animation: hdMarqueeAnim 85s linear infinite;
  will-change: transform;
}

/* 호버 시 정지하여 언제든 편하게 클릭 가능 */
.hd-marquee-viewport:hover .hd-marquee-track,
.hd-marquee-track.is-paused {
  animation-play-state: paused !important;
}

@keyframes hdMarqueeAnim {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 4. WHY HYUNDAE BOX & PRODUCT CATEGORY 등장 효과 (GPU 1x 텍스처 다운샘플링 블러 방지) */
.hd-reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hd-reveal-card.revealed {
  opacity: 1;
  transform: none;
}

/* 카드 내부 이미지 줌아웃 완료 후 transform: none 으로 원본 2K 해상도 직렌더링 */
.hd-reveal-card .hd-cat-img-wrap,
.hd-reveal-card .hd-why-img-wrap {
  overflow: hidden;
  position: relative;
}

.hd-reveal-card .reveal-zoom-img {
  transform: scale(1.06);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.hd-reveal-card.revealed .reveal-zoom-img {
  transform: none;
}

/* 카운터 하이라이트 스타일 */
.hd-count-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--color-red);
}

/* 5. PROCESS 섹션 순차 점등 타임라인 */
.hd-process-wrap {
  position: relative;
  padding-top: 24px;
}

/* 상단 연결선 (5개 스텝 중앙점과 칼같이 일치하는 10% ~ 90% 게이지) */
.hd-process-timeline-bar {
  position: relative;
  height: 3px;
  background: #E5E7EB;
  margin: 0 10% 28px 10%;
  border-radius: 3px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .hd-process-timeline-bar {
    display: none;
    /* 모바일 2열에서는 가로 선 어긋남 방지를 위해 숨김 처리 */
  }
}

.hd-process-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-red) 100%);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 3px;
}

/* 프로세스 스텝 원형 프레임 순차 점등 효과 (외곽 사각 박스 완전 제거) */
.hd-process-step {
  opacity: 0.45;
  transform: translateY(18px);
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hd-process-step.active-step {
  opacity: 1;
  transform: translateY(0);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hd-process-step.active-step .hd-process-circle {
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(139, 94, 60, 0.22);
  transform: scale(1.03);
}

.hd-process-step:hover .hd-process-circle {
  border-color: var(--color-red);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 42px rgba(200, 32, 39, 0.2);
}

.hd-process-step.active-step .hd-process-num-badge {
  background: var(--color-red);
  color: #FFFFFF !important;
}

.hd-process-step.active-step .step-num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF !important;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .hd-process-circle {
    width: 122px;
    height: 122px;
  }

  .hd-process-flow-arrow {
    right: -12px;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* ========================================================
   6. 박스 제작 업체 전용 상세페이지 표준 프레임 (.hd-detail-frame)
   ======================================================== */
.hd-detail-frame {
  font-family: var(--font-sans);
  color: var(--color-primary);
  line-height: 1.75;
}

.hd-detail-frame h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-primary);
  padding-bottom: 12px;
  margin: 0 0 16px 0;
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-detail-frame h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--color-red);
}

.hd-df-hero,
.hd-df-section {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: clamp(22px, 2.5vw, 38px);
  margin-bottom: 28px;
}

.hd-df-lead {
  font-size: 15.5px;
  color: #374151;
  background: #FAF7F0;
  border-left: 4px solid var(--color-accent);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-weight: 500;
}

.hd-df-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 767.98px) {
  .hd-df-img-grid {
    grid-template-columns: 1fr;
  }
}

.hd-df-img-box {
  background: #F9F8F4;
  border: 1px solid var(--color-border);
  padding: 12px;
  text-align: center;
}

.hd-df-img-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid #E5E0D5;
  display: block;
  margin: 0 auto 8px;
}

.hd-df-img-box span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hd-df-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 767.98px) {
  .hd-df-feature-row {
    grid-template-columns: 1fr;
  }
}

.hd-df-feature-card {
  background: #FFFDF9;
  border: 1px solid #DFD3BC;
  border-top: 3px solid var(--color-accent);
  padding: 18px 16px;
}

.hd-df-feature-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.hd-df-feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.hd-df-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hd-df-table th,
.hd-df-table td {
  border: 1px solid var(--color-border);
  padding: 13px 16px;
  vertical-align: middle;
}

.hd-df-table th {
  width: 24%;
  background: #F5F2EB;
  font-weight: 800;
  color: var(--color-primary);
}

.hd-df-table td {
  background: #FFFFFF;
  color: #374151;
}

.hd-df-guide-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 767.98px) {
  .hd-df-guide-box {
    grid-template-columns: 1fr;
  }
}

.hd-df-guide-item {
  background: #F9F8F4;
  border: 1px solid var(--color-border);
  padding: 18px 20px;
}

.hd-df-guide-item strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.hd-df-guide-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.hd-df-process-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FAF7F0;
  border: 1px solid #DFD3BC;
  padding: 18px 20px;
  font-size: 13.5px;
}

.hd-df-process-list strong {
  color: var(--color-red);
}

/* ========================================================
   스마트스토어 스타일 5컷 대표 이미지 갤러리 슬라이더 (product-details.html)
   ======================================================== */
.hd-gallery-main {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
  transition: opacity 0.2s ease;
}

.hd-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #D1D5DB;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
}

.hd-gallery-arrow:hover {
  background: #1C1B19;
  color: #FFFFFF;
  border-color: #1C1B19;
}

.hd-gallery-arrow.prev {
  left: 12px;
}

.hd-gallery-arrow.next {
  right: 12px;
}

.hd-gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(28, 27, 25, 0.72);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px !important;
  letter-spacing: 0.05em;
}

.hd-gallery-thumbs-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hd-gallery-thumb-nav {
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 16px;
  padding: 6px 8px;
  cursor: pointer;
}

.hd-gallery-thumb-nav:hover {
  color: #1C1B19;
}

.hd-gallery-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.hd-gallery-thumb-btn {
  width: 68px;
  height: 68px;
  padding: 2px;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.15s ease;
}

.hd-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hd-gallery-thumb-btn.active {
  border: 2px solid #1C1B19;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 상세페이지 본문 5컷 포토 쇼케이스 */
.hd-df-photo-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.hd-df-photo-showcase .hd-df-img-box.full-span {
  grid-column: 1 / -1;
}

.hd-df-photo-showcase .hd-df-img-box.full-span img {
  aspect-ratio: auto;
  height: 480px;
  max-height: 480px;
  object-fit: contain;
  background: #FFFFFF;
}

@media (max-width: 767.98px) {
  /* 상세페이지 상단 5컷 갤러리 슬라이더 모바일 반응형 */
  .hd-gallery-main {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 360px;
  }
  .hd-gallery-arrow {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .hd-gallery-thumbs-wrap {
    gap: 4px;
    margin-top: 10px;
  }
  .hd-gallery-thumbs {
    gap: 5px;
  }
  .hd-gallery-thumb-btn {
    width: 48px;
    height: 48px;
  }
  .hd-gallery-thumb-nav {
    padding: 4px;
    font-size: 14px;
  }

  /* 상세페이지 본문 프레임 & 쇼케이스 모바일 반응형 */
  .hd-df-hero {
    padding: 24px 16px;
    margin-bottom: 20px;
  }
  .hd-df-hero h2 {
    font-size: 20px;
  }
  .hd-df-hero p {
    font-size: 13px;
  }
  .hd-df-section {
    padding: 20px 14px;
    margin-bottom: 18px;
  }
  .hd-df-section h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .hd-df-img-box img {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 340px;
  }
  .hd-df-photo-showcase {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hd-df-photo-showcase .hd-df-img-box.full-span img {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 340px;
  }
  .hd-df-table th,
  .hd-df-table td {
    padding: 9px 10px;
    font-size: 12.5px;
  }
  .hd-df-table th {
    width: 30%;
  }
}

/* 상세페이지 📢 참고해주세요 (안쪽면 / 바깥면 조립 예시 사진 비교) */
.hd-df-fold-tip {
  background: #FFFFFF;
  border: 2px solid #D4C5AA;
  padding: 36px 24px;
  text-align: center;
}

.hd-df-fold-title {
  font-size: 26px;
  font-weight: 800;
  color: #6B655E !important;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hd-df-fold-sub {
  font-size: 15.5px;
  color: #1F2937;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hd-df-fold-sub strong {
  color: #C82027;
  font-weight: 800;
  text-decoration: none;
}

.hd-df-fold-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 680px;
  margin: 0 auto;
}

.hd-df-fold-card {
  background: #FAF9F6;
  border: 1px solid #E5E0D5;
  padding: 20px 18px 22px;
  position: relative;
  text-align: center;
}

.hd-df-fold-top-title {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.hd-df-fold-img-wrap {
  background: #FFFFFF;
  padding: 6px;
  margin-bottom: 12px;
}

.hd-df-fold-img-wrap img {
  width: 100%;
  max-width: 290px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hd-df-fold-btm-status {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

@media (max-width: 767.98px) {
  .hd-df-fold-tip {
    padding: 22px 12px;
  }
  .hd-df-fold-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .hd-df-fold-sub {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  /* 모바일에서도 안쪽면 / 바깥면 2열 좌우 나란히 비교 유지 */
  .hd-df-fold-compare {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hd-df-fold-card {
    padding: 12px 8px 14px;
  }
  .hd-df-fold-top-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .hd-df-fold-img-wrap {
    padding: 4px;
    margin-bottom: 8px;
  }
  .hd-df-fold-btm-status {
    font-size: 13.5px;
  }
}

/* 상세페이지 NOTICE (규격안내 / 교환·반품 안내 / 배송안내 - 제목 고대비 시인성 강화!) */
.hd-df-notice-wrap {
  background: #F4EFE8;
  border: 2px solid #1C1B19;
  padding: 32px 28px;
}

.hd-df-notice-top {
  border-bottom: 2px solid #1C1B19;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.hd-df-notice-top h3 {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #1C1B19 !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.04em;
}

.hd-df-notice-top p {
  font-size: 15px;
  font-weight: 800;
  color: #C82027;
  margin: 0;
}

.hd-df-notice-row {
  display: flex;
  background: #FFFFFF;
  border: 1px solid #C8BFA8;
  margin-bottom: 16px;
}

.hd-df-notice-row:last-child {
  margin-bottom: 0;
}

/* ★ 클라이언트 피드백 반영: '규격안내 / 교환·반품 안내 / 배송안내' 제목이 한눈에 확 띄도록 다크차콜 + 화이트 굵은 글씨 + 레드 포인트 바 적용 */
.hd-df-notice-head {
  width: 190px;
  flex-shrink: 0;
  background: #1C1B19;
  color: #FFFFFF !important;
  border-left: 5px solid #C82027;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  text-align: center;
}

.hd-df-notice-head .notice-badge {
  font-size: 11px;
  font-weight: 800;
  color: #FCA5A5;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.hd-df-notice-head strong {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF !important;
  line-height: 1.3;
}

.hd-df-notice-body {
  flex: 1;
  padding: 20px 24px;
  font-size: 13.8px;
  color: #1F2937;
  line-height: 1.85;
}

.hd-df-notice-body ul {
  margin: 0;
  padding-left: 18px;
}

.hd-df-notice-body li {
  margin-bottom: 4px;
}

.hd-df-notice-body .hl-red {
  color: #C82027;
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .hd-df-notice-wrap {
    padding: 18px 14px;
  }
  .hd-df-notice-top {
    padding-bottom: 12px;
    margin-bottom: 16px;
  }
  .hd-df-notice-top h3 {
    font-size: 21px !important;
  }
  .hd-df-notice-top p {
    font-size: 13px;
  }
  .hd-df-notice-row {
    flex-direction: column;
    margin-bottom: 12px;
  }
  .hd-df-notice-head {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
  }
  .hd-df-notice-head .notice-badge {
    margin-bottom: 0;
  }
  .hd-df-notice-head strong {
    font-size: 15px;
  }
  .hd-df-notice-body {
    padding: 14px 12px;
    font-size: 12.5px;
    line-height: 1.7;
  }
}

/* ========================================================
   7. [통합 하이엔드 모션 & 인터랙션]
      Livarta 에디토리얼 리빌 + 배경 정밀 칼선(Die-line) 제도 +
      3D 금박/UV 홀로그램 틸트 + 마키 배너 포커스 줌 & 스펙 슬라이드업
   ======================================================== */
:root {
  --hd-ease-editorial: cubic-bezier(0.19, 1, 0.22, 1);
  --hd-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

.hd-hero-section {
  position: relative;
  overflow: hidden;
}

.hd-rolling-banner-wrap,
.hd-hero-middle-container,
.hd-hero-inner {
  position: relative;
  z-index: 2;
}

/* ===== 0. 접근성 및 모션 민감 사용자 배려 ===== */
@media (prefers-reduced-motion: reduce) {
  .hd-hairline,
  .hd-editorial-grid .grid-line-h,
  .hd-editorial-grid .grid-line-v,
  .hd-line-inner,
  .hd-reveal-line,
  .hd-fade-up,
  .hd-curtain-reveal,
  .hd-curtain-reveal img,
  .dieline-bg .cut-line,
  .dieline-bg .fold-line {
    animation: none !important;
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== 1. Livarta 스타일 에디토리얼 헤어라인 & 리빌 모션 ===== */
.hd-hairline {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.55) 0%, rgba(139, 94, 60, 0.25) 60%, transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
  animation: hdDrawHairline 1.1s var(--hd-ease-editorial) 0.05s forwards;
  pointer-events: none;
}

@keyframes hdDrawHairline {
  to { transform: scaleX(1); }
}

.hd-editorial-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hd-editorial-grid .grid-line-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.28) 20%, rgba(139, 94, 60, 0.14) 80%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  animation: hdGridScaleX 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hd-editorial-grid .grid-line-h.top { top: 14%; }
.hd-editorial-grid .grid-line-h.bottom { bottom: 12%; animation-delay: 0.15s; }

.hd-editorial-grid .grid-line-v {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 94, 60, 0.12) 30%, rgba(212, 175, 55, 0.24) 70%, transparent 100%);
  transform: scaleY(0);
  transform-origin: top center;
  animation: hdGridScaleY 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hd-editorial-grid .grid-line-v.left { left: 6%; }
.hd-editorial-grid .grid-line-v.center { left: 52%; animation-delay: 0.22s; }

@keyframes hdGridScaleX { to { transform: scaleX(1); } }
@keyframes hdGridScaleY { to { transform: scaleY(1); } }

/* 마스크 스플릿 타이포그래피 리빌 */
.hd-line-mask,
.hd-reveal-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hd-line-inner,
.hd-reveal-line {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
  animation: hdLineReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hd-line-mask:nth-child(1) .hd-line-inner,
.hd-reveal-line.delay-1 { animation-delay: 0.12s; }
.hd-line-mask:nth-child(2) .hd-line-inner,
.hd-reveal-line.delay-2 { animation-delay: 0.26s; }
.hd-line-mask:nth-child(3) .hd-line-inner { animation-delay: 0.38s; }

@keyframes hdLineReveal {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 서브 카피 및 CTA 부드러운 페이드업 (클릭 즉시 가능하도록 pointer-events 유지) */
.hd-fade-up,
.hd-stagger-1,
.hd-stagger-2,
.hd-stagger-3 {
  opacity: 0;
  transform: translateY(18px);
  animation: hdFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}
.hd-stagger-1 { animation-delay: 0.38s; }
.hd-stagger-2 { animation-delay: 0.48s; }
.hd-stagger-3 { animation-delay: 0.58s; }

@keyframes hdFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* 우측 쇼케이스 커튼 리빌 & 슬로우 줌아웃 */
.hd-curtain-reveal {
  clip-path: inset(100% 0 0 0 round 16px);
  animation: hdCurtainOpen 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.hd-curtain-reveal img {
  transform: scale(1.12);
  animation: hdImageSettle 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
  will-change: transform;
}

@keyframes hdCurtainOpen {
  0% { clip-path: inset(100% 0 0 0 round 16px); }
  100% { clip-path: inset(0 0 0 0 round 16px); }
}

@keyframes hdImageSettle {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ===== 2. 히어로 쇼케이스 3D 틸트 & 금박/UV 홀로그램 광택 ===== */
.hd-tilt-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  transform-style: preserve-3d;
  will-change: transform, clip-path;
}

/* 리빌 완료(is-ready / is-interactive) 후에만 마우스 틸트 트랜지션 활성화 */
.hd-tilt-showcase.is-ready,
.hd-tilt-showcase.is-interactive {
  clip-path: none;
  animation: none;
  transition: transform 0.16s ease-out, box-shadow 0.35s ease;
}

.hd-tilt-showcase.is-ready:hover,
.hd-tilt-showcase.is-interactive:hover {
  box-shadow: 0 26px 52px rgba(8, 15, 30, 0.32);
}

.hd-tilt-showcase .foil-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 215, 120, 0.42) 0%,
    rgba(255, 245, 200, 0.18) 28%,
    transparent 65%
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 5;
}

.hd-tilt-showcase .uv-holo-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 20%,
    rgba(255, 223, 140, 0.16) 40%,
    rgba(190, 230, 255, 0.2) 50%,
    rgba(255, 200, 235, 0.14) 60%,
    transparent 80%
  );
  background-size: 200% 200%;
  background-position: var(--glare-x, 50%) var(--glare-y, 50%);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 6;
}

.hd-tilt-showcase.is-ready:hover .foil-glare,
.hd-tilt-showcase.is-ready:hover .uv-holo-glare,
.hd-tilt-showcase.is-interactive:hover .foil-glare,
.hd-tilt-showcase.is-interactive:hover .uv-holo-glare {
  opacity: 1;
}

/* ===== 3. 배경 정밀 칼선(Die-line) 드로잉 애니메이션 ===== */
.dieline-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.dieline-bg .cut-line {
  stroke: rgba(186, 142, 42, 0.24);
  stroke-width: 1.25;
  fill: none;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: drawCutLine 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.dieline-bg .fold-line {
  stroke: rgba(139, 94, 60, 0.18);
  stroke-width: 1;
  stroke-dasharray: 6 6;
  fill: none;
  opacity: 0;
  animation: fadeInFold 1.4s ease 1.0s forwards;
}

@keyframes drawCutLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInFold { to { opacity: 1; } }

/* ===== 4. 마키 배너 포커스 줌 & 스펙 슬라이드업 ===== */
.hd-marquee-viewport {
  padding: 14px 0 16px;
}

.hd-marquee-track:hover {
  animation-play-state: paused !important;
}

.hd-marquee-track:hover > a {
  opacity: 0.38 !important;
  filter: grayscale(35%);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hd-marquee-track > a:hover {
  opacity: 1 !important;
  filter: grayscale(0%);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
  z-index: 10;
}

.hd-marquee-track > a .spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hd-marquee-track > a:hover .spec-tags {
  max-height: 52px;
  opacity: 1;
  margin-top: 8px;
}

.hd-marquee-track > a .spec-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px !important;
  background: rgba(28, 27, 25, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #ffe89e;
  white-space: nowrap;
}

/* ========================================================
   [회원 인증(로그인/회원가입) & 마이페이지 전용 스타일]
   ======================================================== */
.hd-topbar-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.hd-topbar-auth a {
  color: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hd-topbar-auth a:hover {
  color: var(--color-red);
}

.hd-topbar-auth .hd-topbar-Point {
  color: var(--color-red);
  font-weight: 700;
}

.hd-topbar-sep {
  color: #D2C7B5;
  font-size: 11px;
}

.hd-auth-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px !important;
}

.hd-auth-badge.is-biz {
  background: var(--color-primary);
  color: #FFE89E;
}

.hd-auth-badge.is-personal {
  background: var(--color-accent);
  color: #FFFFFF;
}

.hd-topbar-logout {
  background: transparent;
  border: 1px solid #C8BFA8;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  cursor: pointer;
}

.hd-topbar-logout:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.hd-header-member-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary) !important;
  background: #FAF6EE;
  border: 1px solid #D8CCB8;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hd-header-member-btn:hover {
  background: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary);
}

.hd-member-prefill-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #FAF6EE;
  border: 1px solid #DFD3BC;
  border-left: 4px solid var(--color-accent);
  font-size: 13px;
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .hd-topbar > .container {
    justify-content: space-between !important;
    gap: 4px;
  }
  .hd-topbar > .container > span:first-child {
    display: none;
  }
  .hd-topbar-auth {
    width: 100%;
    justify-content: flex-end;
    font-size: 11.5px;
  }
  .hd-header-member-btn span {
    display: none;
  }
  .hd-header-member-btn {
    padding: 8px 10px;
  }
}

