@charset "utf-8";
/* ==========================================================================
   Coupon Marketing Page Styles (coupon.php 전용)
   ========================================================================== */

.coupon-wrap {
  padding-top: var(--header-h-default, 94px);
}
.coupon-wrap .t-primary {
  color: #4989d3;
}
.coupon-biz-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.coupon-biz-section {
  padding: clamp(40px, 5vw, 56px) 0 0;
}
.coupon-biz-swiper {
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 280px;
  max-height: 420px;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}
.coupon-biz-slide-inner {
  padding: 0 clamp(16px, 5vw, 60px);
  position: relative;
  z-index: 2;
}
.coupon-biz-main-title {
  font-size: clamp(20px, 3vw + 10px, 36px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.3;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.65),
    0 1px 4px rgba(0, 0, 0, 0.5);
}
.coupon-biz-desc {
  font-size: clamp(14px, 1vw + 10px, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.8),
    0 1px 4px rgba(0, 0, 0, 0.6);
}
@keyframes couponBizFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.coupon-biz-main-title.biz-animate-in {
  animation: couponBizFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.coupon-biz-desc.biz-animate-in {
  animation: couponBizFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}
.coupon-biz-pagination {
  position: absolute;
  bottom: 30px !important;
  left: 50% !important;
  width: auto !important;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
.coupon-biz-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #fff;
  opacity: 0.6;
  border-radius: 3px;
  transition: all 0.3s;
}
.coupon-biz-pagination .swiper-pagination-bullet-active {
  width: 24px;
  opacity: 1;
  background-color: #fff;
}
.coupon-header {
  margin-top: clamp(60px, 8vw + 30px, 140px);
  margin-bottom: clamp(48px, 6vw + 20px, 100px);
}
.coupon-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(18px, 2.5vw + 10px, 35px);
}
.coupon-header h2 img {
  height: clamp(20px, 1.5vw + 14px, 32px);
  margin-top: 3px;
}
.coupon-header p {
  margin: 14px 0 0;
  font-size: clamp(14px, 1vw + 10px, 18px);
}
.coupon-info-content {
  margin: 10px 0 40px;
}
.coupon-info-content .coupon-summary {
  font-size: clamp(16px, 1.5vw + 10px, 21px);
}
.coupon-info-content h4 {
  margin: 0 0 clamp(20px, 3vw, 40px);
  font-size: clamp(20px, 2vw + 12px, 28px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -1px;
}
.coupon-info-content p {
  margin: 0;
  font-size: clamp(14px, 1vw + 10px, 18px);
}
.coupon-info-content p small {
  margin: 12px 0 0;
  color: #3163e6;
  font-size: 18px;
}
.swiper-text {
  display: none;
}
.swiper-text.active {
  display: block;
  animation: swiperTextFadeIn 0.45s ease both;
}
@keyframes swiperTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.coupon-info-slider {
  min-height: auto;
}
.coupon-slider {
  border-radius: 26px;
}
.coupon-slider .swiper:not(.swiper-initialized) {
  opacity: 0;
}
.coupon-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.coupon-slider .page-box {
  padding: 0 14px;
  z-index: 10;
  pointer-events: none;
}
.coupon-slider .page-box .arrow {
  width: 52px;
  height: 52px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.75;
  transition: 0.2s;
}
.coupon-slider .page-box .arrow:hover {
  opacity: 1;
}
.coupon-slider .page-box .arrow::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}
.coupon-slider .page-box .arrow.prev::after {
  transform: rotate(-135deg) translate(-2px, 2px);
}
.coupon-slider .page-box .arrow.next::after {
  transform: rotate(45deg) translate(-2px, 2px);
}
.coupon-use {
  padding-bottom: 0;
}
.coupon-use-content p {
  font-size: clamp(14px, 1vw + 10px, 18px);
}
.coupon-use-content h3 {
  font-size: clamp(20px, 2.5vw + 10px, 32px);
  margin-bottom: 3rem;
}
.coupon-use-imgs {
  pointer-events: none;
}
.coupon-use-imgs img {
  pointer-events: auto;
}
.coupon-use-img-wrap {
  position: relative;
  height: 510px;
}
.coupon-use-img-wrap img {
  position: absolute;
  max-width: none;
}
.coupon-use-img-wrap .img-01 {
  bottom: 0;
  left: -4px;
  z-index: 2;
}
.coupon-use-img-wrap .img-02 {
  bottom: 248px;
  left: 0;
  z-index: 1;
}
.coupon-use-img-wrap .img-03 {
  bottom: 248px;
  left: 244px;
  z-index: 1;
}
.coupon-use-img-wrap .img-04 {
  bottom: 8px;
  left: 0;
  z-index: 1;
}
.coupon-use-img-wrap .img-05 {
  bottom: 35px;
  left: 244px;
  z-index: 1;
}
.coupon-section-btn-wrap {
  text-align: center;
  margin: 140px 0;
}
.btn-open-coupon {
  padding: clamp(12px, 2vw, 12px) clamp(32px, 4vw, 40px);
  background-color: var(--primary-color);
  font-size: clamp(16px, 1vw + 12px, 18px);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition:
    background-color 0.2s,
    transform 0.1s,
    box-shadow 0.2s;
}
.btn-open-coupon:hover {
  background-color: #0099dd;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}
.btn-open-coupon:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991px) {
  .coupon-wrap {
    padding-top: 78px;
  }
  .coupon-info .coupon-section-btn-wrap {
    margin: 90px 0 60px;
  }
  .coupon-use .coupon-section-btn-wrap {
    margin: 60px 0 140px;
  }
  .coupon-info-content {
    min-height: auto;
    margin-bottom: 48px;
    text-align: center;
  }
  .coupon-slider {
    border-radius: 12px;
  }
  .coupon-biz-swiper {
    border-radius: 12px;
  }
  .btn-open-coupon {
    width: 100%;
    max-width: 320px;
  }
  .coupon-use-content {
    text-align: center;
    margin-top: 40px;
  }
  .coupon-use-content h3 {
    margin-bottom: 30px;
  }
  .coupon-use-imgs {
    padding: 0 16px;
    display: flex;
    justify-content: center;
  }
  .coupon-use-img-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1.15;
    height: auto;
    margin: 0 auto;
  }
  .coupon-use-img-wrap .img-01 {
    width: 100%;
    left: 54%;
    bottom: -43%;
    transform: translate(-50%, -45%) !important;
    z-index: 2;
  }
  .coupon-use-img-wrap .img-02 {
    width: 42%;
    left: 5%;
    bottom: 43%;
    z-index: 1;
  }
  .coupon-use-img-wrap .img-03 {
    width: 42%;
    right: 4%;
    left: auto;
    bottom: 43%;
    z-index: 1;
  }
  .coupon-use-img-wrap .img-04 {
    width: 42%;
    bottom: 1%;
    left: 5%;
    z-index: 1;
  }
  .coupon-use-img-wrap .img-05 {
    width: 41%;
    bottom: 5%;
    right: 5%;
    left: auto;
    z-index: 1;
  }
}

/* Coupon Offcanvas UI styles moved to common.css (global) */
