* { margin: 0; padding: 0; box-sizing: border-box; }
/* 카테고리 페이지 : 섹션 단위 스냅 스크롤 */
html.snap-scroll {
  scroll-snap-type: y mandatory;
}
body.category-page .feature-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}
body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.header-main-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo a { font-size: 24px; font-weight: 800; letter-spacing: 2px; }
.gnb ul { display: flex; gap: 32px; }
.gnb a { font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.gnb a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: currentColor; transition: width .25s; }
.gnb a:hover::after { width: 100%; }
.gnb a.highlight { color: #ff5a72; }
.header-actions { display: flex; gap: 8px; }
.icon-btn { background: none; border: none; font-size: 20px; cursor: pointer; padding: 6px; color: inherit; }

/* Scrolled state: revert to white background with dark text */
.header.scrolled {
  background: #fff; color: #1a1a1a; border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header.scrolled .gnb a.highlight { color: #c8102e; }

/* Scroll snap container */
.footer { scroll-snap-align: start; }

/* Hero (pull up under fixed transparent header) */
.hero { position: relative; overflow: hidden; margin-top: -72px; height: calc(100vh + 72px); scroll-snap-align: start; }
.slider { position: relative; height: 100%; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center; justify-content: center; color: #fff;
  padding-top: 72px;
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.5));
}
.slide.active { opacity: 1; }
.slide-content { position: relative; z-index: 2; }
.slide-content { text-align: center; max-width: 600px; padding: 0 24px; }
.slide-label { font-size: 13px; letter-spacing: 4px; opacity: .8; margin-bottom: 16px; }
.slide-content h2 { font-size: 48px; font-weight: 700; margin-bottom: 16px; }
.slide-desc { font-size: 17px; opacity: .85; margin-bottom: 32px; }
.btn-outline {
  display: inline-block; border: 1px solid currentColor; padding: 13px 36px;
  font-size: 14px; letter-spacing: 1px; transition: all .25s; color: #fff;
}
.btn-outline:hover { background: #fff; color: #111; }
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15);
  border: none; color: #fff; font-size: 32px; width: 48px; height: 48px; cursor: pointer;
  z-index: 5; transition: background .2s;
}
.slider-nav:hover { background: rgba(255,255,255,.3); }
.slider-nav.prev { left: 24px; }
.slider-nav.next { right: 24px; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.slider-dots button.active { background: #fff; }

/* Sections (full-screen, snap) */
.section {
  min-height: 100vh; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0;
}
.section-gray { background: #f7f7f7; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h3 { font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.section-head p { color: #888; margin-top: 8px; font-size: 15px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.product-card .thumb { aspect-ratio: 3/4; background: #eee; position: relative; overflow: hidden; margin-bottom: 14px; }
.product-card .thumb::after {
  content: '♡'; position: absolute; top: 12px; right: 12px; font-size: 20px; color: #fff; opacity: .9;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card .brand { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.product-card .name { font-size: 14px; color: #444; margin-bottom: 6px; }
.product-card .price { font-size: 15px; font-weight: 700; }
.product-card .price .sale { color: #c8102e; margin-right: 6px; }
.product-card .price .origin { color: #bbb; font-weight: 400; text-decoration: line-through; font-size: 13px; }

/* Arrival section (left aside + large images) */
.arrival-section { padding: 0; }
.arrival-layout {
  max-width: none; width: 100%; padding: 0 48px;
  display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center;
}
.arrival-aside { position: sticky; top: 100px; }
.arrival-label { font-size: 13px; letter-spacing: 4px; color: #888; margin-bottom: 20px; }
.arrival-aside h3 { font-size: 40px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.arrival-sub { font-size: 15px; color: #888; line-height: 1.7; margin-bottom: 36px; }
.arrival-more { font-size: 14px; font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid #111; padding-bottom: 4px; }

.arrival-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.arrival-card { display: block; }
.arrival-thumb {
  aspect-ratio: 2/3; background-size: cover; background-position: center;
  overflow: hidden; margin-bottom: 16px; transition: transform .5s ease;
}
.arrival-card:hover .arrival-thumb { transform: scale(1.03); }
.arrival-info { display: flex; flex-direction: column; gap: 6px; }
.arrival-brand { font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.arrival-name { font-size: 14px; color: #666; }

/* Image showcase (4 full-bleed images in one row, no gaps) */
.image-showcase { padding: 0; min-height: 0; display: block; }
.showcase-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; height: 100vh; gap: 16px; padding: 16px; box-sizing: border-box;
}
.showcase-item {
  background-size: cover; background-position: center; overflow: hidden;
  transition: transform .6s ease;
}
.showcase-item:hover { transform: scale(1.04); }

/* Full-bleed helper: break out of .container */
.magazine-grid, .stagger-grid {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  padding: 0 40px; box-sizing: border-box;
}

/* Magazine grid (1 large + 2 small) */
.magazine-grid {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 20px; height: 88vh;
}
.mag-item {
  position: relative; display: block; overflow: hidden;
  background-size: cover; background-position: center;
}
.mag-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 45%);
}
.mag-large { grid-row: 1 / 3; }
.mag-item { transition: transform .5s ease; }
.mag-item:hover { transform: scale(1.02); }
.mag-caption {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; color: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.mag-brand { font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.mag-title { font-size: 20px; font-weight: 600; }
.mag-large .mag-title { font-size: 26px; }

/* Stagger grid (4 offset images) */
.stagger-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start;
}
.stagger-item {
  display: block; height: 76vh; overflow: hidden;
  background-size: cover; background-position: center; transition: transform .5s ease;
}
.stagger-item:hover { transform: scale(1.03); }
.stagger-item:nth-child(even) { margin-top: 70px; }

/* Split section (3 large images side by side) */
.split-section { padding: 0; min-height: 0; display: block; }
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: 100vh; }
.split-item {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background-size: cover; background-position: center; overflow: hidden; color: #fff;
}
.split-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.28); transition: background .4s;
}
.split-item:hover::after { background: rgba(0,0,0,.42); }
.split-caption { position: relative; z-index: 2; text-align: center; }
.split-caption h3 { font-size: 30px; font-weight: 700; margin: 12px 0 20px; }
.split-more { font-size: 14px; font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid #fff; padding-bottom: 4px; }
.split-desc {
  position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2;
  text-align: center; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9);
  padding: 0 24px;
}

/* Brand grid */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .3s;
}
.brand-card:hover { transform: translateY(-6px); }
.brand-card span { font-size: 22px; font-weight: 700; letter-spacing: 3px; }

/* Wide banner */
.wide-banner {
  display: flex; align-items: center; height: 60vh; background: #222; color: #fff;
  padding: 0 64px; background-image: linear-gradient(135deg, #2b2b2b, #454040);
}
.wide-banner-text h3 { font-size: 34px; margin: 12px 0 24px; }

/* Footer */
.footer { background: #1a1a1a; color: #aaa; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-bottom: 6px; }
.footer-tel { font-size: 24px; font-weight: 700; color: #fff; }
.newsletter { display: flex; margin-top: 14px; }
.newsletter input { flex: 1; padding: 10px 12px; border: none; font-size: 13px; }
.newsletter button { padding: 0 18px; background: #fff; border: none; cursor: pointer; font-weight: 600; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: #777; }

/* ===== Product Detail Page ===== */
.product-page .header { position: static; }
.pdp { padding-top: 24px; }
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 28px; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #333; }
.breadcrumb .current { color: #333; }
.breadcrumb span { margin: 0 6px; }

.pdp-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Gallery */
.pdp-main-img { position: relative; width: 100%; aspect-ratio: 3/4; background-size: cover; background-position: center; overflow: hidden; cursor: zoom-in; }
.pdp-zoom-lens {
  position: absolute; width: 260px; height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  background-repeat: no-repeat;
  opacity: 0; transition: opacity .12s ease;
  pointer-events: none;
}
.pdp-main-img.is-zooming .pdp-zoom-lens { opacity: 1; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pdp-thumb {
  aspect-ratio: 3/4; background-size: cover; background-position: center;
  border: 1px solid transparent; padding: 0; cursor: pointer; background-color: #eee;
}
.pdp-thumb.active { border-color: #111; }

/* Info */
.pdp-info { position: sticky; top: 100px; }
.pdp-brand { font-size: 15px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.pdp-name { font-size: 26px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.pdp-code { font-size: 13px; color: #aaa; margin-bottom: 24px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid #eee; }
.pdp-sale { font-size: 26px; font-weight: 700; }
.pdp-origin { font-size: 16px; color: #bbb; text-decoration: line-through; }
.pdp-rate { font-size: 16px; font-weight: 700; color: #c8102e; }

.pdp-benefit { padding: 20px 0; border-bottom: 1px solid #eee; }
.pdp-benefit-row { display: flex; gap: 16px; font-size: 14px; margin-bottom: 8px; }
.pdp-benefit-row span { width: 60px; color: #999; }
.pdp-benefit-row b { font-weight: 500; }

.pdp-option { padding: 22px 0; border-bottom: 1px solid #eee; }
.pdp-option-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.pdp-colors { display: flex; gap: 10px; }
.pdp-color {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ddd; cursor: pointer;
  outline-offset: 2px;
}
.pdp-color.active { outline: 2px solid #111; }
.pdp-sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-size {
  min-width: 52px; height: 44px; border: 1px solid #ddd; background: #fff; cursor: pointer;
  font-size: 14px; transition: all .2s;
}
.pdp-size:hover { border-color: #111; }
.pdp-size.active { background: #111; color: #fff; border-color: #111; }
.pdp-size.soldout { color: #ccc; text-decoration: line-through; cursor: not-allowed; background: #f7f7f7; }

.pdp-qty { padding: 22px 0; border-bottom: 1px solid #eee; }
.pdp-qty-control { display: inline-flex; border: 1px solid #ddd; }
.qty-btn { width: 42px; height: 42px; border: none; background: #fff; font-size: 18px; cursor: pointer; }
#qtyValue { width: 56px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-size: 15px; }

.pdp-total { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.pdp-total span { font-size: 15px; color: #666; }
.pdp-total strong { font-size: 24px; font-weight: 700; }

.pdp-actions { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 10px; }
.pdp-btn { height: 56px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid #111; }
.pdp-wish { background: #fff; font-size: 22px; }
.pdp-wish.on { color: #c8102e; border-color: #c8102e; }
.pdp-cart { background: #fff; }
.pdp-buy { background: #111; color: #fff; }
.pdp-cart:hover { background: #f3f3f3; }
.pdp-buy:hover { background: #333; }

/* Detail */
.pdp-detail { margin-top: 80px; }
.pdp-tabs { display: flex; border-bottom: 2px solid #111; }
.pdp-tab { flex: 1; text-align: center; padding: 16px; font-size: 15px; font-weight: 600; color: #999; }
.pdp-tab.active { color: #111; }
.pdp-detail-body { max-width: 900px; margin: 48px auto 0; }
.pdp-detail-body img { width: 100%; display: block; margin-bottom: 8px; }
.pdp-shipping { max-width: 900px; margin: 56px auto 0; padding-bottom: 40px; }
.pdp-shipping h4 { font-size: 16px; margin: 24px 0 12px; }
.pdp-shipping p { font-size: 14px; color: #666; line-height: 1.9; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .gnb { display: none; }
  .arrival-layout { grid-template-columns: 1fr; gap: 32px; }
  .arrival-aside { position: static; text-align: center; }
  .arrival-aside h3 { font-size: 32px; }
  .arrival-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .slide-content h2 { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .hero { height: calc(100svh + 72px); }
  .section { min-height: auto; padding: 64px 0; }
  .magazine-grid {
    grid-template-columns: 1fr; grid-template-rows: none; height: auto;
  }
  .mag-large { grid-row: auto; }
  .mag-item { aspect-ratio: 4/3; }
  .showcase-grid { grid-template-columns: 1fr; height: auto; }
  .showcase-item { aspect-ratio: 3/4; }
  .magazine-grid, .stagger-grid {
    width: auto; left: auto; right: auto; margin-left: 0; margin-right: 0; padding: 0;
  }
  .stagger-grid { grid-template-columns: 1fr; gap: 16px; }
  .stagger-item { height: auto; aspect-ratio: 3/4; }
  .stagger-item:nth-child(even) { margin-top: 0; }
  .split-grid { grid-template-columns: 1fr; height: auto; }
  .split-item { aspect-ratio: 3/4; }
  .pdp-top { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info { position: static; }

  /* FEATURE 계열 : 모바일 1열(한 장씩), 높이 자동 */
  .feature-section { min-height: auto; }
  .feature-grid,
  .feature-grid-1,
  .feature-grid-2,
  .feature-grid-3 {
    grid-template-columns: 1fr;
    height: auto; min-height: 0;
    max-width: none; margin: 0;
    padding: 12px; gap: 12px;
  }
  .feature-item { height: auto; aspect-ratio: 3/4; }
  .feature-grid-stagger { min-height: 0; }
  .feature-grid-stagger .feature-item { height: auto; aspect-ratio: 3/4; }
  .feature-grid-stagger .feature-item:nth-child(even) { margin-top: 0; }
}

/* ===== GEEINN(web) layout overrides ===== */
/* 메뉴를 우측으로 이동 + 로고와 간격 확보 */
.navbar .large_nav { margin-left: auto; }

/* navbar를 이미지 위에 겹치는 투명 오버레이로 */
.navbar {
  background-color: transparent !important;
  box-shadow: none !important;
}
.navbar .logo,
.navbar .top-menu > li > a { color: #fff; }
/* 드롭다운 서브메뉴는 흰 배경이므로 글자색 원복 */
.navbar .submenu a { color: #333; }

/* hero가 navbar 뒤(위)까지 채우도록 */
main .hero { margin-top: -84px; height: calc(100vh + 84px); }
.hero .slide { padding-top: 84px; }

body > footer.footer {
  background: #f4f4f4; color: #666; text-align: center;
  padding: 20px; margin-top: 50px; font-size: 14px;
  scroll-snap-align: none;
}

/* ===== 상품 상세(product.jsp) : navbar 정상 표시 ===== */
.product-page .navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}
.product-page .navbar .logo,
.product-page .navbar .top-menu > li > a { color: #333; }
.product-page .pdp { padding-top: 90px; }

/* 파일명 내 여러 상품 항목 리스트 */
.pdp-item { padding: 24px 0; border-bottom: 1px solid #eee; }
.pdp-item:first-child { padding-top: 0; }
.pdp-item:last-child { border-bottom: none; }
.pdp-item .pdp-name { font-size: 22px; margin-bottom: 8px; }
.pdp-item .pdp-code { margin-bottom: 12px; }
.pdp-item .pdp-price { border-bottom: none; padding-bottom: 12px; }
.pdp-item .pdp-option { padding: 8px 0; border-bottom: none; display: flex; align-items: center; gap: 16px; }
.pdp-item .pdp-option-label { margin-bottom: 0; width: 48px; color: #999; font-size: 14px; font-weight: 500; }
.pdp-item .pdp-color { cursor: default; outline: none; }
.pdp-item .pdp-size { min-width: auto; padding: 6px 12px; height: auto; cursor: default; font-size: 13px; }

/* SOLD OUT badge */
.soldout-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 2px;
}
.arrival-card, .showcase-item, .mag-item, .stagger-item, .split-item,
.product-card .thumb {
  position: relative;
}
.is-soldout .arrival-thumb,
.showcase-item.is-soldout,
.mag-item.is-soldout,
.stagger-item.is-soldout,
.split-item.is-soldout,
.product-card.is-soldout .thumb img {
  opacity: 0.55;
  filter: grayscale(35%);
}
.product-card.is-soldout .name,
.product-card.is-soldout .price {
  color: #999;
}
.pdp-item.is-soldout .pdp-name,
.pdp-item.is-soldout .pdp-sale {
  color: #999;
}
.pdp-soldout {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: #2b2b2b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  vertical-align: middle;
  border-radius: 2px;
}

/* 구매문의 */
.pdp-inquiry {
  margin-top: 28px;
  padding: 18px 20px;
  background: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-inquiry-icon {
  flex-shrink: 0;
}
.pdp-inquiry-label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}
.pdp-inquiry-mail {
  font-size: 16px;
  font-weight: 600;
  color: #2b2b2b;
  letter-spacing: 0.3px;
}

/* NEW ARRIVAL 시즌 타이포 */
.arrival-season {
  margin: 18px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 2px;
  color: #1f1f1f;
  text-transform: uppercase;
}

/* 상품명 + 가격 (여러 개면 줄바꿈) */
.goods-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.goods-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}
.goods-line .goods-name {
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.goods-line .goods-price {
  flex-shrink: 0;
  color: #111;
  font-weight: 600;
}

/* SHOWCASE 이미지 위 캡션 */
.showcase-item {
  position: relative;
}
.showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  color: #fff;
}
.showcase-brand {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.showcase-caption .goods-line .goods-name,
.showcase-caption .goods-line .goods-price {
  color: #fff;
}

/* MAGAZINE 캡션 상품명/가격 */
.mag-caption .goods-line .goods-name,
.mag-caption .goods-line .goods-price {
  color: #fff;
}

/* MAGAZINE 레이아웃 */
.magazine-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.mag-item {
  position: relative;
  display: block;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.mag-item.mag-large {
  grid-row: 1 / 3;
  min-height: 536px;
}
.mag-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}
.mag-brand {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 6px;
}

/* MAGAZINE 상단 타이틀 여백 축소 */
.magazine-section {
  padding-top: 20px;
}
.magazine-section .section-head {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 16px;
}
.magazine-section .section-head h3 {
  margin-top: 0;
  margin-bottom: 4px;
}

/* STAGGER 상단 타이틀 여백 축소 */
.stagger-section {
  padding-top: 20px;
}
.stagger-section .section-head {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 16px;
}
.stagger-section .section-head h3 {
  margin-top: 0;
  margin-bottom: 4px;
}

/* STAGGER 이미지 위 캡션 */
.stagger-item {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.stagger-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}
.stagger-brand {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 6px;
}
.stagger-caption .goods-line .goods-name,
.stagger-caption .goods-line .goods-price {
  color: #fff;
}

/* SPLIT 섹션 여백 + 레이아웃 */
.split-section {
  padding: 12px 24px 24px;
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.split-item {
  position: relative;
  display: block;
  min-height: 420px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #f2f2f2;
  overflow: hidden;
}
.split-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 20px 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}
.split-caption .slide-label {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.split-caption .goods-lines {
  margin-bottom: 8px;
}
.split-caption .goods-line .goods-name,
.split-caption .goods-line .goods-price {
  color: #fff;
}
.split-more {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
}

/* FEATURE 섹션 : 4열 풀높이 */
.feature-section {
  padding: 0;
  min-height: 100vh;
  display: block;
  scroll-snap-align: start;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100vh;
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
}
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); padding-left: 80px; padding-right: 80px; gap: 40px; }
/* 남은 이미지 개수에 맞춰 가운데 정렬 */
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 50%; margin: 0 auto; padding: 60px 80px; }
.feature-grid-1 { grid-template-columns: 1fr; max-width: 32%; margin: 0 auto; padding: 60px 80px; }
/* LOOKBOOK 스타일 엇갈림 배치 */
.feature-grid-stagger { align-items: start; height: auto; min-height: 100vh; align-content: center; }
.feature-grid-stagger .feature-item { height: 82vh; }
.feature-grid-stagger .feature-item:nth-child(even) { margin-top: 60px; }
.feature-item {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.feature-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}
.feature-brand {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 6px;
}
.feature-caption .goods-line .goods-name,
.feature-caption .goods-line .goods-price {
  color: #fff;
}

/* ===== 카테고리 페이지 (outer/top/bottom) ===== */
.category-page .navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}
.category-page .navbar .logo,
.category-page .navbar .top-menu > li > a { color: #333; }
.category-main { padding-top: 0; }
/* 첫 섹션이 고정 navbar에 가리지 않도록 grid 상단 여백 */
.category-main .feature-section:first-child .feature-grid {
  padding-top: 90px;
}
.category-head {
  padding: 24px 0 8px;
}
.category-head h2 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.category-head p {
  color: #888;
  font-size: 14px;
}

/* 모바일 : 모든 그리드 섹션 1열(한 장씩) - 소스 순서상 마지막으로 우선 적용 */
@media (max-width: 900px) {
  .magazine-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .mag-item.mag-large { grid-row: auto; min-height: 0; }
  .mag-item { aspect-ratio: 4/3; min-height: 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .stagger-grid { grid-template-columns: 1fr; }
  .stagger-item:nth-child(even) { margin-top: 0; }
  .split-grid { grid-template-columns: 1fr; height: auto; }
  .split-item { aspect-ratio: 3/4; min-height: 0; }

  /* FEATURE 계열 : 모바일 1열(한 장씩) */
  .feature-section { min-height: auto; }
  .feature-grid,
  .feature-grid-1,
  .feature-grid-2,
  .feature-grid-3,
  .feature-grid-stagger {
    grid-template-columns: 1fr;
    height: auto; min-height: 0;
    max-width: none; margin: 0;
    padding: 12px; gap: 12px;
  }
  .feature-item { height: auto; aspect-ratio: 3/4; }
  .feature-grid-stagger .feature-item { height: auto; aspect-ratio: 3/4; }
  .feature-grid-stagger .feature-item:nth-child(even) { margin-top: 0; }
}
