/* 폰트 정의 */
@font-face {
  font-family: 'ONE Mobile Title';
  src: url('../asset/fonts/ONE Mobile Title OTF.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ONE Mobile Title';
  src: url('../asset/fonts/ONE Mobile Title OTF.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../asset/fonts/Pretendard-Regular.woff') format('woff'),
       url('../asset/fonts/Pretendard-Regular.woff') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../asset/fonts/Pretendard-Bold.woff') format('woff'),
       url('../asset/fonts/Pretendard-Bold.woff') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 기본 스타일 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  width: clamp(200px, 20.83vw, 400px);
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  animation: introLogoFade 2s ease-in-out forwards;
}

@keyframes introLogoFade {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* 이미지 드래그 방지 */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
}

/* 컨테이너 */
.container {
  width: min(1920px, 100%);
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(20px, 2.08vw, 40px) clamp(16px, 6.25vw, 120px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.header-logo {
  height: clamp(28px, 1.875vw, 36px);
  width: clamp(150px, 9.9vw, 190px);
  transition: filter 0.3s ease;
}

.header-logo.white-logo {
  filter: brightness(0) invert(1);
}

.header-icons {
  display: flex;
  gap: clamp(12px, 1vw, 24px);
  align-items: center;
  background: white;
  padding: clamp(10px, 0.625vw, 12px) clamp(20px, 1.25vw, 24px);
  border-radius: 555px;
  box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.08);
}

.header-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.5rem;
}

.header-icon {
  width: clamp(24px, 1.67vw, 32px);
  height: clamp(24px, 1.67vw, 32px);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.header-icon-link:hover .header-icon {
  background: #f1f1f1;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: clamp(720px, 100vh, 1560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(40px, 3.125vw, 60px) clamp(16px, 6.25vw, 120px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  gap:1rem;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.hero.hero-hover .hero-bg-overlay {
  opacity: 1;
}

.hero-bg-overlay.image-changing {
  opacity: 0 !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.25vw, 16px);
  max-width: min(476px, 100%);
}

.hero-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(36px, 3.33vw, 64px);
  line-height: 1.15;
  color: white;
  white-space: pre-line;
  opacity: 0;
  transition: color 0.5s ease-in-out;
}

.hero.image-changed .hero-title {
  color: #000000;
}

.hero-subtitle {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(24px, 2.08vw, 40px);
  line-height: 1;
  color: white;
  opacity: 0;
  transition: color 0.5s ease-in-out;
}

.hero.image-changed .hero-subtitle {
  color: #000000;
}

.hero-button {
  background: #2d2d2d;
  color: white;
  padding: clamp(10px, 0.625vw, 12px) clamp(20px, 1.25vw, 24px);
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.15;
  border: none;
  cursor: pointer;
  white-space: pre;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.3s ease-out, background 0.3s ease;
}

.hero-button:hover {
  background: #003296;
  transform: translateY(-4px) !important;
}
.hero-thumbnails {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(8px, 0.625vw, 12px);
  margin-top: clamp(8px, 0.625vw, 12px);
  flex-wrap: wrap;
}

.hero-thumbnail {
  width: clamp(100px, 9.74vw, 187px);
  height: clamp(100px, 9.74vw, 187px);
  background: white;
  padding: clamp(12px, 0.83vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.hero-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Promotion Banner */
.promotion-banner {
  width: calc(100% - clamp(14px, 3.125vw, 120px));
  height: clamp(221px, 28.65vw, 550px);
  margin: clamp(24px, 3.08vw, 59px) clamp(7px, 3.125vw, 60px) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.promotion-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 텍스트 가독성용 오버레이 */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0) 80%
  );
  z-index: 1;
}

.promotion-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(16px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.promotion-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}

.promotion-subtitle {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.promotion-cta {
  margin-top: clamp(6px, 0.8vw, 12px);
  width: fit-content;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: clamp(10px, 0.8vw, 12px) clamp(16px, 1.4vw, 22px);
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.promotion-cta:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.promotion-cta:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* Product Section 공통 스타일 */
.product-section {
  position: relative;
  width: 100%;
  height: clamp(352px, 46.04vw, 884px);
  margin-top: clamp(30px, 5.21vw, 100px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* 인터랙션을 위한 준비 */
}

.product-section-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.25vw, 24px);
  padding: clamp(20px, 12.4vw, 238px) clamp(20px, 3.125vw, 60px);
  height: clamp(300px, 35.57vw, 683px);
}

.product-buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 0.83vw, 16px);
}

.product-code {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.15;
  color: #444444;
}

.product-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(28px, 2.5vw, 48px);
  line-height: 1.15;
  color: #000000;
}

.product-price {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(20px, 1.67vw, 32px);
  line-height: 1.4;
  color: #000000;
}

.product-button {
  background: #2d2d2d;
  color: white;
  padding: clamp(10px, 0.625vw, 12px) clamp(20px, 1.25vw, 24px);
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.15;
  border: none;
  cursor: pointer;
  white-space: pre;
  transition: all 0.3s ease;
  width: clamp(260px, 20vw, 320px);
  box-sizing: border-box;
}

.product-button:hover {
  background: #003296;
  transform: translateY(-2px);
}

.product-button-outline {
  background: transparent;
  color: #2d2d2d;
  padding: clamp(10px, 0.625vw, 12px) clamp(20px, 1.25vw, 24px);
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.15;
  border: 2px solid #2d2d2d;
  cursor: pointer;
  white-space: pre;
  transition: all 0.3s ease;
  width: clamp(260px, 20vw, 320px);
  box-sizing: border-box;
}

.product-button-outline:hover {
  background: #2d2d2d;
  color: white;
  transform: translateY(-2px);
}
.product-image {
  position: absolute;
  width: clamp(279px, 36.46vw, 700px);
  height: clamp(352px, 46.04vw, 884px);
  object-fit: cover;
}

/* Silver Section */
.silver-section {
  padding: 0 clamp(16px, 6.25vw, 120px);
}

.silver-section .product-section-content {
  position: absolute;
  left: clamp(16px, 6.25vw, 120px);
  right: calc(clamp(16px, 6.25vw, 120px) + clamp(279px, 36.46vw, 700px));
}

.silver-section .product-image {
  right: clamp(16px, 6.25vw, 120px);
  top: 0;
}

.silver-section-bg {
  position: absolute;
  top: 10;
  left: 0;
  right: 0;
  height: clamp(280px, 36.8vw, 700px);
  mix-blend-mode: multiply;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 인터랙션을 위한 준비 */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.silver-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

/* Blue Section */
.blue-section {
  padding: 0 clamp(16px, 6.25vw, 120px);
  justify-content: flex-end;
}

.blue-section .product-section-content {
  position: absolute;
  left: calc(clamp(16px, 6.25vw, 120px) + clamp(279px, 36.46vw, 700px));
  right: clamp(16px, 6.25vw, 120px);
  align-items: flex-end;
  justify-content: center;
}

.blue-section .product-image {
  left: clamp(16px, 6.25vw, 120px);
  top: 0;
}

.blue-section-bg {
  position: absolute;
  top: 10;
  left: 0;
  right: 0;
  height: clamp(280px, 36.8vw, 700px);
  background: linear-gradient(to right, #ffffff, #2b5871);
  mix-blend-mode: lighten;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 인터랙션을 위한 준비 */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.blue-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

/* Gold Section */
.gold-section {
  padding: 0 clamp(16px, 6.25vw, 120px);
}

.gold-section .product-section-content {
  position: absolute;
  left: clamp(16px, 6.25vw, 120px);
  width: calc(100% - clamp(16px, 6.25vw, 120px) - clamp(279px, 36.46vw, 700px) - clamp(16px, 6.25vw, 120px));
  max-width: calc(100% - clamp(16px, 6.25vw, 120px) - clamp(279px, 36.46vw, 700px) - clamp(16px, 6.25vw, 120px));
}

.gold-section .product-image {
  right: clamp(16px, 6.25vw, 120px);
  top: 0;
}

.gold-section-bg {
  position: absolute;
  top: 10;
  left: 0;
  right: 0;
  height: clamp(280px, 36.8vw, 700px);
  background: linear-gradient(to right, #ffffff, #ecd99e);
  mix-blend-mode: soft-light;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 인터랙션을 위한 준비 */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gold-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 246, 74, 0.2));
  pointer-events: none;
  z-index: 1;
}

/* AQ-230 Series */
.aq230-series {
  padding: 0 clamp(16px, 6.25vw, 120px);
  margin-top: clamp(30px, 5.21vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.42vw, 8px);
}

.aq230-series-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(24px, 1.46vw, 28px);
  line-height: 1.4;
  color: #000000;
}

.aq230-products {
  display: flex;
  gap: clamp(12px, 0.83vw, 16px);
  width: 100%;
}

.aq230-product {
  flex: 1;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.42vw, 8px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.aq230-product:hover .aq230-product-image img{
  width: 85%;
  height: 85%;
}
.aq230-product-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aq230-product-image img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.aq230-product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.4;
  color: #000000;
}

.aq230-product-code {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(20px, 1.5vw, 24px);
}

.aq230-product-price {
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.04vw, 20px);
}

/* Link Container */
.link-container {
  padding: 0 clamp(13px, 6.25vw, 120px);
  margin-top: clamp(30px, 5.21vw, 100px);
  display: flex;
  gap: clamp(11px, 0.57vw, 11px);
  width: 100%;
  flex-wrap: wrap;
}

.link-item {
  flex: 1;
  min-width: min(100%, 249px);
  display: flex;
  flex-direction: column;
  gap: clamp(11px, 0.57vw, 11px);
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.link-item:hover {
  transform: translateY(-4px);
}

.link-box {
  width: 100%;
  height: clamp(106px, 15.99vw, 307px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6.15vw, 118px) clamp(40px, 4.53vw, 87px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.link-item:hover .link-box {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.link-box.store {
  background: #000000;
}

.link-box.instagram {
  background: linear-gradient(to right, #FF6B35, #F7931E, #FF1744, #E91E63, #9C27B0);
}

.link-box.cafe {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.link-box.cafe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.cafe-logo {
  left: clamp(34px, 2.83vw, 54.33px);
  top: clamp(28px, 5.05vw, 97px);
  width: clamp(177px, 23.13vw, 444px);
  height: clamp(56px, 7.29vw, 140px);
  z-index: 2;
}

.cafe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-background-icon {
  position: absolute;
  width: clamp(260px, 15vw, 240px);
  height: clamp(260px, 15vw, 240px);
  opacity: 0.5;
  pointer-events: none;
  right: calc(50% - clamp(130px, 8vw, 140px));
  top: calc(50% - clamp(90px, 10vw, 110px));
  transform: translate(calc(clamp(117px, 6.1vw, 117px)), calc(clamp(25px, 1.3vw, 25px)));
  z-index: 0;
}

.link-background-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 0.625vw, 12px);
  align-items: center;
  text-align: center;
}

.link-logo-img {
  height: clamp(32px, 3.7vw, 71px);
  width: clamp(170px, 19.69vw, 378px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.link-main-text {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(20px, 1.67vw, 32px);
  line-height: normal;
  color: #ffffff;
  white-space: pre;
  margin: 0;
}

.link-sub-text {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(20px, 1.67vw, 32px);
  line-height: normal;
  color: #ffffff;
  white-space: pre;
  margin: 0;
}

.link-title {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  line-height: normal;
  color: #000000;
  white-space: pre;
  text-align: center;
}

/* Footer */
.footer {
  width: 100%;
  padding: clamp(40px, 5vw, 80px) clamp(16px, 6.25vw, 120px);
  background: #172032;
  margin-top: clamp(60px, 8vw, 120px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 40px);
  max-width: 1920px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-logo-img {
  height: clamp(24px, 2vw, 32px);
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-columns {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  width: 50%;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1w, 8px);
  min-width: 0;
  flex: 1;
}

.footer-column-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(16px, 1.25vw, 20px);
  color: #ffffff;
  margin: 0 0 clamp(8px, 1vw, 12px) 0;
  font-weight: bold;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
  align-items: flex-start;
}

.footer-link {
  display: flex;
  align-items: center;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
  opacity: 0.8;
}

.footer-link:hover {
  opacity: 1;
  color: #ffffff;
}

.footer-link-icon {
  display: none;
}

.footer-copyright {
  text-align: left;
}

.footer-copyright p {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(12px, 0.83vw, 14px);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active .lightbox-overlay {
  opacity: 1;
}

.lightbox-container {
  position: relative;
  width: min(90vw, 1200px);
  height: min(90vh, 800px);
  background: rgba(255, 255, 255, 1);
  border-radius: clamp(8px, 1vw, 16px);
  padding: clamp(20px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-container {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: clamp(4px, 1vw, 12px);
  right: clamp(4px, 1vw, 12px);
  width: clamp(24px, 3vw, 32px);
  height: clamp(24px, 3vw, 32px);
  background: transparent;
  border: none;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: #2d2d2d;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: #003296;
}

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  gap: clamp(16px, 2vw, 24px);
}

/* PC 레이아웃: 좌측 큰 이미지, 우측 세로 리스트 */
.lightbox-main-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 12px);
}

.lightbox-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-thumbnails {
  width: clamp(120px, 15vw, 200px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 16px);
  overflow-y: auto;
  padding-right: clamp(4px, 0.5vw, 8px);
}

.lightbox-thumbnails::-webkit-scrollbar {
  width: clamp(4px, 0.5vw, 8px);
}

.lightbox-thumbnails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb:hover {
  background: #003296;
}

.lightbox-thumbnail {
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: clamp(4px, 0.5vw, 8px);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.lightbox-thumbnail:hover {
  border-color: #003296;
}

.lightbox-thumbnail.active {
  border-color: #2d2d2d;
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 모바일 레이아웃 */
@media (max-width: 768px) {
    .container{
    overflow-x: hidden;
}
        
  /* Header */
  .header {
    padding: 16px 20px;
  }

  .header-home-icon {
    width: 20px;
    height: 20px;
  }

  .header-logo {
    height: 24px;
    width: 120px;
  }

  .header-icons {
    padding: 8px 12px;
    gap: 8px;
  }

  .header-icon {
    width: 20px;
    height: 20px;
  }

  /* Hero Section */
  .hero {
    height: 100vh;
    min-height: 600px;
    padding: 80px 20px 40px;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
    gap: 12px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .hero-thumbnails {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-thumbnail {
    width: 80px;
    height: 80px;
    padding: 8px;
  }

  /* Promotion Banner */
  .promotion-banner {
    width: calc(100% - 40px);
    height: 200px;
    margin: 24px 20px 0;
    align-items: flex-end;
  }

  .promotion-content {
    padding: clamp(16px, 2vw, 24px);
    gap: 8px;
  }

  .promotion-title {
    font-size: clamp(20px, 2.08vw, 40px);
    line-height: 1.2;
  }

  .promotion-subtitle {
    font-size: clamp(13px, 1.3vw, 18px);
  }

  .promotion-cta {
    padding: clamp(10px, 1vw, 14px) clamp(14px, 1.4vw, 18px);
    font-size: clamp(13px, 1.3vw, 18px);
  }

  /* Product Section 공통 스타일 */
  .product-section {
    height: auto;
    margin-top: clamp(140px, 12vw, 200px);
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }

  .product-section-content {
    position: relative;
    z-index: 2;
    padding: 0;
    height: auto;
    flex: 1;
    min-width: 0;
    gap: 12px;
  }

  .product-code {
    font-size: 14px;
  }

  .product-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .product-price {
    font-size: 16px;
  }
  .product-buttons{
    gap: clamp(4px, 0.83vw, 16px);
  }
  .product-button,
  .product-button-outline {
    width: auto;
    max-width: 200px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .product-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* Silver Section */
  .silver-section {
    padding: 20px;
    overflow: visible;
  }

  .silver-section .product-section-content {
    position: relative;
    left: auto;
    right: auto;
    overflow: visible;
  }

  .silver-section .product-image {
    position: absolute;
    right: auto;
    top: auto;
    right:-15vw;
  }

  .silver-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 60vw;
  }

  /* Blue Section */
  .blue-section {
    padding: 20px;
    flex-direction: row-reverse;
    overflow: visible;
  }

  .blue-section .product-section-content {
    width: fit-content;
    position: relative;
    left: 40vw;
    right: auto;
    align-items: flex-start;
    overflow: visible;
  }
    .blue-section .product-section-content .product-buttons{
    width: 100%;
}
  .blue-section .product-section-content .product-buttons .product-button{
    max-width: 200px;
    width: 100%;
  }

  .blue-section .product-image {
    position: absolute;
    left: auto;
    top: auto;
    left: -15vw;
  }

  .blue-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 60vw;
  }

  /* Gold Section */
  .gold-section {
    padding: 20px;
    overflow: visible;
  }

  .gold-section .product-section-content {
    position: relative;
    left: auto;
    width: auto;
    max-width: none;
    overflow: visible;
  }

  .gold-section .product-image {
    position: absolute;
    right: auto;
    top: auto;
    right: -15vw;
  }

  .gold-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 60vw;
  }

  /* AQ-230 Series */
  .aq230-series {
    padding: 0 20px;
    margin-top: 40px;
    gap: 8px;
  }

  .aq230-series-title {
    font-size: clamp(12px, 1.5vw, 16px);
  }

  .aq230-products {
    gap: 12px;
    flex-wrap: wrap;
  }

  .aq230-product {
    aspect-ratio: 1/1;
    min-width: calc(50% - 6px);
    max-width: calc(50% - 6px);
  }

  .aq230-product-image {
    height: auto;
  }

  .aq230-product-code {
    font-size: clamp(12px, .8vw, 16px);
  }

  .aq230-product-price {
    font-size: clamp(10px, .8vw, 14px);
  }

  /* Link Container */
  .link-container {
    padding: 0 20px;
    margin-top: 40px;
    gap: 12px;
    flex-direction: column;
  }

  .link-item {
    min-width: 100%;
    width: 100%;
  }

  .link-box {
    height: 150px;
    padding: 20px;
  }

  .cafe-logo {
    width: 200px;
    height: 60px;
  }

  .link-background-icon {
    width: 180px;
    height: 180px;
    right: calc(50% - 90px);
    top: calc(50% - 90px);
    transform: translate(60px, 10px);
  }

  .link-logo-img {
    height: 40px;
    width: 200px;
  }

  .link-main-text,
  .link-sub-text {
    font-size: 18px;
  }

  .link-title {
    font-size: clamp(12px, 1vw, 16px);
  }

  /* Lightbox */
  .lightbox-container {
    width: 95vw;
    height: fit-content;
    padding: clamp(12px, 3vw, 20px);
  }

  .lightbox-content {
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
  }

  .lightbox-main-image {
    flex: 1;
    min-height: 0;
  }

  .lightbox-thumbnails {
    width: 100%;
    height: clamp(80px, 20vw, 120px);
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: clamp(4px, 1vw, 8px);
  }

  .lightbox-thumbnails::-webkit-scrollbar {
    height: clamp(4px, 1vw, 8px);
    width: auto;
  }

  .lightbox-thumbnail {
    min-width: clamp(80px, 20vw, 120px);
    aspect-ratio: 1;
  }

  /* Footer */
  .footer {
    padding: 40px 20px;
    margin-top: 60px;
  }

  .footer-content {
    gap: clamp(20px, 2vw, 24px);
  }

  .footer-logo-img {
    height: 20px;
  }

  .footer-columns {
    gap: clamp(12px, 2vw, 24px);
    width: 100%;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column-title {
    font-size: clamp(12px, .8vw, 14px);
    margin-bottom: clamp(4px, 1vw, 8px);
  }

  .footer-links {
    gap: clamp(4px, 1vw, 8px);
  }

  .footer-link {
    font-size: clamp(12px, .8vw, 14px);
  }

  .footer-copyright p {
    font-size: 11px;
  }
}

/* ============================================
   Cafe Page Styles
   ============================================ */

/* Cafe Hero Section */
.cafe-hero {
  position: relative;
  width: 100%;
  height: clamp(720px, 80vh, 1560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(40px, 3.125vw, 60px) clamp(16px, 6.25vw, 120px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  gap: clamp(20px, 1.25vw, 16px);
}

.cafe-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 1.25vw, 16px);
  width: 100%;
}


.cafe-hero-casio-logo {
  width: clamp(200px, 20.83vw, 400px);
  height: auto;
  opacity: 0;
  filter: brightness(0) invert(1);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cafe-hero-cafe-logo-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.cafe-hero-cafe-logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 100%, 1920px);
  height: calc(clamp(300px, 100%, 1920px) * 54 / 305);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: url(#cafeLogoClipPath);
  -webkit-clip-path: url(#cafeLogoClipPath);
  pointer-events: none;
  z-index: 0;
}

.cafe-hero-cafe-logo-container svg {
  width: clamp(300px, 100%, 1920px);
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  display: block;
  position: relative;
  z-index: 1;
}

.cafe-hero-cafe-logo {
  width: clamp(300px, 100%, 1920px);
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  display: block;
}

.cafe-hero-announcement {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1.6;
  color: white;
  word-break: keep-all;
  max-width: min(700px, 100%);
  opacity: 0;
}

/* Cafe Banner Section (상/하단 공통 사용) */
.cafe-banner,
.cafe-watch-section {
  width:calc(100% - clamp(16px, 6.25vw, 120px));
  height: clamp(320px, 28.65vw, 420px);
  margin: clamp(24px, 3.08vw, 59px) auto 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(16px, 2.5vw, 40px);
  position: relative;
}

.cafe-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.83vw, 12px);
}

.cafe-banner-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(32px, 2.92vw, 56px);
  line-height: 1.15;
  color: white;
}

.cafe-banner-subtitle {
  font-size: clamp(16px, 2.08vw, 24px);
  line-height: 1.15;
  color: white;
}

.cafe-banner-cta {
  margin-top: clamp(8px, 1vw, 14px);
  width: fit-content;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: clamp(10px, 0.8vw, 12px) clamp(16px, 1.4vw, 22px);
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.cafe-banner-cta:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.cafe-banner-cta:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* Cafe Info Section */
.cafe-info-section {
  padding: 0 clamp(16px, 6.25vw, 120px);
  margin-top: clamp(30px, 5.21vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5.21vw, 100px);
}

.cafe-sliders-container {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.08vw, 20px);
}

.cafe-gallery {
  width: 100vw;
  margin-left: calc(-1 * clamp(16px, 6.25vw, 120px));
}

.cafe-gallery-heading {
font-size: clamp(16px, 1.04vw, 20px);
    line-height: 1.15;
    color: #000000;
    font-weight: 700;
  margin: 0 0 clamp(10px, 2.08vw, 20px) clamp(16px, 6.25vw, 120px);
}

.cafe-gallery-container {
  display: flex;
  gap: clamp(12px, 0.83vw, 16px);
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.cafe-gallery-container:active {
  cursor: grabbing;
}

.cafe-gallery-container::-webkit-scrollbar {
  display: none;
}

.cafe-gallery-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cafe-gallery-item {
  flex: 0 0 clamp(300px, 31.25vw, 600px);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cafe-gallery-item:first-child {
  margin-left: clamp(16px, 6.25vw, 120px);
}

.cafe-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cafe-gallery-item:hover img {
  transform: scale(1.05);
}

.cafe-gallery-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(12px, 1.25vw, 20px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1.04vw, 18px);
  font-weight: 700;
}

/* Cafe Menu Slider */
.cafe-menu {
  width: 100vw;
  margin-left: calc(-1 * clamp(16px, 6.25vw, 120px));
  margin-top: 0;
}

.cafe-menu-heading {
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.15;
  color: #000000;
  font-weight: 700;
  margin: 0 0 clamp(10px, 2.08vw, 20px) clamp(16px, 6.25vw, 120px);
}

.cafe-menu-container {
  display: flex;
  gap: clamp(12px, 0.83vw, 16px);
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.cafe-menu-container:active {
  cursor: grabbing;
}

.cafe-menu-container::-webkit-scrollbar {
  display: none;
}

.cafe-menu-item {
  flex: 0 0 clamp(200px, 21.25vw, 400px);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cafe-menu-item:first-child {
  margin-left: clamp(16px, 6.25vw, 120px);
}

.cafe-menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cafe-menu-item:hover img {
  transform: scale(1.05);
}

.cafe-menu-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(12px, 1.25vw, 20px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(14px, 1.04vw, 18px);
  font-weight: 700;
}

.cafe-info {
  width: 100%;
}

.cafe-info-content {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.17vw, 80px);
  max-width: min(800px, 100%);
}

.cafe-info-item {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1.25vw, 8px);
}

.cafe-info-title {
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.15;
  color: #000000;
}

.cafe-info-text {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
  color: #444444;
}

/* Cafe Map Section */
.cafe-map-section {
  width: 100%;
  margin-top: clamp(30px, 5.21vw, 100px);
  padding: 0 clamp(16px, 6.25vw, 120px);
}

.cafe-map-container {
  width: 100%;
  height: clamp(200px, 32.08vw, 600px);
  position: relative;
  overflow: hidden;
}

.cafe-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cafe-watch-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.83vw, 12px);
}

.cafe-watch-title {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(32px, 2.92vw, 56px);
  line-height: 1.15;
  color: white;
}

.cafe-watch-subtitle {
  font-family: 'ONE Mobile Title', sans-serif;
  font-size: clamp(24px, 2.08vw, 40px);
  line-height: 1.15;
  color: white;
}

/* Cafe Page Mobile Styles */
@media (max-width: 768px) {
  .cafe-hero {
    height: 100vh;
    min-height: 600px;
    padding: 80px 20px 40px;
  }

  .cafe-hero-content {
    gap: 12px;
    flex-direction: column;
  }

  .cafe-hero-casio-logo {
    width: 180px;
  }

  .cafe-hero-cafe-logo {
    width: 280px;
  }

  .cafe-hero-announcement {
    font-size: 14px;
  }

  .cafe-banner {
    width: calc(100% - 40px);
    height: clamp(220px, 28.65vw, 320px);
    margin: 24px 20px 0;
    padding: 20px 20px;
  }

  .cafe-banner-title {
    font-size: 24px;
  }

  .cafe-banner-subtitle {
    font-size: 18px;
  }

  .cafe-info-section {
    padding: 0 20px;
    margin-top: 40px;
    gap: 40px;
  }

  .cafe-sliders-container {
    gap: 20px;
  }

  .cafe-gallery {
    margin-left: -20px;
  }

  .cafe-gallery-heading {
    font-size: clamp(16px, 1.5vw, 20px);
    margin: 0 0 16px 20px;
  }

  .cafe-gallery-item:first-child {
    margin-left: 20px;
  }

  .cafe-gallery-container {
    gap: 12px;
  }

  .cafe-menu {
    margin-left: -20px;
    margin-top: 0;
  }

  .cafe-menu-item:first-child {
    margin-left: 20px;
  }

  .cafe-menu-container {
    gap: 12px;
  }

  .cafe-gallery-item {
    flex: 0 0 280px;
  }

  .cafe-info-content {
    gap: 32px;
  }

  .cafe-info-title {font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.4;
  }

  .cafe-info-text {font-size: clamp(16px, 1.5vw, 20px);
  }

  .cafe-map-section {
    width: 100%;
    margin-top: 40px;
    padding: 0 20px;
  }

  .cafe-map-container {
    height: 300px;
  }

  .cafe-watch-title {
    font-size: 24px;
  }

  .cafe-watch-subtitle {
    font-size: 18px;
  }

  .cafe-watch-title {
    font-size: 24px;
  }

  .cafe-watch-subtitle {
    font-size: 18px;
  }
}

/* Cafe Gallery Lightbox */
.cafe-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.cafe-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cafe-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cafe-lightbox.active .cafe-lightbox-overlay {
  opacity: 1;
}

.cafe-lightbox-container {
  position: relative;
  width: min(90vw, 1400px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  gap: clamp(16px, 2vw, 24px);
}

.cafe-lightbox.active .cafe-lightbox-container {
  opacity: 1;
  transform: scale(1);
}

.cafe-lightbox-close {
  position: absolute;
  top: clamp(12px, 1.5vw, 20px);
  right: clamp(12px, 1.5vw, 20px);
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
  background: transparent;
  border: none;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: white;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafe-lightbox-close:not(.banner-modal-close):hover {
  color: rgba(255, 255, 255, 0.7);
}

.cafe-lightbox-prev,
.cafe-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
  background: transparent;
  border:none;
  color: white;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cafe-lightbox-prev {
  left: clamp(16px, 2vw, 32px);
}

.cafe-lightbox-next {
  right: clamp(16px, 2vw, 32px);
}

.cafe-lightbox-prev:hover,
.cafe-lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.cafe-lightbox-prev:active,
.cafe-lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

.cafe-lightbox-main-image {
  width: 100%;
  max-height: calc(90vh - clamp(120px, 15vw, 200px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cafe-lightbox-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: calc(90vh - clamp(120px, 15vw, 200px));
}

.cafe-lightbox-thumbnails {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: clamp(8px, 1vw, 12px);
  overflow-x: auto;
  padding: clamp(8px, 1vw, 12px) 0;
  justify-content: center;
}

.cafe-lightbox-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.cafe-lightbox-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cafe-lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.cafe-lightbox-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.cafe-lightbox-thumbnail {
  flex: 0 0 clamp(80px, 10vw, 120px);
  aspect-ratio: 4/3;
  border: 2px solid transparent;
  border-radius: clamp(4px, 0.5vw, 8px);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

.cafe-lightbox-thumbnail:hover {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.5);
}

.cafe-lightbox-thumbnail.active {
  opacity: 1;
  border-color: white;
}

.cafe-lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cafe Lightbox Mobile */
@media (max-width: 768px) {
  .cafe-lightbox-container {
    width: 95vw;
    gap: 12px;
  }

  .cafe-lightbox-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 32px;
  }

  .cafe-lightbox-prev,
  .cafe-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .cafe-lightbox-prev {
    left: 10px;
  }

  .cafe-lightbox-next {
    right: 10px;
  }

  .cafe-lightbox-main-image {
    max-height: calc(90vh - 100px);
  }

  .cafe-lightbox-main-image img {
    max-height: calc(90vh - 100px);
  }

  .cafe-lightbox-thumbnails {
    gap: 8px;
    padding: 8px 0;
  }

  .cafe-lightbox-thumbnail {
    flex: 0 0 70px;
  }
}

/* Cafe Menu Lightbox */
.cafe-menu-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.cafe-menu-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cafe-menu-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cafe-menu-lightbox.active .cafe-menu-lightbox-overlay {
  opacity: 1;
}

.cafe-menu-lightbox-container {
  position: relative;
  width: min(90vw, 1400px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  gap: clamp(16px, 2vw, 24px);
}

.cafe-menu-lightbox.active .cafe-menu-lightbox-container {
  opacity: 1;
  transform: scale(1);
}

.cafe-menu-lightbox-close {
  position: absolute;
  top: clamp(12px, 1.5vw, 20px);
  right: clamp(12px, 1.5vw, 20px);
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
  background: transparent;
  border: none;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: white;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafe-menu-lightbox-close:not(.banner-modal-close):hover {
  color: rgba(255, 255, 255, 0.7);
}

.cafe-menu-lightbox-prev,
.cafe-menu-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
  background: transparent;
  border: none;
  color: white;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cafe-menu-lightbox-prev {
  left: clamp(16px, 2vw, 32px);
}

.cafe-menu-lightbox-next {
  right: clamp(16px, 2vw, 32px);
}

.cafe-menu-lightbox-prev:hover,
.cafe-menu-lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.cafe-menu-lightbox-main-image {
  width: 100%;
  max-height: calc(90vh - clamp(200px, 25vw, 300px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cafe-menu-lightbox-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: calc(90vh - clamp(200px, 25vw, 300px));
}

.cafe-menu-lightbox-content {
  width: 100%;
  max-width: min(90vw, 800px);
  text-align: center;
  color: white;
}

.cafe-menu-lightbox-title {
  font-size: clamp(16px, 2.08vw, 24px);
  line-height: 1.15;
  color: white;
  margin: 0 0 clamp(12px, 1.25vw, 20px) 0;
}

.cafe-menu-lightbox-description {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(12px, 1.04vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  white-space: pre-line;
}

.cafe-menu-lightbox-thumbnails {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: clamp(8px, 1vw, 12px);
  overflow-x: auto;
  padding: clamp(8px, 1vw, 12px) 0;
  justify-content: center;
}

.cafe-menu-lightbox-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.cafe-menu-lightbox-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cafe-menu-lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.cafe-menu-lightbox-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.cafe-menu-lightbox-thumbnail {
  flex: 0 0 clamp(80px, 10vw, 120px);
  aspect-ratio: 3/4;
  border: 2px solid transparent;
  border-radius: clamp(4px, 0.5vw, 8px);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

.cafe-menu-lightbox-thumbnail:hover {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.5);
}

.cafe-menu-lightbox-thumbnail.active {
  opacity: 1;
  border-color: white;
}

.cafe-menu-lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cafe Menu Lightbox Mobile */
@media (max-width: 768px) {
  .cafe-menu-lightbox-container {
    width: 95vw;
    gap: 12px;
  }

  .cafe-menu-lightbox-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 32px;
  }

  .cafe-menu-lightbox-prev,
  .cafe-menu-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .cafe-menu-lightbox-prev {
    left: 10px;
  }

  .cafe-menu-lightbox-next {
    right: 10px;
  }

  .cafe-menu-lightbox-main-image {
    max-height: calc(90vh - 180px);
  }

  .cafe-menu-lightbox-main-image img {
    max-height: calc(90vh - 180px);
  }

  .cafe-menu-lightbox-title {
    font-size: clamp(12px, .8vw, 16px);
    margin-bottom: 4px;
  }

  .cafe-menu-lightbox-description {
    font-size: clamp(12px, 0.8vw, 16px);
  }

  .cafe-menu-lightbox-thumbnails {
    gap: 8px;
    padding: 8px 0;
  }

  .cafe-menu-lightbox-thumbnail {
    flex: 0 0 70px;
  }
}

/* Banner Modal */
.banner-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.banner-modal.active {
  opacity: 1;
  visibility: visible;
}

.banner-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banner-modal.active .banner-modal-overlay {
  opacity: 1;
}

.banner-modal-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
  max-height: 95vh;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.banner-modal.active .banner-modal-container {
  opacity: 1;
  transform: scale(1);
}

.banner-modal-close {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  right: clamp(20px, 3vw, 40px);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #333;
}

.banner-modal-close:hover {
  background: white;
  transform: rotate(90deg);
}

.banner-modal-content {
  display: flex;
  flex-direction: column;
  max-height: 95vh;
  overflow-y: auto;
}

.banner-modal-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.banner-modal-text {
  padding: clamp(24px, 3vw, 40px);
}

.banner-modal-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #000;
}

.banner-modal-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.banner-modal-body {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.8;
  color: #333;
}

.banner-modal-code {
  background: #0b00d6;
  padding: clamp(10px, 1.25vw, 12px);
  border-radius: clamp(4px, 0.5vw, 8px);
  margin: clamp(10px, 1vw, 12px) 0;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  color: #000;
}
.banner-callout {
    background: #f6f6f6;
    padding: clamp(10px, 1.25vw, 12px) clamp(16px, 1.25vw, 24px);
    border-radius: clamp(4px, 0.5vw, 8px);
    margin: clamp(16px, 2vw, 24px) 0;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 700;
    color: #000;
}
.banner-modal-code h3 {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.banner-modal-body h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: #000;
  margin-bottom: clamp(10px, 1vw, 12px);
}

.banner-modal-body h3 {
  font-size: clamp(18px, 1.75vw, 20px);
}

.banner-modal-body h4 {
  font-size: clamp(16px, 1.5vw, 18px);
}
.banner-modal-body p {
  margin: 0 0 16px 0;
}

.banner-modal-body ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}

.banner-modal-body li {
  margin: 2px 0;
}

/* 모바일: 바텀시트 형태 */
@media (max-width: 768px) {
  .banner-modal {
    align-items: flex-end;
    justify-content: center;
  }

  .banner-modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-bottom: clamp(30px, 4vw, 50px);
  }

  .banner-modal.show .banner-modal-container {
    opacity: 1;
    transform: translateY(0);
  }

  .banner-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .banner-modal-image {
    max-height: 300px;
  }

  .banner-modal-text {
    padding: 24px 20px;
  }
}

/* =========================
   SPA 뷰 토글 (index.html 단일 페이지용)
   ========================= */
.spa-view {
  display: none;
}

.spa-view.active {
  display: block;
}

/* =========================
   SPA 전환 페이드 (hash 라우팅)
   ========================= */
.spa-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 10002; /* .banner-modal(10001) 보다 위 */
}

.spa-transition.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .spa-transition {
    transition: none;
  }
}
