/*
 *
 * Template Name: Produkta
 * Template URI: http://azmind.com
 * Description: Produkta - Responsive Product Showcase
 * Author: Anli Zaimi
 * Author URI: http://azmind.com
 *
 */



/*
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Expletus+Sans&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Gabriela&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Sofia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chivo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');
*/



/* ­×§ï background */			
body {
    background: url('../img/tilebg.png') repeat center top; 
	background-color:#3d3d3d;
    border-top: 0px solid #a43835;
    font-family: 'Open Sans', sans-serif;	
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: left;
}

/* ¼W¥[ */
.topper {
        background-color: transparent;
        background-image: url("../img/topper.png");
        background-repeat: repeat-x;
        background-attachment: scroll;
        background-position: center top;
        background-size: auto auto;
		padding-top: 30px;
}

/* ­×§ï font-awesome */
.icon-facebook-sign, .icon-twitter-sign, .icon-google-plus-sign, .icon-pinterest-sign, .icon-tumblr-sign, .icon-plus-sign-alt {
    color: #f493d3;
    /* text-shadow: 1px 1px 1px #ccc; */
    font-size: 1.3em;
}
.icon-facebook-sign:hover{color:#81c2df;}
.icon-twitter-sign:hover{color:#81c2df;}
.icon-google-plus-sign:hover{color:#81c2df;}
.icon-pinterest-sign:hover{color:#81c2df;}
.icon-tumblr-sign:hover{color:#81c2df;}
.icon-plus-sign-alt:hover{color:#81c2df;}

/* 解決 thumbnail 中若文字字數不一樣會導致 thumbnail 亂排的問題！ https://github.com/twitter/bootstrap/issues/3317 */  
.thumbnail p {
min-height: 46px; /* 從 height: 32px 改為 min-height: 46px (或您覺得更合適的高度) */
/* overflow: hidden;  <-- 將這一行刪除或註解掉 */
}
	
/* Thumbnail Image Hover Effect --> http://sevenx.de/blog/tutorial-bootstrap-thumbnail-hover-caption-mit-tooltip/ */  

#hover-cap-4col .thumbnail,
#hover-cap-3col .thumbnail,
#hover-cap-unique .thumbnail,
#hover-cap-6col .thumbnail {
	position:relative;
	overflow:hidden;	
}
.caption {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.4);
	width: 100%;
	height:100%;
	color:#fff !important;
}
.caption p {
	padding:18px 12px 12px 12px;
    font-size: 16px;
	line-height: 22px;	
}


.slider {
	padding:5px;
}

.slider h1{
	line-height: 26px;
    /* font-family: 'Gabriela', serif;	*/
    font-size: 20px;
    font-weight: 400;
    color: blue;
}

.slider-subitem{
    font-size: 16px;
    font-weight: 700;
    color: #555;
	
    font-family: 'Expletus Sans', cursive;		
}

.slider-subtext{
	line-height: 16px;
    font-size: 15px;	
}


.slider p{
	line-height: 24px;
	font-family: Arial,Helvetica,sans-serif;
}

.addthis {
	padding:25px;
}
strong { font-weight: 700; }
a:hover { text-decoration: none; }

.logo h2 { margin-top: 7px; padding-left: 50px; font-size: 28px; font-weight: 400; color: #555; text-transform: uppercase; }

.logo a {
    display: inline-block;
    width: 235px;
    height: 90px;
    margin-top: 3px;
    background: url(../img/CI4U_Logo.png) left top no-repeat;
    color: #555;
    text-indent: -9999px;
    text-decoration: none;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}
.logo a:hover { color: #518d8a; }

.tel-skype p {
    margin-top: 20px;
    padding-right: 150px;
    text-align: right;
    vertical-align: bottom;	
    /* line-height: 30px; */
}

.tel-skype i {
    font-size: 20px;
    vertical-align: bottom;
}

.tel-skype .pipe { margin: 0 7px 0 5px; color: #ccc; }

::-moz-selection { background: #518d8a; color: #fff; text-shadow: none; }
::selection { background: #518d8a; color: #fff; text-shadow: none; }

.pipe2 { margin: 0 5px 0 3px; color: #C2577A; }

/***** Product Showcase *****/

.product-showcase {
    margin: 0 auto;
    background: #2d2d2d;
}

.product-showcase-pattern {
    margin: 0 auto;
    background-image: url(../img/pattern-2.png);
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
}

.product-background {
    margin-top: 40px;
    padding-bottom: 10px;
    background: #2d2d2d; /* browsers that don't support rgba */
    background: rgba(45,45,45,.7);
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.product-steps {
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 10px;	
    color: #999;
    font-size: 13px;	
}



.list-title {
    font-family: 'Open Sans', sans-serif;	
    font-size: 28px;
    padding-left: 12px;
    font-weight: 400;
    
    /* 移除 h1 的預設邊距，避免它在容器內產生額外的空白 */
    margin-top: 0;
    margin-bottom: 0;
}

.p-title {
    font-family: 'Roboto', sans-serif;	
    font-size: 12px;
    /* 將每個單字的第一個字母轉換為大寫 */
    text-transform: capitalize; 
    
    /* 設定上邊距 (Margin Top) */
    margin-top: 5px;
    
    /* 移除下邊距 (Margin Bottom) */
    margin-bottom: 0px;
    
    /* 設定邊距 */
	padding: 0px 5px 8px 5px;
}






.product-title {
	padding: 10px 10px 5px 10px;
}

.product-title h1 {
/*    padding-right: 40px;	*/
    font-size: 34px;
	font-family: 'Sofia', cursive;
	font-style:italic;	
    font-weight: 400;
    color: #fc94e2;
    line-height: 54px;
    text-shadow: 0 2px 7px rgba(0,0,0,.5);
}

.product-title div.product-description {
    color: #fff;
    line-height: 25px;
    font-size: 16px;	
    text-shadow: 0 2px 7px rgba(0,0,0,.4);
}

.product-title div.product-description h3 {
    margin-top: 25px;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
}

.product-title div.product-description form {
    margin-top: 20px;
    margin-bottom: 0;
}

.product-title div.product-description form input {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 12px 15px;
    border: 1px solid #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #555;
}

.product-title div.product-description form input:focus {
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
}

.product-title div.product-description form input:-moz-placeholder { color: #555; }
.product-title div.product-description form input:-ms-input-placeholder { color: #555; }
.product-title div.product-description form input::-webkit-input-placeholder { color: #555; }

.product-title div.product-description form button {
    margin-top: 10px;
    padding: 12px 25px;
    background: #518d8a;
    border: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #73a3a1;
    -moz-box-shadow:
        0 25px 35px 0 rgba(255,255,255,.15) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
    -webkit-box-shadow:
        0 25px 35px 0 rgba(255,255,255,.15) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
    box-shadow:
        0 25px 35px 0 rgba(255,255,255,.15) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #fff;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}

.product-title div.product-description form button:hover {
    color: #fff;
    -moz-box-shadow:
        0 15px 30px 0 rgba(255,255,255,.1) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
    -webkit-box-shadow:
        0 15px 30px 0 rgba(255,255,255,.1) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
    box-shadow:
        0 15px 30px 0 rgba(255,255,255,.1) inset,
        0 1px 5px 0 rgba(0,0,0,.2);
}

.product-title div.product-description form button:active {
    -moz-box-shadow:
        0 5px 8px 0 rgba(0,0,0,.1) inset,
        0 1px 4px 0 rgba(0,0,0,.1);
    -webkit-box-shadow:
        0 5px 8px 0 rgba(0,0,0,.1) inset,
        0 1px 4px 0 rgba(0,0,0,.1);
    box-shadow:        
        0 5px 8px 0 rgba(0,0,0,.1) inset,
        0 1px 4px 0 rgba(0,0,0,.1);
    border: 0;
}

.product-image {
    margin-top: 35px;
    text-align: center;
}


/***** Content *****/

.features_2 {
    margin-top: 40px;
}

.features_2 h3 {
    margin: 0 40px 30px 50px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
}

.features_2 p {
    line-height: 30px;
}

.features_2 .single-feature { width: 340px; margin-bottom: 15px; }

.features_2 .single-feature-bottom { margin-bottom: 0; }

.features_2 .features-left-span { margin-left: 80px; }

.features_2 .single-feature:hover i { color: #518d8a; }

.features_2 .feature-icon {
    float: left;
    text-align: center;
}

.features_2 .feature-icon i {
    display: inline-block;
    width: 55px;
    margin-top: 13px;
    font-size: 50px;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}

.features_2 .feature-text {
    float: left;
    width: 265px;
    margin-left: 20px;
}

.features_2 .feature-text h4 { font-size: 24px; font-weight: 400; line-height: 28px; }


.about-us_2 {
    margin-top: 40px;
}

.about-us_2 h3 {
    margin: 0 40px 30px 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 32px;
    font-weight: 400;
    color: #2d2d2d;
}

.about-us_2 h5 {
    margin-left: 50px;
    margin-right: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.about-us_2 p {
    margin-left: 50px;
    margin-right: 40px;
    line-height: 30px;
}


.gallery_2 {
    margin-top: 40px;
}

.gallery_2 h3 {
    margin: 0 40px 30px 50px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
}

.gallery_2 h5 {
    margin-left: 50px;
    margin-right: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.gallery_2 p {
    margin-left: 50px;
    margin-right: 40px;
    margin-bottom: 20px;
    line-height: 30px;
}

.gallery_2 .gallery-images {
    margin: 15px 40px 25px 50px;
}

.gallery_2 .gallery-images .img-wrapper {
    position: relative;
    display: inline-block;
    margin: 13px 10px 0 0;
    cursor: pointer;
}

.gallery_2 .gallery-images .img-background {
    display: none;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100px;
    height: 100px;
    z-index: 100;
    background: #518d8a url(../img/pattern-2.png); /* browsers that don't support rgba */
    background: rgba(81,141,138,.8) url(../img/pattern-2.png);
    text-align: center;
}

.gallery_2 .gallery-images .img-background i {
    font-size: 40px;
    color: #fff;
    line-height: 100px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);
}

.gallery_2 .gallery-images img {
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
}

.designer {
    margin-top: 40px;
}

.designer h3 {
    margin: 0 40px 30px 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
	font-family: 'Archivo Narrow', sans-serif;	
    font-size: 32px;
    font-weight: 400;
    color: #ea71bb;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);	
}

.featuredhome {
    margin-top: 40px;
}

.featuredhome h3 {
    margin: 0 40px 30px 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
	font-family: 'Archivo Narrow', sans-serif;	
    font-size: 32px;
    font-weight: 400;
    color: #55555;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);	
}



/* Using this */
.using-this {
    margin-top: 35px;
    text-align: center;
}

.using-this h3 {
    margin: 0 40px 40px 50px;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
    text-align: left;
}

.using-this-container {
    text-align: center;
}

.using-this-container a {
    display: inline-block;
    width: 185px;
    height: 77px;
    margin: 5px;
    background: #f8f8f8;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}

.using-this-container a.using-this-google { background-image: url(../img/clients/google.png); }
.using-this-container a.using-this-youtube { background-image: url(../img/clients/youtube.png); }
.using-this-container a.using-this-pinterest { background-image: url(../img/clients/pinterest.png); }

.using-this-container a.using-this-google:hover { background-image: url(../img/clients/google-hover.png); }
.using-this-container a.using-this-youtube:hover { background-image: url(../img/clients/youtube-hover.png); }
.using-this-container a.using-this-pinterest:hover { background-image: url(../img/clients/pinterest-hover.png); }

/* ·s¼W */
.copyright {
    font-size: 12px;
    margin-top: 1px;
	padding: 6px 6px 3px 6px;
    text-align: center;	
    background: #2d2d2d;
    color: #aaa;

}

/***** Footer *****/

footer {
    margin-top: 0px;
    padding: 12px 12px 5px 22px;
    background: #fff;
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.3) inset;
    font-color: #000;
}

.subtitle{
    padding-left: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-family: 'Gabriela', serif;	
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-shadow: 1px 1px 1px rgba(0,0,0,.4);
}

footer h4 {
	line-height: 34px;
    font-family: 'Gabriela', serif;	
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-shadow: 1px 1px 1px rgba(0,0,0,.4);
}

footer p { 
	line-height: 30px;
    font-family: 'Expletus Sans', cursive;		
}

footer ul li { 
	line-height: 20px;
    font-family: 'Expletus Sans', cursive;
    font-size: 14px;	
}

footer a {
    color: #000;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}
footer a:hover { color: #fab9ce; }

.from-twitter .show-tweet {
    margin-left: 50px;
}

.tweet_list {
    margin: 0;
    padding: 0;
    list-style: none;
}
	
.tweet_list li {
    list-style-type: none;
    line-height: 30px;
}

.testimonials p {
    margin-left: 50px;
}

.testimonials .test-author {
    margin-top: 25px;
    padding-left: 50px;
}

.testimonials .test-author span { color: #ddd; }

.testimonials .test-author img {
    float: left;
    margin-right: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.contact-us form {
    margin: 3px 0 0 5px;
}

.contact-us p {
    margin-left: 0px;
    margin-right: 10px;
}

.contact-us form input, .contact-us form textarea {
    width: 80%;
    padding: 5px 5px;
    background: #fbcddc;
    border: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #d74876;
}

.contact-us form input:focus, .contact-us form textarea:focus {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contact-us form button {
    margin: 2px 0 0 0px;
    padding: 5px 10px;
    background: #3d94b1;
    border: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #fff;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}

.contact-us form button:hover {
    background: #87c8de;
    color: #020b84;
}

.contact-us form input:-moz-placeholder { color: #aaa; }
.contact-us form input:-ms-input-placeholder { color: #aaa; }
.contact-us form input::-webkit-input-placeholder { color: #aaa; }

.social-links {
    margin: 40px 50px 0 50px;
    padding-top: 40px;
    border-top: 1px dotted #4d4d4d;
    text-align: center;
}

/*
.copyright {
    margin-top: 20px;
    text-align: center;
}
*/


/***** Media Queries *****/

@media (min-width: 980px) and (max-width: 1200px) {

    .product-image { text-align: right; }

    .product-image img { width: 95%; }

    .features_2 .single-feature { width: 270px; }

    .features_2 .features-left-span { margin-left: 70px; }

    .features_2 .feature-icon i { width: 38px; font-size: 35px; }

    .features_2 .feature-text { width: 217px; margin-left: 15px; }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }

    .contact-us form button { margin-left: 138px; }

}

@media (min-width: 768px) and (max-width: 979px) {

    .product-image { text-align: right; }

    .product-image img { width: 95%; }

    .product-title div.product-description form button { padding-left: 20px; padding-right: 20px; }

    .features_2 .single-feature { width: 198px; }

    .features_2 .features-left-span { margin-left: 70px; }

    .features_2 .feature-icon i { width: 30px; font-size: 27px; }

    .features_2 .feature-text { width: 158px; margin-left: 10px; }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }

    footer h3, .testimonials p, .from-twitter .show-tweet, .contact-us form, .contact-us p { margin-left: 0; }

    .contact-us p { margin-right: 0; }

    .testimonials .test-author { padding-left: 0; }

    .contact-us form input, .contact-us form textarea { width: 87%; }

    .contact-us form button { margin-left: 149px; }

}

@media (max-width: 767px) {

    body { padding-left: 0; padding-right: 0; }

    .logo h2 { padding-left: 0; text-align: center; }

    .tel-skype p { margin-bottom: 11px; padding-right: 0; text-align: center; }

    .product-background { width: 90%; margin-left: auto; margin-right: auto; }

    .product-image { display: none; }

    .product-title h1, .product-title div.product-description { padding-left: 40px; }

    .product-title div.product-description form { text-align: center; }

    .product-title div.product-description form button:active { border: 1px solid transparent; }

    .about-us_2 h3, .features_2 h3, .gallery_2 h3, .about-us_2 h5, .gallery_2 h5 { margin-left: 50px; margin-right: 50px; }

    .about-us_2 p, .gallery_2 p { margin-left: 50px; margin-right: 50px; }

    .features_2 .feature-icon { display: none; }

    .features_2 .single-feature { width: 100%; margin-bottom: 0; }

    .features_2 .features-left-span { margin-left: 0; }

    .features_2 .feature-icon i { width: 30px; font-size: 30px; }

    .features_2 .feature-text { float: none; width: auto; margin-left: 50px; margin-right: 50px; }

    .features_2 .feature-text h4 { line-height: 36px; }

    .gallery_2 .gallery-images { margin-right: 50px; }

    .gallery_2 .gallery-images .img-background { width: 90px; height: 90px; }

    .gallery_2 .gallery-images .img-background i { font-size: 38px; line-height: 90px; }

    .gallery_2 .gallery-images img { width: 90px; }

    .using-this { margin-top: 40px; }

    .using-this h3 { margin-left: 50px; margin-right: 50px; }

    footer { padding-top: 0; }

    footer h3 { margin-top: 40px; }

    footer h3, .testimonials p, .from-twitter .show-tweet, .contact-us form, .contact-us p, .copyright p { margin-left: 50px; margin-right: 50px; }

    .testimonials .test-author { padding-left: 50px; padding-right: 50px; }

    .contact-us form input, .contact-us form textarea { width: 87%; }

    .contact-us form button { margin-left: 0; }

    .social-links { margin-top: 45px; }
    
/* --- 【手機版雙欄優化 v2 - Flexbox 等高佈局】--- */
.thumbnails {
    display: flex;      /* 啟用 Flexbox 佈局 */
    flex-wrap: wrap;    /* 允許項目換行 */
    justify-content: space-between; /* 項目之間自動分配空間 */
}

.thumbnails > li {
    width: 48%;         /* 設定每個項目的寬度 */
    margin-bottom: 20px; /* 設定項目之間的垂直間距 */

    /* 移除舊的 float 佈局規則 */
    /* float: left; (不再需要) */
    /* margin-left: 4%; (不再需要) */
}

/* 【關鍵】讓卡片內容垂直撐開，按鈕永遠置底對齊 */
.thumbnail {
    display: flex;           /* 將卡片自身也設為 Flex 容器 */
    flex-direction: column;  /* 設定主軸為垂直方向 */
    height: 100%;            /* 讓卡片高度能填滿 li 元素 */
}

.thumbnail .text-center {
    display: flex;
    flex-direction: column;
    flex-grow: 1;            /* 讓這個區塊自動成長，填滿剩餘空間 */
}

.thumbnail .text-center p:first-child {
    flex-grow: 1;            /* 讓標題區塊優先成長，把按鈕推向底部 */
}
/* --- 【優化結束】--- */ 


/* --- 【手機版頂部標題優化】--- */
.page-header h1 {
    font-family: 'Open Sans', sans-serif;	
    font-size: 20px; /* 將 H1 標題字體縮小 */
    font-weight: 400;
    line-height: 1.2;  /* 同時縮小行高，讓整體更緊湊 */
    margin-left: 6px; /* 設定項目之間的垂直間距 */
}

.page-header .pull-right {
    display: none;   /* 隱藏 "Showing..." 的計數文字 */
}
/* --- 【優化結束】--- */



}

@media (max-width: 514px) {

    .product-title div.product-description form input { width: 80%; }

}

@media (max-width: 480px) {

}


        
/* ===== Mobile 修正補丁：合併搜尋列、關掉灰底 navbar、保留左漢堡 + 左邊 logo ===== */
@media (max-width: 430px) {
  /* A) 再次關掉 navbar 的舊灰底 & 舊漢堡 */
  .navbar { margin:0 !important; border:0 !important; box-shadow:none !important; }
  .navbar .navbar-inner { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; min-height:0 !important; }
  .navbar .btn.btn-navbar { display:none !important; }

  /* B) 搜尋容器：做成一條，外框圓角、中間不分裂 */
  .m-search { padding: 6px 6px; background:#fff; }
  .m-search .form-search {
    display:flex !important;
    align-items:center;
    position:relative;
    margin:0;
    height:44px;
    border:1px solid #e2e2e2;
    border-radius:14px;           /* 中圓角 */
    overflow:hidden;              /* 關鍵：把內部圓角裁齊 */
    background:#fff;
    gap:0;
    padding:0;                    /* 高度交給容器 */
  }

  /* C) 先把 Bootstrap 在搜尋列裡對按鈕/輸入框套的樣式全部清掉 */
  .m-search .form-search input,
  .m-search .form-search button {
    outline:0 !important;
    box-shadow:none !important;
    background:none !important;
    border:0 !important;
    margin:0 !important;
  }

  /* D) 輸入框：吃滿左側空間 */
  .m-search .form-search input[type="search"],
  .m-search .form-search input[type="text"]{
    flex:1 1 auto;
    height:44px;
    line-height:44px;
    padding:0 48px 0 14px;        /* 右側預留清除鈕空間 */
    color:#222;
    -webkit-appearance:none;
    background:transparent !important;
  }
  .m-search .form-search input::placeholder { color:#888; }

  /* E) 清除（✕）改成內嵌小鈕（非絕對定位也可），這裡仍採絕對定位以省空間 */
  .m-search .form-search .search-clear{
    position:absolute;
    right:56px;                   /* 避開黑色提交鈕 */
    top:50%;
    transform:translateY(-50%);
    width:28px; height:28px;
    color:#555; font-size:18px; line-height:28px; text-align:center;
    opacity:.85;
    display:none;
    background:transparent !important;
  }
  .m-search .form-search.has-value .search-clear{ display:block; }

  /* F) 右側搜尋提交鈕：黑色、只右側圓角，與外框貼齊 */
  .m-search .form-search .search-submit {
    width: 44px;
    height: 44px;
    border: 1px solid #ccc;        /* 灰邊框 */
    border-radius: 50%;            /* 圓形 */
    background: #fff !important;   /* 白底 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .m-search .form-search .search-submit svg {
    stroke: #000;                  /* 黑線條 */
  }

  /* G) 頂部列：左漢堡 + 左 Logo 同一行（保持你目前已可見的狀態） */
  .m-topbar.visible-phone{
    display:flex !important;
    align-items:center;
    gap:8px;
    height:52px;
    padding:6px 12px 0;
  }
  .m-topbar .btn.btn-navbar{
    position:static !important;
    display:flex !important;
    flex-direction:column; justify-content:center;
    width:20px; height:20px; padding:6px; background:transparent; border:0;
  }
  .m-topbar .btn.btn-navbar .icon-bar{
    width:20px; height:2px; margin:2px 0; background:#111 !important; border-radius:1px;
  }
  .m-topbar .m-logo{
    display:inline-block !important;
    width:125px !important; height:45px !important; margin:0 !important;
    background:url("/assets/img/CI4U_LogoIcon.png") no-repeat center center !important;
    background-size:contain !important;
  }
}

