/* ===== Product — light theme (an-otherday style) ===== */

/* Page-level light theme */
body[data-page="product"] {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
}

/* Override global nav to white */
body[data-page="product"] #global-nav,
body[data-page="product"] #global-nav.solid,
body[data-page="product"] #global-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

}
body[data-page="product"] .nav-link,
body[data-page="product"] .nav-search,
body[data-page="product"] .logo-double,
body[data-page="product"] .logo-graphy { color: #1a1a1a; }
body[data-page="product"] .nav-link { opacity: 0.85; }
body[data-page="product"] .nav-link.active { border-bottom-color: #1a1a1a; opacity: 1; }
body[data-page="product"] .nav-logo .logo-sub { color: rgba(0, 0, 0, 0.45); }
body[data-page="product"] .nav-hamburger span { background: #1a1a1a; }

/* Footer light */
body[data-page="product"] #global-footer {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
body[data-page="product"] .footer-logo .logo-double,
body[data-page="product"] .footer-logo .logo-graphy { color: #1a1a1a; }
body[data-page="product"] .footer-logo .logo-sub { color: rgba(0, 0, 0, 0.45); }
body[data-page="product"] .footer-label { color: #1a1a1a; }
body[data-page="product"] .footer-name { color: #1a1a1a; }
body[data-page="product"] .footer-company,
body[data-page="product"] .footer-col a { color: rgba(0, 0, 0, 0.7); }
body[data-page="product"] .footer-col a:hover { color: #1a1a1a; }
body[data-page="product"] .footer-totop { color: #1a1a1a; border-bottom-color: rgba(0,0,0,0.4); }
body[data-page="product"] .footer-bottom { border-top-color: rgba(0, 0, 0, 0.06); }
body[data-page="product"] .footer-links a { color: rgba(0, 0, 0, 0.7); }
body[data-page="product"] .footer-links a:hover { color: #1a1a1a; }
body[data-page="product"] .footer-copy { color: rgba(0, 0, 0, 0.55); border-top-color: rgba(0, 0, 0, 0.06); }

/* Mobile drawer light */
body[data-page="product"] .mobile-drawer { background: #ffffff; }
body[data-page="product"] .mobile-close { color: #1a1a1a; }
body[data-page="product"] .mobile-nav-list .nav-link {
  color: #1a1a1a;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
body[data-page="product"] .mobile-secondary a { color: rgba(0, 0, 0, 0.55); }

/* ===== Page layout — narrow on all viewports (mobile spec preserved on PC) ===== */
.product-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Hide the old hero header — use section-by-section layout */
.product-hero { display: none; }

/* Section: stacked layout (no grid) */
.product-section {
  display: block;
  padding: 0;
  border-bottom: none;
  margin-bottom: 80px;
}

/* Section header — small gray English label + big bold Korean title */
.ps-left {
  margin-bottom: 28px;
}
.ps-left .section-title-en {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #c4c4c4;
  text-transform: none;
  margin: 0 0 6px;
  display: block;
}
.ps-left .section-title-ko {
  font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
  line-height: 1.2;
}

/* Bullet info list */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.info-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  letter-spacing: 0;
}
.info-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #444;
}
.info-list li strong {
  color: #111;
  font-weight: 700;
}

/* Inline link inside list */
.info-list a.inline-link {
  color: #111;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.2s ease;
  padding-bottom: 1px;
}
.info-list a.inline-link:hover { border-bottom-color: #111; }
.info-list li.muted {
  color: #999;
  font-size: 13px;
  padding-top: 6px;
}
.info-list li.muted::before { display: none; }

/* Package list */
.package-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eaeaea;
}

.package {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid #eaeaea;
  background: transparent;
}
.package:hover { background: transparent; }

.pkg-name {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pkg-name .pkg-sub {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #999;
  text-transform: none;
}

.pkg-includes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.pkg-includes li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.pkg-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #888;
}

.pkg-price {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  color: #111;
  text-align: right;
}

/* Compact list (options) */
.package-list.compact { margin-top: 12px; }
.package-list.compact .package { padding: 20px 0; }
.package-list.compact .pkg-name { font-size: 15px; margin-bottom: 10px; }

/* Sample link line */
.sample-line {
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px dashed #e0e0e0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sample-line .sample-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #999;
  text-transform: uppercase;
}
.sample-line a {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.2s ease;
  padding-bottom: 2px;
}
.sample-line a:hover { border-bottom-color: #111; }

/* CTA */
.product-cta {
  text-align: center;
  padding: 80px 0 0;
  border-top: 1px solid #eaeaea;
  margin-top: 40px;
}
.product-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.product-cta p {
  color: #666;
  font-size: 14px;
  margin-bottom: 28px;
}
body[data-page="product"] .btn-primary {
  background: #111;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.18em;
  border-radius: 999px;
  padding: 16px 36px;
}
body[data-page="product"] .btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ===== Pricing layouts: products vs options ===== */

/* Default (.package-list): "products" — name, includes, price stacked + LEFT-aligned price */
.package .pkg-price { text-align: left; margin-top: 4px; }

/* Options style: title row with price RIGHT, small description below */
.package-list.options-list .package {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  row-gap: 6px;
  padding: 22px 0;
}
.package-list.options-list .pkg-name {
  grid-column: 1;
  margin-bottom: 0;
  font-size: 15px;
}
.package-list.options-list .pkg-price {
  grid-column: 2;
  text-align: right;
  margin-top: 0;
  font-size: 15px;
  white-space: nowrap;
  align-self: start;
}
.package-list.options-list .pkg-includes {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.package-list.options-list .pkg-includes li {
  font-size: 12px;
  color: #888;
  padding-left: 0;
}
.package-list.options-list .pkg-includes li::before { display: none; }

/* Section title — same size on PC and mobile (no big jump) */
.ps-left .section-title-ko { font-size: 26px; }
.ps-left .section-title-en { font-size: 13px; }
@media (min-width: 768px) {
  .ps-left .section-title-ko { font-size: 28px; }
}

/* ===== Video modal ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: videoModalFade 0.2s ease-out;
}
.video-modal[hidden] { display: none; }
@keyframes videoModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal-embed,
.video-modal-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-modal-close:hover { opacity: 1; transform: scale(1.1); }
.video-modal-close svg { width: 28px; height: 28px; }
@media (max-width: 768px) {
  .video-modal { padding: 16px; }
  .video-modal-close { top: -48px; right: 0; }
}
