/* ===== 評價：雙欄卡片牆版 ===== */

#srAppCard,
#sr-app-card {
  --review-bg: rgba(255, 255, 255, 0.92);
  --review-border: #74ebd5;
  --review-accent: #9face6;
  --review-text: #111;
  --star-color: #ffb800;
}

#srAppCard .ratingComment {
  display: block !important;
}

#srAppCard .summaryRating.sr-app-card {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
  padding: 14px 12px !important;
  margin: 0 0 12px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(223,243,255,.65)) !important;
}

#srAppCard .summaryRating .sr-display-title {
  display: block !important;
  font-size: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1 !important;
}

#srAppCard .summaryRating .sr-display-title::before {
  content: "累計豬數量";
  display: block !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

#srAppCard .summaryRating .sr-display-title::after {
  content: none !important;
  display: none !important;
}

#srAppCard .summaryRating .stars {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
  margin: 0 !important;
}

#srAppCard .summaryRating .stars > br {
  display: none !important;
}

#srAppCard .summaryRating .star-rating {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 1px 0 !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

#srAppCard .summaryRating .star-rating .es-icon-star {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}

#srAppCard .summaryRating span[id^="starReviewCountReviewSectionHeader"] {
  display: inline-block !important;
  margin-left: 5px !important;
  padding: 1px 6px !important;
  background: #dff3ff !important;
  border-radius: 999px !important;
  color: #075985 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  flex-shrink: 0 !important;
}

#es-sr-app-table {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  padding: 12px !important;
}

#es-sr-app-table .sr-app-comment {
  display: block !important;
  margin: 0 !important;
  padding: 16px !important;
  background: var(--review-bg) !important;
  border: 1px solid var(--review-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.08) !important;
}

#es-sr-app-table .sr-app-img-comment {
  display: grid !important;
  grid-template-columns: 58px 1fr !important;
  gap: 12px !important;
  align-items: start !important;
  margin: 0 !important;
  width: 100% !important;
}

#es-sr-app-table .sr-app-circle-img {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  object-fit: cover !important;
}

#es-sr-app-table .sr-app-comment-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#es-sr-app-table .sr-app-flex-between {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
}

#es-sr-app-table .sr_app_customer_name {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--review-text) !important;
}

#es-sr-app-table .sr-app-variant_name {
  display: inline-block !important;
  width: fit-content !important;
  margin-top: 2px !important;
  padding: 3px 8px !important;
  background: #ffe8c2 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #9a4a00 !important;
}

#es-sr-app-table .es-star-rate-avg {
  margin: 4px 0 0 !important;
  line-height: 1 !important;
}

#es-sr-app-table .es-star-rate-avg .es-icon-star {
  color: var(--star-color) !important;
  font-size: 18px !important;
}

#es-sr-app-table .sr-app-date {
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px dashed rgba(0,0,0,.14) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #555 !important;
}

#es-sr-app-table .sr-app-comment-details {
  margin-top: 12px !important;
  padding: 10px 12px !important;
  min-height: 42px !important;
  background: linear-gradient(135deg, rgba(116,235,213,.24), rgba(159,172,230,.24)) !important;
  border-radius: 14px !important;
  color: var(--review-text) !important;
}

#es-sr-app-table .sr-app-comment-details:has(.sr-app-comment-content:empty):has(.sr-app-images:empty) {
  display: block !important;
  background: linear-gradient(135deg, rgba(223, 243, 255, .9), rgba(232, 226, 255, .9)) !important;
  color: #075985 !important;
}

#es-sr-app-table .sr-app-comment-details:has(.sr-app-comment-content:empty):has(.sr-app-images:empty)::before {
  content: "這位用戶把滿意度藏在豬頭裡 留言就省略了";
  display: block !important;
  font-weight: 800 !important;
  color: #075985 !important;
}

#es-sr-app-table .es-star-rate-avg .es-icon-star,
#srAppCard .summaryRating .star-rating .es-icon-star {
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  background-image: url("https://cdn.store-assets.com/s/784083/i/103646438.png?width=480") !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 50% !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

#es-sr-app-table .es-star-rate-avg .es-star,
#srAppCard .summaryRating .star-rating .es-star {
  opacity: 1 !important;
  filter: none !important;
}

#es-sr-app-table .es-star-rate-avg .es-empty-star,
#srAppCard .summaryRating .star-rating .es-empty-star {
  opacity: .28 !important;
  filter: grayscale(1) !important;
}

@media (max-width: 768px) {
  #es-sr-app-table {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  #es-sr-app-table {
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding-right: 6px !important;
  }
}
@media (min-width: 769px) {
  #srAppCard .summaryRating.sr-app-card {
    width: 62% !important;
    max-width: 900px !important;
    margin: 0 auto 12px !important;
  }
}
#srAppCard .summaryRating.sr-app-card {
  background: linear-gradient(180deg, #ffffff, #f3e8ff, #e9d5ff) !important;
}
@media (max-width: 768px) {
  #srAppCard,
  #sr-app-card {
    margin-top: -40px !important;
  }
}
/* ===== 評價：沒有評價時改圖＋改文字 ===== */

body #srAppCard #zeroComment.sr-app-card.zeroComment .svg-container {
  width: 99px !important;
  height: 99px !important;
  margin: 0 auto !important;
  background-image: url("https://cdn.store-assets.com/s/784083/i/103464916.webp?width=480") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

body #srAppCard #zeroComment.sr-app-card.zeroComment .svg-container svg {
  display: none !important;
}

body #srAppCard #zeroComment.sr-app-card.zeroComment .text-wrapper {
  font-size: 0 !important;
}

body #srAppCard #zeroComment.sr-app-card.zeroComment .text-wrapper::after {
  content: "目前0評價，但不代表不精彩，只是大家買完忙著開心，忘了回來打字";
  display: block !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}










/* ===== vouchers 優惠卷 ===== */
body.customer-logged-in.template-app #MainContent .main-wrapper{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:24px;
  align-items:start;
}

body.customer-logged-in.template-app #MainContent .main-wrapper > h2{
  display:block;
  width:420px;
  height:110px;
  max-width:90vw;
  margin:0 auto 18px;
  padding:0;
  font-size:0;
  line-height:0;
  color:transparent;
  background:url("https://cdn.store-assets.com/s/784083/i/103195437.webp?width=480") center / contain no-repeat;
  grid-column:1 / -1;
  justify-self:center !important;
}

body.customer-logged-in.template-app #MainContent .main-wrapper > a[href="/account"]{
  position:static !important;
  left:auto !important;
  bottom:auto !important;
  z-index:10 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:auto !important;
  min-width:88px !important;
  max-width:max-content !important;
  min-height:40px !important;
  padding:9px 18px !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%) !important;
  color:#6d28d9 !important;
  border:1px solid rgba(124,58,237,.25) !important;
  box-shadow:0 8px 18px rgba(124,58,237,.14) !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  text-align:center !important;
  text-decoration:none !important;
  transition:transform .14s ease, box-shadow .14s ease, filter .14s ease !important;
  margin:0 auto 18px !important;
  box-sizing:border-box !important;
  grid-column:1 / -1;
  justify-self:center !important;
  align-self:center !important;
}

body.customer-logged-in.template-app #MainContent .main-wrapper > a[href="/account"]:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 12px 24px rgba(124,58,237,.18) !important;
  filter:brightness(1.02) !important;
}

body.customer-logged-in.template-app #MainContent .main-wrapper > a[href="/account"]:active{
  transform:translateY(1px) scale(.985) !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  position:sticky;
  top:20px;
  width:270px;
  box-sizing:border-box;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tab{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tab form,
body.customer-logged-in.template-app #MainContent #reward_tab .tab li,
body.customer-logged-in.template-app #MainContent #reward_tab .tab div{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  min-height:48px !important;
  box-sizing:border-box !important;
  border:1px solid #000 !important;
  border-radius:12px !important;
  background:#f8fafc !important;
  color:#111827 !important;
  font-weight:700 !important;
  font-size:14px !important;
  line-height:1.35 !important;
  padding:14px 18px !important;
  text-align:center !important;
  text-indent:0 !important;
  transform:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks::before,
body.customer-logged-in.template-app #MainContent #reward_tab .tablinks::after{
  display:none !important;
  content:none !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks > *{
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
  text-align:center !important;
  text-indent:0 !important;
  transform:none !important;
  position:static !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(15,23,42,.12);
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks.active{
  background:#ede9fe !important;
  color:#7c3aed !important;
}

body.customer-logged-in.template-app #MainContent #sf_voucher{
  min-width:0;
  align-self:start;
  position:relative;
}

body.customer-logged-in.template-app #MainContent .loader,
body.customer-logged-in.template-app #MainContent .loading,
body.customer-logged-in.template-app #MainContent .spinner,
body.customer-logged-in.template-app #MainContent .spinner-border,
body.customer-logged-in.template-app #MainContent [class*="loader"],
body.customer-logged-in.template-app #MainContent [class*="loading"],
body.customer-logged-in.template-app #MainContent [class*="spinner"],
body.customer-logged-in.template-app #MainContent [class*="spin"]{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}

body.customer-logged-in.template-app #MainContent #claimConfirmBtn,
body.customer-logged-in.template-app #MainContent .redeem-modal .button,
body.customer-logged-in.template-app #MainContent .redeem-modal .btn{
  min-width:88px;
  min-height:36px;
  padding:8px 16px !important;
  border-radius:10px !important;
  margin:0;
  background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 8px 18px rgba(220,38,38,.28) !important;
  transition:transform .14s ease, box-shadow .14s ease, filter .14s ease !important;
}

body.customer-logged-in.template-app #MainContent #claimConfirmBtn:hover,
body.customer-logged-in.template-app #MainContent .redeem-modal .button:hover,
body.customer-logged-in.template-app #MainContent .redeem-modal .btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.04);
}

body.customer-logged-in.template-app #MainContent #claimConfirmBtn:active,
body.customer-logged-in.template-app #MainContent .redeem-modal .button:active,
body.customer-logged-in.template-app #MainContent .redeem-modal .btn:active{
  transform:translateY(1px) scale(.985);
  filter:brightness(.96) saturate(.96);
}

body.customer-logged-in.template-app #MainContent #sf_voucher a[href="/"],
body.customer-logged-in.template-app #MainContent #sf_voucher a[href="/collections/all"],
body.customer-logged-in.template-app #MainContent #sf_voucher a[href="/collections"],
body.customer-logged-in.template-app #MainContent #sf_voucher .empty-state a,
body.customer-logged-in.template-app #MainContent #sf_voucher .empty-content a,
body.customer-logged-in.template-app #MainContent #sf_voucher .no-data a,
body.customer-logged-in.template-app #MainContent #sf_voucher .btn[href],
body.customer-logged-in.template-app #MainContent #sf_voucher button{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

@media screen and (min-width:768px){
  body.customer-logged-in.template-app #MainContent .main-wrapper{
    display:grid !important;
    grid-template-columns:270px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab{
    position:sticky !important;
    top:20px !important;
    width:270px !important;
    margin-bottom:0 !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tab{
    flex-direction:column !important;
    overflow:visible !important;
    gap:12px !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tablinks{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    flex:none !important;
    min-height:48px !important;
    padding:14px 18px !important;
    text-align:center !important;
    text-indent:0 !important;
  }
}

@media screen and (max-width:767px){
  body.customer-logged-in.template-app #MainContent .main-wrapper{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }

  body.customer-logged-in.template-app #MainContent .main-wrapper > h2{
    width:420px;
    height:110px;
    max-width:90vw;
    margin:0 auto 10px !important;
    align-self:center !important;
  }

  body.customer-logged-in.template-app #MainContent .main-wrapper > a[href="/account"]{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:88px !important;
    max-width:max-content !important;
    margin:0 auto 16px !important;
    align-self:center !important;
    text-align:center !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab{
    position:static !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 0 14px !important;
    padding:12px !important;
    border-radius:18px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tab{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x proximity !important;
    padding:0 0 2px 0 !important;
    box-sizing:border-box !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tab::-webkit-scrollbar{
    display:none !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tab form,
  body.customer-logged-in.template-app #MainContent #reward_tab .tab li,
  body.customer-logged-in.template-app #MainContent #reward_tab .tab div{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:auto !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tablinks{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:150px !important;
    max-width:none !important;
    height:56px !important;
    min-height:56px !important;
    padding:10px 18px !important;
    border:1px solid #000 !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow-wrap:normal !important;
    line-height:1.2 !important;
    font-size:14px !important;
    font-weight:800 !important;
    scroll-snap-align:start !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tablinks,
  body.customer-logged-in.template-app #MainContent #reward_tab .tablinks *{
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow-wrap:normal !important;
    text-align:center !important;
  }

  body.customer-logged-in.template-app #MainContent #reward_tab .tablinks:nth-last-child(1),
  body.customer-logged-in.template-app #MainContent #reward_tab .tab li:last-child .tablinks,
  body.customer-logged-in.template-app #MainContent #reward_tab .tab div:last-child .tablinks,
  body.customer-logged-in.template-app #MainContent #reward_tab .tab form:last-child .tablinks{
    justify-content:center !important;
    text-align:center !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  body.customer-logged-in.template-app #MainContent #sf_voucher{
    width:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  body.customer-logged-in.template-app #MainContent #sf_voucher img,
  body.customer-logged-in.template-app #MainContent #sf_voucher svg,
  body.customer-logged-in.template-app #MainContent #sf_voucher .empty-state,
  body.customer-logged-in.template-app #MainContent #sf_voucher .empty-content,
  body.customer-logged-in.template-app #MainContent #sf_voucher .no-data{
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  body.customer-logged-in.template-app #MainContent #sf_voucher img{
    display:block !important;
  }
}
body.customer-logged-in.template-app #MainContent #reward_tab{
  overflow:visible !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks:hover{
  transform:none !important;
}

body.customer-logged-in.template-app #MainContent #reward_tab .tablinks:active{
  transform:none !important;
}
@media screen and (max-width:767px){
  body.customer-logged-in.template-app #MainContent #reward_tab .tab{
    width:max-content !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    justify-content:flex-start !important;
  }
}






















/* ===== POINT 點數：base.css 版，不需改 HTML ===== */
body.template-point-history .customer.account h1 {
  width: 420px !important;
  height: 110px !important;
  max-width: 90vw !important;
  margin: 24px auto 12px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: url("https://cdn.store-assets.com/s/784083/i/103512222.webp?width=480") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.template-point-history .customer.account > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  text-align: center !important;
}

body.template-point-history .customer.account > div:first-child > a[href="/account"] {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 40px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
  color: #6d28d9 !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
  margin: 0 auto 18px !important;
}

body.template-point-history .customer.account > div:first-child > a[href="/account"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.18) !important;
  filter: brightness(1.02) !important;
}

body.template-point-history .customer.account > div:first-child > a[href="/account"]:active {
  transform: translateY(1px) scale(0.985) !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) {
  display: flex !important;
  gap: 48px !important;
  align-items: flex-start !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child {
  width: 270px !important;
  max-width: 270px !important;
  min-height: unset !important;
  padding: 18px !important;
  padding-top: 56px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background-image: linear-gradient(135deg, rgba(238, 232, 255, 0.98), rgba(245, 248, 255, 0.98)) !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child::before,
body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child::after {
  display: none !important;
  content: none !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child > *:first-child {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #7c3aed !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child > *:not(:first-child) {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.template-point-history .customer.account > div:nth-of-type(2) > div:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-top: 0 !important;
  text-indent: 0 !important;
  position: relative !important;
  transform: none !important;
}

body.template-point-history .customer.account .card-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  transform: none !important;
}

body.template-point-history .customer.account .card-box > hr {
  display: none !important;
}

body.template-point-history .customer.account .card-box > .lh-2 {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 110px !important;
  padding: 18px 150px 18px 22px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7fff9 48%, #e8fbea 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
  will-change: transform, filter !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 8% 88%, rgba(34, 197, 94, 0.055), transparent 34%),
    linear-gradient(55deg, transparent 0%, transparent 30%, rgba(22, 163, 74, 0.038) 30%, rgba(22, 163, 74, 0.038) 46%, transparent 46%, transparent 100%),
    linear-gradient(55deg, transparent 0%, transparent 68%, rgba(34, 197, 94, 0.052) 68%, rgba(34, 197, 94, 0.052) 73%, transparent 73%, transparent 100%) !important;
}

body.template-point-history .customer.account .card-box > .lh-2::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 48%) !important;
}

body.template-point-history .customer.account .card-box > .lh-2 > .d-flex {
  position: static !important;
  z-index: auto !important;
  display: block !important;
  width: auto !important;
  max-width: 520px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child {
  display: block !important;
  width: 100% !important;
  margin-right: 0 !important;
  min-width: 0 !important;
  position: static !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:first-child {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10) !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:last-child {
  display: block !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2 .label-tag {
  position: absolute !important;
  right: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  margin: 0 !important;
  min-width: 86px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
}

body.template-point-history .customer.account .card-box > .lh-2 .label-tag-success {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%) !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
}

body.template-point-history .customer.account .card-box > .lh-2 .label-tag:not(.label-tag-success) {
  background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 100%) !important;
  color: #e11d48 !important;
  border: 1px solid rgba(225, 29, 72, 0.22) !important;
}

@media (hover: hover) {
  body.template-point-history .customer.account .card-box > .lh-2:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14) !important;
    filter: brightness(1.015) !important;
  }
}

body.template-point-history .customer.account .card-box > .lh-2:active {
  transform: translateY(2px) scale(0.985) !important;
  filter: brightness(0.96) saturate(0.96) !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14) !important;
}

@media (max-width: 1199px) and (min-width: 769px) {
  body.template-point-history .customer.account {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) {
    gap: 32px !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child {
    width: 240px !important;
    max-width: 240px !important;
    padding-top: 56px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 {
    padding-right: 130px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  body.template-point-history .customer.account > div:nth-of-type(2) {
    gap: 24px !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child {
    width: 220px !important;
    max-width: 220px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 {
    padding-right: 120px !important;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  body.template-point-history .customer.account > div:nth-of-type(2) {
    gap: 18px !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child {
    width: 200px !important;
    max-width: 200px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 {
    padding-right: 110px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 .label-tag {
    right: 18px !important;
    min-width: 78px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  body.template-point-history .customer.account {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.template-point-history .customer.account > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
  }

  body.template-point-history .customer.account h1 {
    width: 420px !important;
    height: 110px !important;
    max-width: 90vw !important;
    margin: 18px auto 12px !important;
  }

  body.template-point-history .customer.account > div:first-child > a[href="/account"] {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 40px !important;
    padding: 9px 18px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
    color: #6d28d9 !important;
    border: 1px solid rgba(124, 58, 237, 0.25) !important;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
    margin: 0 auto 16px !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child,
  body.template-point-history .customer.account > div:nth-of-type(2) > div:last-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  body.template-point-history .customer.account > div:nth-of-type(2) > div:first-child {
    padding-top: 18px !important;
  }

  body.template-point-history .customer.account .card-box {
    width: 100% !important;
    gap: 12px !important;
    margin-top: 12px !important;
    transform: none !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 {
    width: 100% !important;
    min-height: unset !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 > .d-flex {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child {
    width: 100% !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:first-child {
    width: 100% !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:last-child {
    display: block !important;
    position: static !important;
    transform: none !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body.template-point-history .customer.account .card-box > .lh-2 .label-tag {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    min-width: 78px !important;
    width: fit-content !important;
    margin-top: 8px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}
@media screen and (min-width: 769px){
  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child{
    width:320px !important;
    max-width:320px !important;
    min-width:320px !important;
    padding:28px 24px !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2){
    gap:48px !important;
    align-items:flex-start !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:0 !important;
    width:100% !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div{
    flex:1 1 50% !important;
    min-width:0 !important;
    max-width:50% !important;
    padding:0 14px !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div + div{
    border-left:1px solid rgba(0,0,0,.12) !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div,
  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div *{
    font-size:18px !important;
    line-height:1.35 !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow-wrap:normal !important;
  }
}

@media screen and (max-width: 768px){
  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex{
    display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    width:100% !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div{
    flex:1 1 50% !important;
    min-width:0 !important;
    padding:0 8px !important;
    text-align:center !important;
  }

  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div,
  body.template-point-history main#MainContent .customer.account > div:nth-of-type(2) > div:first-child .d-flex > div *{
    font-size:16px !important;
    line-height:1.35 !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
  }
}










/* ===== CREDIT 回饋金 ===== */
body.template-credit-histories .customer.account h1 {
  width: 420px !important;
  height: 110px !important;
  max-width: 90vw !important;
  margin: 24px auto 12px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: url("https://cdn.store-assets.com/s/784083/i/103511494.webp?width=480") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.template-credit-histories .customer.account > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  text-align: center !important;
}

body.template-credit-histories .customer.account > div:first-child a[href="/account"] {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 40px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
  color: #6d28d9 !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
  margin: 0 auto 18px !important;
}

body.template-credit-histories .customer.account > div:first-child a[href="/account"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.18) !important;
  filter: brightness(1.02) !important;
}

body.template-credit-histories .customer.account > div:first-child a[href="/account"]:active {
  transform: translateY(1px) scale(0.985) !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) {
  display: flex !important;
  gap: 48px !important;
  align-items: flex-start !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child {
  width: 270px !important;
  max-width: 270px !important;
  min-height: unset !important;
  padding: 18px !important;
  padding-top: 56px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background-image: linear-gradient(135deg, rgba(238, 232, 255, 0.98), rgba(245, 248, 255, 0.98)) !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child::before,
body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child::after {
  display: none !important;
  content: none !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child > *:first-child {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #7c3aed !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child > *:not(:first-child) {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.template-credit-histories .customer.account > div:nth-of-type(2) > div:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-top: 0 !important;
  text-indent: 0 !important;
  position: relative !important;
  transform: none !important;
}

body.template-credit-histories .customer.account .card-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  transform: none !important;
}

body.template-credit-histories .customer.account .card-box > hr {
  display: none !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 110px !important;
  padding: 18px 150px 18px 22px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #eef6ff 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
  will-change: transform, filter !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 8% 88%, rgba(14, 165, 233, 0.055), transparent 34%),
    linear-gradient(55deg, transparent 0%, transparent 30%, rgba(124, 58, 237, 0.038) 30%, rgba(124, 58, 237, 0.038) 46%, transparent 46%, transparent 100%),
    linear-gradient(55deg, transparent 0%, transparent 68%, rgba(14, 165, 233, 0.052) 68%, rgba(14, 165, 233, 0.052) 73%, transparent 73%, transparent 100%) !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 48%) !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex {
  position: static !important;
  z-index: auto !important;
  display: block !important;
  width: auto !important;
  max-width: 520px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child {
  display: block !important;
  width: 100% !important;
  margin-right: 0 !important;
  min-width: 0 !important;
  position: static !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:first-child {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10) !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:last-child {
  display: block !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 .label-tag {
  position: absolute !important;
  right: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  margin: 0 !important;
  min-width: 86px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 .label-tag-success {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%) !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
}

body.template-credit-histories .customer.account .card-box > .lh-2 .label-tag:not(.label-tag-success) {
  background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 100%) !important;
  color: #e11d48 !important;
  border: 1px solid rgba(225, 29, 72, 0.22) !important;
}

@media (hover: hover) {
  body.template-credit-histories .customer.account .card-box > .lh-2:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14) !important;
    filter: brightness(1.015) !important;
  }
}

body.template-credit-histories .customer.account .card-box > .lh-2:active {
  transform: translateY(2px) scale(0.985) !important;
  filter: brightness(0.96) saturate(0.96) !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14) !important;
}

@media (max-width: 1199px) and (min-width: 769px) {
  body.template-credit-histories .customer.account {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) {
    gap: 32px !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child {
    width: 240px !important;
    max-width: 240px !important;
    padding-top: 56px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 {
    padding-right: 130px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  body.template-credit-histories .customer.account > div:nth-of-type(2) {
    gap: 24px !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child {
    width: 220px !important;
    max-width: 220px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 {
    padding-right: 120px !important;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  body.template-credit-histories .customer.account > div:nth-of-type(2) {
    gap: 18px !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child {
    width: 200px !important;
    max-width: 200px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 {
    padding-right: 110px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 .label-tag {
    right: 18px !important;
    min-width: 78px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  body.template-credit-histories .customer.account {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.template-credit-histories .customer.account > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
  }

  body.template-credit-histories .customer.account h1 {
    width: 420px !important;
    height: 110px !important;
    max-width: 90vw !important;
    margin: 18px auto 12px !important;
  }

  body.template-credit-histories .customer.account > div:first-child a[href="/account"] {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 40px !important;
    padding: 9px 18px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
    color: #6d28d9 !important;
    border: 1px solid rgba(124, 58, 237, 0.25) !important;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
    margin: 0 auto 16px !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child,
  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:last-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  body.template-credit-histories .customer.account > div:nth-of-type(2) > div:first-child {
    padding-top: 18px !important;
  }

  body.template-credit-histories .customer.account .card-box {
    width: 100% !important;
    gap: 12px !important;
    margin-top: 12px !important;
    transform: none !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 {
    width: 100% !important;
    min-height: unset !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child {
    width: 100% !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:first-child {
    width: 100% !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 > .d-flex > div:first-child > *:last-child {
    display: block !important;
    position: static !important;
    transform: none !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body.template-credit-histories .customer.account .card-box > .lh-2 .label-tag {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    min-width: 78px !important;
    width: fit-content !important;
    margin-top: 8px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}











/* ===== 最近瀏覽recently-view===== */

#recently-view-section #main-collection-product-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  margin:24px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
}

#recently-view-section #main-collection-product-grid > li.grid__item{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}

#recently-view-section #main-collection-product-grid > li.grid__item > *:first-child{
  width:100% !important;
  max-width:100% !important;
  height:120px !important;
  min-height:120px !important;
  padding:10px 12px !important;
  box-sizing:border-box !important;
  position:relative !important;

  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#f5f7fb 100%) !important;
  border:1px solid rgba(148,163,184,.28) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.06) !important;
  border-radius:16px !important;
  overflow:hidden !important;
  isolation:isolate !important;
  transition:transform .12s ease,filter .12s ease,box-shadow .12s ease !important;
}

#recently-view-section #main-collection-product-grid > li.grid__item > *:first-child::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  pointer-events:none !important;
  background:
    linear-gradient(125deg,
      transparent 0%,
      transparent 14%,
      rgba(148,163,184,.13) 14%,
      rgba(148,163,184,.13) 26%,
      transparent 26%,
      transparent 62%,
      rgba(203,213,225,.18) 62%,
      rgba(203,213,225,.18) 76%,
      transparent 76%,
      transparent 100%
    ) !important;
}

#recently-view-section #main-collection-product-grid .product-card-wrapper,
#recently-view-section #main-collection-product-grid .card-wrapper,
#recently-view-section #main-collection-product-grid .card,
#recently-view-section #main-collection-product-grid .card__content,
#recently-view-section #main-collection-product-grid .card__information,
#recently-view-section #main-collection-product-grid .card-information{
  display:block !important;
  position:static !important;
  width:auto !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}

#recently-view-section #main-collection-product-grid a[href*="/products/"]{
  display:block !important;
  width:100% !important;
  height:100% !important;
  text-decoration:none !important;
  color:inherit !important;
}

#recently-view-section #main-collection-product-grid .addToClassList,
#recently-view-section #main-collection-product-grid .badge-circle.addToClassList,
#recently-view-section #main-collection-product-grid .badge[class*="addTo"],
#recently-view-section #main-collection-product-grid span.badge.badge-circle,
#recently-view-section #main-collection-product-grid button,
#recently-view-section #main-collection-product-grid [role="button"],
#recently-view-section #main-collection-product-grid button[id^="add_to_wishlist"],
#recently-view-section #main-collection-product-grid [class*="wishlist"],
#recently-view-section #main-collection-product-grid [class*="Wishlist"]{
  display:none !important;
}

#recently-view-section #main-collection-product-grid .card__inner,
#recently-view-section #main-collection-product-grid .card__media,
#recently-view-section #main-collection-product-grid .media{
  position:absolute !important;
  left:12px !important;
  top:50% !important;
  transform:translateY(-50%) !important;

  width:96px !important;
  min-width:96px !important;
  max-width:96px !important;
  height:96px !important;
  min-height:96px !important;
  max-height:96px !important;

  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

#recently-view-section #main-collection-product-grid .card__inner::before,
#recently-view-section #main-collection-product-grid .card__inner::after,
#recently-view-section #main-collection-product-grid .card__media::before,
#recently-view-section #main-collection-product-grid .card__media::after,
#recently-view-section #main-collection-product-grid .media::before,
#recently-view-section #main-collection-product-grid .media::after{
  display:none !important;
  content:none !important;
  padding:0 !important;
}

#recently-view-section #main-collection-product-grid .card__media img,
#recently-view-section #main-collection-product-grid .media img,
#recently-view-section #main-collection-product-grid img{
  position:static !important;
  transform:none !important;

  width:96px !important;
  min-width:96px !important;
  max-width:96px !important;
  height:96px !important;
  min-height:96px !important;
  max-height:96px !important;

  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;

  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

#recently-view-section #main-collection-product-grid .card__heading,
#recently-view-section #main-collection-product-grid .product-card__title,
#recently-view-section #main-collection-product-grid .card-information__text{
  position:absolute !important;
  left:126px !important;
  right:18px !important;
  top:14px !important;
  transform:none !important;

  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;

  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  max-height:76px !important;

  margin:0 !important;
  padding:0 !important;

  font-size:14px !important;
  line-height:1.45 !important;
  font-weight:800 !important;
  color:#111827 !important;
  text-align:left !important;

  writing-mode:horizontal-tb !important;
  white-space:normal !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;

  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
  z-index:5 !important;
}

#recently-view-section #main-collection-product-grid .card__heading a,
#recently-view-section #main-collection-product-grid .product-card__title a,
#recently-view-section #main-collection-product-grid .card-information__text a{
  position:static !important;
  display:inline !important;
  width:auto !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;
  transform:none !important;

  font-size:inherit !important;
  line-height:inherit !important;
  font-weight:inherit !important;
  color:inherit !important;
  text-align:inherit !important;

  white-space:inherit !important;
  word-break:inherit !important;
  overflow-wrap:inherit !important;

  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

#recently-view-section #main-collection-product-grid .price,
#recently-view-section #main-collection-product-grid [class*="price"],
#recently-view-section #main-collection-product-grid [class*="money"]{
  display:none !important;
}

@media (min-width:1200px){
  #recently-view-section #main-collection-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}

@media (hover:hover){
  #recently-view-section #main-collection-product-grid > li.grid__item > *:first-child:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 12px 28px rgba(15,23,42,.10) !important;
  }
}

#recently-view-section #main-collection-product-grid > li.grid__item > *:first-child:active{
  transform:scale(.985) !important;
  filter:brightness(.97) !important;
}

@media (max-width:360px){
  #recently-view-section #main-collection-product-grid > li.grid__item > *:first-child{
    height:108px !important;
    min-height:108px !important;
    padding:9px 10px !important;
  }

  #recently-view-section #main-collection-product-grid .card__inner,
  #recently-view-section #main-collection-product-grid .card__media,
  #recently-view-section #main-collection-product-grid .media,
  #recently-view-section #main-collection-product-grid .card__media img,
  #recently-view-section #main-collection-product-grid .media img,
  #recently-view-section #main-collection-product-grid img{
    width:84px !important;
    min-width:84px !important;
    max-width:84px !important;
    height:84px !important;
    min-height:84px !important;
    max-height:84px !important;
  }

  #recently-view-section #main-collection-product-grid .card__heading,
  #recently-view-section #main-collection-product-grid .product-card__title,
  #recently-view-section #main-collection-product-grid .card-information__text{
    left:104px !important;
    right:14px !important;
    top:12px !important;
    transform:none !important;

    font-size:13px !important;
    line-height:1.45 !important;
    max-height:68px !important;

    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:3 !important;

    white-space:normal !important;
    word-break:break-word !important;
    overflow-wrap:anywhere !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
}

#recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .card__heading,
#recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .product-card__title,
#recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .card-information__text{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  max-height:44px !important;
  top:12px !important;
  overflow:hidden !important;
}

#recently-view-section #main-collection-product-grid .yb-manual-label{
  position:absolute !important;
  left:126px !important;
  right:auto !important;
  top:66px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:auto !important;
  max-width:calc(100% - 150px) !important;
  height:27px !important;
  padding:0 13px !important;
  margin:0 !important;

  font-size:14px !important;
  line-height:27px !important;
  font-weight:850 !important;
  letter-spacing:.03em !important;

  color:#7a1f12 !important;
  background:linear-gradient(180deg,#fff7f3 0%,#ffece4 100%) !important;
  border:1px solid rgba(224,70,40,.28) !important;
  border-radius:6px !important;
  box-shadow:0 3px 8px rgba(120,40,20,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;

  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;

  transform:none !important;
  z-index:20 !important;
}

#recently-view-section #main-collection-product-grid .yb-manual-label--sale{
  color:#065f46 !important;
  background:linear-gradient(180deg,#ecfdf5 0%,#d1fae5 100%) !important;
  border:1px solid rgba(16,185,129,.35) !important;
  box-shadow:0 3px 8px rgba(16,185,129,.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

@media (max-width:360px){
  #recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .card__heading,
  #recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .product-card__title,
  #recently-view-section #main-collection-product-grid > li.grid__item:has(.yb-manual-label) .card-information__text{
    -webkit-line-clamp:2 !important;
    max-height:40px !important;
    top:10px !important;
  }

  #recently-view-section #main-collection-product-grid .yb-manual-label{
    left:104px !important;
    top:60px !important;
    max-width:calc(100% - 122px) !important;
    height:25px !important;
    padding:0 11px !important;
    font-size:13px !important;
    line-height:25px !important;
    border-radius:6px !important;
  }
}

#recently-view-section #main-collection-product-grid .card__media img,
#recently-view-section #main-collection-product-grid .media img,
#recently-view-section #main-collection-product-grid img{
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  transform:none !important;
  filter:none !important;
}

#recently-view-section #main-collection-product-grid a[href*="/products/"]:hover img,
#recently-view-section #main-collection-product-grid .product-card-wrapper:hover img,
#recently-view-section #main-collection-product-grid .card-wrapper:hover img,
#recently-view-section #main-collection-product-grid .card:hover img,
#recently-view-section #main-collection-product-grid .card__media:hover img,
#recently-view-section #main-collection-product-grid .media:hover img{
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  transform:none !important;
  filter:none !important;
}

#recently-view-section #main-collection-product-grid .card__media + .card__media,
#recently-view-section #main-collection-product-grid .media + .media,
#recently-view-section #main-collection-product-grid .secondary-image,
#recently-view-section #main-collection-product-grid .hover-image,
#recently-view-section #main-collection-product-grid .card__media--secondary,
#recently-view-section #main-collection-product-grid .product-card__image--secondary{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}

#recently-view-section #main-collection-product-grid .card__media,
#recently-view-section #main-collection-product-grid .media{
  overflow:hidden !important;
  background:#fff !important;
  isolation:isolate !important;
}

#recently-view-section #main-collection-product-grid .card__media img,
#recently-view-section #main-collection-product-grid .media img{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  background:#fff !important;
}

#recently-view-section #main-collection-product-grid .card__media img:first-of-type,
#recently-view-section #main-collection-product-grid .media img:first-of-type{
  z-index:3 !important;
}

#recently-view-section #main-collection-product-grid a[href*="/products/"]:hover .card__media img:first-of-type,
#recently-view-section #main-collection-product-grid a[href*="/products/"]:hover .media img:first-of-type{
  z-index:3 !important;
  opacity:1 !important;
  transform:none !important;
  filter:none !important;
}

#recently-view-section h1{
  width:420px !important;
  height:110px !important;
  max-width:90vw !important;
  margin:24px auto 22px !important;
  padding:0 !important;

  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;

  display:block !important;
  text-align:center !important;

  background-image:url("https://cdn.store-assets.com/s/784083/i/103195154.webp?width=480") !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:contain !important;

  border:0 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

ul.wishlist-card.grid.product-grid,
#recently-view-section #main-collection-product-grid{
  padding-bottom: 32px !important;
}


















/* ===== Wishlist 收藏清單 ===== */

ul.wishlist-card.grid.product-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  margin:24px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
}

ul.wishlist-card.grid.product-grid > li.wishlist-item{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}

ul.wishlist-card.grid.product-grid > li.wishlist-item > .wishlist-item__card{
  width:100% !important;
  max-width:100% !important;
  height:112px !important;
  min-height:112px !important;
  padding:10px 12px !important;
  box-sizing:border-box !important;
  position:relative !important;

  display:grid !important;
  grid-template-columns:96px minmax(0,1fr) 34px !important;
  grid-template-rows:1fr !important;
  grid-template-areas:"image title action" !important;

  column-gap:8px !important;
  row-gap:0 !important;
  align-items:center !important;

  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#f5f7fb 100%) !important;
  border:1px solid rgba(148,163,184,.28) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.06) !important;
  backdrop-filter:blur(6px) !important;
  -webkit-backdrop-filter:blur(6px) !important;
  border-radius:16px !important;
  overflow:hidden !important;
  isolation:isolate !important;
  transition:transform .12s ease,filter .12s ease,box-shadow .12s ease !important;
}

ul.wishlist-card.grid.product-grid > li.wishlist-item > .wishlist-item__card::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  pointer-events:none !important;
  background:
    linear-gradient(125deg,
      transparent 0%,
      transparent 14%,
      rgba(148,163,184,.13) 14%,
      rgba(148,163,184,.13) 26%,
      transparent 26%,
      transparent 62%,
      rgba(203,213,225,.18) 62%,
      rgba(203,213,225,.18) 76%,
      transparent 76%,
      transparent 100%
    ) !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__wrapper{
  display:contents !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__card a[href*="/products/"]{
  display:contents !important;
  text-decoration:none !important;
  color:inherit !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__card img{
  grid-area:image !important;
  align-self:center !important;
  justify-self:start !important;

  width:96px !important;
  min-width:96px !important;
  max-width:96px !important;
  height:96px !important;
  min-height:96px !important;
  max-height:96px !important;

  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__card .card__heading,
ul.wishlist-card.grid.product-grid .wishlist-item__card .product-card__title,
ul.wishlist-card.grid.product-grid .wishlist-item__card .card-information__text,
ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="title"],
ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="name"],
ul.wishlist-card.grid.product-grid .wishlist-item__card a[href*="/products/"]:not(:has(img)){
  grid-area:title !important;
  align-self:center !important;
  justify-self:start !important;

  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;

  margin:0 !important;
  padding:0 !important;
  transform:none !important;

  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  color:#111827 !important;
  text-align:left !important;

  white-space:normal !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;

  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__card .price,
ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="price"],
ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="money"]{
  display:none !important;
}

ul.wishlist-card.grid.product-grid .wishlist-item__card button,
ul.wishlist-card.grid.product-grid .wishlist-item__card [role="button"],
ul.wishlist-card.grid.product-grid .wishlist-item__card .wishlist-remove,
ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="remove"]{
  grid-area:action !important;
  align-self:center !important;
  justify-self:end !important;
  position:static !important;

  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;

  margin:0 !important;
  padding:0 !important;
  border-radius:50% !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(224,0,0,.28) !important;
  box-shadow:0 4px 12px rgba(0,0,0,.08) !important;
  color:#e00000 !important;
  z-index:99 !important;
}

@media (min-width:1200px){
  ul.wishlist-card.grid.product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}

@media (hover:hover){
  ul.wishlist-card.grid.product-grid .wishlist-item__card:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 12px 28px rgba(15,23,42,.10) !important;
  }
}

ul.wishlist-card.grid.product-grid .wishlist-item__card:active{
  transform:scale(.985) !important;
  filter:brightness(.97) !important;
}

@media (max-width:360px){
  ul.wishlist-card.grid.product-grid > li.wishlist-item > .wishlist-item__card{
    grid-template-columns:84px minmax(0,1fr) 32px !important;
    height:104px !important;
    min-height:104px !important;
    padding:9px 10px !important;
    column-gap:7px !important;
  }

  ul.wishlist-card.grid.product-grid .wishlist-item__card img{
    width:84px !important;
    min-width:84px !important;
    max-width:84px !important;
    height:84px !important;
    min-height:84px !important;
    max-height:84px !important;
  }

  ul.wishlist-card.grid.product-grid .wishlist-item__card .card__heading,
  ul.wishlist-card.grid.product-grid .wishlist-item__card .product-card__title,
  ul.wishlist-card.grid.product-grid .wishlist-item__card .card-information__text,
  ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="title"],
  ul.wishlist-card.grid.product-grid .wishlist-item__card [class*="name"],
  ul.wishlist-card.grid.product-grid .wishlist-item__card a[href*="/products/"]:not(:has(img)){
    font-size:13px !important;
  }
}

/* ===== 我的收藏清單標題改成圖片 ===== */
.spaced-section.page-width > h1{
  width:420px !important;
  height:110px !important;
  max-width:90vw !important;
  margin:24px auto 22px !important;
  padding:0 !important;

  font-size:0 !important;      /* 隱藏文字 */
  line-height:0 !important;
  text-indent:-9999px !important;

  background-image:url("https://cdn.store-assets.com/s/784083/i/103195155.webp?width=480") !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:contain !important;

  border:0 !important;
  box-shadow:none !important;
  overflow:hidden !important;
  display:block !important;
}











/* 讓短頁面 footer 貼底，避免 footer 下方露出背景 */
html,
body {
  min-height: 100vh !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
}

main,
#main,
.page-content,
.main-content {
  flex: 1 0 auto !important;
}

footer,
.footer,
.site-footer {
  flex-shrink: 0 !important;
}

main#MainContent form.text-center {
  padding-top: 70px !important;
  padding-bottom: 56px !important;
}

@media (max-width: 1024px) {
  main#MainContent form.text-center {
    padding-bottom: 70px !important;
  }

  main#MainContent form.text-center input[type="submit"],
  main#MainContent form.text-center button[type="submit"] {
    margin-bottom: 56px !important;
  }
}









/* Color custom properties */

:root,
.color-background-1 {
  --color-foreground: var(--color-base-text);
  --color-background: var(--color-base-background-1);
  --gradient-background: var(--gradient-base-background-1);
}

.color-background-2 {
  --color-background: var(--color-base-background-2);
  --gradient-background: var(--gradient-base-background-2);
}

.color-inverse {
  --color-foreground: var(--color-base-background-1);
  --color-background: var(--color-base-text);
  --gradient-background: rgb(var(--color-base-text));
}

.color-accent-1 {
  --color-foreground: var(--color-base-solid-button-labels);
  --color-background: var(--color-base-accent-1);
  --gradient-background: var(--gradient-base-accent-1);
}

.color-accent-2 {
  --color-foreground: var(--color-base-solid-button-labels);
  --color-background: var(--color-base-accent-2);
  --gradient-background: var(--gradient-base-accent-2);
}

.color-foreground-outline-button {
  --color-foreground: var(--color-base-outline-button-labels);
}

.color-foreground-accent-1 {
  --color-foreground: var(--color-base-accent-1);
}

.color-foreground-accent-2 {
  --color-foreground: var(--color-base-accent-2);
}

:root,
.color-background-1 {
  --color-link: var(--color-base-outline-button-labels);
  --alpha-link: 0.85;
}

.color-background-2,
.color-inverse,
.color-accent-1,
.color-accent-2 {
  --color-link: var(--color-foreground);
  --alpha-link: 0.7;
}

:root,
.color-background-1 {
  --color-button: var(--color-base-accent-1);
  --color-button-text: var(--color-base-solid-button-labels);
  --alpha-button-background: 1;
  --alpha-button-border: 1;
}

.color-background-2,
.color-inverse,
.color-accent-1,
.color-accent-2 {
  --color-button: var(--color-foreground);
  --color-button-text: var(--color-background);
}

.button--secondary {
  --color-button: var(--color-base-outline-button-labels);
  --color-button-text: var(--color-base-outline-button-labels);
  --alpha-button-background: 0;
}

.color-background-2 .button--secondary,
.color-inverse .button--secondary,
.color-accent-1 .button--secondary,
.color-accent-2 .button--secondary {
  --color-button: var(--color-foreground);
  --color-button-text: var(--color-foreground);
}

.button--tertiary {
  --color-button: var(--color-base-outline-button-labels);
  --color-button-text: var(--color-base-outline-button-labels);
  --alpha-button-background: 0;
  --alpha-button-border: 0.2;
}

.color-background-2 .button--tertiary,
.color-inverse .button--tertiary,
.color-accent-1 .button--tertiary,
.color-accent-2 .button--tertiary {
  --color-button: var(--color-foreground);
  --color-button-text: var(--color-foreground);
}

:root,
.color-background-1 {
  --color-badge-background: var(--color-background);
  --color-badge-border: var(--color-foreground);
  --alpha-badge-border: 0.1;
}

.color-background-2,
.color-inverse,
.color-accent-1,
.color-accent-2 {
  --color-badge-background: var(--color-background);
  --color-badge-border: var(--color-background);
  --alpha-badge-border: 1;
}

:root,
.color-background-1,
.color-background-2 {
  --color-card-hover: var(--color-base-text);
}

.color-inverse {
  --color-card-hover: var(--color-base-background-1);
}

.color-accent-1,
.color-accent-2 {
  --color-card-hover: var(--color-base-solid-button-labels);
}

:root,
.color-icon-text {
  --color-icon: rgb(var(--color-base-text));
}

.color-icon-accent-1 {
  --color-icon: rgb(var(--color-base-accent-1));
}

.color-icon-accent-2 {
  --color-icon: rgb(var(--color-base-accent-2));
}

.color-icon-outline-button {
  --color-icon: rgb(var(--color-base-outline-button-labels));
}

.color-light-text {
  color: rgba(var(--color-base-text), 0.6);
}

/* base */

.no-js:not(html) {
  display: none !important;
}

html.no-js .no-js:not(html) {
  display: block !important;
}

.no-js-inline {
  display: none !important;
}

html.no-js .no-js-inline {
  display: inline-block !important;
}

html.no-js .no-js-hidden {
  display: none !important;
}

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-width-desktop {
  padding: 0;
  margin: 0 auto;
}

@media screen and (min-width: 750px) {
  .page-width {
    padding: 0 5rem;
  }

  .page-width--narrow {
    padding: 0 9rem;
  }

  .page-width-desktop {
    padding: 0;
  }
}

@media screen and (min-width: 990px) {
  .page-width--narrow {
    max-width: 72.6rem;
    padding: 0;
  }

  .page-width-desktop {
    max-width: var(--page-width);
    padding: 0 5rem;
  }
}

.element-margin {
  margin-top: 5rem;
}

.spaced-section {
  margin-top: 5rem;
}

.spaced-section:last-child {
  margin-bottom: 5rem;
}

.spaced-section--full-width + .spaced-section--full-width {
  margin-top: 0;
}

.spaced-section--full-width:first-child {
  margin-top: 0;
}

.spaced-section--full-width:last-child {
  margin-bottom: 0;
}

.mt-0{
  margin-top: 0 !important;
}

.mt-1{
  margin-top: 0.5rem !important;
}

.mt-2{
  margin-top: 1rem !important;
}

.mt-3{
  margin-top: 1.5rem !important;
}

.mt-4{
  margin-top: 2rem !important;
}

.mb-0{
  margin-bottom: 0 !important;
}

.mb-1{
  margin-bottom: 0.5rem !important;
}

.mb-2{
  margin-bottom: 1rem !important;
}

.mb-3{
  margin-bottom: 1.5rem !important;
}

.mb-4{
  margin-bottom: 2rem !important;
}

.ml-1 {
  margin-left: 0.5rem !important;
}

.ml-2 {
  margin-left: 1rem !important;
}

.p-2{
  padding: 1rem !important;
}

.p-3{
  padding: 2rem !important;
}

.pt-0{
  padding-top: 0 !important;
}

.pb-0{
  padding-bottom: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.py-1 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.lh-2{
  line-height: 1.2 !important;
}

.gap-x-2 {
  column-gap: 1rem;
}

.gap-y-1 {
  row-gap: 0.5rem;
}

.gap-y-2 {
  row-gap: 1rem;
}

body,
.color-background-1,
.color-background-2,
.color-inverse,
.color-accent-1,
.color-accent-2 {
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
}

.background-secondary {
  background-color: rgba(var(--color-foreground), 0.04);
  padding: 4rem 0 5rem;
}

@media screen and (min-width: 750px) {
  .background-secondary {
    padding: 6rem 0 5rem;
  }
}

.grid-auto-flow {
  display: grid;
  grid-auto-flow: column;
}

.page-margin,
.challenge__container {
  margin: 7rem auto;
}

.rte-width {
  max-width: 82rem;
  margin: 0 auto 2rem;
}

.rte, img{
  max-width: 100%;
}

.list-unstyled {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hidden, .hide {
  display: none !important;
}

.transparent {
  opacity: 0 !important;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

.visually-hidden--inline {
  margin: 0;
  height: 1em;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.skip-to-content-link:focus {
  z-index: 9999;
  position: inherit;
  overflow: auto;
  width: auto;
  height: auto;
  clip: auto;
}

.full-width-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
.h0,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  letter-spacing: 0.06rem;
  color: rgb(var(--color-foreground));
  line-height: 1.3;
}

.h0 {
  font-size: 4rem;
}

@media only screen and (min-width: 750px) {
  .h0 {
    font-size: 5.2rem;
  }
}

h1,
.h1 {
  font-size: 3rem;
}

@media only screen and (min-width: 750px) {
  h1,
  .h1 {
    font-size: 4rem;
  }
}

h2,
.h2 {
  font-size: 2rem;
}

@media only screen and (min-width: 750px) {
  h2,
  .h2 {
    font-size: 2.4rem;
  }
}

h3,
.h3 {
  font-size: 1.7rem;
}

@media only screen and (min-width: 750px) {
  h3,
  .h3 {
    font-size: 1.8rem;
  }
}

h4,
.h4 {
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.2rem;
}

@media only screen and (min-width: 750px) {
  h5,
  .h5 {
    font-size: 1.3rem;
  }
}

h6,
.h6 {
  color: rgba(var(--color-foreground), 0.75);
  margin-block-start: 1.67em;
  margin-block-end: 1.67em;
}

blockquote {
  font-style: italic;
  color: rgba(var(--color-foreground), 0.75);
  border-left: 0.2rem solid rgba(var(--color-foreground), 0.2);
  padding-left: 1rem;
}

@media screen and (min-width: 750px) {
  blockquote {
    padding-left: 1.5rem;
  }
}

.caption {
  font-size: 1rem;
  letter-spacing: 0.07rem;
  line-height: 1.7;
}

@media screen and (min-width: 750px) {
  .caption {
    font-size: 1.2rem;
  }
}

.caption-with-letter-spacing {
  font-size: 1rem;
  letter-spacing: 0.13rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.caption-large,
.customer .field input,
.customer select,
.field__input,
.form__label,
.select__select {
  font-size: 1.3rem;
  line-height: 1.5;
  letter-spacing: 0.04rem;
}

.color-foreground {
  color: rgb(var(--color-foreground));
}

table:not([class]) {
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 1.4rem;
  border-style: hidden;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.2);
  /* draws the table border  */
}

table:not([class]) td,
table:not([class]) th {
  padding: 1em;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
}

.hidden {
  display: none !important;
}

@media screen and (max-width: 749px) {
  .small-hide {
    display: none !important;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .medium-hide {
    display: none !important;
  }
}

@media screen and (min-width: 990px) {
  .large-up-hide {
    display: none !important;
  }
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

.light {
  opacity: 0.7;
}

a:empty,
ul:empty,
dl:empty,
div:empty,
section:empty,
article:empty,
p:empty,
h1:empty,
h2:empty,
h3:empty,
h4:empty,
h5:empty,
h6:empty {
  display: none;
}

.link,
.customer a {
  cursor: pointer;
  display: inline-block;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  color: rgb(var(--color-link));
  background-color: transparent;
  font-size: 1.4rem;
  font-family: inherit;
}

.customer a.h3 {
  font-size: 1.8rem;
}

.link--text {
  color: rgb(var(--color-foreground));
}

.link--text:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.link-with-icon {
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-decoration: none;
  margin-bottom: 3.5rem;
  white-space: nowrap;
}

.link-with-icon .icon {
  width: 1.5rem;
  margin-left: 1rem;
}

.circle-divider::after {
  content: '\2022';
  margin: 0 1.3rem 0 1.5rem;
}

.circle-divider:last-of-type::after {
  display: none;
}

hr {
  border: none;
  height: 0.1rem;
  background-color: rgba(var(--color-foreground), 0.2);
  display: block;
  margin: 5rem 0;
}

@media screen and (min-width: 750px) {
  hr {
    margin: 7rem 0;
  }
}

.full-unstyled-link {
  text-decoration: none;
  color: currentColor;
  display: block;
}

.placeholder {
  background-color: rgba(var(--color-foreground), 0.04);
  color: rgba(var(--color-foreground), 0.55);
  fill: rgba(var(--color-foreground), 0.55);
}

details > * {
  box-sizing: border-box;
}

.break {
  word-break: break-word;
}

.visibility-hidden {
  visibility: hidden;
}

@media (prefers-reduced-motion) {
  .motion-reduce {
    transition: none !important;
  }
}

:root {
  --duration-short: 100ms;
  --duration-default: 200ms;
  --duration-long: 500ms;
}

.underlined-link,
.customer a {
  color: rgba(var(--color-link), var(--alpha-link));
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.1rem;
  transition: text-decoration-thickness ease 100ms;
}

.underlined-link:hover,
.customer a:hover {
  color: rgb(var(--color-link));
  text-decoration-thickness: 0.2rem;
}

.icon-arrow {
  width: 1.5rem;
}

/* arrow animation */
.animate-arrow .icon-arrow path {
  transform: translateX(-0.25rem);
  transition: transform var(--duration-short) ease;
}

.animate-arrow:hover .icon-arrow path {
  transform: translateX(-0.05rem);
}

/* base-details-summary */
summary {
  cursor: pointer;
  list-style: none;
  position: relative;
}

summary .icon-caret {
  position: absolute;
  height: 0.6rem;
  right: 1.5rem;
  top: calc(50% - 0.2rem);
}

summary::-webkit-details-marker {
  display: none;
}

.disclosure-has-popup {
  position: relative;
}

.disclosure-has-popup[open] > summary::before {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  cursor: default;
  content: ' ';
  background: transparent;
}

.disclosure-has-popup > summary::before {
  display: none;
}

.disclosure-has-popup[open] > summary + * {
  z-index: 100;
}

@media screen and (min-width: 750px) {
  .disclosure-has-popup[open] > summary + * {
    z-index: 2;
  }
}

/* base-focus */
/*
  Focus ring - default (with offset)
*/

*:focus {
  outline: 0;
  box-shadow: none;
}

*:focus-visible {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: 0.3rem;
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

/* Fallback - for browsers that don't support :focus-visible, a fallback is set for :focus */
.focused, .no-js *:focus {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: 0.3rem;
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

/* Negate the fallback side-effect for browsers that support :focus-visible */
.no-js *:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}


/*
  Focus ring - inset
*/

.focus-inset:focus-visible {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: -0.2rem;
  box-shadow: 0 0 0.2rem 0 rgba(var(--color-foreground), 0.3);
}

.focused.focus-inset, .no-js .focus-inset:focus {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: -0.2rem;
  box-shadow: 0 0 0.2rem 0 rgba(var(--color-foreground), 0.3);
}

.no-js .focus-inset:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

/*
  Focus ring - none
*/

/* Dangerous for a11y - Use with care */
.focus-none {
  box-shadow: none !important;
  outline: 0 !important;
}

.focus-offset:focus-visible {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: 1rem;
  box-shadow: 0 0 0 1rem rgb(var(--color-background)),
    0 0 0.2rem 1.2rem rgba(var(--color-foreground), 0.3);
}

.focus-offset.focused, .no-js .focus-offset:focus {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: 1rem;
  box-shadow: 0 0 0 1rem rgb(var(--color-background)),
    0 0 0.2rem 1.2rem rgba(var(--color-foreground), 0.3);
}

.no-js .focus-offset:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

/* component-title */
.title,
.title-wrapper-with-link {
  margin: 3rem 0 2rem;
}

.title-wrapper-with-link .title {
  margin: 0;
}

.title-wrapper {
  margin-bottom: 3rem;
}

.title-wrapper-with-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin: 4rem 0 3rem;
  flex-wrap: wrap;
}

.title--primary {
  margin: 4rem 0;
}

.title-wrapper--self-padded-tablet-down,
.title-wrapper--self-padded-mobile {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media screen and (min-width: 750px) {
  .title-wrapper--self-padded-mobile {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (min-width: 990px) {
  .title,
  .title-wrapper-with-link {
    margin: 5rem 0 3rem;
  }

  .title--primary {
    margin: 2rem 0;
  }

  .title-wrapper-with-link {
    align-items: center;
  }

  .title-wrapper-with-link .title {
    margin-bottom: 0;
  }

  .title-wrapper--self-padded-tablet-down {
    padding-left: 0;
    padding-right: 0;
  }
}

.title-wrapper-with-link .link-with-icon {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.title-wrapper-with-link .link-with-icon svg {
  width: 1.5rem;
}

.title-wrapper-with-link a {
  color: rgb(var(--color-link));
  margin-top: 0;
  flex-shrink: 0;
}

@media screen and (min-width: 990px) {
  .title-wrapper-with-link.title-wrapper-with-link--no-heading {
    display: none;
  }
}

.subtitle {
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  color: rgba(var(--color-foreground), 0.7);
}

/* component-grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  margin-left: -1rem;
  padding: 0;
  list-style: none;
}

@media screen and (min-width: 750px) {
  .grid {
    margin-left: -3rem;
  }
}

.grid__item {
  padding-left: 1rem;
  padding-bottom: 1rem;
  width: calc(25% - 1rem * 3 / 4);
  max-width: 50%;
  flex-grow: 1;
  flex-shrink: 0;
}

.slider--tablet.grid--peek .grid__item.slider__slide,
.grid__item.slider__slide{
  margin-top: 2rem;
}

@media screen and (min-width: 750px) {
  .grid__item {
    padding-left: 3rem;
    padding-bottom: 3rem;
    width: calc(25% - 3rem * 3 / 4);
    max-width: 50%;
  }
}

.grid--gapless .grid__item {
  padding-left: 0;
  padding-bottom: 0;
}

@media screen and (max-width: 749px) {
  .grid__item.slider__slide--full-width {
    width: 100%;
    max-width: none;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .grid--one-third-max.grid--3-col-tablet .grid__item {
    max-width: 33.33%;
  }
}

@media screen and (min-width: 990px) {
  .grid--quarter-max.grid--5-col-desktop .grid__item {
    max-width: 20%;
  }
  
  .grid--quarter-max.grid--4-col-desktop .grid__item {
    max-width: 25%;
  }
}

.grid--1-col .grid__item {
  max-width: 100%;
  width: 100%;
}

.grid--3-col .grid__item {
  width: calc(33.33% - 0.5rem * 2 / 3);
}

@media screen and (min-width: 750px) {
  .grid--3-col .grid__item {
    width: calc(33.33% - 1rem * 2 / 3);
  }
}

.grid--2-col .grid__item {
  width: calc(50% - 0.5rem / 2);
}

@media screen and (min-width: 750px) {
  .grid--2-col .grid__item {
    width: calc(50% - 1rem / 2);
  }

  .grid--4-col-tablet .grid__item {
    width: calc(25% - 1rem * 3 / 4);
  }

  .grid--3-col-tablet .grid__item {
    width: calc(33.33% - 1rem * 2 / 3);
  }

  .grid--2-col-tablet .grid__item {
    width: calc(50% - 1rem / 2);
  }
}

@media screen and (min-width: 990px) {
  .grid--5-col-desktop .grid__item {
    width: calc(20% - 1rem * 3 / 4);
  }

  .grid--4-col-desktop .grid__item {
    width: calc(25% - 1rem * 3 / 4);
  }

  .grid--3-col-desktop .grid__item {
    width: calc(33.33% - 1rem * 2 / 3);
  }

  .grid--2-col-desktop .grid__item {
    width: calc(50% - 1rem / 2);
  }

  .grid--1-col-desktop .grid__item {
    width: 100%;
  }
}

.grid__item--vertical-align {
  align-self: center;
}

.grid__item--full-width {
  flex: 0 0 100%;
  max-width: 100%;
}

@media screen and (max-width: 749px) {
  .grid--peek.slider--mobile {
    margin: 0;
    width: 100%;
  }

  .grid--peek.slider--mobile .grid__item {
    box-sizing: content-box;
    margin: 0;
  }

  .grid--peek .grid__item {
    width: calc(50% - 3.75rem / 2);
  }

  .grid--peek .grid__item:first-of-type {
    padding-left: 1.5rem;
  }

  .grid--peek .grid__item:last-of-type {
    padding-right: 1.5rem;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .slider--tablet.grid--peek .grid__item {
    width: calc(25% - 4rem * 3 / 4);
  }

  .slider--tablet.grid--peek.grid--3-col-tablet .grid__item {
    width: calc(33.33% - 4rem * 2 / 3);
  }

  .slider--tablet.grid--peek.grid--2-col-tablet .grid__item {
    width: calc(50% - 4rem / 2);
  }

  .slider--tablet.grid--peek .grid__item:first-of-type {
    padding-left: 1.5rem;
  }

  .slider--tablet.grid--peek .grid__item:last-of-type {
    padding-right: 1.5rem;
  }
}

@media screen and (max-width: 989px) {
  .slider--tablet.grid--peek {
    margin: 0;
    width: 100%;
  }

  .slider--tablet.grid--peek .grid__item {
    box-sizing: content-box;
    margin: 0;
  }
}

/* component-media */
.media {
  display: block;
  background-color: rgba(var(--color-foreground), 0.1);
  position: relative;
  overflow: hidden;
}

.media--transparent {
  background-color: transparent;
}

.media > *:not(.zoom, .deferred-media__poster-button),
.media model-viewer {
  display: block;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.media > img {
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.media--square {
  padding-bottom: 100%;
}

.media--portrait {
  padding-bottom: 125%;
}

.media--landscape {
  padding-bottom: 66.6%;
}

.media--cropped {
  padding-bottom: 56%;
}

.media--16-9 {
  padding-bottom: 56.25%;
}

.media--circle {
  padding-bottom: 100%;
  border-radius: 50%;
}

.product-card-wrapper .card--product .media.media--circle > img ,
.media--circle > img {
  border-radius: 50%;
}

.media.media--hover-effect > img + img {
  opacity: 0;
}

@media screen and (min-width: 990px) {
  .media--cropped {
    padding-bottom: 63%;
  }
}

deferred-media {
  display: block;
}

/* component-button */
/* Button - default */

.button,
.btn,
.challenge__button,
.customer button {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  font: inherit;
  padding: 0.9rem 3rem 1.1rem;
  text-decoration: none;
  border: 0;
  border-radius: 4rem;
  background-color: rgba(var(--color-button), var(--alpha-button-background));
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border));
  color: rgb(var(--color-button-text));
  min-width: 12rem;
  min-height: 4rem;
  transition: box-shadow var(--duration-short) ease;
  -webkit-appearance: none;
  appearance: none;
}

a{
  color: rgba(var(--color-button), var(--alpha-button-background));
}

.button:focus-visible {
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border)),
    0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

.button:focus {
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border)),
    0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

.button:focus:not(:focus-visible) {
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border));
}

.button,
.btn,
.button-label,
.challenge__button,
.customer button {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  line-height: 1.2;
}

.button--tertiary {
  font-size: 1.2rem;
  padding: 1rem 1.5rem;
  min-width: 9rem;
  min-height: 3.5rem;
}

.button--small {
  padding: 1.2rem 2.6rem;
  min-width: 10rem;
  min-height: unset;
}

/* Button - hover */

.button:not([disabled]):hover,
.challenge__button:hover,
.customer button:hover {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-button), var(--alpha-button-border));
}

/* Button - other */

.button:disabled,
.button[aria-disabled='true'],
.button.disabled,
.customer button:disabled,
.customer button[aria-disabled='true'],
.customer button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button--full-width {
  display: flex;
  width: 100%;
}

.btn.loading,
.btn.btn--loading,
.button.loading {
  color: transparent;
  pointer-events: none;
}

.btn.loading:after,
.btn.btn--loading:after,
.button.loading:after {
  animation: loading var(--duration-long) infinite linear;
  border: 0.5rem solid rgba(var(--color-button-text), 0.4);
  border-left: 0.5rem solid rgb(var(--color-button-text));
  border-radius: 100%;
  box-sizing: content-box;
  content: '';
  display: block;
  height: 2rem;
  position: absolute;
  width: 2rem;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button - social share */

.share-button {
  display: block;
  position: relative;
}

.share-button details {
  width: fit-content;
}

.share-button__button {
  font-size: 1.4rem;
  display: flex;
  min-height: 2.4rem;
  align-items: center;
  color: rgba(var(--color-link), var(--alpha-link));
  margin-left: 0;
  padding-left: 0;
}

.share-button_copy-wrapper{
  display: flex;
  width: 100%;
  background: rgba(0,0,0,0.05);
  margin: 5px;
}

.social-sharing-icons {
  margin: 8px 8px 0;
}

.social-sharing-icons .sharing-icons-label{
  line-height: 1;
  margin-bottom: 8px;
  text-align: left;
}

.social-sharing-icons .share-icon-button{
  text-decoration: none;
  color: var(--color-base-text);
  margin: 0 5px;
}

.social-sharing-icons .share-icon-button svg{
  width: 2.5rem;
  height: 2.5rem;
}

.share-button__button:hover,
details[open] > .share-button__button {
  color: rgb(var(--color-link));
}

details[open] > .share-button__fallback {
  animation: animateMenuOpen var(--duration-default) ease;
}

.share-button__button:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.share-button__button,
.share-button__fallback button {
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.share-button__button .icon-share {
  margin-right: 1rem;
}

.share-button__fallback {
  background: rgb(var(--color-background));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: absolute;
  top: 3rem;
  left: 0.1rem;
  z-index: 6;
  width: 100%;
  min-width: 31rem;
  max-width: 50rem;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.55);
}

.share-button__fallback button {
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-button__fallback button:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.share-button__fallback button:hover svg {
  transform: scale(1.07);
}

.share-button__close:not(.hidden) + .share-button__copy {
  display: none;
}

.share-button__close,
.share-button__copy {
  background-color: transparent;
  color: rgb(var(--color-foreground));
}

.share-button__fallback .field__input {
  box-shadow: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.share-button__fallback .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.share-button__message:not(:empty) {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: 0.8rem 0 0.8rem 1.5rem;
}

.share-button__message:not(:empty):not(.hidden) ~ * {
  display: none;
}

/* component-form */
.field__input,
.select__select,
.customer .field input,
.customer select {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 0;
  border-radius: 3.5rem;
  color: rgb(var(--color-foreground));
  font-size: 1.5rem;
  width: 100%;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 1), inset 0 2px 3px rgba(0,0,0,0.05);
  height: 4rem;
  box-sizing: border-box;
  transition: box-shadow var(--duration-short) ease;
}

.field__input.no-float-label{
  padding: 1.2rem 2rem !important;
}

.field__input:disabled,
.select__select:disabled,
.customer .field input:disabled,
.customer select:disabled {
  color: rgba(var(--color-foreground),0.6);
  background: rgba(0,0,0,0.06);
}

textarea{
  display: block;
  width: 100%;
  min-height: 100px;
  -webkit-appearance: none;
  appearance: none;
  resize: none;
  background-color: transparent;
  border: 0;
  border-radius: 10px;
  color: rgb(var(--color-foreground));
  font-size: 1.6rem;
  width: 100%;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.55);
  min-height: 4.5rem;
  box-sizing: border-box;
  transition: box-shadow var(--duration-short) ease;
  padding: 1.5rem;
}

.select__select {
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.75);
}

.field__input:hover,
.select__select:hover,
.customer .field input:hover,
.customer select:hover,
.localization-form__select:hover {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-foreground), 0.55);
}

.field__input:focus,
.select__select:focus,
.customer .field input:focus,
.customer select:focus,
.localization-form__select:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-foreground), 0.75);
  outline: transparent;
}

.text-area,
.select {
  display: inline-block;
  position: relative;
  width: 100%;
}

/* Select */

.select .icon-caret,
.customer select + svg {
  height: 0.6rem;
  pointer-events: none;
  position: absolute;
  top: calc(50% - 0.2rem);
  right: 1.5rem;
}

.select__select,
.customer select {
  cursor: pointer;
  line-height: 1.6;
  padding: 0 4rem 0 2rem;
}

/* Field */

.field {
  position: relative;
  width: 100%;
  display: flex;
}

.field-group .field__input:first-child{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.field-group .button:last-child{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.customer .field {
  display: block;
}

.field--with-error {
  flex-wrap: wrap;
}

.field__input,
.customer .field input {
  flex-grow: 1;
  text-align: left;
  padding: 1.2rem 2rem;
}

.field__label,
.customer .field label {
  font-size: 1.5rem;
  left: 2rem;
  top: 1rem;
  margin-bottom: 0;
  pointer-events: none;
  position: absolute;
  transition: top var(--duration-short) ease,
    font-size var(--duration-short) ease;
  color: rgba(var(--color-foreground), 0.55);
  letter-spacing: 0.1rem;
  line-height: 1.5;
}

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label,
.field__input:-webkit-autofill ~ .field__label,
.customer .field input:focus ~ label,
.customer .field input:not(:placeholder-shown) ~ label,
.customer .field input:-webkit-autofill ~ label ,
.customer .field.on_focus label,
.field__input.on_focus ~ .field__label {
  font-size: 0.9rem;
  top: 0.3em;
  letter-spacing: 0.04rem;
}

.customer .field.on_focus select{
  padding-top: 1.4rem;
}

.field__input:focus,
.field__input:not(:placeholder-shown),
.field__input:-webkit-autofill,
.customer .field input:focus,
.customer .field input:not(:placeholder-shown),
.customer .field input:-webkit-autofill {
  padding: 2.2rem 2rem 0.8rem;
}

.field__input::-webkit-search-cancel-button,
.customer .field input::-webkit-search-cancel-button {
  display: none;
}

.field__input::placeholder,
.customer .field input::placeholder {
  opacity: 0;
}

.field__button {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: currentColor;
  cursor: pointer;
  display: flex;
  height: 3.9rem;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 6.4rem;
}

.field__button > svg {
  height: 2.2rem;
  width: 2.2rem;
}

.field__input:-webkit-autofill ~ .field__button,
.field__input:-webkit-autofill ~ .field__label,
.customer .field input:-webkit-autofill ~ label {
  color: rgb(0, 0, 0);
}

/* Text area */

.text-area {
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  padding: 1.2rem;
  min-height: 10rem;
  resize: none;
}

.text-area--resize-vertical {
  resize: vertical;
}

input[type='checkbox'] {
  display: inline-block;
  width: auto;
  margin-right: 0.5rem;
}

/* Form global */

.form__label {
  display: block;
  width: 100%;
  margin-bottom: 0.6rem;
}

.form__message {
  align-items: center;
  display: flex;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 1rem;
}

.form__message--large {
  font-size: 1.5rem;
}

.customer .field .form__message {
  font-size: 1.4rem;
  text-align: left;
}

.form__message .icon,
.customer .form__message svg {
  flex-shrink: 0;
  height: 1.3rem;
  margin-right: 0.5rem;
  width: 1.3rem;
}

.form__message--large .icon,
.customer .form__message svg {
  height: 1.5rem;
  width: 1.5rem;
  margin-right: 1rem;
}

.customer .field .form__message svg {
  align-self: start;
}

.form-status {
  margin: 0;
  font-size: 1.5rem;
}

.form-status-list {
  padding: 0;
  margin: 2rem 0 4rem;
}

.form-status-list li {
  list-style-position: inside;
}

.form-status-list .link::first-letter {
  text-transform: capitalize;
}

/* component-quantity */
.quantity {
  border: 0.1rem solid rgba(var(--color-base-text), 0.08);
  border-radius: 4em;
  position: relative;
  height: 3.5rem;
  width: 14rem;
  display: flex;
}

.quantity__input {
  color: currentColor;
  font-size: 1.4rem;
  font-weight: 500;
  opacity: 0.85;
  text-align: center;
  background-color: transparent;
  border: 0;
  padding: 0 0.5rem;
  width: 100%;
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
}

.quantity__input:disabled {
  color: rgba(var(--color-foreground),0.6);
  background: rgba(0,0,0,0.06);
}

.quantity__button {
  width: 3.5rem;
  flex-shrink: 0;
  font-size: 1.8rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--color-foreground));
  padding: 0;
}

.quantity__button svg {
  width: 1rem;
  pointer-events: none;
}

.quantity__input:-webkit-autofill,
.quantity__input:-webkit-autofill:hover,
.quantity__input:-webkit-autofill:active {
  box-shadow: 0 0 0 10rem rgb(var(--color-background)) inset !important;
  -webkit-box-shadow: 0 0 0 10rem rgb(var(--color-background)) inset !important;
}

.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity__input[type='number'] {
  -moz-appearance: textfield;
}

/* component-modal */
.modal__toggle {
  list-style-type: none;
}

.no-js details[open] .modal__toggle {
  position: absolute;
  z-index: 2;
}

.modal__toggle-close {
  display: none;
}

.no-js details[open] svg.modal__toggle-close {
  display: flex;
  z-index: 1;
  height: 1.7rem;
  width: 1.7rem;
}

.modal__toggle-open {
  display: flex;
}

.no-js details[open] .modal__toggle-open {
  display: none;
}

.no-js .modal__close-button.link {
  display: none;
}

.modal__close-button.link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem;
  height: 4.4rem;
  width: 4.4rem;
  background-color: transparent;
}

.modal__close-button .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.modal__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(var(--color-background));
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-modal {
  cursor: zoom-out;
}

.media-modal .deferred-media {
  cursor: initial;
}

/* component-cart-count-bubble */
.cart-count-bubble:empty {
  display: none;
}

.cart-count-bubble {
  position: absolute;
  background-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  height: 1.7rem;
  min-width: 1.7rem;
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  top: 0.5rem;
  right: 0.5rem;
  line-height: 1.1;
}

/* section-announcement-bar */
#section-announcement-bar {
  z-index: 4;
}

.announcement-bar {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  color: rgb(var(--color-foreground));
}

.announcement-bar__link {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  text-decoration: none;
}

.announcement-bar__link:hover {
  color: rgb(var(--color-foreground));
  background-color: rgba(var(--color-card-hover), 0.06);
}

.announcement-bar__link .icon-arrow {
  display: inline-block;
  pointer-events: none;
  margin-left: 0.8rem;
  vertical-align: middle;
  margin-bottom: 0.2rem;
}

.announcement-bar__link .announcement-bar__message {
  padding: 0;
}

.announcement-bar__message {
  text-align: center;
  padding: 1rem 2rem;
  margin: 0;
  letter-spacing: 0.1rem;
}

/* section-header */

/* section-header */
#easystore-section-header {
  z-index: 10;
}

.easystore-section-header-sticky {
  position: sticky;
  top: 0;
}

.easystore-section-header-hidden {
  transform: translateY(-100%);
}

#easystore-section-header.animate {
  transition: transform 0.15s ease-out;
}

/* Main Header Layout */
.header-wrapper {
  display: block;
  position: relative;
  background-color: rgb(var(--color-background));
  z-index: 3;
}

.section-header-sticky {
  position: sticky;
  top: 0;
}

.header-wrapper--border-bottom {
/*   border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08); */
}

.header {
  display: grid;
  grid-template-areas: 
    'left-icon heading icons'
    'search search search';
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header .search-modal__form{
  width: 100%;
  max-width: 100%;
}

@media screen and (min-width: 990px) {
  .header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .header--top-left {
    grid-template-areas:
      'heading search icons'
      'navigation navigation navigation';
    grid-template-columns: 1fr auto;
  }

  .header--middle-left {
    grid-template-areas: 
      'heading search icons'
      'navigation navigation navigation';
    grid-template-columns: auto 1fr auto;
    column-gap: 2rem;
  }

  .header--top-center {
    grid-template-areas:
      'navigation heading icons';
  }

  .header--middle-left .header__inline-menu {
    min-width: 45rem;
  }

  .header:not(.header--middle-left) .header__inline-menu {
/*     margin-top: 1.05rem; */
  }

  .header .search-modal__form{
    max-width: 45rem;
  }
}

.header *[tabindex='-1']:focus {
  outline: none;
}

.header__heading {
  margin: 0;
  line-height: 0;
}

.header > .header__heading-link {
  line-height: 0;
}

.header__heading,
.header__heading-link {
  grid-area: heading;
  justify-self: center;
}

.header__heading-link {
  display: inline-block;
  padding: 0.2rem;
  text-decoration: none;
  word-break: break-word;
}

.header__heading-link:hover .h2 {
  color: rgb(var(--color-foreground));
}

.header__heading-link .h2 {
  line-height: 1;
  color: rgba(var(--color-foreground), 0.75);
}

.header__heading-logo {
  height: auto;
  width: var(--logo-width);
  max-width: 100%;
}

@media screen and (min-width: 990px) {
  .header__heading-link {
    margin-left: -0.75rem;
  }

  .header__heading,
  .header__heading-link {
    justify-self: start;
  }

  .header--top-center .header__heading-link,
  .header--top-center .header__heading {
    justify-self: center;
  }
}

/* Header icons */
.header__icons {
  display: flex;
  grid-area: icons;
  justify-self: end;
}

.header__icon:not(.header__icon--summary),
.header__icon span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__icon span {
  height: 100%;
}

.header__icon::after {
  content: none;
}

.header__icon:hover .icon,
.modal__close-button:hover .icon {
  transform: scale(1.07);
}

.header__icon .icon {
  height: 2rem;
  width: 2rem;
  fill: none;
  vertical-align: middle;
}

.header__icon, 
.header__icon--menu, 
.header__icon--cart .icon{
  height: 4.4rem;
  width: 4.4rem;
}

.header__icons .header__icon{
  text-decoration: none;
}

.header__link-label{
  margin-left: 1rem;
  text-decoration: none;
}

.header__icon--cart {
  position: relative;
}

@media screen and (max-width: 989px) {
  menu-drawer ~ .header__icons .header__icon--account {
    display: none;
  }
  .header__icon{
    height: 4.4rem;
    width: 4.4rem;
  }
  .header__icons .header__icon{
    margin-left: 0;
    margin-right: -1.2rem;
  }
  .cart-count-bubble{
    top: 0.5rem;
  }
}

/* Search */
menu-drawer + .header__search {
  display: none;
}

.header > .header__left-icon {
  grid-area: left-icon;
  display: flex;
  justify-self: start;
}

.header:not(.header--has-menu) * > .header__search {
  display: none;
}

.header__search {
  display: inline-flex;
  line-height: 0;
}

.header--top-center > .header__search {
  display: none;
}

.header--top-center * > .header__search {
  display: inline-flex;
}

@media screen and (min-width: 990px) {
  .header:not(.header--top-center) * > .header__search,
  .header--top-center > .header__search {
    display: inline-flex;
  }

  .header:not(.header--top-center) > .header__search,
  .header--top-center * > .header__search {
    /* display: none; */
  }
}

.no-js .predictive-search {
  display: none;
}

details[open] > .search-modal {
  opacity: 1;
  animation: animateMenuOpen var(--duration-default) ease;
}

details[open] .modal-overlay {
  display: block;
}

details[open] .modal-overlay::after {
  position: absolute;
  content: '';
  background-color: rgb(var(--color-foreground), 0.5);
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
}

.no-js details[open] > .header__icon--search {
  top: 1rem;
  right: 0.5rem;
}

.search-modal {
  opacity: 0;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  height: 100%;
}

.search-modal__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 5rem 0 1rem;
  line-height: 1.8;
}

.search-modal__form {
  width: 100%;
}

.search-modal__close-button {
  position: absolute;
  right: 0.3rem;
}

@media screen and (min-width: 750px) {
  .search-modal__close-button {
    right: 1rem;
  }

  .search-modal__content {
    padding: 0 6rem;
  }
}

@media screen and (min-width: 990px) {
  .search-modal__form {
    max-width: 47.8rem;
  }

  .search-modal__close-button {
    position: initial;
    margin-left: 0.5rem;
  }
}

/* Header menu drawer */
.header__icon--menu .icon {
  display: block;
  position: absolute;
  opacity: 1;
  transform: scale(1);
  transition: transform 150ms ease, opacity 150ms ease;
}

details:not([open]) > .header__icon--menu .icon-close,
details[open] > .header__icon--menu .icon-hamburger {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.8);
}

.js details[open]:not(.menu-opening) > .header__icon--menu .icon-close {
  visibility: hidden;
}

.js details[open]:not(.menu-opening) > .header__icon--menu .icon-hamburger {
  visibility: visible;
  opacity: 1;
  transform: scale(1.07);
}

.header__inline-menu details[open] > .header__submenu {
  opacity: 1;
  transform: translateY(0);
  animation: animateMenuOpen var(--duration-default) ease;
}

/* Header menu */
.header__inline-menu {
  margin-left: -1.2rem;
  grid-area: navigation;
  display: none;
}

.header__search-input {
  grid-area: search;
}

.header--top-center .header__inline-menu,
.header--top-center .header__heading-link {
  margin-left: 0;
}

@media screen and (min-width: 990px) {
  .header__inline-menu {
    display: block;
    margin: 0.5rem 0;
  }

  .header--top-center .header__inline-menu {
    justify-self: left;
  }

  .header--top-center .header__inline-menu > .list-menu--inline {
    justify-content: center;
  }

  .header--middle-left .header__inline-menu {
    margin-left: 0;
  }
}

.header__menu {
  padding: 0 1rem;
}

.header__menu-item {
  padding: 1.2rem;
  text-decoration: none;
  color: rgba(var(--color-foreground), 0.75);
}

.header__menu-item a {
  color: currentColor;
  text-decoration: none;
}

.header__menu-item:hover {
  color: rgb(var(--color-foreground));
}

.header__menu-item span {
  transition: text-decoration var(--duration-short) ease;
}

.header__menu-item:hover span {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.header__active-menu-item {
  transition: text-decoration-thickness var(--duration-short) ease;
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.header__menu-item:hover .header__active-menu-item {
  text-decoration-thickness: 0.2rem;
}

.header__submenu {
  transition: opacity var(--duration-default) ease,
    transform var(--duration-default) ease;
}

.header__submenu.list-menu {
  padding: 2rem 0;
}

.header__submenu .header__submenu {
  position: absolute;
  top: calc(-0.5rem - 1px);
  left: 100%;
  width: 100%;
  padding: 0.5rem 0;
}

.header__submenu .header__menu-item:after {
  right: 2rem;
}

.header__submenu .header__menu-item {
  padding: 0.95rem 3.5rem 0.95rem 2rem;
}

.header__submenu .header__submenu .header__menu-item {
  padding-left: 3rem;
}

.header__menu-item .icon-caret {
  right: 0.8rem;
}

.header__submenu .icon-caret {
  right: 2rem;
}

details-disclosure > details {
  position: relative;
}

@keyframes animateMenuOpen {
  0% {
    opacity: 0;
    transform: translateY(-1.5rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.overflow-hidden-mobile,
.overflow-hidden-tablet {
  overflow: hidden;
}

@media screen and (min-width: 750px) {
  .overflow-hidden-mobile {
    overflow: auto;
  }
}

@media screen and (min-width: 990px) {
  .overflow-hidden-tablet {
    overflow: auto;
  }
}

.badge {
  border-radius: 5px;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  padding: 0.6rem 1.3rem;
  text-align: center;
  background-color: rgb(var(--color-badge-background));
  border-color: rgba(var(--color-badge-border), var(--alpha-badge-border));
  color: rgb(var(--color-foreground));
  word-break: break-word;
  box-sizing: content-box;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.badge.addToClassList{
  background-color: rgba(var(--color-button), var(--alpha-button-background));
  border-color: none;
  color: rgb(var(--color-button-text));
}

.badge.badge-ribbon {
  text-orientation: mixed;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  padding: 1rem 0.7rem;
  position: relative;
  border: none;
  border-radius: 0;
}

.badge.badge-ribbon::after{
  border-color: rgb(var(--color-badge-background)) rgb(var(--color-badge-background)) transparent;
  border-radius: 3px;
  border-style: solid;
  border-width: 5px 1em;
  bottom: -8px;
  content: "";
  height: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.badge.badge-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem;
  width: 2.5em;
  height: 2.5em;
  border-radius: 3em;
  box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.1);
}

.badge.badge-circle .icon {
  width: 1.3em;
  height: 1.3em;
}

@media screen and (max-width: 749px) {
  .badge.badge-circle {
    width: 1.6em;
    height: 1.6em;
  }
}

.gradient {
  background: var(--color-background);
  background: var(--gradient-background);
  background-attachment: fixed;
}

.select:before, .select:after {
  border-right: 2px solid;
  content: '';
  display: block;
  height: 0.7rem;
  position: absolute;
  transform: rotate(45deg);
  top: calc(50% - 0.3rem);
  right: 1.6rem;
  width: 0;
  border-radius: 1rem;
}

.select:after {
  transform: rotate(-45deg);
  right: 2rem;
}

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

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

.text-center{
  text-align: center;
}

.splide {
  position: relative;
}

.splide .splide__arrow{
  background: rgba(var(--color-button), 0.9);
  width: 3em;
  height: 3em;
}
.splide .splide__arrow svg{
  fill: rgb(var(--color-button-text));
}

.splide .splide__arrow:disabled{
  display: none !important;
}

.splide .splide__pagination__page.is-active{
  background: rgba(var(--color-button), 0.7);
  transform: scale(1.3);
  border: none;
  box-shadow: none;
}

.splide .splide__pagination__page{
  background-color: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.splide_pagination-bottom{
  margin-bottom: 10rem;
}
.splide_pagination-bottom .splide__pagination{
  bottom: -4rem;
}

.splide-index-count{
  position: absolute;
  bottom: 20px;
  right: 20px;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 5px 8px;
  border-radius: 50px;
  letter-spacing: 3px;
  font-size: 12px;
}


@media screen and (max-width: 749px) {
  .splide .splide__arrow {
    display: none;
  }
}

.d-flex{
  display: flex;
}

.flex-wrap{
  flex-wrap: wrap;
}

.flex-justify-center{
  justify-content: center;
}

.flex-space-between{
  justify-content: space-between;
}

.flex-align-center{
  align-items: center;
}

.flex-shrink-0{
  flex-shrink: 0;
}

.rotate-90{
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

select.currency-picker{
  height: 3.5rem;
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.05);
}

.note.form-success {
  background: rgba(145, 245, 150 ,0.3);
}

.note.errors {
  background: rgba(245, 185, 145, 0.3);
  padding-left: 3rem;
}

.svg-icon {
  width: 1.2em;
  height: 1.4em;
  vertical-align: middle;
  fill: currentcolor;
  margin-top: -0.2em;
}

.collection .title-wrapper-with-link--no-heading{
  justify-content: flex-end;
}

img{
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.table-wrapper{
	overflow: auto;
}

.table-wrapper table{
    min-width: 100%;
    width: auto !important;
}

.justify-center{
	justify-content: center;
}

/* ==== Flex table ==== */
.flex-table{
	border: 0.01rem solid rgba(var(--color-foreground), 0.08);
	display:flex;
	flex-direction: column;
}

.flex-table-tr{
	padding: 2.2rem;
}

.flex-table-tr:not(:last-child){
	border-bottom: 0.01rem solid rgba(var(--color-foreground), 0.08);
}

