/** Shopify CDN: Minification failed

Line 50:19 Expected identifier but found whitespace
Line 50:21 Unexpected "{"
Line 50:30 Expected ":"
Line 51:10 Expected identifier but found whitespace
Line 51:12 Unexpected "{"
Line 51:21 Expected ":"
Line 69:10 Expected identifier but found whitespace
Line 69:12 Unexpected "{"
Line 69:21 Expected ":"

**/
/* 全屏图片基础样式 */
.fullscreen-image-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.fullscreen-image-wrapper {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  text-decoration: none;
}

.fullscreen-image {
  width: 100%;
  height: auto;
  display:block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

/* 鼠标悬停时的缩放动画 */
.fullscreen-image-wrapper:hover .fullscreen-image {
  transform: scale(1.05);
}

/* 遮罩层样式 */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: {{ section.settings.overlay_color | default: '#000000' }};
  opacity: {{ section.settings.overlay_opacity | default: 20 | divided_by: 100.0 }};
  transition: opacity 0.4s ease;
  display: flex;

  /* 靠上 */
  align-items: flex-start;
  padding-top: 80px;   /* 加 padding 避免贴顶，数值自己调 */

  align-items: center;

  /* 靠下 */
  align-items: flex-end;
  padding-bottom: 300px;  /* 避免贴底 */

  justify-content: flex-start;
}

.fullscreen-image-wrapper:hover .image-overlay {
  opacity: {{ section.settings.overlay_opacity | default: 20 | times: 1.5 | divided_by: 100.0 }};
}

/* 文字内容样式 */
.overlay-content {
  text-align: left;
  color: #fff;
  transform: translateY(20px);
  transition: all 0.5s ease;
  padding: 80px 0 0 50px;
  max-width: 800px;
}

.fullscreen-image-wrapper:hover .overlay-content {
  transform: translateY(0);
}

.overlay-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  margin: 0 0 1rem 0;
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
  animation-delay: 0.2s;
}

.overlay-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin: 0 0 2rem 0;
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
  animation-delay: 0.4s;
}

.overlay-button {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
  animation-delay: 0.6s;
  transition: all 0.3s ease;
}

.fullscreen-image-wrapper:hover .overlay-button {
  background: #000;
  color: #fff;
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .fullscreen-image-section {
    height: auto;
  }
}

.placeholder-image {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
}

/* 让全屏图片向上偏移，与标头重叠 */
.fullscreen-image-section {
  margin-top: calc(-1 * var(--header-height));
}
/* 手机端修复：取消负 margin，避免与 header 重叠 */
/* ===== 手机端适配（唯一版本）===== */
@media screen and (max-width: 749px) {
  .fullscreen-image-section {
    margin-top: 0;
  }

  .fullscreen-image-wrapper {
    height: 70vh !important;
  }

  picture {
    display: block;
    height: 100%;
    width: 100%;
  }

  .fullscreen-image {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: 70% 20%; /* ← 调这里控制显示区域 */
  }

  .image-overlay {
    align-items: center;
    padding-bottom: 0;
    justify-content: center;
  }

  .overlay-content {
    padding: 20px;
    max-width: 100%;
    text-align: center;
  }

  .overlay-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .overlay-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
}
