/* ===== Hero ===== */
.hero {width: 1620px;margin: 0 auto;margin-bottom: 240px;}
.hero-view{
  position: relative;
  width: 100%; /* ?안 비율 맞춰 ?짝 좁게 */
  height: 800px; /* 반응???이 */
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}
.hero-track{
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide{
  position:absolute; inset:0;
  width: 100%; height: 100%;
  background: var(--bg) center / cover no-repeat;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slide.on{ opacity:1; pointer-events:auto; }
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}
.hero-txt{
  position:absolute;
  left: 100px;
  bottom: 100px;
  color:#fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-txt p{
  margin: 0 0 25px;
  letter-spacing:.08em;
  font-size: 24px;
  opacity:.9;
  font-weight: 300;
}
.hero-txt h2{
  margin:0;
  font-weight: 800;
  line-height: 1.3;
  font-size: 65px;
}
.hero-txt h2 span{
    font-weight: 500;
}
/* ?살??*/
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width: 100px;
  height: 100px;
  border-radius: 999px;
  border:0;
  background: rgba(255,255,255,.85);
  color:#333;
  font-size: 50px;
  font-weight: 800;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content: center;
  cursor:pointer;
  transition: box-shadow .2s ease, background .2s ease, transform .06s ease;
  user-select:none;
}
.hero-arrow:hover{ box-shadow: 0 8px 22px rgba(0,0,0,.18); background:#fff; }
.hero-arrow:active{ transform: translateY(-50%) scale(.98); }
.hero-arrow.left{left: -50px;padding-left: 40px;}
.hero-arrow.right{right: -50px;padding-right: 40px;}

/* ?트 */
.hero-dots{
  position:absolute; left:0; right:0; bottom:18px;
  display:flex; justify-content:center; gap:8px;
}
.hero-dots .dot{
  width:8px; height:8px; border-radius:50%;
  background: rgba(255,255,255,.6);
  border:0; padding:0; cursor:pointer;
  transition: transform .2s ease, background .2s ease;
}
.hero-dots .dot.on{ transform:scale(1.25); background:#fff; }

/* 반응???스???치 보정 */
@media (max-width: 720px){
  .hero-txt{ left:22px; bottom:26px; }
  .hero-arrow{ width:40px; height:40px; font-size:24px; }
}






/* ===== 지???션 ===== */
.region-section{
  position:relative;
  color:#fff;
  padding:140px 0;
  overflow:hidden;
  text-align:center;
}
.region-section .region-bg{
  position:absolute; inset:0;
  background:url('/img/bg_region_temp.png') center/cover no-repeat; /* ?시 배경 */
  filter:brightness(0.6);
  z-index:0;
}
.region-section .inner{
  position:relative;
  z-index:1;
  max-width: 1170px;
  margin:0 auto;
  padding:0 20px;
}
.region-title{
  font-size: 50px;
  font-weight: 700;
  letter-spacing:-0.02em;
  margin-bottom: 10px;
}
.region-sub{
  font-size: 22px;
  color:#eaeaea;
  margin-bottom:56px;
}
.region-chips{
  display:flex;
  justify-content: center;
  flex-wrap:wrap;
  gap: 10px;
}
.chip{
  display:inline-block;
  min-width: 180px;
  padding: 18px 0;
  border-radius:12px;
  background:#fff;
  color:#111;
  font-weight:700;
  font-size: 20px;
  text-decoration:none;
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.chip:hover{ transform:translateY(-2px); background:#ffeef3; }
.chip.disabled{ background:rgba(255,255,255,.25); color:#bbb; box-shadow:none; pointer-events:none; }

@media (max-width:1024px){
  .region-title{ font-size:40px; }
  .region-sub{ font-size:16px; margin-bottom:40px; }
  .chip{ min-width:108px; padding:14px 20px; font-size:16px; }
}
@media (max-width:640px){
  .region-title{ font-size:32px; }
  .chip{ min-width:96px; padding:12px 16px; font-size:15px; }
}






/* ===== Section Head (?품 ?션 ?더) ===== */
.section-products {padding: 240px 0 0;}

.section-products .section-head{
  position: relative;
  max-width: 1620px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0; /* ?른?more 공간 */
}

.section-products .section-head .title{
  font-size: 50px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0;
}

.section-products .section-head .subtitle{
  margin: 8px 0 0;
  font-size: 20px;
  color: #6b7280; /* #666 계열 */
}

.section-products .section-head .more{
  position: absolute;
  right: 0;
  bottom: -40px;
   /* ?목??짝 맞춤 */
  font-weight: 600;
  font-size: 20px;
  color: #6b7280;
  text-decoration: none;
}
.section-products .section-head .more:hover{ color:#111; }

/* ===== Product Grid/Card (?전 코드가 ?으?보완? ===== */
.product-grid{
  max-width: 1620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card{
  display: block;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.thumb-wrap{ position: relative; }
.thumb-img{
  width: 100%;
  aspect-ratio: 16 / 10; /* 600x375 ?낌 */
  background: #f4f5f7;
  overflow: hidden;
}
.thumb-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 배? */
.badges{
  position: absolute;
  left: 12px;
  top: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.badge{
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  border-radius: 999px;
  color: #fff;
  background: #6b7280;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.badge.new{ background:#7c3aed; }   /* 보라 */
.badge.best{ background:#ec4899; }  /* ?크 */
.badge.hot{ background:#ef4444; }   /* ?드 */
.badge.md{ background:#0891b2; }    /* ? */
.badge.only{ background:#16a34a; }  /* 그린 */

.product-card .meta{
  padding: 25px 20px;
  height: 200px;
  position: relative;
}
.product-card .name{
  font-size: 20px;
  font-weight: 800;
  color:#fff;
  background: linear-gradient(180deg, rgba(17,17,17,0.0) 0%, rgba(17,17,17,0.85) 100%);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: -42px;  /* ??지 ?단???둡??버?이 ?역??연?럽?붙게 */
  position: relative;
  z-index: 1;
}
/* ?목??카드 ?단 ?스???역?로 ?리??다???블록 ?거?고 ?래처럼 */
.product-card .name{
  background: none;
  color: #111;
  margin: 0 0 6px;
  padding: 0;
}

.product-card .desc{
  font-size: 12px;
  color: #6b7280;
  min-height: 38px;
}
.product-card .price{
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

/* 반응??*/
@media (max-width: 1200px){
  .product-grid{ max-width: 960px; grid-template-columns: repeat(3, 1fr); }
  .section-products .section-head{ max-width: 960px; }
}
@media (max-width: 820px){
  .product-grid{ max-width: 680px; grid-template-columns: repeat(2, 1fr); }
  .section-products .section-head{ max-width: 680px; }
}
@media (max-width: 520px){
  .product-grid{ max-width: 92%; grid-template-columns: 1fr; }
  .section-products .section-head{ max-width: 92%; padding: 8px 36px; }
}

/* ===== ?품 카드 ===== */
.product-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

/* ===== ?네???역 ===== */
.thumb-wrap { position: relative; overflow: hidden; }
.thumb-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;   /* 600x375 비율 */
  object-fit: cover;
}

/* ===== 배? ===== */
.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}
.badge.new  { background: #6C5CE7; }
.badge.best { background: #FF7A00; }
.badge.hot  { background: #E53935; }
.badge.md   { background: #1E88E5; }
.badge.only { background: #43A047; }

/* ===== ?단 ?보 ===== */
.meta { padding: 16px; }
.meta .name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.meta .desc {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  display: none;
}
.meta .price {
  text-align: right;
  font-size: 30px;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.01em;
  position: absolute;
  bottom: 25px;
  right: 20px;
}






/* ====== FAQ / Accordion ====== */
.faq{padding: 240px 0;}
.faq .inner{max-width: 1200px;margin:0 auto;padding:0 20px;}
.faq .section-title{
  font-size: 50px;
  font-weight:800;
  text-align:center;
  letter-spacing:.4px;
}
.faq .section-sub{
  text-align:center;
  margin-top:10px;
  color:#6b6a73;
  font-size: 22px;
}

.faq .accordion{margin-top: 60px;}
.faq .acc-item{border-radius:24px; background:#f1f1f4; margin:18px 0; overflow:hidden;}
.faq .acc-item.is-open{background:#2b0e3a; color:#fff; box-shadow:0 14px 40px rgba(43,14,58,.25);}
.faq .acc-q{
  width:100%;
  border:0;
  background:transparent;
  color:inherit;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding: 35px 70px 35px;
  cursor:pointer;
  font-size: 25px;
  line-height:1.4;
  text-align:left;
  font-weight: 700;
}
.faq .acc-q .chev{flex:0 0 auto; transition:transform .28s ease;}
.faq .acc-item.is-open .acc-q .chev{transform:rotate(180deg);}
.faq .acc-a{
  height:0; overflow:hidden; transition:height .32s ease;
  will-change:height; /* 부?러???이 ?환 */
}
.faq .acc-a .a-inner{
  padding:0 32px 28px;
  color:#2b2a32;
  font-size:16px;
  font-size: 20px;
  line-height:1.9;
  word-break: keep-all;
  padding: 0 70px 60px 120px;
}
.faq .acc-item.is-open .acc-a .a-inner{color:#efe9f6;} /* 보라 배경????본문??*/

.faq .more{
  font-size: 20px;
  display:block;
  width:fit-content;
  margin:26px auto 0;
  color:#2b0e3a;
  text-decoration:none;
  font-weight:700;
}
.faq .acc-item.is-open .acc-q{color:#fff;}
@media (max-width:640px){
  .faq{padding:72px 0;}
  .faq .section-title{font-size:34px;}
  .faq .acc-q{padding:22px 24px; font-size:18px;}
  .faq .acc-a .a-inner{padding:0 24px 22px;}
}
/* ===== FAQ 보강 ===== */
.faq .accordion .acc-item{display:none;}                 /* 기본? ?? */
.faq .accordion .acc-item:nth-child(-n+4){display:block;}/* 처음 4개만 ?출 */
.faq .accordion.show-all .acc-item{display:block;}       /* ?체 보기 ?태 */

.faq .more{cursor:pointer;}

/* ===== Responsive (index2.php) ===== */
/* Global container fix: prevent overflow on smaller viewports */
.hero { max-width: 1620px; width: 100%; box-sizing: border-box; }

/* Tablet tweaks */
@media (max-width: 1024px){
  .hero { padding: 0 20px; margin-bottom: 180px; }
  .hero-view { height: 560px; border-radius: 24px; }
  .hero-txt { left: 36px; bottom: 36px; }
  .hero-txt h2 { font-size: 44px; }
  .hero-txt p { font-size: 16px; }
  .hero-arrow { width: 56px; height: 56px; font-size: 28px; }
  .hero-arrow.left { left: 10px; padding-left: 0; }
  .hero-arrow.right { right: 10px; padding-right: 0; }
  .section-products { padding-top: 180px; }
}

/* Phablet tweaks */
@media (max-width: 768px){
  .hero { padding: 0 16px; margin-bottom: 140px; }
  .hero-view { height: 420px; border-radius: 20px; }
  .hero-txt { left: 24px; bottom: 28px; }
  .hero-txt h2 { font-size: 32px; line-height: 1.35; }
  .hero-txt p { font-size: 14px; margin-bottom: 10px; }
  .hero-arrow { width: 44px; height: 44px; font-size: 24px; }
  .hero-dots { bottom: 12px; }
  .region-section { padding: 100px 0; }
}

/* Mobile-first (<=500px) */
@media (max-width: 500px){
  /* Hero */
  .hero { padding: 0 12px; margin-bottom: 100px; }
  .hero-view { height: 360px; border-radius: 16px; }
  .hero-txt { left: 16px; bottom: 18px; }
  .hero-txt h2 { font-size: 26px; line-height: 1.35; }
  .hero-txt p { font-size: 12px; margin-bottom: 6px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 20px; }
  .hero-arrow.left { left: 8px; padding-left: 0; }
  .hero-arrow.right { right: 8px; padding-right: 0; }
  .hero-dots { bottom: 10px; }
  .hero-dots .dot { width: 6px; height: 6px; }

  /* Region section */
  .region-section { padding: 72px 0; }
  .region-title { font-size: 24px; }
  .region-sub { font-size: 14px; margin-bottom: 28px; }
  .region-chips { gap: 8px; }
  .chip { min-width: auto; padding: 10px 12px; font-size: 14px; }
  .region-chips .chip {
    width: calc(100%/3 - 6px);
}

  /* Products section */
  .section-products { padding-top: 120px; }
  .section-products .section-head { max-width: 92%; padding: 0; }
  .section-products .section-head .title { font-size: 28px; }
  .section-products .section-head .subtitle { font-size: 14px; }
  .section-products .section-head .more {position: static;display: inline-block;margin-top: 10px;background: #ddd;padding: 10px 20px;border-radius: 16px;}
  .product-grid { gap: 14px; }
  .product-card .meta { height: auto; padding: 14px; }
  .product-card .name { font-size: 18px; }
  .meta .price { position: static; right: auto; bottom: auto; text-align: left; font-size: 22px; margin-top: 6px; }

  /* FAQ */
  .faq { padding: 64px 0; }
  .faq .section-title { font-size: 28px; }
  .faq .section-sub { font-size: 14px; }
  .faq .acc-q {padding: 20px 18px;word-break: keep-all;font-size: 17px;}
  .faq .acc-a .a-inner {padding: 0 18px 18px;font-size: 14px;}
}

