﻿@charset "utf-8";
/* CSS Document */
.side, .main{padding:1em;}
.main{width: 72%}
.side{width: 28%}
.innerhtml{min-height:50vh;}
.innerhtml p,.innerhtml ul li,.innerhtml ol li{line-height: 200%;}
#header .page{padding: 1em;}
.nav{margin-top: 1.5em;float: right;width: 50%;}
.nav a{color: #fff;width: 25%;float: left;}
.nav a:hover{color: #FFC808;}
.nav a span{color: #ccc; font-size: 12px;}
.logo{float: left; width: 30%;}
.headerct{background: linear-gradient(#01192f 60%,#013a5d);}


/*defaultimg*/
#defaultimg1{line-height:0; background:#fff;width:100%; height:auto; float:left;}

/*content*/
.d1{ background: url(images/bg-1.jpg);}
h4.tit{font-size: 35px;text-align: center;font-weight: normal;}
h4.tit span{ font-size: 36px;font-weight:bold;}
.d1 h4.tit{color: #fff;line-height: 150%;}
.pic{background: #f7f7f7; padding: 0.5em;}
.pic img{transition: .3s;}
.pic .pic-d{overflow: hidden;}
.pic:hover img{transform:scale(1.2); }
.d1 h4.subject{text-align: center;color: #fff; font-weight: normal;font-size: 20px;margin-bottom: 0.5em;}
.d2{ background: url(images/bg-2.jpg);}
.d2 h4.tit1{font-size: 26px;color: #545454;font-weight: normal;}
.d1 .col-4{padding: 1em;}
.d1 .frm{position: relative;}
.d1 .frm p{text-align: center; color: #fff; }
.line1{width: 100%; float: left; text-align: center}
.line1 hr{width: 45px;height: 5px;background:#f1920b;border: 0;margin-bottom: 1em;}
.d1  a.more{color: #fff;border: 1px solid #fff; padding: 0.5em 3em; border-radius: 3em;}
.d1  a.more:hover{background:rgba(70,152,206,0.8);}
.d1 p.more1{text-align: center; margin: 6em 0;float: left;width: 100%;}
.d2 .contact,.d2 .about{padding: 1em 2em;}
.d2 .about p{line-height: 200%;}
.product h4.sidetit{font-size:28px; color: #27496a; padding-left: 1em;margin-bottom: 0.5em;}
.frame {transition: 0.5s;height: auto;cursor: pointer;box-shadow: 0 0 5px rgba(0,0,0,0.1);}
.frame:hover {transform: translateY(-15px);box-shadow: 0 0px 5px rgba(0,0,0,0.3);}
.frame h4{text-align: center;margin: 0;padding: 0 0 1.5em 0;}
.product .main{margin-top: 5em;}
.product .col-4,.productimg,.productintro{padding: 1em;}




/*footer*/
#footer{background: url(images/footer-bg.jpg) no-repeat; color: #fff;padding: 2em 0;}
#footer .col-6 {padding: 0 2em;}
#footer i {margin: 0 1em;}
#footer a{color: #fff;}
#footer a:hover{color: rgba(70,152,206,0.8);}
#footer .f2{border-left: 1px #a0adc7 solid;}
#footer .f3{text-align: right;}


/*ani*/
.ani{opacity:0; transition:1s; transform:scale(0.8,0.8); transition-timing-function: ease;}
.ani.zoomintype{opacity:1; transform:scale(1,1);}



/* =========================================
   product_csv 庫存查詢表 (pcsv- prefix)
   ========================================= */
.pcsv-wrap { padding: 2em 0 3em; }
.pcsv-title { font-size: 32px; font-weight: bold; color: #1a3a5c; text-align: center; margin-bottom: 0.3em; }
.pcsv-title span { display: block; width: 50px; height: 4px; background: #f1920b; margin: 0.4em auto 0; border-radius: 2px; }
.pcsv-subtitle { text-align: center; color: #666; font-size: 15px; margin-bottom: 2em; }
.pcsv-table-wrap { overflow-x: auto; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
.pcsv-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.pcsv-table thead tr { background: linear-gradient(90deg, #1a3a5c 60%, #27496a); color: #fff; }
.pcsv-table thead th { padding: 14px 18px; text-align: center; font-weight: 600; letter-spacing: 1px; white-space: nowrap; border: none; }
.pcsv-table tbody tr { border-bottom: 1px solid #e8edf2; transition: background 0.2s; }
.pcsv-table tbody tr:nth-child(even) { background: #f4f8fc; }
.pcsv-table tbody tr:hover { background: #ddeeff; }
.pcsv-table tbody td { padding: 12px 18px; text-align: center; color: #333; vertical-align: middle; }
.pcsv-table tbody td:first-child { font-weight: bold; color: #1a3a5c; text-align: left; }
.pcsv-badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 13px; background: #e8f4e8; color: #2a7a2a; font-weight: 600; }
.pcsv-count { color: #666; font-size: 14px; margin-bottom: 1em; text-align: right; }
/* 現貨照片區 */
.pcsv-gallery-wrap { margin: 0.5em 0 1.8em; }
.pcsv-gallery-title { font-size: 15px; font-weight: bold; color: #1a3a5c; margin-bottom: 0.7em; padding-left: 4px; border-left: 4px solid #f1920b; }
.pcsv-gallery-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pcsv-gallery-item { display: block; overflow: hidden; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.13); flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px); cursor: zoom-in; }
.pcsv-gallery-item img { width: 100%; height: 150px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.pcsv-gallery-item:hover img { transform: scale(1.08); }
/* Lightbox */
.pcsv-lightbox { display: none; position: fixed; z-index: 9999; inset: 0; background: rgba(0,0,0,0.82); justify-content: center; align-items: center; cursor: zoom-out; }
.pcsv-lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: 4px; box-shadow: 0 4px 32px rgba(0,0,0,0.5); }
.pcsv-lightbox-close { position: absolute; top: 18px; right: 28px; font-size: 38px; color: #fff; cursor: pointer; line-height: 1; user-select: none; }
@media screen and (max-width:767px){
  .pcsv-gallery-item { flex: 1 1 calc(50% - 10px); max-width: calc(50% - 10px); }
  .pcsv-gallery-item img { height: 110px; }
}
/* 搜尋列 */
.pcsv-search-form { margin-bottom: 1.2em; }
.pcsv-search-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcsv-search-input { flex: 1; min-width: 220px; padding: 9px 14px; border: 1px solid #b0c4de; border-radius: 4px; font-size: 14px; outline: none; transition: border .2s; }
.pcsv-search-input:focus { border-color: #1a3a5c; box-shadow: 0 0 0 2px rgba(26,58,92,0.12); }
.pcsv-search-btn { padding: 9px 22px; background: #1a3a5c; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background .2s; white-space: nowrap; }
.pcsv-search-btn:hover { background: #27496a; }
.pcsv-reset-btn { display: inline-block; padding: 8px 16px; background: #e0e0e0; color: #555; border-radius: 4px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.pcsv-reset-btn:hover { background: #ccc; color: #333; }
.pcsv-search-msg { margin-top: 7px; padding: 6px 12px; background: #fff3f3; border: 1px solid #f5c6c6; border-radius: 4px; color: #c0392b; font-size: 13px; }
.pcsv-search-input-err { border-color: #e74c3c !important; box-shadow: 0 0 0 2px rgba(231,76,60,0.15) !important; }
/* 分頁 */
.pcsv-pager { margin-top: 1.5em; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pcsv-pager-btn { display: inline-block; padding: 8px 24px; border: 1px solid #1a3a5c; color: #1a3a5c; border-radius: 4px; font-size: 14px; text-decoration: none; transition: all .2s; }
.pcsv-pager-btn:hover { background: #1a3a5c; color: #fff; }
.pcsv-pager-btn.next { background: #1a3a5c; color: #fff; }
.pcsv-pager-btn.next:hover { background: #27496a; border-color: #27496a; }

@media screen and (max-width:767px){
  .pcsv-table thead th, .pcsv-table tbody td { padding: 10px 10px; font-size: 13px; }
  .pcsv-title { font-size: 24px; }
}

@media screen and (max-width:1280px){/*desktop*/
	
}
@media screen and (max-width:960px){/*desktop-small pad*/
	
	
}
@media screen and (max-width:767px){/*phone*/
	.page{padding:0 3%;}
	#header .page {padding:1em 0;}
	.logo{width: 50%;}
	.nav{width: 100%;    margin-top: 0;}
	.nav a{width: 100%;padding: 0.5em 0;border-top: 1px dashed #ccc;}
	.main{width: 100%}
	.side{width: 100%}
	.d1 p.more1{margin: 4em 0;}
	.d2 .contact,.d2 .about{padding: 1em;}
	.product .main { margin-top: 0em; }
	#footer{background: url(images/footer-bg.jpg);background-size: cover;}
	#footer .f2{border-left: 0}
}