*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR",Arial,sans-serif;
  color:#333;line-height:1.7;
}
.top-bar{
  background:#f8f9fa;
  padding:10px;
  text-align:center;
  font-size:14px;
}
.container{
  max-width:960px;
  margin:auto;
  padding:20px;
}
.hero-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0 10px;
}
.hero-logo{
  width:120px;
}
.hero-title{
  font-size:28px;
  font-weight:800;
}
.hero-image{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:10px;
  margin:20px 0;
}
.coupon{
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:18px;
  margin-bottom:16px;
  transition:.25s;
}
.coupon:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.btn-cta{
  display:inline-block;
  background:linear-gradient(135deg,#ff5722,#ff4500);
  color:#fff;
  padding:14px 26px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
}
.tip-image{
  max-width:420px;
  width:100%;
  display:block;
  margin:20px auto;
  border-radius:8px;
}
footer{
  background:#f1f3f5;
  padding:30px;
  margin-top:50px;
  text-align:center;
}
@media(max-width:768px){
  .hero-header{flex-direction:column;text-align:center}
  .hero-title{font-size:22px}
  .btn-cta{width:100%;text-align:center}
  .coupon:hover{transform:none;box-shadow:none}
}

/* =========================
   Coupon List Layout
========================= */

.promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pro-item {
  display: flex;
  gap: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pro-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* =========================
   Left Discount Box
========================= */

.right-wrap {
  flex-shrink: 0;
}

.promoDiscount {
  background: linear-gradient(135deg, #ff5722, #ff784e);
  color: #fff;
  border-radius: 12px;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.promoDiscount .number {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.promoDiscount .text {
  font-size: 13px;
  font-weight: 600;
}

/* =========================
   Content Area
========================= */

.promo-content {
  flex: 1;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-expire {
  background: #fff4e5;
  color: #d97706;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.tag-used {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.promo-title {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.4;
}

/* =========================
   Code Box
========================= */

.code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}

.code-text {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.btn-copy {
  margin-left: auto;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-copy:hover {
  background: #1e40af;
}

/* =========================
   Description
========================= */

.promo-desc {
  margin: 10px 0 14px;
  padding-left: 18px;
  color: #374151;
  font-size: 14px;
}

.promo-desc li {
  margin-bottom: 4px;
}

/* =========================
   Go Button
========================= */

.btn-site-go {
  display: inline-block;
  background: linear-gradient(135deg, #ff5722, #ff4500);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-site-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,87,34,.4);
}

/* =========================
   CTA Box
========================= */

.cta-box {
  margin: 30px 0;
  padding: 18px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  border: 2px solid #2563eb;
}

.cta-box a {
  font-size: 18px;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {
  .pro-item {
    flex-direction: column;
  }

  .promoDiscount {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 6px;
    padding: 10px 0;
  }

  .promoDiscount .number {
    font-size: 22px;
  }

  .promoDiscount .text {
    font-size: 14px;
  }

  .btn-site-go {
    width: 100%;
    text-align: center;
  }

  .btn-copy {
    padding: 8px 12px;
  }
}

/* 복사 완료 토스트 */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   공통 마켓 네비게이션
========================= */
.market-nav{
  position:fixed;
  top:50px;
  right:20px;
  width:220px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  z-index:999;
}

.market-nav h3{
  font-size:16px;
  margin:0 0 12px;
  font-weight:800;
  color:#2563eb;
}

.market-nav ul{
  list-style:none;
  padding:0;
  margin:0;
}

.market-nav li{
  margin-bottom:8px;
}

.market-nav a{
  display:block;
  padding:10px 12px;
  background:#f8fafc;
  border-radius:10px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  color:#111827;
  transition:.2s;
}

.market-nav a:hover{
  background:#ff5722;
  color:#fff;
  transform:translateX(2px);
}
.market-nav a.active{
  background:#ff5722;
  color:#fff;
}

/* =========================
   모바일 대응
========================= */
@media(max-width:1024px){
  .market-nav{
    position:static;
    width:auto;
    margin:0 0 20px;
    box-shadow:none;
    border-radius:12px;
  }

  .market-nav ul{
    display:flex;
    gap:10px;
    overflow-x:auto;
  }

  .market-nav li{
    flex:0 0 auto;
    margin-bottom:0;
  }

  .market-nav a{
    white-space:nowrap;
    font-size:13px;
    padding:10px 14px;
  }
}
.skin_layout_wrap {
  display: none !important;
}