#wrap h2.pag_tit { font-size: 30px; }
#wrap { margin-top: 50px; z-index: 4; }
#wrap h1 { color: #282828; }

.productworkframe { width: 100%; }
#top_title {display: flex;flex-direction: column;align-items: center;gap: 10px;}
#top_title .waylink ol { padding-bottom: 0; }
/* product_list */
#product_list { display: grid; align-items: center; grid-template-columns: repeat(4,1fr); gap: 30px; margin-bottom: 6vh; }
#product_list li { width: 100%; }
#product_list li .clip { margin: 0 auto 20px; }
#product_list li .clip img { object-fit: contain; }
#product_list li .title {height: auto;font-size: 18px;text-align: justify;font-weight: 600;}
#product_list li .price_box p { margin: 0 10px; min-height: 28px; }
#product_list li .price_box p:first-letter { margin-right: 3px; font-weight: 300; font-size: 12px; }
#product_list li .price_box p.old { text-decoration: line-through; }

/* imglist */
#imglist img { margin-bottom: 20px; height: 400px; }
#imglist .img_nav img { margin: 0 10px 0 0; width: 100px; height: 100px; }

/* productinfo */
#productinfo h2 { margin: 5px 0 15px; font-weight: 400; font-size: 22px; }
#productinfo .txt , .buyBtns { margin-bottom: 10px; }
#productinfo .txt label { margin-right: 15px; width: 50px; }
#productinfo .price font { font-size: 18px; }
#productinfo article { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px #ddd solid; font-weight: 300; font-size: 14px; color: #7e7e7e; }
#productinfo #community { margin-top: 15px; }

/* orderfunction */
#productinfo #orderfunction { margin-bottom: 25px; }
#orderfunction a { line-height: 24px; }
#orderfunction a.limit { line-height: 21px; }
#orderfunction input { width: 50px; }

/* buyBtns */
.buyBtns a { padding: 10px 0; }

/* productTabs */
#productTabs ul.tabs {margin: 0;}
#productTabs ul.tabs li a { padding: 10px 40px; }
#productTabs ul.tabs li.active a { color: var(--primary); }



:root { --primary-gold: #D4AF37; --soft-gold: #F4EBD0; --deep-black: #0F0F0F; --off-white: #FDFDFD; --text-gray: #666666; --transition: all 0.8s cubic-bezier(0.19,1,0.22,1); }
#projecItemt .reveal p{letter-spacing: 2px;margin-bottom: 1.4rem;text-transform: uppercase;margin: 0;font-size: 1rem;}
#projecItemt {color: var(--deep-black);position: relative;}
#projecItemt * { margin: 0; padding: 0; box-sizing: border-box; }
/* --- 背景與環境光 --- */
#projecItemt .ambient-light { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at 80% 20%,rgba(212,175,55,0.05) 0%,transparent 40%); z-index: -1; pointer-events: none; }
#projecItemt section { padding: 15vh 5vw; position: relative; }
#projecItemt .container-fluid { max-width: 1400px; margin: 0 auto; }
/* --- Hero Section (極簡震撼) --- */
#projecItemt .hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 10vw; }
#projecItemt .hero-label { font-size: 0.9rem; letter-spacing: 0.5em; color: var(--primary-gold); text-transform: uppercase; margin-bottom: 20px; }
#projecItemt .hero h1 { font-family: 'Playfair Display',serif; font-size: clamp(3rem,10vw,8rem); font-weight: 900; line-height: 0.9; margin-bottom: 30px; font-style: italic; }
#projecItemt .hero-desc { max-width: 500px; font-size: 1.1rem; color: var(--text-gray); border-left: 2px solid var(--primary-gold); padding-left: 30px; }
/* --- Showcase Blocks (視差方塊) --- */
#projecItemt .showcase-block { display: grid; grid-template-columns: repeat(12,1fr); align-items: center; margin-bottom: 15vh; }
#projecItemt .showcase-media { grid-column: 1/9; position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16/9; box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
#projecItemt .showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
#projecItemt .showcase-text { grid-column: 7/13; background: white; padding: 60px; box-shadow: 0 40px 100px rgba(0,0,0,0.08); z-index: 2; transform: translateY(60px); opacity: 0; transition: var(--transition); }
#projecItemt .showcase-block.active .showcase-text { transform: translateY(0); opacity: 1; }
#projecItemt .showcase-block:nth-child(even) .showcase-media { grid-column: 5/13; }
#projecItemt .showcase-block:nth-child(even) .showcase-text { grid-column: 1/7; }
#projecItemt .block-num { font-family: 'Playfair Display',serif; font-size: 4rem; color: var(--soft-gold); line-height: 1; margin-bottom: 20px; }
/* --- Editorial Discourse (雜誌感非對稱佈局) --- */
#projecItemt .editorial-discourse {display: grid;grid-template-columns: 2fr 1fr;gap: 80px;padding: 6vh 6vh 10vh;width: min(100%,1280px);margin: auto;}
@media (max-width:1024px) {
  #projecItemt .editorial-discourse { grid-template-columns: 1fr; }
}
#projecItemt .discourse-body { padding-right: 20px; }
#projecItemt .discourse-intro {letter-spacing: 2px;margin-bottom: 3.4rem;text-transform: uppercase;margin-top: 40px;font-size: 1rem;line-height: 170%;}
#projecItemt .discourse-intro::first-letter { font-size: 1.6rem; float: left; margin-right: 5px; line-height: 1; color: var(--bg-dark); }
#projecItemt .section-block {margin-bottom: 60px;}
#projecItemt .section-block h3 {font-size: 1.2rem;margin-bottom: 1.2rem;color: var(--deep-black);display: flex;align-items: center;}
#projecItemt .section-block h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg,#ddd,transparent); margin-left: 20px; }
/* Sticky Data Card */
#projecItemt .sticky-aside { position: sticky; top: 40px; height: fit-content; }
#projecItemt .data-card {background: #ffffff;color: white;padding: 40px;border-radius: 4px;}
#projecItemt .data-card h4 {font-size: 0.8rem;color: var(--bg-dark);letter-spacing: 3px;margin-bottom: 1.5rem;text-transform: uppercase;}
#projecItemt .specs-list { list-style: none; }
#projecItemt .specs-list li {padding: 15px 0;border-bottom: 1px solid rgb(88 88 88 / 10%);display: flex;flex-direction: column;gap: 4px;}
#projecItemt .specs-list li .label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-heading); }
#projecItemt .specs-list li .val { font-size: 1rem; font-weight: 500; letter-spacing: 1px; }
#projecItemt .projectbutton a { padding: 0.9rem 1.1rem; background: var(--brand-bg-gradient); display: inline-block; border: none; border-radius: 0.8rem; font-weight: 400; color: var(--btn-secondary); text-decoration: none; transition: all 0.3s ease; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-top: 30px; text-transform: uppercase; font-family: var(--font-heading); }
#projecItemt .projectbutton a i { color: #fff; }
/* --- Device Showcase (精品裝置展示) --- */
#projecItemt .device-showcase {padding: 0 0 15vh;overflow: hidden;display: flex;justify-content: center;align-items: center;position: relative;width: 60%;margin: auto;}
#projecItemt .device-container { position: relative; width: 100%; max-width: 1000px; height: 600px; margin: 0 auto; }
#projecItemt .mockup-desktop { position: absolute; width: 80%; left: 0; top: 50%; transform: translateY(-50%); z-index: 1; box-shadow: 0 10px 40px rgba(0,0,0,0.2); border-radius: 12px; overflow: hidden; }
#projecItemt .mockup-desktop img { aspect-ratio: 4/3; object-fit: cover; object-position: top; }
#projecItemt .mockup-phone img { aspect-ratio: 2/4; object-fit: cover; object-position: top; }
#projecItemt .mockup-phone {position: absolute;width: 22%;right: 5%;bottom: 0%;z-index: 2;box-shadow: 0 0px 30px rgba(0,0,0,0.2);border: 8px solid #222;border-radius: 30px;overflow: hidden;transition: var(--transition);}
#projecItemt .mockup-desktop img,#projecItemt .mockup-phone img {width: 100%;display: block;}
#projecItemt .device-showcase:hover .mockup-phone { transform: translateY(-20px); }
#projecItemt .device-label {position: absolute;top: 2%;right: 20px;text-align: right;}
#projecItemt .device-label h3 {font-size: 2.5rem;color: var(--deep-black);margin-bottom: 10px;font-family: var(--font-heading);text-transform: uppercase;}
/* --- Carousel Section (無邊界輪播) --- */
#projecItemt .carousel-section {background: var(--deep-black);color: white;padding: 12vh 0;overflow: hidden;}
#projecItemt .carousel-header { padding: 0 10vw; margin-bottom: 60px; display: flex; justify-content: space-between; align-items: flex-end; }
#projecItemt .carousel-header h3 {font-size: 3.5rem;color: #fff;font-family: var(--font-heading);}
#projecItemt .carousel-header p { color: #fff; }
#projecItemt .carousel-container { display: flex; gap: 40px; padding-left: 10vw; transition: transform 0.1s linear; }
#projecItemt .carousel-item { flex: 0 0 500px; position: relative; }
#projecItemt .carousel-item img { width: 100%; height: 400px; object-fit: cover; object-position: top; border-radius: 4px; filter: brightness(0.8); transition: var(--transition); }
#projecItemt .carousel-item:hover img { filter: brightness(1); transform: scale(1.02); }
/* --- Tag Container --- */
#projecItemt .tag-container { padding: 10vh 0vw; text-align: center; }
#projecItemt .tag-box { margin-top: 30px; }
#projecItemt .tag-pill { display: inline-block; padding: 12px 35px; margin: 8px; border: 1px solid #ddd; border-radius: 50px; color: var(--deep-black); text-decoration: none; font-size: 1.1rem; transition: var(--transition); }
#projecItemt .tag-pill:hover { border-color: var(--brand-bg-gradient); background: var(--brand-bg-gradient); color: white; }
/* --- Final CTA --- */
#projecItemt .final-cta { height: 40vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
#projecItemt .final-cta h2 { font-size: clamp(2rem,6vw,2.8rem); margin-bottom: 40px; }
#projecItemt .cta-button { padding: 22px 50px; background: var(--deep-black); color: white; text-decoration: none; font-weight: 600; letter-spacing: 3px; border-radius: 50px; transition: var(--transition); font-size: 21px; }
#projecItemt .cta-button:hover { background: var(--brand-bg-gradient); transform: scale(1.05); }
#projecItemt .final-cta p { width: min(90%,640px); margin-top: 50px; line-height: 200%; }
/* --- Utils --- */
#projecItemt .reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--transition); }
#projecItemt .reveal.active { opacity: 1; transform: translateY(0); }
/* --- Floating Top Right Link --- */
#projecItemt .top-right-floating {position: fixed;top: 40px;right: 40px;z-index: 999;display: none;}
#projecItemt .top-right-floating a { color: black; text-decoration: none; font-weight: 700; font-size: 0.75rem; border-bottom: 2px solid var(--primary-gold); letter-spacing: 1px; }
@media (max-width:768px) {
  #projecItemt .carousel-item { flex: 0 0 80vw; }
  #projecItemt .showcase-block { display: block; }
  #projecItemt .showcase-text { padding: 30px; margin-top: -40px; width: 100%; }
  #projecItemt .device-container {height: 70vh;max-width: 100%;}
  #projecItemt .mockup-desktop {width: 90%;left: 5%;top: 44%;}
  #projecItemt .mockup-phone {width: 30%;right: 0;bottom: 10%;}
  #projecItemt .device-label h3 { font-size: 1.5rem; }
}

@media screen and (min-width: 1281px){
	#productdetail { display: flex; align-items: center; justify-content: space-between; text-align: justify; }
}
@media screen and (max-width: 1560px){
    #projecItemt .device-showcase{
    width: 90%;
}
}
@media screen and (max-width: 1280px){
	#productinfo { margin-top: 5vw; }
	#imglist { width: 100%; }
	#projecItemt .device-showcase { width: 94%; padding: 0; }
#projecItemt .sticky-aside{
    width: 100%;
}
}
@media screen and (max-width: 980px) and (min-width: 551px){
}
@media screen and (max-width: 980px){
	#product_list { grid-template-columns: repeat(2,1fr); }
	#wrap { margin-top: 30px; }
	#projecItemt .tag-pill { padding: 12px 20px; margin: 4px; font-size: .9rem; }
	#projecItemt .cta-button { font-size: 16px; padding: 20px 30px; }
	#projecItemt .tag-container { padding: 5vh 0 10vh; }
	#projecItemt .device-label { display: none; }
	#projecItemt .editorial-discourse { padding: 1vh 6vh 10vh; gap: 10px; }
	#projecItemt .carousel-header h3 { font-size: 2.5rem; }
	#projecItemt .carousel-header { display: flex; flex-direction: column; align-items: center; }
}
@media screen and (min-width: 761px){
}
@media screen and (max-width: 640px){
     #projecItemt .device-container {height: 41vh;max-width: 100%;}
	#product_list {grid-template-columns: 1fr;gap: 50px;}

}