
/* ================================================================================== 

                                  0. VARIABLES

=======================================================================================*/
:root {}



/* ================================================================================== 

                                  1. BASE

=======================================================================================*/


html,
body {margin: 0;    padding: 0;}
html:lang(zh) {
    letter-spacing: 0.04em;
	font-family:   "Microsoft YaHei", "Noto Sans CJK", sans-serif;
	line-height: 1.7;
}

h1{color:#000;	}
h2{font-size:1.8rem;}
footer{margin-top:5rem}

/* ================================================================================== 

                                  2. UTILITIES

=======================================================================================*/



.debug{border:1px solid #ff0000}
.debug2{border:1px solid #00ff00}
.spacer{margin:5rem 1rem}                 
.pi-chinese{font-family:'Microsoft YaHei'!important;letter-spacing:2.5px;line-height:1.7;}
.rounded-img {  border-radius: 12px;}
.responsive-image{max-width: 90%;height: auto;
}


/* ================================================================================== 

                                  3. LAYOUT

=======================================================================================*/
.container{margin-bottom:80px;}
/* ================================================================================== 

                                  4. COMPONENTS

=======================================================================================*/


/* ----------------------------------------
   4.1 breadcrumb
   
   ---------------------------------------- */
   
nav .breadcrumb {
    color: #222 !important;
    display: inline-block;
    vertical-align: middle;
    font-size: 0.9rem !important;
}

/* REMOVE Materialize default separator */
nav .breadcrumb:before {
    content: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Your custom separator */
nav .breadcrumb::after {
    content: ">";
    color: #aaa !important;
    margin-left: 2px;
    margin-right: 2px;
    display: inline-block;
    vertical-align: middle;
}

nav .breadcrumb:last-child::after {
    content: "";
}   

/*  <== -----------------------------------   
 End breadcrumb 
---------------------------------------- */

/* ----------------------------------------
   4.2 Fade content blaock
   
   ---------------------------------------- */
.fade-wrapper {
    position: relative;
}

#fade-content {
    transition: max-height 0.4s ease;
    overflow: hidden;
}

/* collapsed state */
#fade-content.collapsed {
    max-height: 120px;   /* adjust number of visible lines */
}

/* expanded state */
#fade-content.expanded {
    max-height: 1000px;
}
#toggleBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-flat{color:#999;font-size:0.9rem;}
/* fading effect */
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );

    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* hide fade when expanded */
.fade-overlay.hidden {
    opacity: 0;
}
/*  <== -----------------------------------   
 End fade content blaock
---------------------------------------- */

/* ----------------------------------------
   4.3 Product Card
   
   ---------------------------------------- */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* image area */
.product-card .card-image {
    background: #f8f8f8;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.04);
}

/* content area */
.product-card .card-content {
    padding: 14px 16px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .card-content p {
    margin: 0 0 8px 0;
}

/* product name */
.product-card .product-name a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    transition: color 0.2s ease;
}

.product-card .product-name a:hover {
    color: #000;
}

/* sub info */
.product-card .product-subinfo {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    min-height: 38px;
}

/* price */
.product-card .product-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-top: 8px;
    margin-bottom: 2px;
}

/* price note */
.product-card .product-price-note {
    font-size: 12px;
    color: #999;
}

/* action area */
.product-card .card-action {
    border-top: 1px solid #f0f0f0 !important;
    padding: 12px 16px !important;
}

.product-card .card-action a {
    color: #111 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* mobile */
@media only screen and (max-width: 600px) {

    .product-card .card-content {
        padding: 12px !important;
    }

    .product-card .product-name a {
        font-size: 15px;
    }

    .product-card .product-price {
        font-size: 22px;
    }

}   
/*  <== -----------------------------------   
 End product card 
---------------------------------------- */   


/* ----------------------------------------
   4.4 Modal close button
   
   ---------------------------------------- */

.close-x {
    background: none;
    border: none;

    color: black;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    padding: 0;
    line-height: 1;
}

.close-x:hover {
    opacity: 0.7;
}
/*  <== -----------------------------------   
 End modal close button
---------------------------------------- */   


/* ----------------------------------------
   4.5 Clickable collection
   
 ---------------------------------------- */



/* Make whole row clickable */
    .clickable-collection a.collection-item {
        display: block;
        color: black;
        text-decoration: none;
        transition:
            background-color 0.2s ease,
            color 0.2s ease,
            padding-left 0.2s ease;
        cursor: pointer;
    }

    /* Hover effect */
    .clickable-collection a.collection-item:hover {
        background-color: #f5f5f5;
        color: #26a69a;   /* Materialize default teal/green */
        padding-left: 24px;
    }



/*  <== -----------------------------------   
 End Clickable
---------------------------------------- */  

/* ----------------------------------------
   4.999 Other components
   
 ---------------------------------------- */

nav{background:#fff!important;box-shadow: none!important;margin-bottom:2rem}
nav li a {color:#000}
nav#top-banner{
	box-shadow:none;
	-webkit-box-shadow:none;
	margin-bottom:4rem;
	
}
#iconGlobe {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}



/* submit button*/
.black-btn {
    background-color: #000 !important;
    border-radius: 25px;   /* round corners */
    text-transform: none;  /* optional: remove ALL CAPS */
}

.black-btn:hover {
    background-color: #222 !important;
}


/* copy right*/
.copy-right{font-size:0.7rem;font-weight:500;}
.page-footer{background:#fff!important;color:#000}
.page-footer ul > li {
    display: inline-block;
	margin:3rem;
   
}


/* ================================================================================== 

                                  5. PAGE

=======================================================================================*/




/* footer */
footer.page-footer {
    background-color: #e0e0e0 !important;
    margin: 0;
	 /* extend grey area downward */
    padding-bottom: 40px;
	min-height: auto;
}

/* footer links */
footer.page-footer a {
    position: relative;
    color: #000 !important;
	font-size:0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 3px;
}

/* animated underline */
footer.page-footer a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 0%;
    height: 1px;

    background-color: #000;

    transition: width 0.3s ease;
}

/* hover animation */
footer.page-footer a:hover::after {
    width: 100%;
}





/* ================================================================================== 

                                  999. Copy from shopify

=======================================================================================*/




.pi-product-title{font-size:1.6rem}
.pi-product-title-unit{color:#999;font-size:0.9rem}


.pi-chinese{font-family:'Microsoft YaHei'!important;letter-spacing:2.5px;line-height:1.7;}

.pi-center{ max-width: 800px; margin: 1rem auto!important; }

.pi-round-corner{ border-radius:5%!important;}

.pi-center-content{ width:100%;max-width: 800px; margin: 1rem auto; font-size: 1.5rem; font-weight: 200 ;color:#999!important;}

.pi-center-content-small{ width:100%;max-width: 800px; margin: 1rem auto; font-size: 1.2rem;color:#666!important}
.pi-content-small{ width:80%;max-width: 800px;  font-size: 0.9rem;color:#333!important}

.pi-circle{float: left; border-radius: 50%; background: #999; width: 46px; height: 46px; padding: 5px; text-align: center; color: #fff; }


.pi-num-count {
  display: inline-block;
  
}


.pi-demo-image{
width:100%;max-width:900px;margin-top:2rem;
}

.pi-slide-in{
   animation-duration: 8s;
    animation-name: slidein;
    animation-iteration-count: 1;
  
}

.pi-h1{
  font-size:4rem;
  margin-top:15rem;
  
}

@keyframes slidein {
  0% {
    margin-left: 0%;
  }
  50% {
    margin-left: 300px;
  }
  100% {
    margin-left: 0%;
  }
}

.pi-h2{font-size:2rem;margin-top:8rem}

.pi-handwriting-title{font-family:'Amatic SC', cursive}

.pi-handwriting-default{font-family:'handwriting-crucox-context'}

.pi-handwriting-blackboard{font-family:'handwriting-blackboard'}

.pi-image-shadow {
    -webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5));
    filter: url(#drop-shadow);
    -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

/*for desktop */
 .pi-grid-item{ padding: 3rem; }

/*for mobile device*/

@media screen and (max-width: 764px) {
     .pi-grid-item{ padding: 1rem ; }
}





