.login-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}
.login-button:hover {
  background-color: #005177;
}
.page-title {
  display: none;
}

/* 確保產品圖片容器為相對定位 */
.woocommerce ul.products li.product, 
.woocommerce div.product div.images {
    position: relative;
}

/* 確保收藏圖標顯示在產品圖片的右下角 */
.yith-wcwl-add-to-wishlist {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
}

.yith-wcwl-add-to-wishlist a {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    text-align: center;
    transition: background 0.3s ease;
}

.yith-wcwl-add-to-wishlist a:hover {
    background: rgba(0, 0, 0, 0.7);
}

#header [data-row*=top] {
		background-color: black;
    z-index: 3;

		height:42px;
}

/* 桌面版樣式 */
@media (min-width: 768px) {
    .gallery-navigation-carousel .wcgs-thumb {
        position: relative;
        cursor: pointer;
        height: 150px; /* 電腦版固定高度 */
        width: auto;
        overflow: hidden;
    }

    .gallery-navigation-carousel .wcgs-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 保持圖片比例且填滿容器 */
    }
	.custom-wishlist-placeholder {
	margin-left:320px;
}
}

/* 手機版樣式：針對小螢幕設置正方形效果 */
@media (max-width: 767px) {
    .gallery-navigation-carousel .wcgs-thumb {
        width: 100%; 
        height: 80px;
        position: relative;
    }

    .gallery-navigation-carousel .wcgs-thumb img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 確保圖片比例不變 */
    }
	.custom-wishlist-placeholder {
	margin-left:50px;
}
}


.ct-header-cart {
    display: flex;
    align-items: center;
}

.wishlist-icon {
    position: relative;
    display: inline-block; /* 使得數量的絕對定位有效 */
    margin-left: 15px; /* 根據需要調整間距 */
}

.wishlist-count {
    position: absolute;
    top: -5px; /* 根據 icon 調整數量的位置 */
    right: -10px; /* 根據 icon 調整數量的位置 */
    background: #2872fa; /* 數量背景顏色 */
		font-weight: 600;
    color: white; /* 數量字體顏色 */
    border-radius: 50%; /* 數量圓形 */
    padding: 2px 3px; /* 數量內部間距 */
    font-size: 8px; /* 數量字體大小 */
}

.product-entry-wrapper .price{
	display:flex;
}

/* 手機版麵包屑樣式 */
@media (max-width: 767px) {
  .ct-panel-inner {
    position: fixed;
    left: -30px; /* 起始時隱藏在左側 */
    top: 60px; /* 可依據設計需求調整位置 */
    width: 200px;
    height: 100vh;
    background-color: #f4f4f4; /* 背景顏色 */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease; /* 動畫效果 */
    padding: 20px;
    z-index: 1000;
    overflow-y: auto; /* 讓內容可以上下滑動 */
  }
	.ct-panel-content{
		width:250px;
	}

  /* 麵包屑連結樣式 */
  .ct-panel-content a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
  }

  .ct-panel-content a:hover {
    color: #0073aa;
  }
	
	nav[class*=menu] .ct-menu-link {
    color: var(--theme-link-initial-color);
    --theme-icon-color: var(--theme-link-initial-color);
    color: #424242;
    font-size: 14px;
    font-weight: 200;
    border-bottom: 1px solid white;
}
    [data-header*="type-1"] #offcanvas .ct-panel-inner {
        width: 270px;
        background: white;
    }
	
	#offcanvas .ct-panel-content-inner {
    --margin: 0 0 20px 0;
    background: #E2E2E2;
}
	
	  .custom-login-page {
    padding: 10px;
  }
  .login-form input, .login-button {
    font-size: 14px;
  }
	
}


.custom-login-page {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.logo-container {
  margin-bottom: 20px;
}

.logo-container .logo {
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

.social-login-buttons {
  margin-bottom: 20px;
}

.login-form {
  text-align: left;
}

.login-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.login-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}


.form-links {
  margin-top: 15px;
  font-size: 14px;
}

.form-links a {
  color: #007bff;
  text-decoration: none;
}

.form-links a:hover {
  text-decoration: underline;
}


@media (max-width: 767px) {
	
	.social-login-container{
	display:flex;
}
	
	.login-divider {
    display: flex; /* 使用 Flexbox 排列 */
    align-items: center; /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    width: 100%; /* 撐滿容器寬度 */
    margin: 0px; /* 上下間距 */
    position: relative; /* 定位方便設計 */
}

.login-divider::before,
.login-divider::after {
    content: ''; /* 顯示裝飾線 */
    flex: 1; /* 讓線條自動擴展以滿足寬度 */
    border-top: 1px solid #ccc; /* 線條樣式 */
    margin: 0 10px; /* 線條與文字的間距 */
}

.login-divider span {
    font-size: 16px; /* 字體大小 */
    color: #555; /* 字體顏色 */
    background-color: #fff; /* 背景色與線條區隔 */
    padding: 0 10px; /* 增加文字與線條的間距 */
}
	
.theChampLineLoginSvg {
    display: none; /* 隱藏原始 SVG 圖示 */ 
    background-size: 0% !important;
    background: no-repeat;
}

.theChampLineBackground {
	margin-top:5px;
	background-image: url('https://findyourstyle-collection.com/wp-content/uploads/2024/12/截圖-2024-12-13-下午9.29.33.png'); /* 替換為你的圖片 URL */
    background-size: contain; /* 圖片按比例縮放 */
    background-repeat: no-repeat; /* 避免圖片重複 */
    width: 350px;
    border-radius: 10px;
    height: 60px;
}

.theChampGoogleLoginSvg {
    display: none; /* 隱藏原始 SVG 圖示 */ 
    background-size: 0% !important;
    background: no-repeat;
}

.theChampGoogleBackground {
	background-image: url('https://findyourstyle-collection.com/wp-content/uploads/2024/12/截圖-2024-12-13-下午9.39.36.png'); /* 替換為你的圖片 URL */
    background-size: contain; /* 圖片按比例縮放 */
    background-repeat: no-repeat; /* 避免圖片重複 */
    width: 350px;
    border-radius: 10px;
    height: 60px;
}

.custom-login-title {
 		 display: flex;
    font-size: 14px;
    font-family: PingFang;
    font-weight: 700;
    justify-content: center;
}

.custom-login-logo {
	    width: 100px; /* 設定圖片的寬度，根據需要調整 */
    height: 100px; /* 保持圖片比例 */
    margin: 0px auto; /* 自動置中（如果圖片在容器內） */
    display: block; /* 設定為區塊級元素以方便置中 */
}
	
	.form-row-wide {
    clear: both;
    margin-bottom: 5px;
}
	.form-row{
		margin-bottom: 5px;
	}
	
	.woocommerce-Privacy {
		text-align: center;
    font-size: 12px;
		margin-bottom: 8px;
	}
	.register-prompt{
		text-align: center;
    font-size: 12px;
		margin-bottom: 8px;
	}
	
	.ct-woo-unauthorized .woocommerce-LostPassword{
		font-size: 12px;
	}
	
}

@media (min-width: 767px) {
	.register-prompt{
	width: 800px;
        margin-left: 300px;	
	}
	
	
	.social-login-container{
		display: flex;
  	justify-content: center;
}
	
	.login-divider{
		 width: 800px;
        margin-left: 300px;
	}
	
	.woocommerce-form-login {
		        width: 800px;
        margin-left: 300px;
	}
	
.theChampLineLoginSvg {
    display: none; /* 隱藏原始 SVG 圖示 */ 
    background-size: 0% !important;
    background: no-repeat;
}

.theChampLineBackground {
	background-image: url('https://findyourstyle-collection.com/wp-content/uploads/2024/12/截圖-2024-12-13-下午9.29.33.png'); /* 替換為你的圖片 URL */
    background-size: contain; /* 圖片按比例縮放 */
    background-repeat: no-repeat; /* 避免圖片重複 */
    width: 350px;
    border-radius: 10px;
    height: 60px;
}

.theChampGoogleLoginSvg {
    display: none; /* 隱藏原始 SVG 圖示 */ 
    background-size: 0% !important;
    background: no-repeat;
}

.theChampGoogleBackground {
	
	background-image: url('https://findyourstyle-collection.com/wp-content/uploads/2024/12/截圖-2024-12-13-下午9.39.36.png'); /* 替換為你的圖片 URL */
    background-size: contain; /* 圖片按比例縮放 */
    background-repeat: no-repeat; /* 避免圖片重複 */
    width: 350px;
    border-radius: 10px;
    height: 60px;
}

.custom-login-title {
 		 display: flex;
    font-size: 14px;
    font-family: PingFang;
    font-weight: 700;
    justify-content: center;
}

.custom-login-logo {
	    width: 150px; /* 設定圖片的寬度，根據需要調整 */
    height: auto; /* 保持圖片比例 */
    margin: 10px auto; /* 自動置中（如果圖片在容器內） */
    display: block; /* 設定為區塊級元素以方便置中 */
}
	
}

