/* Additions on top of the original theme: price pages + contact form messages.
   Text blocks may get the theme's slide-up (has-animation, which animates opacity): dim text with
   colour, not opacity, or the animation can't hide/reveal it.
   Colours follow the theme's dark pages (#141414 background, white text). */

.clearfix { clear: both; }

/* ---------- 幫助中心 (FAQ): dark like the rest of the site ---------- */
/* The FAQ came from the old shop with its own white theme; override its colour variables here. */
.jy-faq-wrap {
  --page: transparent;
  --text: #ffffff;
  --muted: rgba(255,255,255,.6);
  --divider: rgba(255,255,255,.14);
  --soft: rgba(255,255,255,.06);
  --focus: rgba(255,255,255,.35);
}
.jy-faq-wrap .jy-chip { color: var(--text) !important; }
.jy-faq-wrap .jy-chip:hover { border-color: rgba(255,255,255,.5); }
.jy-faq-wrap .jy-chip small { color: rgba(255,255,255,.7); }
.jy-faq-wrap .jy-a p, .jy-faq-wrap .jy-a ul { color: rgba(255,255,255,.82); }
.jy-faq-wrap .jy-note { background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); }

/* ---------- 聯絡方式: LINE ID links to the official account ---------- */
.line-id-link { display: inline-block; color: inherit !important; text-decoration: none; transition: opacity .2s; }
.line-id-link:hover { opacity: .7; }

/* ---------- opening screen ---------- */
/* Phones skip the "Pure Visual Precision" opening screen (see PageLoad in theme/js/scripts.js). */
@media (max-width: 767px) {
  .preloader-wrap { display: none !important; }
}

/* ---------- category filter ---------- */
.price-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.price-filter {
  font: inherit; font-size: 14px; letter-spacing: .02em;
  color: inherit; background: transparent; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); border-radius: 30px;
  padding: 10px 20px; transition: background-color .2s, color .2s, border-color .2s;
}
.price-filter small { opacity: .55; margin-left: 4px; }
.price-filter:hover { border-color: rgba(255,255,255,.7); }
.price-filter.is-active { background: #fff; color: #141414; border-color: #fff; }

/* ---------- product cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .price-grid { grid-template-columns: 1fr; } }

.price-card { display: block; color: inherit !important; text-decoration: none; }
.price-card[hidden] { display: none; }
.price-card-image { aspect-ratio: 1 / 1; overflow: hidden; background: #f2f2f2; }
.price-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.price-card:hover .price-card-image img { transform: scale(1.04); }
.price-card-body { padding-top: 18px; }
.price-card-cats { font-size: 12px; letter-spacing: .08em; opacity: .55; }
.price-card-name { margin: 6px 0 8px; line-height: 1.4; }
.price-card-price { font-family: 'Oswald', sans-serif; font-size: 18px; letter-spacing: .04em; }
.price-card-price span { font-family: inherit; font-size: 13px; opacity: .6; }

.price-links .button-wrap { display: block; margin-bottom: 14px; float: none; }

/* ---------- product detail ---------- */
.product-image { margin: 0; background: #f2f2f2; }
.product-image img { width: 100%; height: auto; display: block; }
.product-cats { color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.product-detail h4 { margin-bottom: 20px; }

.product-price { font-family: 'Oswald', sans-serif; font-size: 34px; letter-spacing: .03em; line-height: 1.2; margin-bottom: 30px; }
.product-price small { display: block; font-family: 'Poppins', sans-serif; font-size: 13px; letter-spacing: 0; opacity: .6; margin-top: 4px; min-height: 1em; }

.product-option { margin-bottom: 22px; }
.product-option-label { font-size: 13px; opacity: .6; margin-bottom: 10px; letter-spacing: .06em; }
.product-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.product-option-value {
  font: inherit; font-size: 14px; color: inherit; background: transparent; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); padding: 9px 16px; min-width: 64px;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.product-option-value:hover { border-color: rgba(255,255,255,.7); }
.product-option-value.is-active { background: #fff; color: #141414; border-color: #fff; }
.product-option-value.is-unavailable { opacity: .35; text-decoration: line-through; }

.product-specs { width: 100%; border-collapse: collapse; margin: 10px 0 25px; font-size: 14px; }
.product-specs th, .product-specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 400; }
.product-specs th { width: 34%; opacity: .6; }

.product-summary ul { margin: 0 0 20px; padding-left: 1.1em; }
.product-summary li { margin-bottom: 6px; line-height: 1.7; }
.product-note { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 25px; }

.product-description { text-align: center; }
.product-description img { max-width: 100%; height: auto; display: block; margin: 0 auto 20px; }
.product-description p { margin: 0; }

@media (max-width: 1024px) {
  .product-detail .one_half { width: 100%; float: none; margin-right: 0; }
  .product-detail .one_half.last { margin-top: 40px; }
}

/* ---------- policy pages ---------- */
.policy-text ul { padding-left: 1.1em; margin-bottom: 30px; }
.policy-text li { line-height: 1.8; margin-bottom: 8px; }

