@charset "UTF-8";

/* 基礎樣式 */
.mainframe {
  position: relative;
  padding: 0;
  margin: 0;
  background-color: #FFFFFF;
  font-size: 15px;
}

.mainframe a {
  text-decoration: none;
}

.mainframe img {
  max-width: 100%;
  display: block;
}

.mainframe p,
.mainframe a,
.mainframe p span {
  font-size: 15px;
  font-family: "Work Sans", "Noto Sans TC", Helvetica, Arial, sans-serif;
  color: #000000;
  margin: 0;
}

.mainframe h1 {
  font-family: "Work Sans", "Noto Sans TC", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* 主視覺與介紹 */
.mainframe .section__top {
  /*max-width: 1400px;*/
  margin: 0 auto;
  padding: 0;
}

.mainframe .section__top img {
  width: 100%;
  height: auto;
}

.mainframe .section__desc {
  padding: 5rem 3rem 4rem;
  text-align: center;
}

.mainframe .section__desc p span {
  font-size: 15px;
  letter-spacing: 0.04em;
  display: block;
  line-height: 2.5;
}

/* 四個 Look 圖片選單 */
.mainframe .section__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: calc(100% - 32px);
  max-width: 800px;
  margin: 0 auto 6rem;
}

.mainframe .section__nav a {
  display: block;
}

.mainframe .section__nav a:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

.mainframe .section__nav img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.mainframe .section__items .item[id] {
  scroll-margin-top: 24px;
}

/* 特輯區塊與標題 */
.mainframe .section__items {
  position: relative;
}

.mainframe .section__items .item {
  max-width: 1200px;
  margin: 0 auto 6rem;
}

.mainframe .section__items .item .title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.mainframe .section__items .item .title h5 {
  font-family: "Work Sans", "Noto Sans TC", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

.mainframe .section__items .item .title h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 1.75rem;
}

/* 主圖輪播：.look-gallery > .look-slider */
.mainframe .section__items .item .look-gallery {
  max-width: 760px;
  margin: 0 auto 5rem;
}

.mainframe .section__items .item .look-slider {
  visibility: hidden;
}

.mainframe .section__items .item .look-slider.slick-initialized {
  visibility: visible;
}

.mainframe .section__items .item .look-slider img {
  width: 100%;
}

.mainframe .section__items .item .look-slider .slick-dots {
  bottom: -32px;
}

.mainframe .section__items .item .look-slider .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0 5px;
}

.mainframe .section__items .item .look-slider .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
}

.mainframe .section__items .item .look-slider .slick-dots li button:before {
  width: 8px;
  height: 8px;
  color: #000000;
  font-size: 8px;
  line-height: 8px;
}

/* 商品區：桌面排列，600px 以下使用 Slick */
.mainframe .section__items .item .inner {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.mainframe .section__items .item .inner:before {
  content: "Styling With";
  flex: 0 0 100%;
  margin: 0 0 3rem;
  color: #666666;
  font-family: "Work Sans", "Noto Sans TC", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mainframe .section__items .item .inner a.col {
  transition: all 0.2s ease-in-out;
  width: 280px;
  margin: 0 10px 4rem;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.mainframe .section__items .item .inner a.col:hover {
  transform: translateY(5px);
}

.mainframe .section__items .item .inner a.col p {
  margin-top: 0.75rem;
  font-size: 13.5px;
}

.mainframe .section__items .item .inner a.col .item-top img {
  width: 100%;
}

.mainframe .section__items .item .inner a.col .item-bot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mainframe .section__items .item .inner a.col .item-bot p.item-name {
  font-size: 15px;
  margin-top: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.mainframe .section__items .item .inner a.col .shop-button {
  background-color: #000000;
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  margin-top: 1.25rem;
}

.mainframe .section__items .item .inner a.col .shop-button:after {
  font-size: 9px;
  content: "Shop Now";
  text-transform: uppercase;
  display: block;
  color: #FFFFFF;
}

/* Look 詳細版型：主圖、錯落穿搭照、穿搭重點與商品 */
.mainframe .look-detail__header {
  text-align: center;
  margin-bottom: 48px;
}

.mainframe .look-detail__number {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
}

.mainframe .look-detail__number span {
  font-size: 32px;
}

.mainframe .look-detail__hero {
  width: 450px;
  height: auto;
  margin: 0 auto;
}

.mainframe .look-hero-slider img {
  width: 100%;
  height: auto;
}

.mainframe .look-hero-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}

.mainframe .look-detail__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.mainframe .look-detail__photos img {
  width: 100%;
  height: auto;
}

.mainframe .look-detail__photos > :nth-child(2) {
  margin-top: 40px;
}

.mainframe .look-photo-slider {
  min-width: 0;
  margin-bottom: 30px;
}

/* Slick 無法載入時仍顯示第一張穿搭照。 */
.mainframe .look-photo-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}

.mainframe .look-photo-slider .slick-dots {
  bottom: -30px;
}

.mainframe .look-photo-slider .slick-dots li button:before {
  color: #000000;
  font-size: 8px;
}

.mainframe .look-detail__point {
  max-width: 800px;
  margin: 64px auto;
  text-align: center;
}

.mainframe .look-detail h3 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

.mainframe .look-detail__point p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 2px;
}

.mainframe .look-detail__products {
  max-width: 900px;
  margin: 0 auto;
}

.mainframe .look-detail__products h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mainframe .styling-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 8px;
}

.mainframe .styling-card {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
  text-align: center;
}

.mainframe .styling-card__link {
  display: block;
}

.mainframe .styling-card img {
  width: 100%;
  height: auto;
}

.mainframe .styling-card__name {
  margin: 16px 4px 12px;
  min-height: 3em;
  font-size: 13px;
  line-height: 1.5;
}

.mainframe .styling-card .shop-button {
  display: inline-block;
  padding: 9px 16px;
  border: 0;
  border-radius: 0;
  background: #000000;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
}

.mainframe .styling-card__link:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

@media screen and (max-width: 600px) {
  .mainframe .look-detail__header {
    margin-bottom: 24px;
  }

  .mainframe .look-detail__number {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .mainframe .look-detail__number span {
    font-size: 20px;
  }

  .mainframe .look-detail__hero {
    width: 50%;
    max-width: 300px;
  }

  .mainframe .look-detail__photos {
    gap: 14px;
  }

  .mainframe .look-detail__photos > :nth-child(2) {
    margin-top: 20px;
  }

  .mainframe .look-detail__point {
    margin: 36px auto 56px;
  }

  .mainframe .look-detail h3 {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .mainframe .styling-card {
    flex-basis: calc((100% - 8px) / 2);
  }

  .mainframe .styling-card__name {
    font-size: 12px;
  }
}

/* 共用按鈕 */
.mainframe .section__more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem auto 8rem;
}

.mainframe .section__more .button {
  transition: all 0.2s ease-in-out;
  background-color: #000000;
  color: #FFFFFF;
  padding: 1.2rem 3rem 1rem;
}

.mainframe .section__more .button:hover {
  transform: translateX(3px);
}

/* 回到頁首 */
.mainframe #backtop {
  position: fixed;
  bottom: 50px;
  right: 20px;
  width: 30px;
  height: 30px;
  text-decoration: none;
  display: none;
  text-align: center;
  z-index: 5;
  transition: background-color 0.2s ease-in-out;
}

.mainframe #backtop img {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-top: 9px;
}

.mainframe #backtop:hover {
  
}

/* 響應式版型 */
@media screen and (max-width: 1200px) {
  .mainframe .section__top {
    padding: 0;
  }

  .mainframe .section__items .item {
    width: 90%;
  }
}

@media screen and (max-width: 1024px) {
  .mainframe .section__items .item .inner a.col {
    width: calc(33.3333% - 1rem);
    margin: 0 0.5rem 4rem;
  }
}

@media screen and (max-width: 800px) {
  .mainframe .section__items .item .inner a.col p {
    font-size: 12px;
  }

  .mainframe .section__items .item .inner a.col .item-bot p.item-name {
    font-size: 12.75px;
  }
}

@media screen and (max-width: 600px) {
  .mainframe .section__nav {
    gap: 8px;
    margin-bottom: 4rem;
  }

  .mainframe .section__desc {
    padding: 3rem 0.5rem 2rem;
  }

  .mainframe .section__items .item {
    width: 95%;
    margin: 0 auto 10rem;
  }

  .mainframe .section__items .item .title h1 {
    font-size: 25.5px;
  }

  .mainframe .section__items .item .look-gallery {
    margin-bottom: 4rem;
  }

  .mainframe .section__items .item .inner.slick-initialized {
    display: block;
    max-width: 100%;
  }

  .mainframe .section__items .item .inner.slick-initialized:before {
    display: block;
    margin: 0 0 1.75rem;
  }

  .mainframe .section__items .item .inner.slick-initialized a.col {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .mainframe .section__items .item .inner.slick-initialized a.col:hover {
    transform: none;
  }

  .mainframe .section__items .item .inner.slick-initialized a.col .item-top img {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
  }

  .mainframe .section__items .item .inner.slick-initialized a.col .item-bot p.item-name {
    margin-top: 1.5rem;
    font-size: 13px;
  }

  .mainframe .section__items .item .inner.slick-initialized .shop-button {
    margin-bottom: 1.5rem;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-prev,
  .mainframe .section__items .item .inner.slick-initialized .slick-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-prev {
    left: 0.2rem;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-next {
    right: 0.2rem;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-prev:before,
  .mainframe .section__items .item .inner.slick-initialized .slick-next:before {
    content: "";
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-prev span,
  .mainframe .section__items .item .inner.slick-initialized .slick-next span {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    border-top: 1.5px solid #9c9c9c;
    border-right: 1.5px solid #9c9c9c;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-prev span {
    transform: rotate(-135deg);
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-next span {
    transform: rotate(45deg);
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -5px;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-dots li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    margin: 0 1px;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-dots li button {
    position: relative;
    width: 15px;
    height: 15px;
    padding: 0;
    line-height: 1;
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-dots li button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d7d7d7;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .mainframe .section__items .item .inner.slick-initialized .slick-dots li.slick-active button:before {
    background: #666666;
  }

  .mainframe .section__items .item .inner a.col {
    width: calc(50% - 0.5rem);
    margin: 0 0.25rem 3rem;
  }

  .mainframe .section__items .item .inner a.col:hover {
    transform: none;
  }
}

@media screen and (max-width: 500px) {
  .mainframe .section__desc p span {
    font-size: 12.75px;
  }
}

@media screen and (max-width: 400px) {
  .mainframe .section__more {
    margin: 6rem auto 8rem;
  }
}
/* --------------------
		footer
-------------------- */
.footer {
  padding: 16vw 0;
  background-color: #000; }
  @media screen and (min-width: 1000px) {
    .footer {
      padding: 3.90625vw 0; } }
  .footer img {
    width: 100%;
    height: auto; }
  .footer__logo {
    width: 29.33333vw;
    margin: 0 auto 4.26667vw; }
    @media screen and (min-width: 1000px) {
      .footer__logo {
        width: min(130px, 10.15625vw);
        margin: 0 auto 1.25vw; } }
    .footer__logo a {
      display: block; }
      @media screen and (min-width: 1000px) {
        .footer__logo a {
          transition: all 0.5s ease; }
          .footer__logo a:hover {
            opacity: 0.5; } }
  .footer__copyright {
    text-align: center;
    color: #fff;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    font-size: 2.93333vw;
    font-weight: 400;
    letter-spacing: 0.05em; }
    @media screen and (min-width: 1000px) {
      .footer__copyright {
        font-size: min(13px, 1.01563vw); } }

/* 輕柔動態：捲動淡入、圖片與按鈕互動 */
html {
  scroll-behavior: smooth;
}

.mainframe .reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.mainframe .reveal-on-scroll.is-revealed,
.mainframe .reveal-on-scroll:focus-within {
  opacity: 1;
  transform: none;
}

.mainframe .section__nav a {
  overflow: hidden;
}

.mainframe .section__nav img {
  transition: transform 900ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.mainframe .styling-card__link img {
  transition: filter 500ms ease;
}

.mainframe .styling-card .shop-button,
.mainframe .section__more .button {
  transition: background-color 300ms ease, transform 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .mainframe .section__nav a:hover img {
    transform: scale(1.035);
  }

  .mainframe .styling-card__link:hover img {
    filter: brightness(1.04);
  }

  .mainframe .styling-card__link:hover .shop-button,
  .mainframe .section__more .button:hover {
    background-color: #504943;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mainframe .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mainframe .section__nav img,
  .mainframe .styling-card__link img,
  .mainframe .styling-card .shop-button,
  .mainframe .section__more .button {
    transition: none;
    transform: none;
  }
}

@media print {
  .mainframe .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* 保留輪播圖片高度，避免未載入時縮成細線。 */
.mainframe .look-hero-slider img,
.mainframe .look-detail__photos img {
  aspect-ratio: 5 / 6;
}

.mainframe .look-hero-slider .slick-list,
.mainframe .look-photo-slider .slick-list {
  aspect-ratio: 5 / 6;
}
