/* style.css */
@font-face {
  font-family: "Pretendard";
  src: url("/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #242424;
  --muted: #727272;
  --accent: #ec1b3b;
  --new: #ff724c;
  --dark: #221E1F;
  --line: #dedede;
  --surface: #fff;
  --max: 1728px;
  --header-bottom: 160px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
  font-family: 'pretendard';
}
body {
  margin: 0 auto;
  color: var(--ink);
  font-family: 'pretendard';
  word-break: keep-all;
  letter-spacing: -2% !important;
}
body.modal-open {
  overflow: hidden;
}
body.mall-renewal.modal-open.fixed {
  width: var(--popup-page-width, 100%);
}
html.mall-popup-open {
  scroll-behavior: auto;
}
button,
input {
  font: inherit;
  font-family: 'pretendard';
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font-family: 'pretendard';
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
img[src="play_shorts.svg"],
img[src$="/play_shorts.svg"] {
  left: 4px;;
}
.ui-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
a:hover {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #078c79;
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ui-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 20px;
}
.main-new #contents {
  padding:unset;
}
/* PC 새 공통 헤더는 공간을 차지하므로 기존 고정 헤더용 상단 여백 제거 */
#wrap:has(> .common-header-scope) #contents {
  padding-top: 0;
}
/* PC 로그인 페이지 상단 여백 조정 */
#wrap.member.login #contents {
  padding-top: 0;
}
#wrap.member.login .inner .con-area {
  margin-top: 60px;
}
.container {
  width: 90%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}
.section {
  padding-block: 100px;
}
.section-heading {
  font-weight: 700;
  margin-bottom: 42px;
}
.centered {
  text-align: center;
}
.section-subtitle {
  font-size: 17px;
  color: #666;
  margin-top: 12px;
}
.dark {
  background: var(--dark);
  color: #fff;
}
.icon-button {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}
.icon-button .ui-icon {
  width: 25px;
  height: 25px;
}
.text-button {
  font-size: 14px;
  color: var(--muted);
}
.pill {
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  margin-right: 4px;
}
.outline-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;  
  min-height: 50px;
  padding: 18px 65px;
  font-size: 20px;
  font-weight: 700;
  position: relative;
}
.outline-button {
  border: 1px solid currentColor;
}
.solid-button {
  background: var(--ink);
  color: #fff;
}
/* .muted {
  opacity: 0.65;
} */
.promo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 14px;
}
.promo > a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 22px;
}
.promo img {
  width: auto;
  height: 100%;
  max-height: 60px;
  object-fit: cover;
}
#promo-image {
  width: 100%;
  height: auto;
  max-height: none;
}
.promo > button {
  position: absolute;
  right: 17%;
  color: #777;
}
.header-main {
  height: 88px;
  padding-inline: 2.5%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 29px;
  line-height: 29px;
  font-weight: 900;
}
.brand-i {
  color: #dd3153;
}
.mall {
  color: #ed553e;
  font-weight: 600;
  font-size: 0.95em;
  margin-left: 3px;
}
.brand-switch {
  position: relative;
  display: flex;
  background: #efefef;
  border-radius: 30px;
  width: 242px;
  height: 40px;
  padding: 2px;
  isolation: isolate;
}
.brand-switch button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  font-size: 16px;
  color: #c0c0c0;
  border-radius: 30px;
  position: relative;
  transition: color 0.4s;
}
.brand-switch button[aria-pressed="true"] {
  color: #fff;
}
.switch-thumb {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(50% - 2px);
  background: #242424;
  border-radius: 30px;
  z-index: -1;
  transition:
    transform 0.45s var(--ease),
    background 0.45s;
}
.photo-mode .switch-thumb {
  transform: translateX(100%);
  background: var(--accent);
}
.instax-word {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
}
.main-new .site-header .tooltip {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 5px);
  border-radius: 6px;
  background: #24242495;
  color: #fff;
  font-size: 14px;
  padding: 8px 10px;
  white-space: nowrap;
  line-height: 20px;;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 60;
  transition: 0.18s;
  text-align: center;
}
.with-tooltip {
  position: relative;
}
.with-tooltip:hover .tooltip,
.with-tooltip:focus-visible .tooltip,
.brand-switch button:hover .tooltip,
.brand-switch button:focus-visible .tooltip,
.header-tools #search-toggle:hover .tooltip{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

#search-toggle .tooltip {
  top: calc(100% + 8px)
}

.count-dot {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 20px;
  min-width: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 4px 0px 4px;
}
.account-wrap {
  position: relative;
}
.account-wrap .ui-icon.my{
  top: 0px; 
  position: relative;
}
.account-panel {
  position: absolute;
  right: -50px;
  top: 52px;
  width: 130px;
  background: #fff;
  border: 1px solid #767676;
  padding: 20px;
  display: grid;
  gap: 10px;
  z-index: 43;
}
.account-panel button {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -2%;
  color: #464646;
}
/* .account-panel button:hover {
  color: var(--accent);
} */
.main-nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: 2.5%;
  font-size: 18px;
}
.nav-categories {
  display: flex;
  gap: 40px;
}
.nav-categories button {
  white-space: nowrap;
  padding-block: 24px;
}
/* .nav-categories button[aria-expanded="true"] {
  color: var(--accent);
} */
.main-nav > a {
  position: relative;
  white-space: nowrap;
}
.red-dot:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  right: -7px;
  top: -2px;
  border-radius: 50%;
}
.nav-divider {
  height: 17px;
  width: 1px;
  background: #ddd;
  margin-inline: 4px;
}
.nav-services {
  margin-left: auto;
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}
.recruit {
  position: relative;
  background: #01916D;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  margin-left: 3px;
  letter-spacing: -2%;
  top: -2px;
}
.header-scrim {
  position: fixed;
  inset: var(--header-bottom) 0 0;
  background: #0006;
  z-index: 35;
  width: 100%;
  cursor: default;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23%;
  min-height: 450px;
  box-shadow: 0 6px 8px #00000005;
  border-top: 1px solid #efefef;
}
.mega-columns {
  padding: 50px 3.2%;
  display: flex;
  /* grid-template-columns: repeat(8, minmax(0, 1fr)); */
  gap: 22px;
}
.mega-column h2 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -2%;
  margin-bottom: 20px;
}
.mega-column a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -2%;
  color: #242424;
  margin: 8px 0;
}

.main-new .mega-column h2 > a {
  display: inline-flex;
  align-items: center;
  gap: inherit;

  /* h2의 글자 크기·굵기·행간 상속 */
  font: inherit;
  letter-spacing: inherit;
  color: inherit;

  /* 목록 링크용 여백 초기화 */
  margin: 0;
  text-decoration: none;
}

.main-new .mega-column h2 .ui-icon,
.main-new .mega-column h2 > a .ui-icon {
  position: relative;
  flex-shrink: 0;

  width: calc(24em / 18);
  height: calc(24em / 18);
  top: calc(2.9em / 18);
}

.mega-feature {
  /* padding: 50px 0; */
  background: #f3f3f3;
  display: grid;
  align-content: center;
}
.mega-feature > img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}
.mega-feature > p {
  font-size: 16px;
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: -2%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;;
}
/* 긴 문구가 내부 Grid 열을 넓히지 않도록 제한 */
.main-new #mega-feature {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.main-new #mega-feature > .pc-gnb-banner {
  width: 100%;
  min-width: 0;
}

/* 이미지는 정해진 부모 너비에 맞춤 */
.main-new #mega-feature img[data-mega-promotion] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1.1;
  object-fit: cover;
}

/* 문구는 지정한 너비 안에서 말줄임 */
.main-new #mega-feature p[data-mega-promotion] {
  box-sizing: border-box;
  width: min(100%, 18.2em);
  min-width: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 0;
  text-align: center;
  padding: 10px;
}
.service-grid button {
  display: grid;
  justify-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -2%;
}
.service-grid .service-icon {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
}
.service-icon .ui-icon {
  width: 40px;
  height: 40px;
}
.search-panel {
  position: absolute;
  right: 8%;
  top: 74px;
  background: white;
  width: 470px;
  max-height: calc(100dvh - 105px);
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 15px 30px #00000012;
  z-index: 44;
}
/* 기존 매장 페이지의 section 위치 설정보다 공통 헤더 검색창 설정을 우선한다. */
.main-new .site-header > .search-panel {
  position: absolute;
}
.search-field {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.search-field input::placeholder {
  color: #797676;
}
.search-panel h2 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}
.search-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.recent-searches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.search-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  gap: 6px;
}
.search-chip > button {
  padding: 5px 9px;
}
.search-chip > .remove-chip {
  padding: 5px 7px;
  color: #999;
}
.popular-searches {
  counter-reset: popular;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin: 22px 0 40px;
}
.popular-searches li {
  counter-increment: popular;
  font-size: 15px;
  display: flex;
  gap: 13px;
}
.popular-searches li:before {
  content: counter(popular) ".";
  color: #767676;
  font-weight: bold;
}
.popular-searches li:nth-child(-n + 3):before {
  color: var(--accent);
}
.main-new .stores {
  display: grid;
  gap: 16px;
}
.main-new .stores .store {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
}
.main-new .stores .store img {
  width: 70px;
  height: 50px;
  object-fit: cover;
}
.main-new .stores .store div {
  flex: 1;
}
.main-new .stores .store strong {
  display: block;
  font-size: 16px;
  line-height: 16px; 
}
.main-new .stores .store small {
  font-size: 13px;
  color: #929292;
  letter-spacing: -2%;
}
.main-new .stores .store .ui-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.search-close {
  display: block;
  margin: 20px 0 0 auto;
}
.hero {
  height: clamp(340px, 26.55vw, 510px);
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  transform: translateX(100%);
  visibility: hidden;
  background:
    linear-gradient(to bottom, transparent 71%, #b4b1c5 71%),
    linear-gradient(115deg, #998b84, #a59bbb 52%, #7cbbd8);
}
.hero-slide.active {
  transform: translateX(0);
  visibility: visible;
  z-index: 1;
}
.hero-slide > img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  margin-left: 12%;
  top: 13%;
  max-width: 500px;
  z-index: 2;
}
.hero-copy h2 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 400;
  margin-top: 22px;
}
.hero-copy h2 strong {
  font-weight: 700;
}
.hero-copy p {
  font-size: 20px;
  line-height: 20p;
  margin-top: 21px;
}
.hero-controls {
  position: absolute;
  bottom: 11%;
  left: 11.2%;
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 3;
  font-size: 14px;
  line-height: 14px;
}
.hero-controls .muted {
  margin-left: 10px;
}
.hero-controls .ui-icon {
  width: 14px;
  height: 14px;
}
.hero-controls .icon-button {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.quick-menu {
  padding-block: 62px 140px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 12px 10px;
  max-width: 1150px;
}
.quick-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 5px 13px 5px 5px;
  border: 1px solid #d7d7d7;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
/* .quick-link:hover {
  background: #fafafa;
  transform: translateY(-2px);
} */
.quick-image {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.quick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bestsellers {
  padding-top: 0;
}
.carousel-shell {
  position: relative;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.carousel-arrow .ui-icon {
  height: 32px;
  width: 26px;
}
.carousel-arrow.previous {
  left: -3.8vw;
}
.carousel-arrow.next {
  right: -3.8vw;
}
.product-grid {
  display: grid;
  gap: 20px;
}
.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card {
  min-width: 0;
}
.product-image {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f7f7f7;
}
.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 330 / 330;
  transition: transform 0.55s var(--ease);
  border: 1px solid #efefef;
}
.main-new .product-image .over {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
}
.main-new .product-image .over img {
  width: 100%;
  height: 100%;  
  object-fit: cover;
  border: 1px solid #efefef;
}
.main-new .product-image:hover .over,
.main-new .product-image:focus-visible .over {
  opacity: 1;
}
.main-new .product-image .txt-soldout,
.main-new .product-image .txt-marketing,
.main-new .collection-products .mini-photo .txt-soldout,
.main-new .collection-products .mini-photo .txt-marketing {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  padding: 5px;
  color: #fff;
  text-align: center;
}
.main-new .product-image .txt-soldout,
.main-new .collection-products .mini-photo .txt-soldout {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  background-color: rgba(34, 30, 31, 0.5);
}
.main-new .product-image .txt-soldout .txt-waiting,
.main-new .collection-products .mini-photo .txt-soldout .txt-waiting {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  color: #22fe9e;
  font-family: "NotoSansKR";
  font-size: 15px;
  font-weight: 400;
}
.main-new .product-image .txt-soldout .txt-waiting::before,
.main-new .collection-products .mini-photo .txt-soldout .txt-waiting::before {
  position: absolute;
  top: 5px;
  left: 0;
  margin: 0 10px;
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
  content: "";
}
.main-new .product-image .txt-marketing::before,
.main-new .collection-products .mini-photo .txt-marketing::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #ec1b3b, #ff724c);
  content: "";
  opacity: 0.7;
}
.main-new .product-image .txt-marketing span,
.main-new .collection-products .mini-photo .txt-marketing span {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.main-new .product-image .txt-marketing-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  z-index: 3;
}
.main-new .collection-products .mini-photo {
  position: relative;
  display: block;
  overflow: hidden;
}
.main-new .collection-products .mini-photo .txt-marketing-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  z-index: 3;
}
.main-new .product-image .txt-marketing-wrap::before,
.main-new .collection-products .mini-photo .txt-marketing-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgb(248, 248, 248);
  background: linear-gradient(300deg, rgba(248, 248, 248, 1) 0%, rgba(222, 217, 217, 0.8995973389355743) 100%);
  content: "";
}
.main-new .product-image .txt-marketing-wrap .ic-exclusive,
.main-new .collection-products .mini-photo .txt-marketing-wrap .ic-exclusive {
  display: inline-flex;
  align-items: center;
  height: 19.87px;
  padding: 0 6px 0 5px;
  border-radius: 30px;
  background: #ec1b3b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.main-new .product-image .txt-marketing-wrap .ic-exclusive.border,
.main-new .collection-products .mini-photo .txt-marketing-wrap .ic-exclusive.border {
  border: 1px solid #ec1b3b;
  background: none;
  color: #ec1b3b;
}
.main-new .product-image .txt-marketing-wrap .ic-percent,
.main-new .collection-products .mini-photo .txt-marketing-wrap .ic-percent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 20px;
  background: url(/images/w/goods/percent_bg.png) center no-repeat;
  background-size: cover;
}
.main-new .product-image .txt-marketing-wrap .ic-percent .per-txt,
.main-new .collection-products .mini-photo .txt-marketing-wrap .ic-percent .per-txt {
  display: flex;
  align-items: baseline;
  color: #fff;
  font-size: 8px;
  line-height: 1;
  text-align: center;
}

.main-new .product-image .txt-marketing-detail,
.main-new .collection-products .mini-photo .txt-marketing-detail {
  margin-left: 6px;
}
.main-new .product-image .txt-marketing-detail .top,
.main-new .collection-products .mini-photo .txt-marketing-detail .top {
  color: #ec1b3b;
  font-size: 15px;
}
.main-new .product-image .txt-marketing-detail .top strong,
.main-new .collection-products .mini-photo .txt-marketing-detail .top strong {
  font-weight: 700;
}
.main-new .product-image .txt-marketing-detail .top em,
.main-new .collection-products .mini-photo .txt-marketing-detail .top em {
  display: inline-block;
  margin-left: 5px;
  font-family: "karla";
  font-size: 18px;
}

/* Compact sale ribbon for CURATION_GROUP thumbnails only. */
.main-new .curation-group-section .mini-photo .txt-marketing-wrap {
  height: 23px;
  padding: 0 3px;
  font-size: 11px;
  line-height: 22px;
}
.main-new .curation-group-section .mini-photo .txt-marketing-wrap > i { flex: 0 0 auto; }
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .ic-exclusive {
  height: 14px;
  padding: 0 4px;
  font-size: 7px;
  line-height: 12px;
  white-space: nowrap;
}
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .icon { width: 10px; height: 11px; }
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .icon .ic-clock { width: 100%; height: 100%; }
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .ic-percent { width: 18px; height: 14px; }
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .ic-percent .per-txt { font-size: 5px; }
.main-new .curation-group-section .mini-photo .txt-marketing-wrap .ic-percent .per-num { font-size: 7px; }
.main-new .curation-group-section .mini-photo .txt-marketing-detail { min-width: 0; margin-left: 3px; }
.main-new .curation-group-section .mini-photo .txt-marketing-detail:only-child { margin-left: 0; }
.main-new .curation-group-section .mini-photo .txt-marketing-detail .top {
  display: block;
  font-size: 11px;
  line-height: 22px;
  white-space: nowrap;
}
.main-new .curation-group-section .mini-photo .txt-marketing-detail .top strong { font-size: inherit; line-height: inherit; }
.main-new .curation-group-section .mini-photo .txt-marketing-detail .top em { margin-left: 3px; font-size: 13px; line-height: 22px; }
.main-new .curation-group-section .mini-photo .txt-marketing,
.main-new .curation-group-section .mini-photo .txt-soldout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 23px;
  padding: 0 3px;
  overflow: hidden;
  font-size: 11px;
  line-height: 23px;
  white-space: nowrap;
}
.main-new .curation-group-section .mini-photo .txt-marketing > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-new .curation-group-section .mini-photo .txt-soldout .txt-waiting {
  min-width: 0;
  padding-left: 6px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-new .curation-group-section .mini-photo .txt-soldout .txt-waiting::before {
  top: 50%;
  left: 2px;
  height: 10px;
  margin: 0;
  transform: translateY(-50%);
}

.main-new .badge {
    position: absolute;
    left: 1px;
    top: 3px;
    background: #242424;
    color: #fff;
    font-size: 13px;
    line-height: 13px;
    font-weight: 700;
    padding: 8px 12px;
    z-index: 2;
}
.main-new .badge.new {
  background: var(--new);
}
.product-name {
  display: block;
  margin-top: 19px;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: min(100%, 17.9em);
}

.main-new .collection-products .product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;

  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-width: 0;
}

.price {
  display: flex;
  gap: 7px;
  font-weight: 700;
  font-size: 19px;
  line-height: 19px;
  margin-top: 6px;
}
.discount {
  color: var(--accent);
  margin-right: 7px;
}
.photobooks {
  padding-block: 92px 100px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.book-card {
  min-width: 0;
  perspective: 1500px;
}
.book-inner {
  aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  margin: 60px 0;
}
.book-card:not(.featured) .book-front {
  filter: brightness(0.58);
}
.book-front,
.book-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.book-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-back {
  transform: rotateY(180deg);
  background: #f5f3ed;
  color: #333;
  padding: 14%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.book-back h3 {
  font-size: 22px;
}
.book-back > p {
  font-size: 15px;
  color: #666;
}
.book-back .book-review {
  height: 40%;
  flex-shrink: 0;
  overflow: auto;
  overscroll-behavior: contain;
  font-size: 16px;
  line-height: 24px;
  border-block: 1px solid #ddd;
  margin-top: 8px;
}
.book-back .outline-button {
  margin-top: auto;
  min-height: 40px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  border: 1px solid #242424;
}

/* 앞면 이미지와 뒷면 배경을 동일하게 설정 */
.main-new .book-card[data-book-id="book-analog"] {
  --book-image: url("https://resources.fujifilm.co.kr/upload/img/main/w/books/analog.png");
}
.main-new .book-card[data-book-id="book-summer"] {
  --book-image: url("https://resources.fujifilm.co.kr/upload/img/main/w/books/summer.png");
}
.main-new .book-card[data-book-id="book-travel"] {
  --book-image: url("https://resources.fujifilm.co.kr/upload/img/main/w/books/travel.png");
}

/* 기본 상태에서 앞면이 보이도록 복원 */
.main-new .book-card .book-front {
  isolation: auto;
  background: none;
  filter: none;
  opacity: 1;
}

/* 이전에 추가한 앞면 배경 레이어 제거 */
.main-new .book-card .book-front::before {
  content: none;
}

/* 앞면 이미지는 불투명도 80%로 표시 */
.main-new .book-card .book-front > img {
  display: block;
  visibility: visible;
  /* opacity: 0.8; */
}

.book-label {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  margin: 24px auto 0;
  max-width: 100%;
}
.flip-control {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.book-back .flip-control {
  inset: auto 12px 12px auto;
  width: 35px;
  height: 35px;
  font-size: 20px;
}
.book-card.is-flipped .book-inner {
  transform: rotateY(180deg);
}
.photo-space {
  display: grid;
  grid-template-columns: 37% minmax(0, 1fr);
  gap: 60px;
  align-items: stretch;
}
.photo-space .section-heading {
  line-height: 38px !important;
}
.space-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* 이미지와 hover 정보를 담는 영역 */
.space-photo-hover {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 640;
  align-self: start;
  overflow: hidden;
}

.space-photo-hover > .space-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 하단 검정 80% → 상단 투명 */
.space-photo-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0) 75%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 우하단 상품명과 가격 */
.space-photo-hover .space-photo-info {
  position: absolute;
  right: 30px;
  bottom: 36px;
  z-index: 2;
  color: #fff;
  text-align: right;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.space-photo-hover .space-photo-name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

.space-photo-hover .space-photo-price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.space-photo-hover .space-photo-price .won {
  font-size: 15px;
  font-weight: 400;
  margin-left: -4px;
}

.space-photo-hover .space-photo-price strong {
  font-weight: 700;
}

/* 마우스 hover 또는 키보드 포커스 */
.space-photo-hover:hover::after,
.space-photo-hover:focus-within::after,
.space-photo-hover:hover .space-photo-info,
.space-photo-hover:focus-within .space-photo-info {
  opacity: 1;
}

.space-photo-hover:hover .space-photo-info,
.space-photo-hover:focus-within .space-photo-info {
  transform: translateY(0);
}
.space-content {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 60px;
}
.space-content .section-heading {
  margin: 0;
}
.collections {
  padding-top: 90px;
}
.collections .section-heading,
.reviews .section-heading,
.shorts .section-heading {
  margin-bottom: 22px;
}
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 19px;
  white-space: nowrap;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
.filter-tabs button[aria-pressed="true"] {
  background: #242424;
  color: #fff;
  border-color: #242424;
}
.dark .filter-tabs button {
  background: #434343;
  border-color: #434343;
  color: #d5d5d5;
}
.dark .filter-tabs button[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: #242424;
  font-weight: 600;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.collection-card {
  border-radius: 30px;
  overflow: hidden;
}
.collection-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1.47;
  display: block;
  text-align: left;
  overflow: hidden;
}
.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 72%);
}
.collection-copy {
  position: absolute;
  bottom: 30px;
  left: 36px;
  right: 24px;
  color: #fff;
  z-index: 1;
}
.collection-copy h3 {
  font-size: 25px;
  line-height: 25px;
  font-weight: 600;
}
.collection-copy p {
  font-size: 16px;
  margin-top: 9px;
}
.collection-products {
  padding: 20px;
  display: grid;
  gap: 20px;
}
.mini-product {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.mini-product > .mini-photo {
  width: 27%;
  max-width: 150px;
  flex-shrink: 0;
}
.mini-photo img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;  
  border: 1px solid #efefef; 
}
.collections .mini-photo img {
  border: 1px solid #efefef;  
}
.mini-product-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.mini-category {
  font-size: 13px;
  font-weight: 700;
}
.mini-product .product-name {
  white-space: normal;
  margin-top: 5px;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-product .price {
  font-size: 18px;
  margin-top: 3px;
}
.favorite-button {
  width: 30px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.favorite-button .ui-icon {
  width: 23px;
  height: 23px;
}
.favorite-button[aria-pressed="true"] {
  color: var(--accent);
}
.favorite-button[aria-pressed="true"] .ui-icon {
  fill: var(--accent);
}
.reviews {
  padding-bottom: 100px;
}

.reviews .filter-tabs,
.shorts .filter-tabs {
  margin-bottom: 0 !important;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.review-card {
  perspective: 1000px;
  min-width: 0;
}
.review-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s;
  aspect-ratio: 0.71;
  border-radius: 20px;
}
.review-front,
.review-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  color: #242424;
}
.review-front > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.review-front-copy {
  padding: 22px 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -2%;
}
.review-front-copy strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.review-front-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-back {
  transform: rotateY(180deg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  background-image: linear-gradient(#ffffff, #ffffff95), var(--book-image);
    background-size: cover;
    justify-content: flex-end;
  
}

.review-back .stars {
  color: var(--accent);
  font-size: 19px;
  letter-spacing: 2px;
}
.review-back p {
  font-size: 16px;
  overflow: auto;
  line-height: 24px;
  height: fit-content;
  max-height: 30%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  width: 100%;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
}
.review-back small {
  color: #888;
}
.review-back > button {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  gap: 0;
}

.review-back .outline-button:hover {
  background-color: #242424;
  color: #ffffff;
  border: 1px solid #242424;
}

.review-back .outline-button .ui-icon {
  filter: brightness(1) invert(0) !important;
}

.review-back .outline-button:hover > .ui-icon {
  content: url("https://resources.fujifilm.co.kr/upload/img/main/w/icons/more.png");
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.review-back > button:hover .ui-icon {
  content: "(https://resources.fujifilm.co.kr/upload/img/main/w/icons/more.png)";
  filter: brightness(0) invert(1) !important;
}
.review-card.is-flipped .review-inner {
  transform: rotateY(180deg);
}
.carousel-track {
  height: 2px;
  background: #a5a0a1;
  /* margin-top: 57px; */
}
.carousel-track span {
  height: 2px;
  background: var(--accent);
  display: block;
  width: 53%;
  transition:
    transform 0.4s,
    width 0.4s;
}
.launch-grid {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 60px;
}
.launch-film {
  position: relative;
  align-self: start;
  overflow: hidden;
}
.launch-film img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.launch-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 62px;
  width: 62px;
  border-radius: 50%;
  background: #0007;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.2s;
}
.launch-film:hover .launch-play,
.launch-film:focus-visible .launch-play {
  opacity: 1;
}
.event-section {
  margin-block: 100px;
  height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.event-slides,
.event-slide {
  position: absolute;
  inset: 0;
}
.event-slide {
  transform: translateX(100%);
  visibility: hidden;
  display: flex;
  align-items: center;
}
.event-slide.active {
  transform: translateX(0);
  visibility: visible;
}
.hero-slide.is-leaving,
.event-slide.is-leaving {
  visibility: visible;
  pointer-events: none;
}

.main-new .event-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.main-new .event-copy {
  --copy-left: clamp(24px, 23%, 400px);

  position: absolute;
  top: 50%;
  left: var(--copy-left);
  transform: translateY(-50%);
  width: calc(50% - var(--copy-left) - 24px);
  max-width: none;
  margin: 0;
  padding: 0;
  color: #ffffff;
  z-index: 2;
}

.main-new .event-copy .pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 30px;
  background: #ffffff;
  color: #242424;
  font-size: 14px;
  font-weight: 700;  
  line-height: 14px;
  letter-spacing: -2%;
}

.main-new .event-slide:not(.event-bk) {
  isolation: isolate;
}

/* 배경과 블렌딩되도록 부모의 겹침 구조 조정 */
.main-new .event-slide:not(.event-bk) .event-copy {
  top: 0;
  bottom: 0;
  transform: none;
  z-index: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* 이미지 위에 문구 배치 */
.main-new .event-slide:not(.event-bk) .event-copy > * {
  position: relative;
  z-index: 2;
}

/* 흰 pill 안에서 글자 부분으로 배경 표시 */
.main-new .event-slide:not(.event-bk) .event-copy .pill {
  background: #fff;
  color: #000;
  mix-blend-mode: screen;
}

.main-new .event-slide.event-bk .event-copy .pill {
  background: #242424;
  color: #ffffff
}

.main-new .event-copy h3 {
  margin: 16px 0 0;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: -2%;
  font-weight: 400;
  word-break: keep-all;
}

.main-new .event-copy h3 strong {
  font-weight: 700;
}

.main-new .event-slide.event-bk .event-copy h3 {
  color: #242424;
}

.heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.shorts .swiper-wrapper {
  padding: 50px 0 !important;
}

.short-card {
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: #242424;
  position: relative;
}
.short-media {
  aspect-ratio: 3/4;
  position: relative;
  background: #ddd;
  overflow: hidden;
}
.short-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.short-status {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #0004;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
}
.short-status .ui-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke-width: 2.5;
  top: 2px;
}
.short-card .mini-product {
  padding: 20px;
  gap: 17px;
}
.short-card .mini-category {
  font-size: 12px;
}
.short-card .product-name {
  font-size: 13px;
  white-space: nowrap;
  display: block;
}
.short-card .price {
  font-size: 16px;
}
.empty-state {
  padding: 45px 20px;
  color: #888;
  text-align: center;
  grid-column: 1/-1;
  font-size: 16px;
}
.dark .empty-state {
  color: #ddd;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 100px;
  gap: 30px;
}

.benefit {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}

.popup.mall-popup {
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100dvh;
  opacity: 0;
  z-index: 1000;
  overflow: hidden;
}
.popup.mall-popup[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}
.popup.mall-popup > .inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: #fff;
  transition: top 0.3s ease-in-out;
}
.popup.mall-popup > .inner > .mall-popup-contents {
  max-height: none;
  padding: 0;
}
/* .popup.mall-popup > .inner > .mall-popup-contents .outline-button .ui-icon {
  top: 2px;
} */
.popup.mall-popup > .inner.dark {
  background: var(--dark);
  color: #fff;
}
.dialog-close {
  position: absolute;
  right: 48px;
  top: 24px;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.dialog-close .ui-icon {
  width: 40px;
  height: 40px;
}
.popup.mall-popup > .inner.intro-dialog {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: auto;
}
.popup.mall-popup > .inner.intro-dialog .brand {
  font-size: 24px;
}

#intro-dialog #intro-video.youtube-media {
  position: relative;
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 9 / 16 !important;
  overflow: hidden;
}

#intro-dialog #intro-video.youtube-media > .youtube-poster {
  z-index: 1;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#intro-dialog #intro-video.youtube-media .youtube-player {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: auto;
}

#intro-dialog #intro-video.youtube-media.is-playing > .youtube-poster {
  display: none !important;
}

#intro-dialog .youtube-player iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.intro-content {
  min-height: calc(100dvh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.intro-media {
  position: relative;
  width: 310px;
  max-height: 68dvh;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 20px;
  background: #333;
}
.intro-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-copy h2 {
  font-size: 38px;
  line-height: 38px;
  margin: 25px 0;
}
.intro-copy p {
  font-size: 18px;
  color: #ddd;
  line-height: 18px;
  margin-bottom: 28px;
}

.intro-copy .outline-button {
  width: 100%;
  gap: 0;
}
.intro-copy .outline-button .ui-icon {
  width: 27.16px;
  height: 27.16px;
}
.intro-hide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #bbb;
}
.intro-hide input {
  accent-color: var(--accent);
}
.preview-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  background: #0008;
  color: #fff;
  z-index: 2;
}
.popup.mall-popup > .inner.book-dialog {
  padding: 72px 50px;
  text-align: center;
}
.popup.mall-popup > .inner.book-dialog > .contents > h2 {
  font-size: 30px;
  margin-bottom: 40px;
}
.popup.mall-popup > .inner.book-dialog > .icon-button .ui-icon {
    width: 40px;
    height: 40px;
}

.popup.mall-popup > .inner.book-dialog #book-create .ui-icon {
    top:2.2px;
}

.popup.mall-popup > .inner.book-dialog #book-create:hover { background-color: #ffffff; color: #242424;}
.popup.mall-popup > .inner.book-dialog #book-create:hover .ui-icon { filter: brightness(1) invert(0);}

.book-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.book-preview > img {
  max-height: 52dvh;
  max-width: 75%;
  width: auto;
  object-fit: contain;
}
.book-preview .icon-button .ui-icon {
  width: 36px;
  height: 36px;
}

/* 버튼 텍스트 위주의 가운데 정렬 */
.main-new .outline-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
}

.main-new .outline-button .button-text {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.main-new .outline-button .ui-icon {
  width: 24px;
  height: 24px;
}

.book-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
  overflow-x: auto;
  padding: 5px;
}
.book-thumbs button {
  min-width: 65px;
  border: 2px solid transparent;
  opacity: 0.7;
}
.book-thumbs img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
}

.book-thumbs button:first-child img {
  aspect-ratio: 1;
  max-height: 84.5px;
}

.popup.mall-popup > .inner.product-dialog {
  width: 920px;
  border-radius: 15px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  padding-top: 20px;
}
.product-detail > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-detail h2 {
  font-size: 25px;
  line-height: 25px;
}
.product-detail .price {
  font-size: 26px;
  margin-block: 16px 30px;
}
.product-detail .detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-note {
  font-size: 13px;
  color: #888;
  margin-top: 25px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 150;
  padding: 14px 24px;
  background: #242424ed;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 25px #0002;
  font-size: 15px;
  max-width: 90vw;
  text-align: center;
}


/* Reference-specific asset and reverse-face treatment. */
.header-main .brand img {
  width: 191px;
  height: auto;
}

.badge {
  min-width: 54px;
  height: 29px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.category.detail #contents .product .proinfo .top .badge {
  justify-content: flex-start;
}
.book-back {
  background-image: linear-gradient(#ffffff, #ffffff95), var(--book-image);
  background-size: cover;
  justify-content: flex-end;
}
.book-back h3 {
  font-size: 16px;
}
.book-back > p {
  display: none;
}
.book-back .book-review {
  height: 40%;
  white-space: normal;
  border: 0;
  padding: 0;
}
.book-back .outline-button {
  margin-top: 5px;
  width: 100%;
  flex-shrink: 0;
}
.review-back {
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
}
.review-back > button {
  margin-top: 5px;
  border: 1px solid #242424;
  text-align: center;
  padding: 8px 45px;
  text-decoration: none;
}
.review-back h3 {
  font-size: 16px;
}

/*  */
.main-new{
  height: auto;
}

.main-new .hero-slide,
.main-new .event-slide {
  display: block;
}
.main-new .event-slide {
  display: flex;
}

.main-new .event-pause {
  display: none;
}

.main-new .main-new.mall-renewal-wrap { min-width: 0; height: auto; }


.main-new .mall-banner-swiper { width: 100%; height: 100%; }
.main-new .mall-banner-swiper > .swiper-wrapper { position: relative; inset: auto; gap: 0; }
.main-new .mall-banner-swiper .swiper-slide {
  position: relative;
  inset: auto;
  flex-shrink: 0;
  height: 100%;
  transform: none;
  visibility: visible;
  z-index: auto;
}

.main-new .mall-card-swiper { min-width: 0; width: 100%; }
.main-new .mall-card-swiper > .swiper-wrapper {
  display: flex;
  gap: 0;
  align-items: stretch;
  height: auto;
  box-sizing: content-box;
}
.main-new .bestsellers .swiper-wrapper {
  padding-top: 50px;
}
.main-new .reviews .swiper-wrapper {
  padding: 60px 0;
}
.main-new .bestsellers .section-heading {
    margin-bottom: 0; 
    width: 100%;
    max-width: none;
    margin-inline: auto;
    text-align: center;
}
.main-new .mall-card-swiper > .swiper-wrapper[hidden] { display: none; }
.main-new .mall-card-swiper .swiper-slide {
  display: block !important;
  flex-shrink: 0;
  height: auto;
  min-width: 0;
  box-sizing: border-box;
}
.main-new .mall-card-swiper .book-card { max-width: none; margin: 0; }
.main-new .swiper:focus-visible { outline: 2px solid var(--accent, #ed1950); outline-offset: -2px; }
.main-new .short-media .short-poster {
  width: 100%; height: 100%; display: block; object-fit: cover;
}

.main-new .book-spread-swiper { width: 75%; min-width: 0; margin: 0; }
.main-new .book-spread-swiper .swiper-slide { height: auto; display: flex; align-items: center; justify-content: center; }
.main-new .book-spread-swiper img { display: block; max-height: 52dvh; width: 100%; object-fit: contain; }
.main-new .book-thumbs-swiper { margin: 40px auto; max-width: 84%; width: 100%; display: inline-grid; align-items: center; justify-content: center; }
.main-new .book-thumbs.swiper-wrapper { justify-content: flex-start; gap: 0; margin: 0; padding: 0; overflow: visible; }
.main-new .book-thumbs .swiper-slide { flex-shrink: 0;width: fit-content; max-width: 173px; min-width: 0; height: auto; }
.main-new .book-thumbs .swiper-slide-thumb-active { border: 3px solid #ff724c;; opacity: 1; }

.main-new .youtube-media { width: 100%; position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; }
.main-new .youtube-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.main-new .youtube-player,
.main-new .youtube-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.main-new .youtube-media.is-playing .youtube-poster { visibility: hidden; }
.main-new .youtube-status { font-size: 12px; line-height: 12px; color: #ddd; margin: 8px 0; }
.main-new .youtube-status:empty { display: none; }
.main-new .youtube-source-link { display: inline-block; font-size: 12px; color: #fff; text-decoration: underline; margin: 8px 0; }
.main-new .intro-media { overflow: visible; aspect-ratio: auto; }
.main-new .intro-media .youtube-media { max-height: 55dvh; }

:root {
  --max: 1730px;
  --page-gutter: 95px;
  --section-space: 100px;
  --card-gap: 20px;
}
html { scroll-padding-top: 24px; }
body { font-family: "Pretendard", sans-serif; }
.main-new .container { width: calc(100% - 190px); max-width: 1730px; }
.main-new .section { padding-block: var(--section-space); }
.main-new .section-heading { 
  font-size: 30px; line-height: 30px; margin-bottom: 50px;
  width: min(100%, 18em);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
  }
.main-new .ui-icon { object-fit: contain; flex-shrink: 0; }
.main-new .dark .ui-icon,.dark .ui-icon,
.main-new .light .ui-icon,.light .ui-icon { filter: brightness(0) invert(1);}

.main-new .favorite-button .ui-icon { width: 32px; height: 32px; }
.main-new .mall-card-swiper { overflow: hidden; }

/* 상단 프로모션, 브랜드 선택, 헤더 메뉴 */
.common-header-scope { display: contents; }
#wrap:has(> .common-header-scope) { height: auto; min-height: 100%; }
.main-new .site-header { 
  height: fit-content;
  position: sticky;
  top: -88px;
  z-index: 50;
  background: #fff;
  overflow: visible;
}

/* 상단에 붙었을 때의 크기와 간격 */
.main-new .site-header.is-stuck {
  --sticky-side: 48px;
  --sticky-brand-width: 240px;
  --sticky-menu-gap: 28px;
  --sticky-tools-gap: 24px;
  --sticky-tools-width: calc(112px + 3 * var(--sticky-tools-gap));
}

.main-new .site-header.is-stuck::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #efefef;
  pointer-events: none;
}

.main-new .site-header .red-dot[data-service="사진 챌린지"] {
  position: relative;
}

/* 기본 상태: 빨간 점 숨김 */
.main-new .site-header .red-dot[data-service="사진 챌린지"]::after {
  display: none;
}

/* 상단에 붙었을 때: 빨간 점 표시 */
.main-new .site-header.is-stuck .red-dot[data-service="사진 챌린지"]::after {
  display: block;
}

.main-new #site-header:has(
  .nav-categories button[aria-expanded="true"]
) .mega-feature {
  background-color: #ffffff;
}
.main-new #site-header:has(
  .nav-categories button[aria-expanded="true"]
) .mega-menu {
  border-top: none;
}
.main-new .header-main { height: 88px; padding-inline: 48px; gap: 28px; }
.main-new .header-main .brand img { width: 184px; height: auto; }
.main-new .brand-switch { width: 240px; height: 40px; flex-shrink: 0; padding: 0;}
/* on/off PNG 원본 크기와 관계없이 브랜드 전환 탭 안에서만 로고를 표시합니다. */
.main-new .brand-switch > button > img {
display: block;
max-width: 80%;
max-height: 20px;
object-fit: contain;
}
.main-new .brand-switch > button { width: 120px; height: 40px; flex: 0 0 50%;}
.main-new .switch-thumb { width: 120px; height: 40px; top: 0; left: 0; }
.main-new.photo-mode .switch-thumb { transform: translateX(120px); }
.main-new .header-tools { gap: 30px; }
.main-new .header-tools > .icon-button,
.main-new .header-tools .account-wrap > .icon-button { width: 32px; height: 32px; }
.main-new .header-tools .ui-icon { width: 28px; height: 28px; }
.main-new .main-nav { height: 70px; gap: 0 50px; font-size: 18px; }
.main-new .nav-categories { gap: 60px; }
.main-new .nav-services { gap: 60px; }
.main-new .nav-divider { margin: 0; }
.main-new .header-scrim { background: #0006; }
.main-new .mega-menu { min-height: 0; height: auto; grid-template-columns: minmax(0,1fr) 440px; z-index: 42; }
.main-new .mega-columns { min-height: 138px; padding: 50px; gap: 22px; }
.main-new .mega-column h2 { font-size: 18px; line-height: 18px; margin-top: 0; margin-bottom: 8px; display: inline-flex; align-items: start; justify-content: center;}
.main-new .mega-column {width: 100%; max-width: 160px; overflow: hidden;}
.main-new .mega-column a { line-height: 24px; margin-block: 8px; }
.main-new .mega-feature { background: #efefef; }
.main-new .mega-feature {
  container: mega-promotion / size;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}
.main-new .mega-feature p { padding: 0 50px 50px 50px; }
.main-new .mega-feature .pc-gnb-banner img { padding: 50px 50px 0 50px;}
.main-new .mega-feature .pc-gnb-banner p {
 display: block;
 box-sizing: border-box;
 width: min(100%, 32.2vw);
 padding: 0 50px 50px; 
 font-weight: 700; 
 margin-top: 24px; 
 letter-spacing: -2%; 
 text-overflow: ellipsis; 
 white-space: nowrap; 
 overflow: hidden;}

/* 프로모션이 표시될 때의 배치 */
.main-new .mega-feature:has(> img[data-mega-promotion]:not([hidden])) {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 50px;
}

/* 이미지 비율 유지 및 최소 높이 */
.main-new .mega-feature > img[data-mega-promotion] {
  flex: 0 0 auto;
  width: auto;
  height: clamp(138px, calc(100cqh - 114px - 1.5em), 100cqw);
  min-height: 138px;
  max-width: 100%;
  padding: 0 !important; /* HTML의 인라인 padding 재설정 */
  aspect-ratio: auto;
  object-fit: contain;
}

.main-new .mega-feature > p[data-mega-promotion] {
  flex: 0 0 100%;
  min-width: 0;
  max-height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* 전체 메뉴의 서비스 영역이 높이를 넘으면 스크롤 */
.main-new .mega-feature > [data-mega-services] {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

/* 이미지가 최소 높이에 도달하면 문구와 가로 정렬 */
@container mega-promotion (max-height: calc(252px + 1.5em)) {
  .main-new .mega-feature > img[data-mega-promotion] {
    height: 138px;
  }

  .main-new .mega-feature > p[data-mega-promotion] {
    flex: 1 1 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.main-new .service-grid { padding: 0 30px; gap: 48px 20px; }
.main-new .service-icon .ui-icon { width: 100%; height: 100%; }

/* 페이지 스크롤 이동시 헤더 sticky */
/* 브랜드 전환과 도구 아이콘의 배치 기준을 헤더로 설정 */
.main-new .site-header.is-stuck .header-main {
  position: static;
}

.main-new .site-header.is-stuck .header-main > .brand {
  visibility: hidden;
}

/* 왼쪽: INSTAX / PHOTO 브랜드 전환 */
.main-new .site-header.is-stuck .brand-switch {
  position: absolute;
  left: var(--sticky-side);
  bottom: 12px;
  width: var(--sticky-brand-width);
  height: 40px;
  padding: 0;
}

.main-new .site-header.is-stuck .brand-switch > button {
  flex: 0 0 50%;
  width: 50%;
  height: 40px;
}

.main-new .site-header.is-stuck .brand-switch > button > img {
  max-width: 80%;
}



.main-new .site-header.is-stuck .switch-thumb {
  inset: 0 auto auto 0;
  width: 50%;
  height: 100%;
  transform: translateX(0);
}

.main-new.photo-mode .site-header.is-stuck .switch-thumb {
  transform: translateX(100%);
}

/* 오른쪽: 검색 / 관심 상품 / 마이페이지 / 장바구니 */
.main-new .site-header.is-stuck .header-tools {
  position: absolute;
  right: var(--sticky-side);
  bottom: 14px;
  width: var(--sticky-tools-width);
  margin-left: 0;
  gap: var(--sticky-tools-gap);
}

.main-new .site-header.is-stuck .header-tools > .icon-button,
.main-new .site-header.is-stuck .account-wrap > .icon-button {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.main-new .site-header.is-stuck .header-tools .ui-icon {
  width: 24px;
  height: 24px;
}

/* 가운데: 햄버거와 전체 메뉴 */
.main-new .site-header.is-stuck .main-nav {
  height: 63px;
  padding-left: calc(
    var(--sticky-side) + var(--sticky-brand-width) + var(--sticky-menu-gap)
  );
  padding-right: calc(
    var(--sticky-side) + var(--sticky-tools-width) + var(--sticky-menu-gap)
  );
  gap: 0 50px;;
  justify-content: flex-start;
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
}

/* 그룹 안의 메뉴도 같은 줄에서 간격을 배분 */
.main-new .site-header.is-stuck .nav-categories,
.main-new .site-header.is-stuck .nav-services {
  display: contents;
  font-size: inherit;
}

.main-new .site-header.is-stuck .main-nav button {
  font: inherit;
  white-space: nowrap;
}

.main-new .site-header.is-stuck .nav-categories .gnb {
  height: 70px;
  padding: 0;
}

.main-new .site-header.is-stuck .nav-divider,
.main-new .site-header.is-stuck .recruit {
  display: none;
}

.main-new .site-header.is-stuck .main-nav .sticky-only-link {
  display: inline-flex;
  align-items: center;
}

/* 사진 챌린지: 모집중 배지 대신 작은 점 */
.main-new .site-header.is-stuck [data-service="사진 챌린지"] {
  position: relative;
}

/* .main-new .site-header.is-stuck [data-service="사진 챌린지"]::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ec1b3b;
} */

/* 검색창과 마이페이지 메뉴가 헤더 아래에 표시되도록 조정 */
.main-new .site-header.is-stuck .search-panel {
  top: calc(100% + 8px);
  right: var(--sticky-side);
}

.main-new .site-header.is-stuck .account-panel {
  top: calc(100% + 22px);
  right: 0;
}

.main-new .site-header.is-stuck + .header-scrim {
  top: 70px;
}

/* sticky 헤더 스크롤시 높이 63px */


.burger { position: relative; display: block; flex: 0 0 32px; width: 32px; height: 28px; cursor: pointer; }
.burger input { position: absolute; z-index: 2; inset: -8px; width: 48px; height: 44px; opacity: 0; margin: 0; cursor: pointer; }
.burger span { position: absolute; display: block; left: 5px; width: 22px; height: 2px; background: #242424; transition: transform .25s, opacity .25s; transform-origin: center; }
/* .burger:focus-within { outline: 2px solid #078c79; outline-offset: 5px; } */
.burger > span {
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

.burger > span:nth-of-type(1) { top: 4px; }
.burger > span:nth-of-type(2) { top: 13px; }
.burger > span:nth-of-type(3) { top: 23px; }

.burger input:checked ~ span:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger input:checked ~ span:nth-of-type(2) {
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: translateY(-10px) rotate(-45deg);
}

  /* 햄버거 버튼 CSS 우선 */
  /* 공통 폼 스타일보다 우선하도록 ID 선택자 사용 */
.main-new #menu-toggle > input#burger[type="checkbox"] {
  all: unset;
  appearance: none;
  -webkit-appearance: none;

  position: absolute;
  inset: -8px;
  z-index: 2;

  display: block;
  visibility: visible;
  width: 48px;
  height: 44px;

  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;

  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
}

/* 공통 폼 CSS에서 생성하는 체크박스 장식 제거 */
.main-new #menu-toggle::before,
.main-new #menu-toggle::after,
.main-new #menu-toggle > #burger::before,
.main-new #menu-toggle > #burger::after,
.main-new #menu-toggle > span::before,
.main-new #menu-toggle > span::after {
  content: none;
  display: none;
}

/* 햄버거 선에 적용될 수 있는 폼 스타일 재정의 */
.main-new #menu-toggle > span {
  position: absolute;
  display: block;
  left: 5px;
  width: 22px;
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #242424;
  box-shadow: none;
  min-height: unset;
}

.main-new #search-toggle { position: relative; overflow: visible; }
.main-new #search-toggle > .tooltip { top: calc(100% + 6px); left: 50%; right: auto; bottom: auto; width: max-content; transform: translateX(-50%); }
.main-new .search-open #search-toggle { visibility: hidden; }
.main-new .search-panel { top: 12px; right: 215px; width: 456px; max-height: calc(100dvh - 90px); padding: 10px 20px 20px 20px; border: 1px solid #d5d5d5; box-shadow: none; overflow-x: hidden; overscroll-behavior: contain;}
.main-new .search-panel:not([hidden]) { animation: search-reveal .3s ease-in-out; transform-origin: top right; }
.main-new .search-field { height: 46px; align-items: center; max-width: 414px; margin-bottom: 40px;}
.main-new .search-field input { font-size: 14px; padding: 0; font-size: 16px; line-height: 16px;}
.main-new .search-field .icon-button,
.main-new .search-field .ui-icon { width: 32px; height: 32px; }
.main-new .search-field .ui-icon { width: 28px; height: 28px; }
.main-new .search-panel h2 { font-size: 18px; line-height: 18px; }
.main-new .search-title { min-height: 18px; margin-bottom: 20px; }
.main-new .search-title .text-button { font-size: 14px; line-height: 14px; }
.main-new .recent-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 10px;

    min-height: 116px;
    max-height: 116px;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.main-new .search-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    max-width: 100%;
    height: 32px;
    margin: 0;
    gap: 0;

    font-size: 14px;
    line-height: 14px;
    border-radius: 6px;
}

.main-new .search-chip > button:first-child {
    min-width: 0;
    padding: 6px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-new .search-chip > .remove-chip {
    flex: 0 0 22px;
    width: 22px;
    height: 30px;
    padding: 0 4px 0 0;
}

.main-new .search-chip > .remove-chip > .ui-icon {
  width: 10px;
  height: 10px;
  margin: 0 auto;
}

.main-new .recent-searches:not(:has(.search-chip)) {
  min-height: 52px;
  align-items: center;
  justify-content: center;
}
.main-new .recent-searches > p { font-size: 14px; line-height: 14px; }
.main-new .popular-searches {
  grid-template-rows: repeat(4, 16px);
  gap: 20px 0;
  margin: 20px 0 50px;
}
.main-new .popular-searches { gap: 16px 20px; margin: 18px 0 44px; }
.main-new .popular-searches li { min-width: 0; font-size: 16px; line-height: 16px; gap: 12px; }
.main-new .popular-searches li > button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-new .stores { gap: 10px; }
.main-new .store { gap: 16px; height: 60px;}
.main-new .store strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-new .store > img:not(.ui-icon) { width: 70px; height: 50px; }
.main-new .store > .ui-icon { width: 20px; height: 20px; }
.main-new .store div { min-width: 0; }
.main-new .store small { display: block; white-space: nowrap; margin-top: 10px; }
.main-new .search-close { 
  width: 44px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 14px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main-new .search-close .ui-icon { width: 9px; height: 9px; top: 2px;}
@keyframes search-reveal { from { opacity: 0; clip-path: inset(0 0 100% 80%); } to { opacity: 1; clip-path: inset(0); } }

/* 메인 배너와 추천 키워드 */
/*
.main-new .hero { height: 510px; }
*/

.main-new .hero {
  /* Pretendard 한글 14자 폭. 반응형 제목 크기와 딤 범위를 함께 맞춥니다. */
  --hero-title-width: calc(46 * var(--responsive-font-unit, 1px) * 12.1);
}
.main-new .hero-slide:not(.hero-bk)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(100%, calc(12% + var(--hero-title-width) + 160px));
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.22) 40%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}
.main-new .hero-copy { top: 68px; margin-left: 12%; max-width: 670px; }
.main-new .hero-copy h2 { font-size: 46px; line-height: 58px; margin-top: 30px; }
.main-new .hero-copy p { font-size: 24px; line-height: 34px; margin-top: 30px; }
.main-new .hero-copy .pill { padding: 8px 16px 6px 16px; font-size: 16px; line-height: 16px; font-weight: 700; }
.main-new .hero-controls { left: calc(12% - 6px); bottom: 62px; gap: 13px; }
.main-new .hero-controls img[src="play_hero.svg"],
img[src$="/play_hero.svg"] {
  top: 0px;
  width: 12px;
  height: 12px;
}

.main-new .hero-controls img.ui-icon[src$="/play_hero.svg"] {
  filter: brightness(0) invert(14.117647%);
}
.main-new .hero-controls > span {
  bottom: 2px;
  position: relative;
}
.main-new .hero-bk { color: #242424; }
.main-new .hero-controls.hero-bk img.ui-icon,
.main-new .hero-controls img.ui-icon[src$="/play_hero.svg"]{
  filter: brightness(1) invert(0);
}

/* hero-bk가 없을 때 */
.main-new .hero-controls.hero-bk img.ui-icon[src$="/play_hero.svg"] {
  filter: brightness(0) invert(14.117647%);
}

.main-new .hero-bk .pill { background: #242424; color: #fff; }
.main-new .quick-menu.container {
  width: 100%;
  padding: 60px 150px;
  gap: 12px 8px;
  align-content: center;
  margin: 0 auto;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.main-new .quick-menu .quick-menu-row { display: flex; gap: 8px}
.main-new .quick-link { height: 58px; gap: 12px; padding: 4px 18px 4px 4px; flex: 0 0 auto; font-size: 18px; line-height: 18px; font-weight: 700; white-space: nowrap; letter-spacing: -2%; }

/* 추천 상품 / 포토북 / 사진으로 채워가는 공간 */
.main-new .product-card > .product-name { 
    font-size: 18px;
    line-height: 18px;
    margin-top: 30px; }
.main-new .product-card > .price { 
    font-size: 20px;
    line-height: 20px;
    font-weight: 800;
    margin-top: 14px;
    width: min(100%, 17.9em);
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
.main-new .price {
	gap: 0;
	align-items: baseline;
}
.main-new .price .won {
	font-size: 15px;
	font-weight: 400;	
	margin-left: 2px;
}	
.main-new .carousel-arrow { width: 60px; height: 60px; }
.main-new .carousel-arrow.previous { left: -75px; }
.main-new .carousel-arrow.next { right: -75px; }
.main-new .carousel-arrow .ui-icon { width: 36px; height: 36px; }
.main-new .bestsellers .carousel-arrow { top: 46%; }
.main-new .photobooks { min-height: 894px; }
.main-new .photobooks .section-heading {
    margin-bottom: 0;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    text-align: center;
}
.main-new .photobooks .mall-card-swiper { min-height: 614px; }
.main-new .book-label { font-size: 20px; line-height: 20px; margin-top: 26px; font-weight: 700; max-width: 100%; width: 100%; width: min(100%, 22em);
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
.main-new .book-card:not(.featured) .book-label { opacity: 1; color: #ffffff; }
/* 가운데 article */
.main-new .photobooks article.book-card {
  opacity: 1;
  transition: opacity 0.25s ease;
}
/* 양옆 article */
.main-new .photobooks article.book-card:not(.featured) {
  opacity: 0.4;
}

/* 뒤집힌 카드와 키보드로 조작 중인 카드의 딤 해제 */
.main-new #photobooks .book-card.is-flipped,
.main-new #photobooks .book-card:focus-within {
  opacity: 1;
}

/* 양옆 카드도 마우스를 올리면 딤 해제 */
@media (any-hover: hover) and (any-pointer: fine) {
  .main-new #photobooks .book-card:hover {
    opacity: 1;
  }
}
.main-new .photobooks .carousel-arrow { top: 50%; }
.main-new .photo-space { min-height: 840px; grid-template-columns: minmax(0,640fr) minmax(0,1030fr); gap: 60px; padding-block: 100px; }
.main-new .space-photo { aspect-ratio: 1; height: auto; align-self: start; }
.main-new .space-content { gap: 112px; }
.main-new .space-content .section-heading { margin: 0; }
.main-new .space-content .section-subtitle { margin-top: 16px; font-size: 18px; line-height: 18px; }
.main-new .space-content .product-grid { min-height: 412px; }

/* 테마별 상품, 후기 카드 */
.main-new .collections { min-height: 1268px; }
.main-new .collections .section-heading { margin-bottom: 24px; margin-inline: unset;}
.main-new .filter-tabs { gap: 10px; margin-bottom: 50px; }
.main-new .filter-tabs button { height: 44px; padding: 14px 20px; font-size: 16px; line-height: 16px; }
.main-new .collection-grid { gap: 31px; }
.main-new .collection-card { min-height: 922px; border-radius: 30px; }
.main-new .collection-cover { height: 390px; aspect-ratio: auto; }
.main-new .collection-copy { left: 40px; bottom: 40px; }
.main-new .collection-copy h3 { font-size: 30px; line-height: 30px; }
.main-new .collection-copy p { font-size: 20px; margin-top: 10px; }
.main-new .collection-products { padding: 20px; gap: 20px; border: 1px solid #d4d4d4; border-radius: 30px; border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;}
.main-new .collection-products .mini-product { height: 150px; gap: 30px; }
/* 3 column 상품 뱃지 삭제 */
.main-new .collection-products .mini-product .txt-marketing-wrap,
.main-new .collection-products .mini-product .txt-marketing {
    display: none;
}

.main-new .collection-products .mini-photo { width: 150px; height: 150px; }
.main-new .collection-products .mini-category { display: block; font-size: 16px; line-height: 16px; }
.main-new .collection-products .product-name { 
  width:100%; 
  font-size: 18px; 
  line-height: 22px; 
  margin-top: 10px;
  max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}

.main-new .collection-products .price { font-size: 20px; line-height: 20px; margin-top: 8px; }
.main-new .favorite-button { width: 32px; height: 32px; }
.main-new .reviews { min-height: 874px; }
.main-new .reviews .section-heading,
.main-new .shorts .section-heading { width: min(100%, 21.5em); margin-inline: unset; margin-bottom: 30px; }
.main-new .launch .section-heading { width: 100%;}
.main-new .review-inner { height: 462px; aspect-ratio: auto; }
.main-new .review-front > img { height: 330px; aspect-ratio: auto; }
.main-new .review-front-copy { height: 132px; padding: 26px 24px; font-size: 16px; }
.main-new .review-front-copy strong { font-size: 16px; line-height: 16px;}
.main-new .review-front-copy p { font-size: 16px; line-height: 24px; }
.main-new .reviews .carousel-track { height: 2px; }
.main-new .reviews .carousel-arrow { top: 50%; }

/* 이벤트와 숏츠 */
.main-new .shorts { min-height: 938px; }
.main-new .shorts .heading-row { height: 58px; }
.main-new .shorts .heading-row .section-heading { margin-bottom: 0; }
.main-new .short-card { height: 580px !important; }
.main-new .short-media { height: 445px; aspect-ratio: auto; }
.main-new .short-status { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; }
.main-new .short-card > .mini-product { height: 141.5px; padding: 24px; gap: 20px; }
.main-new .short-card > .mini-product > .mini-photo { width: 94px; height: 94px; max-width: none; }
.main-new .short-card .mini-category { display: block; font-size: 14px; line-height: 14px; }
.main-new .short-card .product-name {display: block; width: 100%; margin-top: 16px; font-size: 14px; line-height: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-line-clamp: unset;}
.main-new .short-card .price { margin-top: 8px; font-size: 16px; line-height: 16px; }
.main-new .shorts .carousel-arrow { top: 50%; }

/* 이미지가 배너의 높이를 유지 */
.main-new .benefit > .benefit-art {
  display: block;
  width: 100%;
  height: auto;
}

/* 제목과 설명 배치 */
.main-new .benefit-copy {
  position: absolute;
  top: 50%;
  left: 42.6%;
  right: 3.5%;
  z-index: 2;
  transform: translateY(-50%);
  text-align: left;
  word-break: keep-all;
}

.main-new .benefit-copy h3 {
  margin: 0;
  color: #242424;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -2%;
}

.main-new .benefit-copy p {
  margin: 14px 0 0;
  color: #242424;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -2%;
}
.main-new .benefit-art { width: 100%; height: 100%; object-fit: cover; }
.main-new .launch .section-heading { margin-bottom: 50px; }
.main-new .launch-grid {
  grid-template-columns: minmax(0, 690fr) minmax(0, 980fr);
  gap: 60px;
}
.main-new .launch-film img { aspect-ratio: 690 / 388; }
.main-new .launch-play .ui-icon { filter: brightness(0) invert(1); }
.main-new .launch .product-card > .product-name {
  margin-top: 28px;
  font-size: 18px;
  line-height: 18px;
}
.main-new .launch .product-card > .price {
  margin-top: 14px;
  font-size: 20px;
  line-height: 20px;
}

.popup.mall-popup { display: none; inset: 0; height: 100dvh; opacity: 1; background: #0009; }
.popup.mall-popup.is-open { display: flex; align-items: center; justify-content: center; visibility: visible; pointer-events: auto; }
.popup.mall-popup > .inner { position: relative; top: auto; left: auto; transform: none; flex-shrink: 1; transition: none; }
.popup.mall-popup > .inner.intro-dialog { max-width: 100%; }
.mall-popup .intro-content { min-height: calc(100dvh - 130px); gap: 100px; }
.mall-popup .intro-media { width: min(400px, 46dvh); max-height: none; border-radius: 24px; background: none; }
.mall-popup .intro-media .youtube-media { width: 100%; max-height: none; aspect-ratio: 9 / 16; border-radius: 24px; }
.mall-popup .ytm-custom-control .player-controls-middle .endscreen-replay-button.icon-button, 
.mall-popup .youtube-media .ytm-custom-control .player-controls-middle .player-control-play-pause-icon { display: none; }
.mall-popup .ytm-custom-control .player-controls-middle {
  display: none;
}
.mall-popup .intro-copy { max-width: none; width: fit-content; }
.mall-popup .intro-copy h2 { font-size: 46px; font-weight:700; line-height: 58px; margin: 30px 0; }
.mall-popup .intro-copy p { font-size: 24px; font-weight:400; line-height: 34px; margin-bottom: 30px; color: #fff; }
.mall-popup .intro-copy .pill { font-size: 16px; padding: 8px 16px; font-weight:700; line-height: 16px;}
.mall-popup .intro-copy .outline-button { height: 68px; font-size: 22px; font-weight: 700; }
.mall-popup .intro-copy .outline-button:hover { background-color: #ffffff; color: #242424;}
.mall-popup .intro-copy .outline-button:hover .ui-icon { filter: invert(1);}
.mall-popup #intro-dialog .dialog-close { right: 48px; top: 24px; width: 40px; height: 40px; }
.mall-popup #intro-dialog .dialog-close .ui-icon { width: 40px; height: 40px; }
.mall-popup .intro-media .youtube-status { position: absolute; bottom: 40px; left: 12px; right: 12px; margin: 0; padding: 8px; background: #000b; border-radius: 4px; }
.mall-popup .intro-media .youtube-status:empty { display: none; }
.mall-popup .intro-media > .youtube-source-link { position: absolute; bottom: -28px; left: 0; font-size: 12px; }

.main-new .badge { background-color: #242424; }
.main-new .badge.new { background-color: #ff724c; }
.main-new .quick-image { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.main-new .collection-card { border-radius: 30px; overflow: hidden; }
.main-new .collection-cover::after {
  background: linear-gradient(to top, rgb(0 0 0 / 60%), transparent 72%);
  pointer-events: none;
}
.main-new .review-front,
.main-new .review-back { border-radius: 20px; }

.main-new .book-back {
  gap: 0;
}
.main-new .book-back h3 {
  width: min(100%, 18.2em);
  max-width: 100%;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-new .book-back .book-review {
  height: inherit;
  max-height: 40%;
  overflow-y: auto;
  overscroll-behavior: contain;
  width: 100%;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
  position: relative;
  bottom: 0;
}
.main-new .book-back .outline-button {
  margin-top: 30px;
  gap: 0;
  position: relative;
}

.main-new .book-back .outline-button:hover {
  background-color: #242424;
  color: #ffffff;
  border: 1px solid #242424;
}

.main-new .book-back .outline-button .ui-icon {
  filter: brightness(1) invert(0);
}

.book-back .outline-button:hover > .ui-icon {
  content: url("https://resources.fujifilm.co.kr/upload/img/main/w/icons/more.png");
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.main-new .review-back > button {
  margin-top: 30px;
  width: 100%;
}

/* 사진 공간·신상품: 상품 3개씩 이동하는 공통 슬라이더 */
.main-new .space-products-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  --space-arrow-top: 165px;
}

.main-new :is(#space-products, #launch-products).space-products-swiper {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.main-new :is(#space-products, #launch-products) > .swiper-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

.main-new :is(#space-products, #launch-products) .product-card.swiper-slide {
  display: block;
  flex-shrink: 0;
  width: calc((100% - 40px) / 3);
  min-width: 0;
  height: auto;
}

.main-new .space-products-arrow {
  position: absolute;
  top: var(--space-arrow-top);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: rgb(0 0 0 / 35%);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease;
}

.main-new .space-products-arrow img {
	filter: brightness(0) invert(1);
	margin-top: 0;
}

.main-new .space-products-carousel:hover .space-products-arrow,
.main-new .space-products-carousel:focus-within .space-products-arrow {
  opacity: 1;
  pointer-events: auto;
}

/* 마우스 hover가 없는 터치 화면에서도 좌우 이동 버튼을 사용할 수 있습니다. */

.main-new .space-products-prev { left: 0; }
.main-new .space-products-next { right: 0; }
/* .main-new .space-products-arrow:hover { background: rgb(0 0 0 / 65%); } */
.main-new .space-products-arrow:focus-visible {
  outline: 2px solid #242424;
  outline-offset: 2px;
}
.main-new .space-products-arrow svg { display: block; width: 20px; height: 20px; }
.main-new .space-products-arrow.swiper-button-lock { display: none; }

/* 리뷰 카드 뒷면 */
.main-new .review-back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
    var(--review-background-image, url("https://resources.fujifilm.co.kr/upload/img/main/w/products/review-img.png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}
.main-new .review-back > * {
  position: relative;
  z-index: 1;
}

/* 진행 표시가 왼쪽에서 차오르며, 마지막 리뷰에서 트랙 전체를 채웁니다. */
.main-new .reviews #review-progress {
  width: 0;
  max-width: 100%;
  transform: none;
  transform-origin: left center;
  transition: width .5s ease;
}

/* 론칭 영상: hover 또는 키보드 포커스 시 상품 정보를 표시합니다. */
.main-new .launch-film.space-photo-hover {
  display: block;
  width: 100%;
  aspect-ratio: 560 / 315;
  max-height: none;
  cursor: default;
}

.main-new .launch-film > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.main-new .launch-film:focus-visible {
  outline: 2px solid #242424;
  outline-offset: 4px;
}

/* 영상 위 전체 영역을 상품 링크로 연결합니다. */
.main-new .launch-film > .launch-film-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  cursor: pointer;
}
.main-new .launch-film:focus-within {
  outline: 2px solid #242424;
  outline-offset: 4px;
}

/* 이벤트 배너: hover·키보드 포커스 시 좌우 이동 화살표를 표시합니다. */
.main-new #events .event-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgb(0 0 0 / 30%);
  color: #fff;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease;
}
.main-new #events .event-prev { left: 0; }
.main-new #events .event-next { right: 0; }
.main-new #events .event-arrow svg { display: block; width: 20px; height: 20px; }
.main-new #events:hover .event-arrow,
.main-new #events:focus-within .event-arrow {
  opacity: 1;
  pointer-events: auto;
}
/* .main-new #events .event-arrow:hover { background: rgb(0 0 0 / 55%); } */
.main-new #events .event-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.main-new #events .event-arrow.swiper-button-lock { display: none; }


/* 숏츠: 중앙 영상의 실제 재생 상태에 맞춰 썸네일·상품 정보·버튼을 표시합니다. */
.main-new #shorts .short-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #111;
}
.main-new #shorts .short-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}
.main-new #shorts .short-player,
.main-new #shorts .short-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.main-new #shorts .short-player {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.main-new #shorts .short-card.is-playing .short-player {
  opacity: 1;
  visibility: visible;
}
.main-new #shorts .short-card.is-playing .short-poster {
  opacity: 0;
  visibility: hidden;
}
.main-new #shorts .short-media > .short-status {
  z-index: 4;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 45%);
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s ease;
}
/* 숏츠 재생·정지 버튼: 재생 중에는 hover 또는 키보드 포커스 시 표시합니다. */
.main-new #shorts .short-card.is-playing .short-media > .short-status {
  opacity: 0;
  pointer-events: none;
}
.main-new #shorts .short-card.is-playing:hover .short-media > .short-status,
.main-new #shorts .short-card.is-playing .short-media > .short-status:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
.main-new #shorts .short-status:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.main-new #shorts .short-card > .mini-product {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  width: 100%;
  margin: 0;
  background: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility .2s ease;
}
.main-new #shorts .short-card.is-playing > .mini-product {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.main-new #shorts .short-card.is-playing:hover > .mini-product,
.main-new #shorts .short-card.is-playing:has(:focus-visible) > .mini-product {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.main-new #shorts .short-video-message {
  position: absolute;
  inset: auto 12px 155px;
  z-index: 3;
  padding: 10px;
  color: #fff;
  background: rgb(0 0 0 / 70%);
  font-size: 13px;
  line-height: 13px;
}
.main-new #shorts .short-video-message[hidden] { display: none; }

/* 노트북: 인라인 패딩을 덮어 프로모션 이미지의 상단 여백만 50px로 유지합니다. */

/* 검색 입력줄: 오른쪽 끝을 고정한 채 너비만 왼쪽으로 펼칩니다. */
.main-new #search-form {
  float: right;
  width: 100%;
}
.main-new #search-form + .search-title {
  clear: both;
}
.main-new #search-form > .icon-button {
  flex: 0 0 32px;
  transform: translate(2px, -1.5px);
}
.main-new #search-panel:not([hidden]) #search-form {
  animation: search-form-expand .35s ease-out backwards;
}
@keyframes search-form-expand {
  from {
    width: 32px;
    clip-path: inset(0);
  }
  to {
    width: calc(100% + 20px);
    clip-path: inset(0);
  }
}


/* 진입 팝업 (전체 비디오) */
#intro-dialog-video.popup.mall-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    opacity: 1;
    background: #444;
    box-sizing: border-box;
  }

  #intro-dialog-video.popup.mall-popup.is-open {
    display: block;
    visibility: visible;
    pointer-events: auto;
  }

  #intro-dialog-video.popup.mall-popup[aria-hidden="true"] {
    display: none;
  }

  #intro-dialog-video > .inner.intro-fullvideo-inner {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transform: none;
    transition: none;
    background: #111;
    color: #fff;
  }

  #intro-dialog-video .intro-fullvideo-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    container-type: size;
    pointer-events: none;
  }

  #intro-dialog-video .youtube-media {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    background: #111;
  }

  #intro-dialog-video .youtube-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 영상의 16:9 비율을 유지하면서 팝업 전체를 채웁니다. */
  #intro-dialog-video .youtube-player {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: max(100cqw, 178cqh);
    height: max(100cqh, 56.25cqw);
    transform: translate(-50%, -50%);
  }

  #intro-dialog-video .youtube-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  #intro-dialog-video .intro-fullvideo-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgb(0 0 0 / 15%) 0%,
      transparent 35%,
      rgb(0 0 0 / 15%) 100%
    );
  }

  #intro-dialog-video .intro-fullvideo-brand {
    position: absolute;
    top: clamp(16px, 2.7vw, 38px);
    left: clamp(16px, 2.5vw, 50px);
    z-index: 2;
    display: block;
    width: clamp(90px, 9.375vw, 180px);
  }

  #intro-dialog-video .intro-fullvideo-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  #intro-dialog-video .intro-fullvideo-close {
    position: absolute;
    right: 48px;
    top: 24px;
    width: 40px;
    height: 40px;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  #intro-dialog-video .intro-fullvideo-close .ui-icon {
    width: 40px;
    height: 40px;
  }

  #intro-dialog-video .intro-fullvideo-link {
    position: absolute;
    bottom: 18.5%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    padding: 20px 65px;
    border: 1px solid #ffffff;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transform: translateX(-50%);
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
  }

  #intro-dialog-video .intro-fullvideo-link:hover {
    background: #fff;
    color: #242424;
  }

  #intro-dialog-video .intro-fullvideo-link .ui-icon {
    filter: invert(0);
    width: 27.16px;
    height: 27.16px;
  }

  #intro-dialog-video .intro-fullvideo-link:hover .ui-icon {
    filter: invert(1);
  }

  #intro-dialog-video a:focus-visible,
  #intro-dialog-video button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  #intro-dialog-video .intro-fullvideo-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  #intro-dialog-video:focus,
  #intro-dialog-video:focus-visible {
    outline: none;
    box-shadow: none;
  }


/* 푸터 */

footer {
  padding: 60px max(46px, calc((100% - var(--max, 1730px)) / 2));
  display: flex;
  align-items: flex-end;
  width: 100%;
  border-top: 1px solid #efefef;
  background-color: #ffffff !important;
  height: unset !important;
}

footer .footer-left {
  width: 80%
}

footer .footer-left .cont p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #464646;
  margin-top: 20px;
}

footer .footer-left .cont p.copyright {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  color: #767676;
  margin-top: 12px;
}

footer .footer-left .util {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

footer .footer-left .util a,
footer .footer-left .util button {
  color: #464646;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
}

footer .footer-right {
  width: 20%
}

footer .footer-right .certified {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

footer .footer-right .sns{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 35px;
}

/* 스크롤 헤더 반응형 */
.main-new .site-header.is-stuck {
    --sticky-height: clamp(48px, 3.3vw, 63px);
    --sticky-font-size: clamp(12px, 0.94vw, 18px);

    --sticky-side: clamp(12px, 2.5vw, 48px);
    --sticky-menu-gap: clamp(12px, 2.5vw, 48px);

    --sticky-brand-width: clamp(140px, 12.5vw, 240px);
    --sticky-brand-height: clamp(30px, 2.1vw, 40px);

    --sticky-tool-size: clamp(20px, 1.46vw, 28px);
    --sticky-tools-gap: clamp(8px, 1.25vw, 24px);
    --sticky-tools-width: calc(
        var(--sticky-tool-size) * 4 +
        var(--sticky-tools-gap) * 3
    );

    top: -88px;
}

.main-new .site-header.is-stuck .header-main {
    position: static;
    height: 88px;
}

.main-new .site-header.is-stuck .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;

    height: var(--sticky-height);
    gap: 0 var(--sticky-menu-gap);

    /* 왼쪽 브랜드와 오른쪽 아이콘 공간 확보 */
    padding: 0;
    padding-left: calc(
        var(--sticky-side) +
        var(--sticky-brand-width) +
        var(--sticky-menu-gap)
    );
    padding-right: calc(
        var(--sticky-side) +
        var(--sticky-tools-width) +
        var(--sticky-menu-gap)
    );

    font-size: var(--sticky-font-size);
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
}

.main-new .site-header.is-stuck .main-nav > * {
    flex-shrink: 0;
}

/* 기존 display: contents를 덮어쓰기 */
.main-new .site-header.is-stuck .nav-categories,
.main-new .site-header.is-stuck .nav-services {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--sticky-menu-gap);
    font-size: inherit;
}

/* 서비스 메뉴를 오른쪽 아이콘 앞에 배치 */
.main-new .site-header.is-stuck .nav-services {
    margin-left: auto;
}

.main-new .site-header.is-stuck .main-nav > a,
.main-new .site-header.is-stuck .nav-categories .gnb,
.main-new .site-header.is-stuck .nav-services > a,
.main-new .site-header.is-stuck .nav-services > button {
    display: inline-flex;
    align-items: center;
    height: var(--sticky-height);
    padding-block: 0;
    font-size: inherit;
    line-height: 1.2;
    white-space: nowrap;
}

.main-new .site-header.is-stuck .nav-categories .gnb {
    padding: 0;
}

.main-new .site-header.is-stuck .brand-switch {
    top: auto;
    bottom: calc(
        (var(--sticky-height) - var(--sticky-brand-height)) / 2
    );
    left: var(--sticky-side);
    width: var(--sticky-brand-width);
    height: var(--sticky-brand-height);
}

.main-new .site-header.is-stuck .brand-switch > button {
    height: 100%;
}

.main-new .site-header.is-stuck .header-tools {
    top: auto;
    right: var(--sticky-side);
    bottom: calc(
        (var(--sticky-height) - var(--sticky-tool-size)) / 2
    );

    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: var(--sticky-tools-width);
    height: var(--sticky-tool-size);
    gap: var(--sticky-tools-gap);
}

.main-new .site-header.is-stuck .header-tools > .icon-button,
.main-new .site-header.is-stuck .header-tools .account-wrap > .icon-button {
    width: var(--sticky-tool-size);
    height: var(--sticky-tool-size);
}

.main-new .site-header.is-stuck .header-tools .ui-icon {
    width: calc(var(--sticky-tool-size) - 4px);
    height: calc(var(--sticky-tool-size) - 4px);
}

.main-new .site-header.is-stuck + .header-scrim {
    top: var(--header-bottom);
}

@media (max-width: 1000px) {
    .main-new .site-header.is-stuck {
        --sticky-height: 44px;
        --sticky-font-size: 12px;
        --sticky-side: 12px;
        --sticky-menu-gap: 8px;

        --sticky-brand-width: 140px;
        --sticky-brand-height: 32px;

        --sticky-tool-size: 24px;
        --sticky-tools-gap: 10px;
    }

    /* 숨겨지는 88px 뒤에 브랜드·아이콘 행 확보 */
    .main-new .site-header.is-stuck .header-main {
        height: calc(88px + var(--sticky-height));
    }

    .main-new .site-header.is-stuck .brand-switch {
        top: calc(
            88px +
            (var(--sticky-height) - var(--sticky-brand-height)) / 2
        );
        bottom: auto;
    }

    .main-new .site-header.is-stuck .header-tools {
        top: calc(
            88px +
            (var(--sticky-height) - var(--sticky-tool-size)) / 2
        );
        bottom: auto;
    }

    .main-new .site-header.is-stuck .main-nav {
        height: auto;
        min-height: var(--sticky-height);
        padding: 0 var(--sticky-side);
        flex-wrap: wrap;
    }

    /* 서비스 메뉴는 다음 줄 오른쪽 정렬 */
    .main-new .site-header.is-stuck .nav-services {
        flex-basis: 100%;
        justify-content: flex-end;
        margin-left: auto;
    }
}

.main-new .site-header.is-stuck .main-nav .red-dot {
    position: relative;

    --red-dot-size: clamp(4px, 0.33em, 6px);
    --red-dot-gap: clamp(1px, 0.08em, 2px);
}

.main-new .site-header.is-stuck .main-nav .red-dot::after {
    content: "";
    position: absolute;
    display: block;

    width: var(--red-dot-size);
    height: var(--red-dot-size);

    /* 메뉴 높이와 글자 크기에 맞춰 세로 위치 조절 */
    top: calc(50% - 0.7em);

    /* 글자 오른쪽에 일정한 간격으로 배치 */
    right: calc(
        0px - var(--red-dot-size) - var(--red-dot-gap)
    );

    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
}

/* 햄버거 svg 교체 */
.main-new #menu-toggle > .burger-svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #242424;
    stroke-width: 2;
    stroke-linecap: butt;
    pointer-events: none;
}

.main-new #menu-toggle > .burger-svg line {
    /* SVG가 확대·축소되어도 선 굵기 유지 */
    vector-effect: non-scaling-stroke;

    transform-box: fill-box;
    transform-origin: center;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

/* 열림: 상단 선 */
.main-new #menu-toggle[aria-expanded="true"] .burger-top {
    transform: translateY(9px) rotate(45deg);
}

/* 열림: 가운데 선 */
.main-new #menu-toggle[aria-expanded="true"] .burger-middle {
    opacity: 0;
}

/* 열림: 하단 선 */
.main-new #menu-toggle[aria-expanded="true"] .burger-bottom {
    transform: translateY(-9px) rotate(-45deg);
}

.main-new #menu-toggle {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.main-new #menu-toggle > .burger-svg line {
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: center;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.review-back > button.outline-button.btn-text-center,
.book-back > button.outline-button,
.intro-copy > button.outline-button {
  --icon-offset-y: -0.02em;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.review-back .outline-button.btn-text-center .ui-icon,
.book-back .outline-button .ui-icon,
.intro-copy .outline-button .ui-icon{
  display: block;
  flex: 0 0 auto;
  position: relative;
  top: 0; /* 기존 1.74555px 초기화 */
  margin: 0;
  transform: translateY(var(--icon-offset-y));
}

.intro-copy > button.outline-button {
  --icon-offset-y: 0.02em;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.intro-copy .outline-button .ui-icon{
  display: block;
  flex: 0 0 auto;
  position: relative;
  top: 0; 
  margin: 0;
  transform: translateY(var(--icon-offset-y));
}

.main-new .mega-column h2,
.main-new .mega-column h2 > a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: calc(22em / 18);
}

.main-new .mega-column h2 .ui-icon,
.main-new .mega-column h2 > a .ui-icon {
  align-self: flex-start;
  flex-shrink: 0;

  position: static;
  top: auto;
  transform: none;

  width: calc(24em / 18);
  height: calc(24em / 18);

  margin: calc(-1em / 18) 0;
}

.main-new .mega-column h2 > a {
  display: contents;
}

/* 진입 팝업 로고와 닫기 영역 */
#intro-dialog .intro-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  padding: 24px 50px;
}

#intro-dialog .intro-content {
  min-height: calc(100dvh - 80px);
  padding: 0 50px 24px;
}

#intro-dialog .intro-dialog-header > .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

#intro-dialog .intro-dialog-header > .brand img {
  display: block;
}

#intro-dialog .intro-dialog-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap:10px;
  color: #ccc;
}

#intro-dialog .intro-dialog-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  height: 24px;
  min-height: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #ccc;
  font-family: inherit;
  line-height: 24px;
  cursor: pointer;
}

#intro-dialog .intro-hide-today {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

#intro-dialog .intro-dialog-actions .dialog-close {
  position: static;
  inset: auto;
  transform: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

#intro-dialog .intro-dialog-actions .dialog-close .ui-icon {
  display: block;
  width: 24px;
  height: 24px;
  transform: translateY(2px);
  filter: brightness(0) invert(80%);
}

/* 코치마크 */
html.coachmark-active {
  overflow: hidden;
  scroll-behavior: auto;
}

body.coachmark-active {
  overflow: hidden;
  padding-right: var(--coachmark-scrollbar, 0px);
}

/* 1단계: 탭 선택. 반복 시작/종료는 coachmark.js에서 관리. */
.main-new .site-header .brand-switch.coachmark-brand-preview .switch-thumb {
  transform: translateX(0);
  background: #242424;
  transition: transform 0.45s var(--ease), background 0.45s;
}

.main-new .site-header .brand-switch.coachmark-brand-preview[data-coachmark-brand="photo"] .switch-thumb {
  transform: translateX(100%);
  background: var(--accent);
}

.coachmark[hidden],
.coachmark [hidden] {
  display: none !important;
}

.coachmark {
  position: fixed;
  inset: 0;
  z-index: 100100;
  isolation: isolate;
  font-family: "Pretendard", sans-serif;
  color: #242424;
  line-height: -2%;
}

.coachmark__shade {
  position: absolute;
  background: rgb(0 0 0 / 70%);
  pointer-events: none;
}

.coachmark__highlight {
  position: absolute;
  border: 4px solid #ec1b3b;
  pointer-events: none;
}

.coachmark__card {
  position: absolute;
  width: min(420px, calc(100% - 30px));
  padding: 32px 30px;
  border-radius: 20px;
  background: #fff;
}

.coachmark[data-step="4"] .coachmark__card {
  width: min(460px, calc(100% - 30px));
}

.coachmark[data-step="4"] .coachmark__card .coachmark__button--next {
  padding: 10px 22px;
}

.coachmark__card::before {
  content: "";
  position: absolute;
  left: var(--coachmark-arrow, 34px);
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

.coachmark__card[data-placement="below"]::before {
  top: -16px;
  border-bottom: 16px solid #fff;
}

.coachmark__card[data-placement="above"]::before {
  bottom: -16px;
  border-top: 16px solid #fff;
}

.coachmark__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -2%;
}

.coachmark__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -2%;
}

.coachmark__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 32px;
}

.coachmark__progress {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 14px;
}

.coachmark__progress strong { font-weight: 700; }
.coachmark__actions { display: flex; gap: 6px; }

.coachmark .coachmark__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 40px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #242424;
  border-radius: 70px; 
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -2%;
  white-space: nowrap;
  cursor: pointer;
}

.coachmark .coachmark__button--next {
  border-color: #ec1b3b;
  background: #ec1b3b;
  color: #fff;
}

.fuji-mo-featured__like {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: end;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  background: transparent;
  appearance: none;
  line-height: 0;
  cursor: pointer;
}
.fuji-mo-featured__like > img {
  position: static;
  display: block;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  transform: none;
  object-fit: contain;
  object-position: center;
}
.fuji-mo-featured__like:focus-visible {
  outline: 2px solid #242424;
  outline-offset: 4px;
}
.best-category .product-list .btn-like.active::after {
  background-image: url('https://resources.fujifilm.co.kr/upload/img/main/w/icons/ui-heart_full.svg');
}
#wrap.home-page.app-screen .fuji-mo-featured__product,
.fuji-mo-featured__product {
  grid-template-columns: 100px minmax(0, 1fr) 24px;
}
.product-card {
  position: relative;
}
#wrap.home-page.app-screen .product-card > .fuji-mo-featured__like,
.product-card > .fuji-mo-featured__like {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
  left: auto;
}

/* 마이메뉴 위치 수정 */
/* 계정 버튼을 패널 위치의 기준으로 설정 */
.main-new #site-header .account-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* 일반 헤더·축소 헤더 모두 버튼 중앙에 배치 */
.main-new #site-header .account-wrap > .account-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin: 0;
}

/* 메가메뉴 오른쪽 아이콘 */
/* 전체 메뉴: 서비스 아이콘의 음수 마진 초기화 */
.main-new #mega-feature .service-icon > .ui-icon {
  margin: 0;
}