/* ==========================================================================
   poinsettia.css (포인세티아 겨울 기획전)
   - Figma : 99_renewal / PC·시즌기획전 (node 1887:12271)
   - 반응형: PC 퍼스트 (base.css 와 같은 기준)
     PC     : 1100px 이상 (기본값)
     Tablet : @media (max-width: 1099px)
     Mobile : @media (max-width: 767px)
   - 상품 카드(.product-card) · 찜(.wish-btn) · 리뷰/가격 · CS(.cs-section) · 푸터는
     common.css 의 공통 컴포넌트를 그대로 사용하고, 이 파일에는 기획전 전용(.pt-*) 스타일만 둡니다.
   - Q&A 아코디언은 common.js 의 initFaqToggle(.faq-toggle) 마크업을 사용합니다.
   ========================================================================== */

/* Figma 의 히어로 영문 타이틀 폰트 : Binggrae Melona Bold.
   폰트 파일을 서버에 올린 뒤 아래 src 에 url(...) 을 추가해 주세요. (미설치 시 Pretendard 로 표시) */
@font-face {
  font-family: 'Binggrae Melona';
  font-weight: 700;
  font-display: swap;
  src: local('Binggrae Melona Bold'), local('BinggraeMelona-Bold');
  /* src: url('/fonts/BinggraeMelona-Bold.woff2') format('woff2'); */
}

/* ==========================================================================
   HERO  (이미지는 추후 .pt-hero__bg 안에 추가)
   ========================================================================== */
.pt-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  width: 100%;
  height: 840px;
  padding: 70px var(--space-side) var(--space-96);
  overflow: hidden;
  background: #EDDFDF;
  color: #FAFAF8;
  text-align: center;
}

.pt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pt-hero__bg picture,
.pt-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-hero__txt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}

.pt-hero__en {
  font-family: 'Binggrae Melona', var(--font-base-family);
  font-size: 90px;
  font-weight: 700;
}

.pt-hero__ko {
  font-size: var(--fz-heading-m);
  font-weight: 600;
}

/* ==========================================================================
   섹션 공통 래퍼 (max-width 1280 + 좌우 여백)
   ========================================================================== */
.pt-section {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side);
}

/* Winter Styling / Winter Gift : 제목 + 4열 상품 리스트 */
.pt-section--list {
  gap: var(--space-36);
  padding-bottom: calc(var(--space-96) * 2);
}

.pt-sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

.pt-sec-head__tit {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.pt-sec-head__sub {
  font-size: var(--fz-label-title);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--brand-primary);
}

.pt-list-tit {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* ==========================================================================
   상품 리스트
   ========================================================================== */
.pt-list {
  display: grid;
  grid-template-columns: repeat(var(--pt-cols, 3), minmax(0, 1fr));
  gap: 48px 16px;
  width: 100%;
}

.pt-list--3 { --pt-cols: 3; }
.pt-list--4 { --pt-cols: 4; }

/* ==========================================================================
   섹션 배너 (Winter Planterior / Gift Recommend) · 배송 안내 공통
   - 배경 이미지는 추후 .pt-banner__bg 안에 추가 (없으면 시안 배경색)
   ========================================================================== */
.pt-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 400px;
  overflow: hidden;
  color: var(--base-white);
}

.pt-banner--red  { background: var(--brand-primary-dark); }                 /* #8F2027 */
.pt-banner--pink { background: var(--brand-primary-light); color: var(--text-primary); } /* #F6E9EA */

.pt-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pt-banner__bg picture,
.pt-banner__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-side);
}

.pt-banner__tit {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pt-banner__label {
  font-size: var(--fz-label-title);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--brand-primary-light);
}

.pt-banner--pink .pt-banner__label {
  color: #2F7A4A;
}

.pt-banner__heading {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: 1.4;
}

.pt-banner__desc {
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-body);
}

/* ----- 배송 안내 : 이미지 위에 어두운 딤(40%) + 흰 글씨 박스 3개 ----- */
.pt-ship {
  height: 360px;
  background: #FFFFFF;      /* 딤(40%)과 겹쳐 시안의 회색으로 보임. 이미지 추가 시 이미지가 보임 */
  justify-content: center;
  text-align: center;
}

.pt-ship::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
}

.pt-ship__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32);
  width: 100%;
  padding: 0 var(--space-side);
}

.pt-ship__tit {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: 1.4;
}

.pt-ship__list {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.pt-ship__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-14) var(--space-16);
  border: 1px solid #FFE9D9;
}

.pt-ship__box-tit {
  font-size: var(--fz-body-xl);
  font-weight: 600;
  line-height: var(--lh-tight);
}

.pt-ship__box-desc {
  max-width: 300px;
  word-break: keep-all;
  font-size: var(--fz-body-s);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Q&A (.faq-toggle 구조 · common.js initFaqToggle 사용)
   ========================================================================== */
.pt-faq {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side) 0;
}

.pt-faq__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-36);
}

.pt-faq__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pt-faq__label {
  font-size: var(--fz-label-title);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: #CCCCCC;
}

.pt-faq__tit {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.pt-faq__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--base-white);
}

.pt-faq .faq-toggle {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
  width: 100%;
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--border-default);
}

.pt-faq .faq-toggle__tit {
  width: 100%;
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.pt-faq .faq-toggle__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  width: 100%;
  font-weight: inherit;
  text-align: left;
}

.pt-faq .faq-toggle__txt {
  flex: 1;
}

.pt-faq .faq-toggle__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url('/images/common/icon/icon-toggle-open.svg') center / 10px 10px no-repeat;
  transition: transform 0.2s ease;
}

.pt-faq .faq-toggle.is-open .faq-toggle__icon {
  transform: rotate(45deg);
}

.pt-faq .faq-toggle__desc {
  display: none;
  padding-right: var(--space-48);
  font-size: var(--fz-body-s);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.pt-faq .faq-toggle.is-open .faq-toggle__desc {
  display: block;
}

/* ==========================================================================
   Tablet (768px ~ 1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  .pt-hero {
    height: 600px;
    padding-top: 56px;
  }

  .pt-hero__en {
    font-size: 64px;
  }

  .pt-section {
    gap: var(--space-48);
  }

  .pt-section--list {
    padding-bottom: var(--space-96);
  }

  .pt-list--4 {
    --pt-cols: 2;
  }

  .pt-banner {
    height: 320px;
  }

  .pt-ship {
    height: auto;
    padding: var(--space-64) 0;
  }

  .pt-ship__list {
    gap: var(--space-16);
    width: 100%;
  }

  .pt-ship__box {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ==========================================================================
   Mobile (~767px)
   ========================================================================== */
@media (max-width: 767px) {
  .pt-hero {
    height: 420px;
    padding-top: 44px;
    padding-bottom: var(--space-48);
  }

  .pt-hero__en {
    font-size: 44px;
  }

  .pt-hero__ko {
    font-size: 16px;
  }

  .pt-section {
    gap: var(--space-32);
    padding-top: var(--space-64);
    padding-bottom: var(--space-64);
  }

  .pt-section--list {
    gap: var(--space-24);
    padding-bottom: var(--space-64);
  }

  /* 모바일 : 이미지 좌 / 정보 우 가로형 카드(common.css Size=S-w) 1열 */
  .pt-list,
  .pt-list--3,
  .pt-list--4 {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: var(--space-32);
  }

  .pt-banner {
    height: auto;
    min-height: 240px;
    padding: var(--space-48) 0;
  }

  .pt-banner__inner {
    gap: var(--space-24);
  }

  .pt-ship {
    padding: var(--space-48) 0;
  }

  .pt-ship__list {
    flex-direction: column;
    gap: var(--space-12);
  }

  .pt-ship__box {
    width: 100%;
  }

  .pt-ship__box-desc {
    max-width: none;
  }

  .pt-faq {
    padding-top: var(--space-64);
  }

  .pt-faq .faq-toggle__desc {
    padding-right: 0;
  }
}
