/* =========================================================
 * YOHO 風格產品頁
 * 數值取自 yohohongkong.com（桌面版 ≥1280px）
 * ========================================================= */
.yh-product-page{
  --yh-blue:#00ACEE;
  --yh-red:#E13A1A;
  --yh-red2:#FF4C27;
  --yh-green:#00A87A;
  --yh-orange:#F77823;
  --yh-flash:#F79912;
  --yh-text:#424242;
  --yh-dark:#212121;
  --yh-grey:#9E9E9E;
  --yh-light:#BDBDBD;
  --yh-bg:#FAFAFA;
  --yh-font:"Noto Sans TC","Noto Sans SC","Noto Sans HK","Noto Sans Symbols",Arial,sans-serif;
  --yh-sticky:132px;              /* 分頁列黏頂位置 = 頁首高度（38 + 94） */
}
.yh-product-page.admin-bar{ --yh-sticky:164px; }

/* ---------- 清除 Blocksy 外框 / 多餘元素 ---------- */
.yh-product-page .hero-section,
.yh-product-page #sidebar,
.yh-product-page aside[data-type],
.yh-product-page .ct-sidebar,
.yh-product-page .woocommerce-tabs,
.yh-product-page .related.products,
.yh-product-page .upsells.products,
.yh-product-page .ct-share-box,
.yh-product-page .ct-product-navigation,
.yh-product-page .ct-floating-bar,
.yh-product-page .zoomImg,
.yh-no-footer #footer,
.yh-no-footer .ct-footer{ display:none !important; }

.yh-product-page #main .ct-container,
.yh-product-page #main .ct-container-full,
.yh-product-page #main .ct-container-narrow{
  width:100% !important; max-width:none !important; padding:0 !important; margin:0 !important;
  display:block !important; grid-template-columns:none !important;
}
.yh-product-page #main [data-vertical-spacing]{ padding-top:0 !important; padding-bottom:0 !important; }
.yh-product-page #main{ padding:0 !important; }

/* ---------- 基礎 ---------- */
body.yh-product-page,
body.yh-product-page #main-container,
body.yh-product-page .site-main{ background:#fff !important; }
.yh-product{ font-family:var(--yh-font); color:var(--yh-text); font-size:16px; line-height:1.5; letter-spacing:.32px; -webkit-font-smoothing:antialiased; }
.yh-product *,.yh-product *::before,.yh-product *::after{ box-sizing:border-box; }
.yh-product a{ text-decoration:none; }
.yh-product [hidden]{ display:none !important; }
.yh-wrap{ max-width:1330px; margin:0 auto; padding:0 16px; }

/* ---------- 麵包屑 ---------- */
.yh-breadcrumb{ display:flex; flex-wrap:wrap; align-items:center; padding:14px 0 26px; font-size:12.44px; font-weight:500; line-height:1.28; color:var(--yh-text); }
.yh-breadcrumb a{ color:var(--yh-text) !important; }
.yh-breadcrumb a:hover{ color:var(--yh-blue) !important; }
.yh-breadcrumb__sep{ display:inline-flex; margin:0 8px; }

/* ---------- 上半部版面 ---------- */
.yh-top{ display:grid; grid-template-columns:minmax(0,41.6667%) minmax(0,58.3333%); align-items:start; margin-bottom:24px; }

/* ---------- 圖庫 ---------- */
.yh-gallery{ width:75%; max-width:420px; justify-self:center; }
.yh-gallery__main{ position:relative; }
.yh-badge{
  position:absolute; top:0; left:-30px; z-index:5;
  padding:10px 20px; background:var(--yh-red2); border-radius:24px 0;
  color:#fff; font-size:16px; font-weight:500; line-height:1.3; letter-spacing:.32px; white-space:nowrap;
}
.yh-gallery__track{
  display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  scrollbar-width:none; -ms-overflow-style:none;
}
.yh-gallery__track::-webkit-scrollbar{ display:none; }
.yh-gallery__slide{ flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; background:#fff; }
.yh-gallery__slide img{ width:100%; height:100%; object-fit:contain; display:block; pointer-events:none; user-select:none; transform:none !important; }
.yh-gallery__dots{ display:flex; justify-content:center; align-items:center; gap:8px; margin:14px 0 12px; }
.yh-gallery__dots button{ width:8px; height:8px; padding:0 !important; border:0 !important; border-radius:50% !important; background:#000 !important; opacity:.2; cursor:pointer; min-height:0 !important; transition:width .2s; }
.yh-gallery__dots button.is-active{ width:60px; border-radius:45px !important; background:var(--yh-blue) !important; opacity:1; }
.yh-gallery__thumbs{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.yh-gallery__thumbs button{ width:60px; height:60px; padding:2px !important; border:1px solid transparent !important; border-radius:4px !important; background:#fff !important; cursor:pointer; min-height:0 !important; }
.yh-gallery__thumbs button.is-active{ border-color:var(--yh-blue) !important; }
.yh-gallery__thumbs img{ width:100%; height:100%; object-fit:contain; display:block; }

/* ---------- 標題 / 評價列 ---------- */
.yh-summary{ min-width:0; }
.yh-title{
  margin:0 0 6px !important; padding:0 !important;
  font-family:var(--yh-font) !important; font-size:22.5px !important; font-weight:400 !important;
  line-height:1.3 !important; letter-spacing:.577px !important; color:var(--yh-text) !important;
}
.yh-brand{ position:relative; display:inline; margin-right:5px; color:var(--yh-dark) !important; font-weight:700; }
.yh-brand::after{ content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--yh-dark); }
.yh-brand:hover{ color:var(--yh-dark) !important; }

.yh-meta-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.yh-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:4px 0; font-size:16px; }
.yh-stars{ display:inline-flex; margin-left:-2px; color:#FBB52E; font-size:18px; line-height:1; }
.yh-star{ position:relative; width:1em; height:1em; display:inline-block; }
.yh-star svg{ width:1em; height:1em; display:block; }
.yh-star__fill{ position:absolute; left:0; top:0; height:100%; overflow:hidden; }
.yh-star__fill svg{ width:1em; }
.yh-meta__reviews{ color:var(--yh-text) !important; margin-left:2px; }
.yh-meta__item{ margin-left:16px; color:var(--yh-text); }
.yh-meta__label{ color:var(--yh-light); }

/* 閃電送貨膠囊（標題右側） */
.yh-flash-pill{
  flex:0 0 auto; display:inline-flex; align-items:center; height:31px; padding:0 14px 0 0;
  background:#FEFFD0; border-radius:16px; color:var(--yh-flash); font-size:15px; font-weight:700; letter-spacing:1px; white-space:nowrap;
}
.yh-flash-pill__ic{ width:31px; height:31px; margin-right:6px; border-radius:50%; background:var(--yh-flash); color:#FEFFD5; display:inline-flex; align-items:center; justify-content:center; }
.yh-flash-pill__ic svg{ width:18px; height:18px; }

/* ---------- 價格框 ---------- */
.yh-pricebox{ margin-bottom:24px; }
.yh-pricebox__head{
  height:42px; padding:10px 15px; display:flex; align-items:center; justify-content:space-between;
  background:var(--yh-red); border-radius:20px 20px 0 0; color:#fff;
}
.yh-pricebox__ttl{ display:inline-flex; align-items:center; gap:6px; font-size:16px; font-weight:500; line-height:1.3; white-space:nowrap; }
.yh-pricebox__ttl svg{ flex:0 0 auto; }
.yh-countdown{ font-size:16px; font-weight:500; line-height:1.3; letter-spacing:.32px; white-space:nowrap; }
.yh-pricebox__body{ padding:10px 20px 20px; background:var(--yh-bg); border-radius:20px; }
.yh-pricebox.is-sale .yh-pricebox__body{ border-radius:0 0 20px 20px; }
.yh-price-line{ display:flex; align-items:flex-end; flex-wrap:nowrap; padding-top:6px; }
.yh-price{ color:var(--yh-red2); font-size:20px; font-weight:700; line-height:1.3; letter-spacing:.513px; margin-right:10px; padding-bottom:2px; white-space:nowrap; }
.yh-regular{ color:var(--yh-grey); font-size:16px; font-weight:500; line-height:1.3; text-decoration:line-through; padding-bottom:5px; white-space:nowrap; }
.yh-save{
  position:relative; top:-6px; left:8px; height:26px; padding:3px 6px; border-radius:4px;
  background:var(--yh-red); color:#fff; font-size:16px; line-height:20px; white-space:nowrap;
}
.yh-save::after{
  content:""; position:absolute; left:-6px; bottom:0; width:0; height:0;
  border-left:8px solid transparent; border-right:8px solid transparent; border-bottom:8px solid var(--yh-red);
}
.yh-promo{ margin:2px 0 6px; font-size:16px; font-weight:500; line-height:1.3; color:var(--yh-text); }
.yh-perks{ list-style:none !important; margin:0 !important; padding:0 !important; display:flex; flex-wrap:wrap; }
.yh-perks li{ display:inline-flex; align-items:center; margin:0 16px 0 0 !important; padding:0; font-size:14.22px; line-height:1.41; letter-spacing:.284px; color:var(--yh-text); }
.yh-perks li::before{ display:none; }
.yh-perks svg{ margin-right:4px; flex:0 0 auto; }

/* ---------- 屬性膠囊 ---------- */
.yh-buy{ margin-bottom:24px; }
.yh-buy form.cart{ margin:0 !important; padding:0 !important; border:0 !important; display:block !important; }
.yh-buy table.variations{ border:0 !important; margin:0 0 16px !important; width:auto !important; background:none !important; }
.yh-buy form.variations_form table.variations{ margin-bottom:8px !important; }
.yh-buy form.variations_form table.variations tbody{ display:block; }
.yh-buy form.variations_form table.variations tr{ display:flex !important; flex-direction:row !important; align-items:flex-start; gap:0 !important; margin:0 !important; border:0 !important; background:none !important; }
.yh-buy form.variations_form table.variations tr:not(:last-child){ margin-bottom:0 !important; }
.yh-buy form.variations_form table.variations td.value{ display:block !important; }
.yh-buy table.variations th,
.yh-buy table.variations td{ border:0 !important; padding:0 !important; background:none !important; display:block; }
.yh-buy table.variations th.label{ min-width:50px; padding-top:11px !important; padding-right:10px !important; }
.yh-buy table.variations th.label label{ font-size:14.22px; font-weight:500; color:var(--yh-text); margin:0; }
.yh-buy table.variations td.value select{ position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none; }
.yh-buy .reset_variations,
.yh-buy .woocommerce-variation-price,
.yh-buy .woocommerce-variation-availability,
.yh-buy .woocommerce-variation-description{ display:none !important; }
.yh-pills{ display:flex; flex-wrap:wrap; }
.yh-pill{
  height:42px; min-width:64px; margin:0 4px 8px 0; padding:5px 15px !important;
  border:2px dotted var(--yh-blue) !important; border-radius:50px !important; background:#fff !important;
  color:var(--yh-blue) !important; opacity:.7; font-family:var(--yh-font); font-size:14.22px; font-weight:400; line-height:1.41; letter-spacing:.284px;
  cursor:pointer; box-shadow:none !important; transition:opacity .2s;
}
.yh-pill:hover{ opacity:1; }
.yh-pill.is-selected{ background:var(--yh-blue) !important; border:2px solid var(--yh-blue) !important; color:#fff !important; opacity:1; }
.yh-pill.is-disabled{ opacity:.35; cursor:not-allowed; }

/* ---------- 數量 / 收藏 / 加入購物車 ---------- */
.yh-buy-row,
.yh-buy .woocommerce-variation-add-to-cart,
.yh-buy .ct-cart-actions{ display:flex !important; align-items:center; gap:16px; flex-wrap:nowrap; width:100%; }
.yh-buy .single_variation_wrap{ display:block !important; }
.yh-buy .quantity{
  position:relative; display:flex !important; align-items:center;
  flex:0 0 calc(25% - 12px); max-width:none !important; width:auto !important; height:52px !important; margin:0 !important;
  border:1px solid var(--yh-grey) !important; border-radius:26px !important; background:#fff;
}
.yh-buy .quantity input.qty{
  width:100% !important; height:100% !important; margin:0 !important; padding:0 44px !important;
  border:0 !important; background:transparent !important; box-shadow:none !important; outline:0;
  text-align:center; font-family:var(--yh-font); font-size:16px; color:var(--yh-text); -moz-appearance:textfield;
}
.yh-buy .quantity input::-webkit-outer-spin-button,
.yh-buy .quantity input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.yh-buy .quantity .yh-q,
.yh-buy .quantity .ct-increase,
.yh-buy .quantity .ct-decrease{
  position:absolute !important; top:0 !important; bottom:0 !important; width:44px !important; height:auto !important;
  display:flex !important; align-items:center; justify-content:center; padding:0 !important; margin:0 !important;
  border:0 !important; background:none !important; color:var(--yh-text) !important; font-size:24px; font-weight:300; line-height:1; cursor:pointer;
}
.yh-buy .quantity .yh-q:hover{ background:rgba(0,0,0,.04) !important; }
.yh-buy .quantity .yh-minus,.yh-buy .quantity .ct-decrease{ left:0 !important; right:auto !important; margin-left:5px !important; border-radius:20px 0 0 20px; }
.yh-buy .quantity .yh-plus,.yh-buy .quantity .ct-increase{ right:0 !important; left:auto !important; margin-right:5px !important; border-radius:0 20px 20px 0; }
.yh-buy .quantity .ct-increase svg,.yh-buy .quantity .ct-decrease svg{ display:none !important; }
.yh-buy .quantity .ct-increase::before{ content:"+"; }
.yh-buy .quantity .ct-decrease::before{ content:"\2212"; }
.yh-buy .quantity{ order:1; }
.yh-buy .yh-wish{ order:2; }
.yh-buy .single_add_to_cart_button{ order:3; }
.yh-buy .quantity .screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

.yh-wish{
  flex:0 0 calc(25% - 12px); height:52px; padding:5px 15px !important; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--yh-blue) !important; border-radius:50px !important; background:#fff !important; box-shadow:none !important;
  color:var(--yh-blue) !important; font-family:var(--yh-font); font-size:15px; font-weight:500; letter-spacing:.72px; white-space:nowrap; cursor:pointer;
}
.yh-wish span{ margin-left:10px; }
.yh-wish.is-active .yh-ic--heart path{ fill:var(--yh-blue); }
.yh-wish--yith a{ color:var(--yh-blue) !important; }

.yh-buy .single_add_to_cart_button{
  flex:1 1 auto; height:52px !important; min-height:52px !important; margin:0 !important; padding:6px 16px !important;
  display:inline-flex !important; align-items:center; justify-content:center;
  border:0 !important; border-radius:50px !important; background:var(--yh-blue) !important; box-shadow:none !important;
  color:#fff !important; font-family:var(--yh-font); font-size:15px !important; font-weight:500 !important; letter-spacing:.72px; line-height:1.3; text-transform:none;
}
.yh-buy .single_add_to_cart_button span{ margin-left:10px; }
.yh-buy .single_add_to_cart_button:not(.yh-atc)::before{
  content:""; width:28px; height:26px; margin-right:10px; background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5h4.2c.7 0 1.3.5 1.5 1.2L11 21.3c.2.7.8 1.2 1.5 1.2h17.2'/%3E%3Cpath d='M8 6.5h26.2l-3 12.2H11.6'/%3E%3Cpath d='M15.5 6.5v12.2M22 6.5v12.2M28.3 6.5l-1.2 12.2M9.4 12.6h23.3'/%3E%3Ccircle cx='15' cy='26.3' r='2.4'/%3E%3Ccircle cx='27' cy='26.3' r='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5h4.2c.7 0 1.3.5 1.5 1.2L11 21.3c.2.7.8 1.2 1.5 1.2h17.2'/%3E%3Cpath d='M8 6.5h26.2l-3 12.2H11.6'/%3E%3Cpath d='M15.5 6.5v12.2M22 6.5v12.2M28.3 6.5l-1.2 12.2M9.4 12.6h23.3'/%3E%3Ccircle cx='15' cy='26.3' r='2.4'/%3E%3Ccircle cx='27' cy='26.3' r='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.yh-buy .single_add_to_cart_button:hover{ background:#0076A1 !important; }
.yh-buy .single_add_to_cart_button.disabled,
.yh-buy .single_add_to_cart_button:disabled{ opacity:.5; cursor:not-allowed; }
.yh-buy .stock{ margin:0 0 10px; font-size:14px; }

/* ---------- 送貨 / 門市 ---------- */
.yh-ship{ margin-bottom:16px; font-size:16px; line-height:1.5; }
.yh-ship--store{ padding-top:16px; border-top:1px solid #E0E0E0; }
.yh-ship__head{ display:flex; align-items:center; margin-bottom:6px; }
.yh-ship__head > svg{ flex:0 0 auto; }
.yh-ship__ttl{ margin:0 8px; color:var(--yh-text); font-weight:500; }
.yh-tag{
  display:inline-flex; align-items:center; height:28px; padding:4px 8px; border-radius:4px; white-space:nowrap;
  color:#fff; font-size:14px; font-weight:500; line-height:1.43;
}
.yh-tag .yh-ic--tick{ margin-right:5px; }
.yh-tag--green{ background:var(--yh-green); }
.yh-tag--orange{ background:var(--yh-orange); }
.yh-tag--grey{ background:var(--yh-light); }
.yh-flash-tag{
  display:inline-flex; align-items:center; height:28px; margin-left:8px; padding:0 9px 0 6px; border-radius:4px;
  background:var(--yh-flash); color:#FEFFD5; font-size:15px; font-weight:700; letter-spacing:1px; white-space:nowrap;
}
.yh-flash-tag svg{ width:19px; height:21px; margin-right:6px; }
.yh-ship__seller{ color:var(--yh-text); }
.yh-ship__seller a{ color:var(--yh-text) !important; font-weight:500; text-decoration:underline !important; text-underline-offset:2px; }
.yh-dotlist{ list-style:none !important; margin:0 !important; padding:0 !important; }
.yh-dotlist li{ position:relative; margin:6px 0 0 !important; padding-left:20px; font-size:14.22px; line-height:1.41; color:var(--yh-text); }
.yh-dotlist li::before{ content:""; position:absolute; left:0; top:6px; width:8px; height:8px; border-radius:50%; background:var(--yh-text); }
.yh-tip{ position:relative; display:inline-flex; vertical-align:-2px; margin-left:2px; cursor:help; outline:0; }
.yh-tip::after{
  content:attr(data-tip); position:absolute; left:50%; bottom:calc(100% + 6px); transform:translateX(-50%);
  width:max-content; max-width:240px; padding:6px 10px; border-radius:4px; background:rgba(33,33,33,.92); color:#fff;
  font-size:12px; line-height:1.4; white-space:normal; opacity:0; visibility:hidden; transition:opacity .15s; z-index:20; pointer-events:none;
}
.yh-tip:hover::after,.yh-tip:focus::after{ opacity:1; visibility:visible; }
.yh-preorder{ margin-top:6px; font-size:14.22px; line-height:1.41; color:var(--yh-grey); }
.yh-preorder__lbl{ color:var(--yh-orange); }
.yh-stores{ display:flex; flex-wrap:wrap; gap:4px 0; font-size:14.22px; line-height:1.41; }
.yh-store{ margin-right:10px; color:var(--yh-text); }
.yh-store a,.yh-store u{ color:var(--yh-text) !important; text-decoration:underline !important; text-underline-offset:2px; }
.yh-store__st{ font-weight:400; }
.yh-store__st.is-orange{ color:var(--yh-orange); }
.yh-store__st.is-green{ color:var(--yh-green); }
.yh-store__st.is-grey{ color:var(--yh-grey); }

/* ---------- 分頁列（全寬） ---------- */
.yh-tabs{ position:sticky; top:var(--yh-sticky); z-index:50; width:100%; background:var(--yh-bg); margin-bottom:24px; }
.yh-tabs__in{ max-width:1330px; margin:0 auto; display:flex; white-space:nowrap; }
.yh-tabs a{
  position:relative; min-width:125px; padding:16px 16px 13px; margin-bottom:3px; text-align:center;
  color:var(--yh-text) !important; font-size:16px; font-weight:500; line-height:1.3; letter-spacing:.32px;
}
.yh-tabs a:hover,.yh-tabs a:focus{ color:var(--yh-blue) !important; }

/* ---------- 內容區 ---------- */
.yh-content{ padding-bottom:40px; }
.yh-sec{ scroll-margin-top:calc(var(--yh-sticky) + 60px); }
.yh-sec + .yh-sec{ margin-top:16px; padding-top:8px; border-top:1px solid #F5F5F5; }
.yh-sec__ttl{
  margin:28px 0 22px !important; padding:0 !important;
  font-family:var(--yh-font) !important; font-size:16px !important; font-weight:500 !important; line-height:1.3 !important; color:var(--yh-text) !important;
}
.yh-sec:first-child .yh-sec__ttl:first-child{ margin-top:8px !important; }
.yh-sec__body{ font-size:14.22px; line-height:1.6; letter-spacing:.284px; color:var(--yh-text); }
.yh-sec__body p{ margin:0 0 10px; }
.yh-sec__body img{ max-width:100%; height:auto; }
.yh-collapse{ position:relative; max-height:var(--yh-collapse); overflow:hidden; }
.yh-collapse__in img{ display:block; margin:0 auto; }
.yh-collapse::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:140px; background:linear-gradient(rgba(255,255,255,0),#fff 85%); pointer-events:none; }
.yh-collapse.is-open{ max-height:none; }
.yh-collapse.is-open::after,.yh-collapse.is-short::after{ display:none; }
.yh-more{ text-align:center; position:relative; z-index:2; margin-top:-20px; }
.yh-more button{
  min-height:0 !important; height:auto !important; padding:4px 10px !important;
  border:1px solid var(--yh-blue) !important; border-radius:16px !important; background:#fff !important; box-shadow:none !important;
  color:var(--yh-blue) !important; font-family:var(--yh-font); font-size:14.22px; font-weight:400; line-height:1.41; cursor:pointer;
}
.yh-specs table{ width:100%; border-collapse:collapse; }
.yh-specs th,.yh-specs td{ padding:8px 12px !important; border:1px solid #EEE !important; text-align:left; font-size:14.22px; }
.yh-specs th{ width:180px; background:var(--yh-bg); font-weight:500; }
.yh-specs td p{ margin:0; }
.yh-reviews .star-rating{ color:#FBB52E; }

/* =========================================================
 * < 1280px（YOHO 平板字級）
 * ========================================================= */
@media (max-width:1279.95px){
  .yh-product{ font-size:14px; }
  .yh-title{ font-size:20px !important; }
  .yh-meta,.yh-ship{ font-size:14px; }
  .yh-perks li,.yh-dotlist li,.yh-preorder,.yh-stores,.yh-sec__body{ font-size:12.44px; }
  .yh-pricebox__ttl,.yh-countdown,.yh-promo,.yh-regular,.yh-save,.yh-tabs a{ font-size:14px; }
  .yh-perks li{ margin-right:8px !important; }
  .yh-badge{ left:-10px; font-size:14px; }
}

/* =========================================================
 * < 960px（手機 / 平板直向）
 * ========================================================= */
@media (max-width:959.95px){
  .yh-product-page{ --yh-sticky:84px; }
  .yh-top{ grid-template-columns:minmax(0,1fr); }
  .yh-product{ overflow-x:hidden; }
  .yh-gallery{ width:100%; max-width:480px; margin-bottom:20px; }
  .yh-badge{ left:0; }
  .yh-pricebox__head{ padding:10px 15px; }
  .yh-pricebox__body{ padding:10px 15px 15px; }
  .yh-flash-pill{ display:none; }
  .yh-buy-row,.yh-buy .woocommerce-variation-add-to-cart,.yh-buy .ct-cart-actions{ gap:10px; }
  .yh-buy .quantity{ flex-basis:33%; }
  .yh-wish{ flex:0 0 52px; padding:0 !important; }
  .yh-wish span{ display:none; }
  .yh-tabs a{ min-width:calc(100% / 3); width:calc(100% / 3); padding:12px 0; }
}
@media (max-width:599.95px){
  .yh-title{ font-size:18px !important; }
  .yh-pricebox__head{ height:auto; flex-wrap:wrap; gap:2px 8px; }
  .yh-price-line{ flex-wrap:wrap; }
  .yh-buy .quantity{ flex:0 0 112px; }
  .yh-buy .single_add_to_cart_button{ min-width:0; padding:6px 10px !important; }
  .yh-buy .single_add_to_cart_button svg,.yh-buy .single_add_to_cart_button::before{ display:none; }
  .yh-buy .single_add_to_cart_button span{ margin-left:0; }
  .yh-countdown{ font-size:13px; }
  .yh-gallery__thumbs button{ width:52px; height:52px; }
  .yh-gallery__thumbs{ gap:6px; }
}

/* AJAX 加入購物車後不顯示「查看購物車」連結（頁首購物車數字會自動更新） */
.yh-buy .added_to_cart{ display:none !important; }
