@charset "UTF-8";

@font-face {
    font-family: 'ThreeFoolsFine';
    src: url('./fonts/lixianti.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'ThreeFoolsBold';
    src: url('./fonts/chuxianti.ttf') format('truetype');
    font-display: swap;
}

:root {
    --site-bg: white;
    --site-surface: #fffdf8;
    --site-text: #1f1a17;
    --site-muted: #766d65;
    --site-line: rgba(30, 26, 23, 0.14);
    --site-accent: #111111;
    --site-shadow: 0 12px 30px rgba(28, 22, 18, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--site-bg);
    color: var(--site-text);
    font-family: "Chiron GoRound TC", sans-serif;
}

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

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    padding: 40px 0 10px;
    background: transparent;
    z-index: 1000!important;
}

.site-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-logo {
    width: 156px;
    height: auto;
}

.site-main {
    padding-bottom: 48px;
    margin-top: 10px;
}

.gallery-home-main {
    padding-bottom: 24px;
}

.gallery-mobile-home {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 0 16px 8px;
}

.gallery-mobile-topnav {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 70px;
    margin: 30px 0 0;
}

.site-marquee {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
    /* border-top: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line); */
    background: rgba(240, 240, 240, 0.92);
    z-index: 1000!important;
}

.site-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    min-width: max-content;
    padding: 0 24px;
    white-space: nowrap;
    animation: site-marquee-scroll 16s linear infinite;
}

.site-marquee-track span {
    font-size: 0.92rem;
    color: var(--site-text);
}

@keyframes site-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-mobile-tab {
    position: relative;
    text-decoration: none;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    cursor: pointer;
}


.gallery-mobile-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.latest-noti {
    position: relative;
    width: min(90vw, 400px);
    margin: 0 auto 18px;
}

.latest-noti img {
    width: 100%;
    height: auto;
}

.noti-title,
.noti-caption {
    position: absolute;
    left: 50%;
    width: 72%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
}

.noti-title {
    top: 28%;
    font-size: 1rem;
    line-height: 1.2;
    color: white;
    font-size: 30px;
}

.noti-caption {
    top: 48%;
    font-size: 0.82rem;
    line-height: 1.35;
    color: white;
    font-size: 20px;
}

.gallery-mobile-title {
    margin: 0;
    font-size: 4rem;
    line-height: 0.3;
}

.gallery-mobile-subtitle {
    font-size: 2rem;
    color: var(--site-text);
}

.gallery-mobile-stamp {
    width: 78px;
    opacity: 0.2;
    mix-blend-mode: multiply;
}

.gallery-mobile-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
}

.gallery-view-btn {
    border: none;
    background: transparent;
    padding: 0;
    width: 30px;
    cursor: pointer;
    opacity: 0.55;
}

.gallery-view-btn.is-active {
    opacity: 1;
}

.underline-switch {
    width: 30px;
    transform: scale(1, 0.7);
    margin-top: 5px;
    opacity: 0;
    transition: 0.2s ease;
}

.gallery-view-btn.is-active img.underline-switch{
    opacity: 1;
}


.gallery-view-icon {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 2px;
}

.gallery-view-icon-grid {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-view-icon-grid::before,
.gallery-view-icon-grid::after,
.gallery-view-icon-compact::before,
.gallery-view-icon-compact::after {
    content: '';
}

.gallery-view-icon-grid,
.gallery-view-icon-compact {
    position: relative;
}

.gallery-view-icon-grid::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--site-accent), var(--site-accent)) 0 0 / 10px 10px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 14px 0 / 10px 10px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 0 14px / 10px 10px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 14px 14px / 10px 10px no-repeat;
}

.gallery-view-icon-compact::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--site-accent), var(--site-accent)) 0 0 / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 9px 0 / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 18px 0 / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 0 9px / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 9px 9px / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 18px 9px / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 0 18px / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 9px 18px / 6px 6px no-repeat,
        linear-gradient(var(--site-accent), var(--site-accent)) 18px 18px / 6px 6px no-repeat;
}

.gallery-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 18px 16px;
}

.gallery-featured-intro {
    margin: 0 0 18px;
    font-weight: 300;
    font-size: 18px;
}

.gallery-featured-strip {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 0 50px;
    padding: 8px 0 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-featured-strip::-webkit-scrollbar {
    display: none;
}

.gallery-featured-strip-track {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: max-content;
    min-width: 100%;
    padding: 0 4px;
}

.gallery-featured-card {
    flex: 0 0 min(220px, 58vw);
    width: min(220px, 58vw);
    padding: 0;
    scroll-snap-align: start;
}

.gallery-featured-card .gallery-poster-frame {
    margin-bottom: 6px;
    padding: 20px 14px;
    border-width: 4px;
}

.gallery-featured-card .gallery-poster-caption {
    padding: 0 1px;
}

.gallery-featured-card .gallery-poster-meta-top {
    margin-bottom: 1px;
    font-size: 0.62rem;
    letter-spacing: 0.26rem;
}

.gallery-featured-card .gallery-poster-title {
    font-size: 0.82rem;
}

.gallery-featured-card .gallery-poster-meta {
    margin-top: 3px;
    font-size: 0.46rem;
}

@media (min-width: 768px) {
    .gallery-featured-strip {
        padding-bottom: 0;
    }

    .gallery-featured-strip-track {
        gap: 10px;
        padding: 0 2px;
    }

    .gallery-featured-card {
        flex-basis: 200px;
        width: 200px;
    }

    .gallery-featured-card .gallery-poster-frame {
        padding: 18px 12px;
    }
}

@media (min-width: 701px) {
    #galleryMobileGrid {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    #galleryMobileGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#galleryMobileGrid[hidden],
#galleryMobileIGstyle[hidden] {
    display: none;
}

#galleryMobileIGstyle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #fff;
}

.gallery-mobile-container {
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

@media(max-width: 767px){
    #galleryMobileIGstyle {
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .gallery-mobile-container {
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }
}

#galleryMobileIGstyle[hidden] {
    display: none;
}

#galleryMobileIGstyle .gallery-poster-card {
    min-width: 0;
}

#galleryMobileIGstyle .gallery-poster-link {
    display: block;
}

#galleryMobileIGstyle .gallery-poster-frame {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    aspect-ratio: 4 / 5;
    background: #fff;
    overflow: hidden;
}

#galleryMobileIGstyle .gallery-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.gallery-poster-card {
    min-width: 0;
}

.gallery-stagger .gallery-poster-card {
    transition: transform 0.3s ease;
}

.gallery-stagger .gallery-poster-card:hover {
    transform: translateY(var(--stagger-y, 0)) rotate(0deg) scale(1.03);
}

.gallery-poster-link {
    display: block;
    text-decoration: none;
}

.gallery-poster-frame {
    border: 5px solid #323333;
    padding: 35px 25px;
    background: #f2f2f2;
    box-shadow: 8px 7px 4px 1px rgb(0 0 0 / 23%);
    margin-bottom: 8px;
}

.gallery-poster-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.gallery-poster-meta-top {
    margin-bottom: 2px;
    font-size: 0.7rem;
    letter-spacing: 0.5rem;
    color: #7e7e7e;
    text-transform: uppercase;
}

.gallery-poster-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.08;
    font-weight: 300;
}

.gallery-poster-meta {
    margin: 4px 0 0;
    font-size: 0.5rem;
    font-weight: 300;
    color: var(--site-muted);
}

.gallery-poster-price {
    margin: 2px 0 0;
    font-size: 0.72rem;
}


.qna-list {
    margin-top: 22px;
    border-top: 1px solid rgba(31, 26, 17, 0.16);
}

.qna-item {
    border-bottom: 1px solid rgba(31, 26, 17, 0.16);
}

.qna-item summary {
    list-style: none;
}

.qna-item summary::-webkit-details-marker {
    display: none;
}

.qna-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 0;
    cursor: pointer;
}

.qna-icon {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 2px solid #111;
    border-radius: 50%;
}

.qna-icon::before,
.qna-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #111;
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.qna-icon::before {
    width: 18px;
    height: 2px;
}

.qna-icon::after {
    width: 2px;
    height: 18px;
}

.qna-item[open] .qna-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
}

.qna-question-text {
    font-family: "Chiron GoRound TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: 1.34;
    color: #323232;
}

.qna-answer {
    padding: 0 0 24px 58px;
    font-family: "Chiron GoRound TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 360;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.9;
    color: #5d5348;
}

@media (max-width: 767.98px) {
    .qna-question {
        gap: 12px;
        padding: 20px 0;
    }

    .qna-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .qna-icon::before {
        width: 14px;
    }

    .qna-icon::after {
        height: 14px;
    }

    .qna-question-text {
        font-size: 1.18rem;
    }

    .qna-answer {
        padding-left: 46px;
        font-size: 0.95rem;
    }
}

.gallery-mobile-footer-note {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 8px 16px 0;
    text-align: center;
}

.gallery-mobile-note {
    margin: 0;
    color: var(--site-muted);
    font-size: 1rem;
}

.site-footer {
    padding: 12px 0 40px;
}

.site-footer-inner {
    padding: 20px 10px;
    text-align: left;
    align-items: start;
    display: flex;
    flex-direction: column;
    font-family: "Chiron GoRound TC", sans-serif;
    gap: 5px;
}

.site-footer-title {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-footer-text {
    margin: 6px 0 12px;
    font-weight: 300;
    font-size: 15px;
    color: rgb(145 145 145);
}

.site-footer-link {
    font-size: 14px;
    line-height: 24.5px;
    text-decoration: none;
    color: #323232;
}

.footer-logo {
    width: 150px;
}

.font-fine {
    font-family: 'ThreeFoolsFine', 'Inter', Arial, sans-serif;
}

.font-bold-custom {
    font-family: 'ThreeFoolsBold', 'Inter', Arial, sans-serif;
}

.font-yuan {
    font-family: 'Huninn', 'Inter', Arial, sans-serif;
}

.since-footer-text {
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 200;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .gallery-mobile-home,
    .gallery-mobile-footer-note {
        width: min(100%, 680px);
    }

    .gallery-mobile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .site-header {
        padding: 40px 0 6px;
    }

    .site-logo {
        width: 138px;
    }

    .gallery-mobile-home {
        padding: 0 20px 8px;
    }

    .gallery-mobile-topnav {
        gap: 30px;
    }

}

.gallery-poster-caption {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 15px;
}

.gallery-poster-code {
    font-size: 20px;
}

.gallery-big-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.since2026 {
    width: 90px;
    margin-top: 5px;
}

.nav-img {
    height: 30px;
}

.underline-nav {
    width: 40px;
    transform: scale(1, 0.7);
    margin-top: 5px;
    display: none;
}

.gallery-mobile-tab.is-active .underline-nav{
    display: block;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

.latest-noti {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 30px;
    cursor: pointer;
}

.latest-noti:active, .latest-noti.clicked {
    filter: brightness(0.95);
    transform: scale(0.98);
    transition: filter 0.1s, transform 0.1s;
}

/* ── Contact / About page ─────────────────────────── */

.contact-content {
    text-align: center;
    padding: 10px 0 30px;
}

.contact-title {
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin: 20px 0 30px;
}

.contact-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: left;
    margin: 0 20px 5px 30px;
}

.contact-logo-img {
    width: 160px;
    height: auto;
    flex-shrink: 0;
}

.contact-intro-text {
    font-size: 0.9rem;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-body {
    font-size: 1.3rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 20px 0 28px;
}

.contact-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    margin: 0 0 30px;
    color: var(--site-text);
}

.contact-photo {
    margin: 0 30px 28px;
}

.contact-photo img {
    width: 100%;
    border-radius: 100px;
    max-width: 500px;
}

.contact-photo-caption {
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 20px;
    margin-left: 20px;
    color: var(--bs-dark-text-emphasis);
}

.contact-closing {
    font-size: 3rem;
    line-height: 1.2;
    margin: 50px 0 60px;
}

.contact-ig {
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--site-text);
    border: 2px solid var(--site-text);
    border-radius: 100px;
    padding: 2px 20px;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;

    background: var(--site-text);
    color: #fff;

}

.contact-ig:hover {
    background: none;
    color: var(--site-text);
}

.gallery-mobile-contact {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.indicator {
    width: 5px;
    border-radius: 5px;
    height: 50px;
    border: 1px solid #717171;
}

.gallery-selector-container {

    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px 15px;
    margin-bottom: 20px;
}

.galler-selector-title {
    font-weight: 300;
    font-size: 16px;
    margin: 0 0 10px;
    padding: 5px;
}

.gallery-selector-container-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: black;
}

.gallery-selector {
    background-color: #fafafa;
    color: black;
    border-radius: 60px;
    padding: 10px 12px;
    font-size: 12px;
    border: 1px solid #fafafa;
}

.gallery-selector:hover {
    border: 1px solid grey;
}

.gallery-selector.is-select {
    border: 1px solid black;
}

/* ── Work Detail Page ─────────────────────────── */

.work-detail {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.work-detail-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.work-carousel-col {
    flex: 1 1 55%;
    min-width: 0;
}

.work-info-col {
    flex: 1 1 40%;
    min-width: 0;
}

.work-back-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--site-muted);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.15s;
}

.work-back-link:hover {
    color: var(--site-text);
}

.work-carousel {
    position: relative;
    overflow: hidden;
}

.work-carousel-viewport {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-main-frame {
    margin-bottom: 0;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.work-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(31, 26, 23, 0.7);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.work-carousel-btn:hover {
    background: rgba(31, 26, 23, 0.9);
    transform: translateY(-50%) scale(1.08);
}

.work-carousel-prev {
    left: 16px;
}

.work-carousel-next {
    right: 16px;
}

.work-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px 0 6px;
}

.work-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--site-muted);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.work-carousel-dot:hover {
    border-color: var(--site-text);
}

.work-carousel-dot.is-active {
    background: var(--site-text);
    border-color: var(--site-text);
    transform: scale(1.2);
}

.work-thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.work-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 95px;
    border: 2px solid transparent;
    padding: 0;
    background: var(--site-surface);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

.work-thumb:hover {
    border-color: var(--site-line);
}

.work-thumb.is-active {
    border-color: var(--site-text);
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info-body {
    margin-bottom: 28px;
}

.work-info-style {
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--site-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.work-info-title {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--site-text);
}

.work-info-meta {
    font-size: 0.9rem;
    color: var(--site-muted);
    margin: 0;
    line-height: 1.6;
}

.work-info-price {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--site-text);
}

.work-info-code {
    font-size: 0.85rem;
    color: var(--site-muted);
    letter-spacing: 0.5px;
    padding-bottom: 20px;
}

.work-info-code strong {
    color: var(--site-text);
}

.work-similar {
    padding-top: 28px;
    margin-top: 8px;
}

.work-similar-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--site-muted);
    margin: 0 0 18px;
    font-weight: 600;
}

.work-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.work-similar-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.25s ease;
}

.work-similar-card:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.work-similar-frame {
    aspect-ratio: 4 / 5;
    border: 2px solid rgb(50 51 51);
    padding: 18px;
    background: #f2f2f2;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.work-similar-card:hover .work-similar-frame {
    border-color: var(--site-text);
}

.work-similar-img {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    object-fit: contain;
}

.work-similar-info {
    text-align: center;
}

.work-similar-name {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 3px;
    color: var(--site-text);
}

.work-similar-code {
    font-size: 0.65rem;
    color: var(--site-muted);
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .work-detail {
        padding: 0 20px 28px;
    }

    .work-similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 12px;
    }

    .work-similar-name {
        font-size: 0.9rem;
    }

    .work-info-title {
        font-size: 1.6rem;
    }

    .work-info-body {
        padding: 24px 20px;
    }
}

@media (min-width: 768px) {
    .work-detail-inner {
        flex-direction: row;
        gap: 48px;
        align-items: flex-start;
    }

    .work-carousel-col {
        position: sticky;
        top: 20px;
    }

    .work-info-col {
        padding-top: 0;
    }

    .work-similar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Work Mockup Slide ─────────────────────────── */

.work-mockup-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #e0e0e0;
}

.work-mockup-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.work-mockup-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-mockup-poster {
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    mix-blend-mode: multiply;
}

.work-mockup-clip {
    position: absolute;
    left: 35.4%;
    top: 15.7%;
    width: 29.2%;
    height: 55.8%;
    overflow: hidden;
}

.work-mockup-clip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-mockup-clip-t2 {
    left: 37.7%;
    top: 13.4%;
    width: 24.6%;
    height: 46.8%;
}
/* ── New Series Styles ─────────────────────────── */
/* .gallery-selector.is-new-series {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.gallery-selector.is-new-series:hover {
    background: #000;
    border-color: #000;
} */

.gallery-selector .new-badge {
    font-weight: 700;
    margin-right: 4px;
}


/* ── Add-to-Cart Button ───────────────────────── */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 23px;
    /* margin-top: 20px; */
    border-radius: 30px;
    background: var(--site-text);
    color: #fff;
    border: 1.5px solid var(--site-text);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-add-to-cart:hover {
    background: transparent;
    color: var(--site-text);
}

.btn-add-to-cart i {
    font-size: 1.1rem;
}

/* ── Floating Cart Bubble ─────────────────────── */
.floating-cart {
    position: fixed;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    right: calc(28px + env(safe-area-inset-right, 0px));
    z-index: 1000;
}

.floating-cart-toggle {
    position: relative;
    width: 58px;
    height: 58px;
    background: var(--site-text);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--site-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(28,22,18,0.18);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    background: #c0392b;
    color: #fff;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid #fff;
}

/* ── Cart Backdrop ────────────────────────────── */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 26, 23, 0.35);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ── Cart Side Panel ──────────────────────────── */
.floating-cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -6px 0 28px rgba(28,22,18,0.12);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.floating-cart-panel.is-open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--site-line);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--site-text);
}

.cart-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--site-muted);
    transition: color 0.15s;
    padding: 6px;
}

.cart-close:hover {
    color: var(--site-text);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 26px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--site-line);
    gap: 14px;
}

.cart-empty i {
    font-size: 52px;
}

.cart-empty p {
    font-size: 0.95rem;
    color: var(--site-muted);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--site-line);
    position: relative;
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 70px;
    height: 90px;
    object-fit: cover;
    background: var(--site-surface);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--site-text);
    margin-bottom: 2px;
}

.cart-item-code {
    font-size: 0.75rem;
    color: var(--site-muted);
    letter-spacing: 0.3px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.cart-item-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--site-text);
}

.cart-item-remove {
    position: absolute;
    top: 20px;
    right: 0;
    background: none;
    border: none;
    color: var(--site-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 15px;
    transition: color 0.15s;
    opacity: 0.6;
}

.cart-item:first-child .cart-item-remove {
    top: 0;
}

.cart-item-remove:hover {
    color: #c0392b;
    opacity: 1;
}

.cart-footer {
    padding: 22px 26px calc(22px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--site-line);
    background:#fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--site-line);
}

.cart-total-qty {
    font-size: 0.88rem;
    color: var(--site-muted);
}

.cart-total-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--site-text);
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--site-text);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    transition: all 0.25s ease;
    border: 1.5px solid var(--site-text);
}

.btn-checkout:hover {
    background: transparent;
    color: var(--site-text);
}

.cart-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--site-text);
    color: #fff;
    padding: 14px 22px;
    box-shadow: var(--site-shadow);
    z-index: 2000;
    opacity: 0;
    transform: translateY(-16px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* ── Cart & Work responsive ───────────────────── */
@media (max-width: 575.98px) {
    .floating-cart {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        right: calc(18px + env(safe-area-inset-right, 0px));
    }

    .floating-cart-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-cart-panel {
        width: 100vw;
        right: -100vw;
    }

    .cart-header,
    .cart-body,
    .cart-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ── Quantity Controls ────────────────────────── */
.cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.qty-btn {
    width: 34px;
    height: 34px;
    background: none;
    border: 1.5px solid var(--site-line);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: var(--site-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    border-color: var(--site-text);
    color: var(--site-text);
}

.qty-btn.qty-plus {
    background: var(--site-text);
    border-color: var(--site-text);
    color: #fff;
}

.qty-btn.qty-plus:hover {
    background: var(--site-accent);
    border-color: var(--site-accent);
}

.qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--site-text);
}

.content-block {
    display: block;
    padding: 0;
    margin: 34px 20px 33px;

    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Chiron GoRound TC", sans-serif;
}

.title-block {
    margin: 32px 0 110px;
    width: 100%;
    max-width: 600px;
    font-family: "Chiron GoRound TC", sans-serif;
}

.title-block .title-main-big {
    margin: 0;
    font-family: "Chiron GoRound TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 28px;
    font-style: normal;
    line-height: 1;
    color: #2f261c;
}

.title-block .title-main-small {
    font-size: 12px;
    color: #323232;
    margin: 0 0 26px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a7a5f;
}

.title-block .title-main-middle {
    font-size: 24px;
    margin: 0 0 16px;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 1px;
}

.title-block .title-main-tiny {
    font-size: 18px;
    margin: 0 0 16px;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 1px;
}

.title-block .title-main-middle-content {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 20px;
    font-weight: 300;
}

.title-block .scene-pic {
    flex: 0 0 100%;
    margin: 0 0 24px;
}

.horizontal-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.horizontal-layout .content-right .title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 12px;
}
.horizontal-layout .content-right .content {
    font-size: 10px;
    line-height: 1.75;
    margin: 0 0 20px;
    letter-spacing: 1px;
    color: rgb(69, 69, 69);
}

.picture-left {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #ece5da;
}

.picture-left img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    height: 40px;
    background-color: #323232;
    border-radius: 100vh;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}

.title-menu {
    width: 100%;
    max-width: 800px;
    list-style: none;
    padding: 0;
    margin: 0 0 0 6px;
}

.title-menu .item {
    display: block;
    border-bottom: 1px solid #CCC;
    font-size: 18px;
    line-height: 1.75;
    text-decoration: none;
    color: #323232;
    padding: 16px 0;
}

.title-main-subtitle {
    font-size: 19px;
    font-weight: 500;
}

.href-pic {
    border-radius: 10px;
    transition: 0.2s ease;
    border: 1px solid rgb(209, 209, 209);
    margin: 10px;
    width: auto;
    overflow: hidden;
}

.href-pic img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.href-pic:hover {
    scale: 0.95;
}

.href-pic:onclick {
    scale: 0.8;
}