@charset "UTF-8";
html {
  font-size: 16px !important;
}

.single-product .edublink-course-details-page .course-nav-tabs .course-nav {
  flex: 1 !important;
}

/*==============================權重問題重寫================================================ */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #ee4a62;
  font-size: 15px;
  margin: 0;
}

/* 隱藏商品分類 */
.product_meta .posted_in {
  display: none !important;
}

/* 隱藏商品標籤 */
.product_meta .tagged_as {
  display: none !important;
}

/* 隱藏商品屬性 (例如尺寸、顏色) */
.product_meta .product_attributes,
.product_meta .woocommerce-product-attributes-item {
  display: none !important;
}

/*=======================沒反應 讓分類====================================== */
.content {
  display: flex !important; /* 啟用 flex 排版 */
  flex-direction: row !important; /* 水平排列 (就是你點選的藍色按鈕) */
  flex-wrap: wrap !important; /* 太長會自動換行 */
  align-content: flex-start !important;
  gap: 5px; /* 元素之間的間距 */
}

/*=========================左側按鈕區塊============================================= */
a.edu-btn.btn-secondary, button.edu-btn.btn-secondary {
  background: #ffffff !important;
  color: #F3A356 !important;
  width: 70% !important;
}

/*=========================愛心按鈕區塊============================================= */
/*=========================愛心按鈕區塊============================================= */
.yith-wcwl-add-to-wishlist-button__label {
  display: none; /* 愛心文字消失 */
}

.course-actions {
  display: flex;
  justify-content: flex-start; /* 從左開始 */
  align-items: center; /* 垂直置中 */
  gap: 10px; /* 按鈕與愛心之間間距 */
}

.yith-wcwl-add-to-wishlist-button {
  position: static !important; /* 取消絕對定位 */
}

.course-actions .btn-buy {
  flex: 0 0 auto; /* 保持原本大小 */
}

.course-actions .yith-wcwl-add-to-wishlist-button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yith-wcwl-add-to-wishlist-button {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  flex-wrap: nowrap;
  align-content: flex-end;
}

.edublink-single-course.course-style-1 .wishlist-top-right {
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  padding: 5px !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap;
  align-content: flex-end;
  flex-direction: column;
}

/*============================================================================== */
/* Hover 見曾區塊 */
.tag {
  background: #f1f1f1;
  color: #0a0a0a;
  font-weight: 500;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  display: inline-block;
  text-transform: capitalize;
  padding: 0.125rem 0.5rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .tag {
    padding: 0.125rem 0.5rem;
    margin-right: 0.125rem;
    line-height: 1.25em;
  }
}
.tag.isStylePrimary {
  background-color: #F2FBFF;
  font-size: 0.75rem;
  color: #069ee0;
  border: 1px solid #e5f7ff;
  font-weight: 600;
}

/* 插花/植栽 */
.category-flower {
  background-color: #F2FBFF;
  color: #39C0FA;
}

/* 繪畫 */
.category-painting {
  background-color: #1AB69D;
  color: #1EB8A0;
}

/*============================================================================== */
/* 這一行調整後前面分類會變高 但後面按鈕才會出來 */
.edublink-single-course.course-style-1 .content {
  flex: 1 1 auto;
  height: 175px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .edublink-single-course.course-style-1 .content {
    height: auto;
  }
}

/*============================================================================== */
/* 初始狀態下，圓形外圍是白色，愛心圖標是白色 */
.yith-add-to-wishlist-button-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: max-content;
  margin: 0px auto !important;
  flex-direction: row;
}

.yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button {
  position: relative; /* 保證icon和圓形定位 */
}

.yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button-icon {
  color: white; /* 初始愛心圖標顏色為白色 */
  transition: color 0.3s ease; /* 過渡效果 */
}

.wishlist-top-right {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding-left: 20px !important;
}

/* 確保商品卡片在手機版佔滿 100% 寬度 */
@media (max-width: 768px) {
  .edublink-single-course.course-style-1 {
    height: auto; /* 高度設為自動，讓它隨內容調整 */
  }
}
/* 修正類別按鈕的上下間距問題，使其與文字一致 */
.category-button {
  display: inline-flex; /* 使用 inline-flex，使底色區域根據文字自動調整 */
  align-items: center; /* 使文字垂直居中 */
  justify-content: center; /* 使文字水平居中 */
  background-color: #F0F4F8; /* 底色顏色 */
  padding: 4px 12px; /* 上下間距縮小，保持與文字大小一致 */
  border-radius: 12px; /* 圓角 */
  font-size: 14px; /* 字體大小 */
  color: #4a3522; /* 文字顏色 */
  margin-right: 8px; /* 按鈕間隔 */
  line-height: 1.5; /* 調整行高，確保文字與背景區域居中對齊 */
}

/* 確保文字不被其他樣式影響 */
.category-button span {
  font-size: 14px; /* 文字大小 */
  color: #4a3522; /* 文字顏色 */
}

/* 確保價格獨立成一行 */
.edublink-single-course .content .price {
  display: block; /* 使價格成為區塊元素，單獨佔一行 */
  margin-top: 10px; /* 可調整間距 */
  font-size: 16px !important; /* 根據需要調整字體大小 */
  color: #E41316 !important; /* 調整價格顏色紅色紅色 */
  width: 100% !important;
}

/* Feature Card 專用 */
:root {
  --fc-ink: var(--ink);
  --fc-border: var(--border);
  --fc-bg: var(--bg);
  --fc-check: #F3A356; /* 橘色打勾 */
}

/* ========= Feature Card（卡片 + 雙欄打勾） ========= */
.feature-card {
  border: 1px solid var(--fc-border);
  background: var(--fc-bg);
  padding: 16px 18px 18px;
  margin: 22px 0;
}

.feature-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--fc-ink);
}

/* 雙欄清單（徹底移除點點） */
.feature-checklist {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.feature-checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--fc-ink);
  line-height: 1.9;
  font-size: 15px;
}

/* 橘色打勾 */
.feature-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fc-check);
  font-size: 16px;
  line-height: 1.9;
}

/* 手機改單欄 */
@media (max-width: 768px) {
  .feature-checklist {
    grid-template-columns: 1fr;
  }
}
/* ===== 商品卡尺寸調整 ===== */
.edublink-single-course.course-style-1 {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-color: transparent; /* 保留白底 */
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
}
.edublink-single-course.course-style-1:hover {
  box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.1);
}
.edublink-single-course.course-style-1:hover .content .title {
  transition: color 0.3s;
  color: var(--edublink-color-primary);
}

.edublink-single-course.course-style-1 .thumbnail {
  overflow: hidden;
}

.edublink-single-course.course-style-1 .course-thumb {
  width: 100%;
  max-width: none !important;
  display: block;
  aspect-ratio: 4/3;
  background: #f1f1f1;
}

.yith-wcwl-add-to-wishlist-button svg {
  filter: drop-shadow(0px 3px 9px rgba(0, 0, 0, 0.1));
}

.yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added) svg {
  color: #fff !important;
  fill: #fff;
}

.yith-wcwl-add-to-wishlist-button--added svg {
  fill: #ee4a62;
  transition: fill 0.3s, color 0.3s;
}
.yith-wcwl-add-to-wishlist-button--added svg:hover {
  transition: fill 0.3s, color 0.3s;
}

.edublink-single-course.course-style-1:hover .course-thumb:after {
  opacity: 1;
}
.edublink-single-course.course-style-1:hover .yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added) svg {
  color: #fff !important;
  fill: #fff !important;
}
.edublink-single-course.course-style-1:hover .yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added) svg:hover {
  color: #ee4a62 !important;
  fill: #ee4a62 !important;
}
.edublink-single-course.course-style-1:hover .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--added svg {
  color: #ee4a62 !important;
  fill: #ee4a62 !important;
}
.edublink-single-course.course-style-1:hover .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--added svg:hover {
  color: #fff !important;
  fill: #fff !important;
}
.edublink-single-course.course-style-1:hover .yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added).yith-wcwl-add-to-wishlist-button--loading:not(.yith-wcwl-add-to-wishlist-button--first-loading) svg {
  color: #ee4a62 !important;
  fill: #ee4a62 !important;
}

.yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added).isClick.yith-wcwl-add-to-wishlist-button--loading:not(.yith-wcwl-add-to-wishlist-button--first-loading) svg {
  animation: heart-drop-bounce 0.6s ease;
  color: #ee4a62 !important;
  fill: #ee4a62 !important;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--added.isClick.yith-wcwl-add-to-wishlist-button--loading:not(.yith-wcwl-add-to-wishlist-button--first-loading) svg {
  animation: heart-drop-bounce 0.6s ease;
  color: #fff !important;
  fill: #fff !important;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--loading.yith-wcwl-add-to-wishlist-button--first-loading svg {
  animation: heart-bounce 0.6s ease;
}

.yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added).yith-wcwl-add-to-wishlist-button-block--first-loading svg {
  color: #fff !important;
  fill: #fff !important;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--added.yith-wcwl-add-to-wishlist-button-block--first-loading svg {
  color: #ee4a62 !important;
  fill: #ee4a62 !important;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--loading svg {
  pointer-events: none;
}

@keyframes heart-bounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes heart-drop-bounce {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  30% {
    transform: translateY(-40px) scale(0.9); /* 往上彈變小 */
    opacity: 0.8;
  }
  50% {
    transform: translateY(20px) scale(1.2); /* 掉下來放大 */
    opacity: 1;
  }
  70% {
    transform: translateY(-10px) scale(0.95); /* 第二次上彈 */
    opacity: 0.9;
  }
  85% {
    transform: translateY(5px) scale(1.05); /* 小掉一下 */
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1); /* 回到原位 */
    opacity: 1;
  }
}
.edublink-single-course.course-style-1 .course-thumb:after {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(26, 182, 157, 0.15) 100%);
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.edublink-single-course.course-style-1 .course-thumb img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.edublink-single-course.course-style-1 .content .title {
  line-height: 1.35;
  height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 顯示 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100% !important;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #3F2409;
}
@media (max-width: 768px) {
  .edublink-single-course.course-style-1 .content .title {
    font-size: 0.875rem;
  }
}

/* 願望清單／愛心定位在卡片內右上角（不被裁） */
.edublink-single-course.course-style-1 .wishlist {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.edublink-single-course .thumbnail .time-top {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #f7af08;
  border-radius: 3px;
  padding: 4px 8px;
  font-weight: 500;
  font-size: 13px;
  font-family: var(--edublink-font-secondary);
  display: block;
  text-transform: capitalize;
  color: #fff;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .edublink-single-course .thumbnail .time-top {
    font-size: 0.75rem;
    line-height: 1.5em;
    padding: 4px 5px;
  }
}

/* 願望清單按鈕樣式 */
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--single.yith-wcwl-add-to-wishlist-button--anchor {
  display: flex;
  align-items: center;
  margin-inline: 0;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
}

.yith-wcwl-add-to-wishlist-button .wishlist-top-right {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.edublink-single-product-item {
  padding: 0 10px; /* 增加內邊距，避免內容緊貼邊緣 */
}

/* 商品分類（類別）顯示為單獨一行 */
.course-level {
  margin-bottom: 0.125rem;
}

/* 商品標題顯示為單獨一行 */
.edublink-single-course.course-style-1 .inner .content {
  background-color: rgba(246, 246, 242, 0.85);
  padding: 1rem;
}
@media (max-width: 768px) {
  .edublink-single-course.course-style-1 .inner .content {
    padding: 0.75rem;
  }
}

.edublink-single-course .content .course-meta li {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .edublink-single-course .content .course-meta li {
    margin-right: 0.75rem;
  }
}
@media (max-width: 768px) {
  .edublink-single-course .content .course-meta li:after {
    right: -7px;
  }
}
@media (max-width: 768px) {
  .edublink-single-course .content .course-meta li i {
    display: none;
  }
}

.edublink-single-course .content .course-brand {
  color: #181818;
}

.edublink-single-course .content .course-price {
  margin-bottom: 0;
}

/* 價格顯示調整 */
.edublink-single-course .content .price {
  display: block; /* 使價格成為區塊元素，單獨佔一行 */
  margin-top: 10px; /* 可調整間距 */
  font-size: 16px !important; /* 調整字體大小 */
  color: #E41316; /* 價格顏色 */
  margin-bottom: 15px; /* 增加價格底部的間距，防止與其他元素過於擁擠 */
}

/* 調整描述文字的字體大小 */
.edublink-single-course.course-style-1 .content p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  margin: 0;
  display: block;
  width: 100%;
}
@media (max-width: 768px) {
  .edublink-single-course.course-style-1 .content p {
    font-size: 0.75rem; /* 減小描述文字的字體大小 */
  }
}

/* 按鈕和愛心之間的間距 */
.yith-add-to-wishlist-button-block {
  margin-top: 12px; /* 增加按鈕和愛心按鈕的間距 */
}

/* 按鈕樣式調整 */
.edu-btn {
  width: 100%; /* 按鈕在手機上佔滿寬度 */
  margin-top: 15px; /* 增加按鈕的頂部間距 */
}

/* 讓商品內容區域的顯示更清晰 */
.edublink-single-course.course-style-1 .content {
  display: flex;
  flex-direction: column;
  width: 100%; /* 使內容區域寬度佔滿 100% */
}

.yith-wcwl-feedback-messages-container {
  display: none !important;
}

.woocommerce [class*=columns-] {
  columns: auto !important;
}

.woocommerce form .form-row label {
  display: inline-flex !important;
}

.edublink-woo-mini-cart-content {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .edublink-course-details-sidebar-buttons {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .edublink-course-details-sidebar-content {
    padding: 2rem 0;
  }
}

.woocommerce button.button.single_add_to_cart_button {
  margin-bottom: 0 !important;
  margin-top: 1rem !important;
}

.edublink-course-page-header .edublink-course-title h1 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .edublink-course-page-header .edublink-course-title h1 {
    font-size: 1.125rem;
  }
}

.learn-press-nav-tabs {
  column-gap: 0 !important;
}

@media (max-width: 768px) {
  .edublink-course-page-header .eb-course-header-breadcrumb {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .edublink-course-details-page {
    padding-top: 1rem;
  }
}

@media (max-width: 768px) {
  .edublink-course-page-header {
    padding-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .edublink-course-page-header .eb-course-header-breadcrumb ul li:not(:last-child) {
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .edublink-course-page-header .eb-course-header-breadcrumb ul li:after {
    right: 5px;
  }
}

@media (max-width: 768px) {
  .edublink-breadcrumb a, .edublink-breadcrumb span {
    font-size: 0.75rem;
  }
}

.button.wc-backward br {
  display: none;
}

.woocommerce-notices-wrapper {
  position: fixed;
  top: 174px;
  left: 50%;
  z-index: 100;
  padding: 0.5rem;
  width: 1000px;
  max-width: 90vw;
  transform: translateX(-50%);
  pointer-events: none;
}
.woocommerce-notices-wrapper > * {
  pointer-events: auto;
}

/* 放在你原本的 .woocommerce-notices-wrapper 後面 */
/* 可調整展示時間（幾秒後開始淡出） */
.woocommerce-notices-wrapper {
  --woo-life: 5s; /* 4 秒後開始淡出 */
  --woo-in: .33s; /* 淡入時間 */
  --woo-out: .33s; /* 淡出時間 */
}

.woocommerce-error {
  background-color: #dc9c9c !important;
}

/* 統一給三種 Woo 通知：message / info / error */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  opacity: 0;
  transform: translateY(-6px);
  /* 先淡入，再延遲 --woo-life 後淡出 */
  animation: wooFadeIn var(--woo-in) ease-out 0s both, wooFadeOut var(--woo-out) ease-in var(--woo-life) both;
  will-change: opacity, transform;
  border-radius: 10px; /* 你可改樣式 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin: 0 0 1rem;
  line-height: 33px;
  font-size: 1rem;
}
.woocommerce-notices-wrapper .woocommerce-message li,
.woocommerce-notices-wrapper .woocommerce-info li,
.woocommerce-notices-wrapper .woocommerce-error li {
  margin: 0;
}
.woocommerce-notices-wrapper .woocommerce-message .restore-item,
.woocommerce-notices-wrapper .woocommerce-info .restore-item,
.woocommerce-notices-wrapper .woocommerce-error .restore-item {
  height: 33px;
}
.woocommerce-notices-wrapper .woocommerce-message a.button, .woocommerce-notices-wrapper .woocommerce-message .restore-item,
.woocommerce-notices-wrapper .woocommerce-info a.button,
.woocommerce-notices-wrapper .woocommerce-info .restore-item,
.woocommerce-notices-wrapper .woocommerce-error a.button,
.woocommerce-notices-wrapper .woocommerce-error .restore-item {
  font-size: 0.875rem;
  background: #000;
  padding: 0 1rem;
  height: 33px;
  line-height: 35px;
  display: inline-block;
  border-radius: 0.5rem;
  float: right;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
  height: 33px;
}

.woocommerce-notices-wrapper .woocommerce-message:before,
.woocommerce-notices-wrapper .woocommerce-info:before {
  top: 32px;
}

/* keyframes */
@keyframes wooFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wooFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  99% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
  }
}
/* 無障礙：使用者偏好減少動態時，停用動畫 */
@media (prefers-reduced-motion: reduce) {
  .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-notices-wrapper .woocommerce-info,
  .woocommerce-notices-wrapper .woocommerce-error {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* 購物車頁禁用通知動畫 */
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: unset;
}

/* 如果購物車頁不想用固定在視窗的通知，也一起還原定位（可選） */
body.woocommerce-cart .woocommerce-notices-wrapper {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.variation {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  margin: 0;
}

.variation dt,
.variation dd {
  margin: 0;
}

.variation dt {
  font-weight: 600;
}

.variation dd p {
  margin: 0;
}

.button.edublink-button-item.update-cart {
  display: none;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-form-coupon .input-text {
  height: 45px !important;
}

.woocommerce-error a.showcoupon, .woocommerce-info a.showcoupon, .woocommerce-message a.showcoupon {
  color: #3F2409;
}

/* === 小購物車整體 === */
.widget_shopping_cart_content {
  /* === 每個商品 === */
  /* === 商品圖片 === */
  /* === 商品名稱與選項 === */
  /* === 價格區塊 === */
  /* === 移除按鈕 === */
  /* === 小計 === */
  /* === 底部按鈕 === */
}
.widget_shopping_cart_content .elementor-menu-cart__product {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #eee;
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  max-height: 450px;
  transition: all 0.5s, margin-top 0.65s 0.3s;
  margin-top: 0;
}
.widget_shopping_cart_content .elementor-menu-cart__product.isClose {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.widget_shopping_cart_content .elementor-menu-cart__product.isClose:not(:first-child) {
  margin-top: -33px;
}
.widget_shopping_cart_content .elementor-menu-cart__product:last-child {
  border-bottom: none;
}
.widget_shopping_cart_content .product-thumbnail {
  width: 100%;
  max-width: none;
  display: block;
  aspect-ratio: 11/3;
  background: #f1f1f1;
  overflow: hidden;
  border-radius: 0.5rem;
}
.widget_shopping_cart_content .product-thumbnail a {
  position: relative;
}
.widget_shopping_cart_content .product-thumbnail a:before {
  content: "";
  background: linear-gradient(to bottom left, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.widget_shopping_cart_content .elementor-menu-cart__product-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.widget_shopping_cart_content .elementor-menu-cart__product-name a {
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.875rem;
}
.widget_shopping_cart_content .elementor-menu-cart__product-name a:hover {
  color: #1AB69d;
}
.widget_shopping_cart_content .elementor-menu-cart__product-name dl {
  margin: 0.25rem 0 0;
  font-size: 13px;
  color: #666;
  display: grid;
  grid-template-columns: 70px 1fr;
}
.widget_shopping_cart_content .elementor-menu-cart__product-name dt {
  font-weight: 500;
}
.widget_shopping_cart_content .elementor-menu-cart__product-name dd {
  margin: 0;
}
.widget_shopping_cart_content .elementor-menu-cart__product-price {
  white-space: nowrap;
  text-align: right;
}
.widget_shopping_cart_content .elementor-menu-cart__product-price .amount {
  font-weight: 600;
  color: #222;
  font-size: 1.125rem;
}
.widget_shopping_cart_content .elementor-menu-cart__subtotal .amount {
  font-size: 1.25rem;
  color: #cf2e2e;
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove .elementor_remove_from_cart_button {
  display: none;
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove {
  position: absolute;
  right: 2px;
  top: 2px;
  height: 20px;
  padding-top: 2px;
  border-radius: 5px;
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove .remove_from_cart_button {
  opacity: 1;
  filter: brightness(0) saturate(100%);
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove .remove_from_cart_button:hover {
  filter: invert(22%) sepia(87%) saturate(5536%) hue-rotate(347deg) brightness(91%) contrast(103%);
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove a {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23aaa' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke-width='2' d='M6 6l12 12M6 18L18 6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.widget_shopping_cart_content .elementor-menu-cart__product-remove a:hover {
  opacity: 1;
}
.widget_shopping_cart_content .elementor-menu-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons a {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
  font-size: 0.875rem;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
  background: #f3f3f3;
  color: #333;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
  background: #e0e0e0;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons .elementor-button--checkout {
  background: linear-gradient(90deg, #f2994a 0%, #f2c94c 100%) !important;
  color: #fff;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
  filter: brightness(0.95);
}

.wt_sc_single_coupon.isActive {
  filter: grayscale(0.4);
}
.wt_sc_single_coupon.isActive:before {
  content: "購物車套用中";
  font-weight: 900;
  position: absolute;
  transform: translate(-50%, -50%) rotate(-17deg);
  left: 50%;
  top: 50%;
  z-index: 1;
  color: rgba(217, 98, 43, 0.15);
  font-size: 50px;
  white-space: nowrap;
  text-shadow: 75px 75px rgba(217, 98, 43, 0.1), -75px -75px rgba(217, 98, 43, 0.1);
  cursor: no-drop;
}
.wt_sc_single_coupon.minimal_outline .wbte_sc_coupon_desc {
  font-size: 0.875rem !important;
  margin-bottom: 2.25rem !important;
}

.nsl-container-buttons {
  width: 100%;
}
.nsl-container-buttons p {
  display: none;
}

.wishlist_table br {
  display: none;
}

.wishlist_table .product-remove a {
  font-size: 28px !important;
}

svg.yith-wcwl-icon-svg {
  width: auto;
  height: auto;
  fill: #ee4a62;
}
svg.yith-wcwl-icon-svg:hover {
  fill: #1F1F1F;
}

.wishlist_table td.product-remove {
  width: 80px !important;
}

.wishlist_table > tbody > tr > td:first-child,
.wishlist_table > tfoot > tr > th:first-child,
.wishlist_table > tfoot > tr > td:first-child {
  padding-left: 0 !important;
}

.edublink-header-right-side a.eb-wishlist-link {
  margin-left: 12px;
}

.ywpar-wrapper #ywpar_referral_link_sc {
  max-width: 100%;
}
.ywpar-wrapper #ywpar-copy-to-clipboard-wrapper {
  max-width: 100%;
}
.ywpar-wrapper #ywpar_referral_link_sc p {
  text-align: left;
}
.ywpar-wrapper #ywpar_referral_link_sc span {
  text-align: left;
}
.ywpar-wrapper .ywpar-copy-to-clipboard_field-wrap br {
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
  width: 100%;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  height: 45px !important;
}

.site-header {
  z-index: 5 !important;
}

.woocommerce-pagination.woocommerce-pagination--without-numbers.woocommerce-Pagination {
  display: flex;
  justify-content: space-between;
}

.edublink-course-meta-informations li .edublink-course-feature-item-label {
  white-space: nowrap;
}
.edublink-course-meta-informations li .edublink-course-feature-item-value {
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .course-level-list .course-level {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .edublink-section-heading h2 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .devsblink-progress-parent {
    right: 15px;
    height: 37px;
    width: 37px;
  }
}
@media (max-width: 768px) {
  .devsblink-progress-parent:after {
    line-height: 37px;
    height: 37px;
    width: 37px;
  }
}

.ph-calendar-days li, .ph-calendar-weekdays li {
  font-size: 14px;
}

.site-logo {
  height: 55px !important;
  width: auto;
}

.woocommerce-cart .return-to-shop a.button.wc-backward {
  line-height: 48px !important;
}

.woocommerce button.button {
  margin-bottom: 0 !important;
}

#ywpar_apply_discounts {
  margin-bottom: 0 !important;
  margin-left: 0.5rem !important;
}

#ywpar-points-max {
  margin-right: 0.5rem;
}

.button.button.edublink-button-item.update-cart {
  display: none !important;
}

.woocommerce table.shop_table tbody tr td.product-remove {
  padding: 0 !important;
}

@media (max-width: 767px) {
  .woocommerce table.shop_table_responsive tr td.product-remove a {
    width: 100%;
    height: 26px;
    text-align: center !important;
    background: #f1f1f1;
    border-radius: 0;
  }
}

.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
  background: transparent !important;
}

@media (max-width: 767px) {
  .cart_totals {
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}
@media (max-width: 1024px) {
  .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.woocommerce table.shop_table {
  margin-bottom: 0px !important;
}

.woocommerce table.shop_table tr p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .woocommerce-cart table.cart td.actions .coupon .input-text {
    min-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .woocommerce table.shop_table.cart tbody tr:last-child td {
    padding: 15px !important;
    border: unset;
  }
}

.form-row.validate-required,
button#place_order {
  display: none;
}

.woocommerce-billing-fields .form-row.validate-required,
#order_review .form-row.validate-required,
#order_review button#place_order {
  display: block;
}

@media (max-width: 767px) {
  .woocommerce-MyAccount-navigation {
    padding: 15px 0 !important;
  }
}

@media (max-width: 767px) {
  .woocommerce-account .woocommerce-MyAccount-navigation li a {
    padding: 8px 15px !important;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  #post-21 .e-con.e-flex > .e-con-inner {
    padding-bottom: 0;
  }
}
@media (max-width: 767px) {
  #post-21 .woocommerce-orders-table th, #post-21 .woocommerce-orders-table td {
    padding: 0.5rem 1rem;
  }
}
@media (max-width: 767px) {
  #post-21 .woocommerce-orders-table .woocommerce-button {
    height: 29px;
    font-size: 14px;
    position: relative;
    top: -4px;
  }
}
#post-21 .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions p {
  justify-content: flex-end;
}
#post-21 table.woocommerce-table--order-details {
  border: unset !important;
}
@media (max-width: 767px) {
  #post-21 table.woocommerce-table--order-details thead {
    display: none;
  }
}

#post-13477 table.woocommerce-table--order-details {
  border: unset !important;
}
@media (max-width: 767px) {
  #post-13477 table.woocommerce-table--order-details thead {
    display: none;
  }
}

.wishlist_table.mobile {
  margin-bottom: 0;
}
.wishlist_table.mobile .item-wrapper {
  position: relative;
}
.wishlist_table.mobile .product-name h3 {
  font-size: 14px;
}
.wishlist_table.mobile .table-striped > tbody > tr:nth-of-type(odd) {
  background: transparent;
}
.wishlist_table.mobile .item-details-table .value {
  font-size: 18px !important;
  color: var(--edublink-color-secondary);
  font-weight: 600;
  font-family: Poppins, sans-serif;
}
.wishlist_table.mobile li .item-wrapper {
  width: 100%;
  margin-bottom: 0 !important;
}
.wishlist_table.mobile .item-details-table {
  margin-bottom: 0 !important;
}
.wishlist_table.mobile .product-remove {
  position: absolute;
  left: -31px;
  top: 16px;
}
.wishlist_table.mobile .product-remove .yith-wcwl-icon {
  width: 25px;
}

.wishlist-title {
  margin-bottom: 0 !important;
}

/*# sourceMappingURL=custom-global.css.map */
