/* ==========================================================================
   商品详情（复刻原站 productView 结构）
   ========================================================================== */
.productView { padding: 0 0 40px; }
.productView .container { padding: 0 15px; }
.productView-images { background: #1b1b1b; padding: 21px 0 0; display: block; }
.productView-images .breadcrumbs { padding-top: 0; margin-bottom: 21px; }
.productView-image-and-heading { display: flex; align-items: flex-start; gap: 95px; padding: 0 0 47px; border-bottom: 1px solid #383838; }
.productView-image-wrap { width: 547px; min-width: 547px; flex: 0 0 547px; }
.productView-image-main { position: relative; }
.productView-image { display: flex; margin: 0; border-radius: 20px; border: 1px solid #383838; overflow: hidden; background: #111; }
.productView-img-container { width: 100%; }
.productView-img-container a { display: block; line-height: 0; }
.productView-img-container img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: contain; }

/* 全屏图片查看器：原比例尽量占满视口，不裁切。 */
.productView-img-container { overflow: hidden; position: relative; }
.productView-img-container #mainProductImage { cursor: zoom-in; }
.productView-img-container #mainProductImage:focus-visible { outline: 2px solid var(--accent-primary, #00e5ff); outline-offset: -4px; }
html:has(.product-image-viewer[open]) { overflow: hidden; }
.product-image-viewer {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; background: #090909; color: #fff;
}
.product-image-viewer::backdrop { background: #090909; }
.product-image-viewer > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-image-viewer[open] > img { animation: product-viewer-in .22s ease-out both; }
@keyframes product-viewer-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.product-image-viewer button {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 1px solid #888; border-radius: 50%; background: rgba(0, 0, 0, .82);
  color: #fff; font: 28px/1 system-ui, sans-serif; cursor: pointer;
}
.product-image-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.product-image-viewer-close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.product-image-viewer [data-viewer-step] { top: 50%; transform: translateY(-50%); }
.product-image-viewer [data-viewer-step="-1"] { left: max(8px, env(safe-area-inset-left)); }
.product-image-viewer [data-viewer-step="1"] { right: max(8px, env(safe-area-inset-right)); }
@media (prefers-reduced-motion: reduce) {
  .product-image-viewer[open] > img { animation: none; }
}

.productView-thumbnails-and-heading { flex: 1 1 auto; min-width: 0; padding-top: 12px; }
.productView-title { font-family: "Josefin Sans", sans-serif; font-size: 38px; font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 0; }
.productView-thumbnails-wrap { margin: 55px 0 0; }
.productView-thumbnails { position: relative; display: block; padding: 0 138.234px 0 0; }
.productView-thumbnail { display: inline-block; vertical-align: top; width: 210px; height: auto; box-sizing: border-box; padding: 15px; margin: 0 -15px; }
.productView-thumbnail:nth-child(3n) { margin-right: -15px; }
.productView-thumbnail:nth-child(3n) { margin-right: 0; }
.productView-thumbnails { line-height: 0; }
.productView-thumbnail-link { display: flex; align-items: flex-start; justify-content: center; position: relative; width: 180px; height: 270px; border-radius: 10px; border: 1px solid transparent; overflow: hidden; line-height: 0; background: transparent; }
.productView-thumbnail-link.is-active { border-color: var(--gold); }
.productView-thumbnail-link img { width: 180px; height: 270px; object-fit: contain; object-position: 50% 50%; display: block; border-radius: 10px; }
@media (min-width: 1360px) { .productView-title { font-size: 46px; } }
@media (max-width: 1023px) {
  .productView-image-and-heading { flex-direction: column; gap: 20px; }
  .productView-image-wrap { width: 100%; flex-basis: auto; }
  .productView-title { font-size: 26px; }
  .productView-thumbnail, .productView-thumbnail:nth-child(3n) { width: 45%; height: auto; margin: 0 2% 10px 0; flex: 0 0 45%; }
  .productView-thumbnail-link { height: auto; }
  .productView-thumbnail-link img { height: auto; aspect-ratio: 1 / 1.04; }
  .productView-thumbnails { padding-right: 0; }
  .productView-thumbnails-wrap { margin-top: 25px; }
}

.productView-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 41.25px; align-items: start; padding: 64.4px 0; }
.productView-details { background: #1b1b1b; border-radius: 20px; padding: 45px 45px 17px; min-width: 0; }
.productView-description-title { font-size: 28px; line-height: 1.35; font-weight: 700; color: #fff; margin: 0 0 14px; }
.productView-details .description-text p:nth-child(n+4) { display: none; }
.productView-details .description-text p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #fff; font-family: "Comic Sans MS", cursive, sans-serif; }

.description-more { display: inline-block; color: #fff; font-weight: 700; margin-top: 6px; }
.description-more:hover { color: var(--gold); }
.product-rating-and-sold { margin-top: 10px; min-height: 10px; }
.productView-details .productView-info { display: none; }
.productView-info-name { margin: 0; color: #999; }
.productView-info-value { margin: 0; color: #fff; }
.shereLinks { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.shereLinks .shere-button { font-weight: 700; }
.share-inputs { display: flex; align-items: center; gap: 8px; flex: 1 1 100%; }
.share-inputs label { font-size: 12px; color: #999; }
.share-inputs input { flex: 1; background: #222; border: 1px solid #444; border-radius: 6px; color: #ccc; padding: 7px 10px; font-size: 12px; }
.share-Links-title { font-size: 12px; color: #999; margin: 0; }
.shareLinks { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.shareLinks a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #444; border-radius: 50%; }
.shareLinks a:hover { border-color: var(--gold); }
.shareLinks svg { width: 14px; height: 14px; fill: #fff; }
.form-options { margin-top: 16px; }
.form-options .form-field { margin-bottom: 0; }

.productView-price-and-review { min-width: 0; }
.productView-price-review { display: flex; flex-direction: column; }
.product-messages { min-height: 44px; display: flex; justify-content: flex-end; align-items: flex-start; padding-top: 6px; }
.productAttributes-message-in { display: inline-block; background: #f5f5f5; color: #111; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; border: 1px solid #999; }
.productAttributes-message-out { display: inline-block; background: #ff6b6b; color: #fff; font-size: 13px; padding: 9px 22px; border-radius: 10px; }
.productView-price-addtocart { background: #1b1b1b; border-radius: 20px; padding: 0; }
.productView-price { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin: 0; font-size: 16px; border: 1px solid #3a3a3a; border-radius: 12px; overflow: hidden; }
.productView-price > .price-section { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 6px; padding: 14px 18px; border-right: 1px solid #3a3a3a; }
.productView-price .price--withoutTax { color: #fff; font-size: 30px; font-weight: 700; }
.productView-price .price-section > span:first-child { color: #ddd; font-size: 15px; }
.productView-price .price--non-sale { color: #aaa; text-decoration: line-through; font-size: 16px; }
.productView-price .discount-percent { color: #7ee787; }
.productView-price .non-sale-price--withoutTax > span:first-child { display: none; }
.discount-percent { color: #7ee787; font-size: 15px; font-weight: 700; }
.productView-price .form-wishlist { display: flex; align-items: center; justify-content: center; align-self: stretch; margin: 0 0 0 auto; border: 0 !important; padding: 0 12px !important; }
.productView-price .form-wishlist .dropdown-menu-button { margin: 0; flex-shrink: 0; line-height: 0; }
.productView-price .form-wishlist .dropdown-menu-button svg { display: block; flex-shrink: 0; }
.productView-price .price-section.price-saving--discount { border-right: 1px solid #3a3a3a; }
form.form-wishlist .dropdown-menu-button { width: 32px; height: 30px; border-radius: 50%; border: 1px solid #555; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
form.form-wishlist .dropdown-menu-button svg { width: 20px; height: 20px; fill: var(--gold); }
form.form-wishlist .dropdown-menu-button:hover { border-color: var(--gold); }
.productView-shipping { display: none; }
.productView-shipping .form-label { margin: 0; font-size: 14px; color: #ddd; white-space: nowrap; }
.productView-shipping .form-select { height: 44px; padding: 0 40px 0 14px; border-radius: 10px; font-size: 14px; flex: 1 1 auto; background-position: right 12px top 18px; }
.productView-shipping-est { color: var(--gold); font-weight: 700; white-space: nowrap; }
.cart-buttons { display: flex; gap: 31px; padding: 27px 18px 31px; }
.add-to-cart-buttons { flex: 1 1 50%; min-width: 0; }
.buy-now-btn { flex: 1 1 50%; min-width: 0; }
#form-action-addToCart { width: 100%; min-height: 68px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 15px; padding: 19.74px 32px; font-size: 18px; font-weight: 700; color: #000; cursor: pointer; background: linear-gradient(135deg, #b5d8f8 6.58%, #b6f0fd 91.08%); font-family: Nunito, Arial, sans-serif; }
#form-action-addToCart:hover { background: linear-gradient(152deg, #f2e635 8.5%, #f2bc1b 92.21%); }
#form-action-addToCart .icon, .button--buyItNow .icon { width: 20px; height: 20px; display: inline-flex; }
#form-action-addToCart .icon svg, .button--buyItNow .icon svg { width: 100%; height: 100%; fill: currentColor; }
.button--buyItNow { width: 100%; min-height: 66px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 15px; padding: 19.74px 32px; font-size: 18px; font-weight: 700; font-family: Nunito, Arial, sans-serif; }
.out-of-stock { width: 100%; min-height: 66px; border-radius: 15px; background: #333; color: #999; font-size: 18px; }
@media (max-width: 1023px) {
  .productView-detail { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .productView-details { padding: 24px 20px; }
  .cart-buttons { gap: 12px; }
}

.productView-description { margin-top: 0; border-radius: 0; overflow: hidden; }
.productView-description .tabs { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0; padding: 0; background: transparent; border-bottom: 0; }
.productView-description .tab .tab-title { display: inline-block; padding: 18px 10px; min-width: 442px; text-align: center; font-weight: 700; color: #fff; background: #000; border-radius: 0; }
.productView-description .tabs-contents { background: #1b1b1b; border-radius: 0; padding: 26px 30px 30px; color: #e3e3e3; }
.productView-description .description-text p { margin: 0 0 6px; color: #e3e3e3; }
.productView-description .shipping-table { margin-top: 10px; }
/* 兼容商品正文内旧版浮动运费表，避免与详情标题及后续内容重叠。 */
.productView .description-text { display: flow-root; min-width: 0; overflow-wrap: anywhere; }
.productView .description-text table {
  float: none !important; clear: both; width: 100% !important; max-width: 100%;
  height: auto !important; table-layout: fixed; margin: 16px 0 !important;
  color: #e3e3e3 !important; background-clip: border-box !important;
}
.productView .description-text table th,
.productView .description-text table td { overflow-wrap: anywhere; box-sizing: border-box; }
.productView .productView-description { clear: both; min-width: 0; }
.productView .productView-description .tabs-contents { display: flow-root; }
@media (max-width: 767px) {
  .productView-description .tab .tab-title { min-width: 0; max-width: 100%; }
  .productView-description .tabs-contents { padding: 20px 12px; }
}

.related-products { margin-top: 70px; text-align: center; }
.related-products .page-heading { margin-bottom: 6px; }
.related-products .page-subheading { margin-bottom: 30px; }
.related-products .productCarousel { text-align: left; }
.related-products .related-products-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; text-align: left; }
.related-products .related-product { display: flex; flex-direction: column; min-width: 0; }
.related-product-image { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #181818; }
.related-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.related-product-image:hover img,
.related-product-image:focus-visible img { transform: scale(1.06); }
.related-products .related-product-buy { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 6px; background: var(--gold); color: #111; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.related-product-buy:hover { filter: brightness(1.08); }
.related-product-title { margin: 12px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.related-product-title a { color: #fff; text-decoration: none; }
.related-product-title a:hover { color: var(--gold); }
.related-products a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 767px) {
  .related-products .related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
  .related-products .related-product-buy { font-size: 10px; min-height: 40px; }
  .related-product-title { font-size: 12px; margin-top: 8px; }
}


/* 内容页（About / FAQ / 联系等） */
.site-page { max-width: 1000px; margin: 30px auto 0; padding: 0 15px 60px; }
.site-page .page-title { text-align: center; font-family: "Josefin Sans", sans-serif; font-size: 40px; font-weight: 700; margin: 10px 0 34px; letter-spacing: 0; }
.page-content--centered { max-width: 760px; }
.about-list { list-style: disc; padding-left: 22px; margin: 0 0 22px; }
.about-list li { color: #e3e3e3; font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.about-heading { text-align: left; font-family: Nunito, Arial, sans-serif; font-size: 24px; font-weight: 800; color: #fff; margin: 30px 0 14px; }
.about-img { margin: 10px 0 26px; }
.about-img img { width: 100%; border-radius: 6px; display: block; }
.site-page .faq-list { max-width: none; }
.site-page .page-form { max-width: none; }
.content-cta { text-align: center; justify-content: center; }

/* ==========================================================================
   登录 / 注册（复刻原站 .login-row + .panel）
   ========================================================================== */
.login-page > .container { padding: 0 15px; }
.login-page .login { display: block; }
.login-page .page-heading { margin: 0 0 20px; font-family: "Josefin Sans", sans-serif; font-size: 40px; line-height: 45px; letter-spacing: -1.92px; text-align: left; }
.login-row { display: flex; flex-wrap: wrap; margin: 84px 89.5px 0; }
.login-form { flex: 0 0 50%; max-width: 50%; padding: 0 10.5px; margin: 42px 0 21px; }
.login-form .form-field { margin: 0 0 28px; }
.login-form .form-label { margin: 0 0 7px; font-size: 14px; }
.login-form .form-input { height: 42px; padding: 10.5px 14px; font-size: 14px; border-radius: 4px; border-color: #8f8f8f; background: transparent; }
.login-form .form-actions { display: flex; align-items: center; margin: 21px 0 0; }
.login-form .form-actions .button { padding: 12px 32px; border-radius: 8px; border: 0; cursor: pointer; font-size: 18px; font-weight: 700; font-family: Nunito, sans-serif; }
.login-form .forgot-password { margin-left: 11px; font-size: 14px; color: #fff; }
.login-form .forgot-password:hover { color: var(--gold); }
.new-customer { flex: 0 0 50%; max-width: 50%; padding: 0 10.5px; }
.panel { background: transparent; border: 0; }
.panel-header { background: #000; padding: 21px 28px 0; }
.panel-title { margin: 0; font-family: "Josefin Sans", sans-serif; font-size: 20px; font-weight: 700; color: #fff; }
.panel-body { background: #000; padding: 14px 28px 21px; margin: 0 0 21px; color: #fff; }
.new-customer-intro { color: #fff; font-size: 14px; margin: 0; }
.new-customer-fact-list { margin: 0 0 21px 42px; padding: 0; color: #fff; }
.new-customer-fact { position: relative; padding-left: 11px; font-size: 14px; line-height: 21px; list-style: none; }
.new-customer-fact::before { content: "•"; position: absolute; left: 0; color: #fff; }
.new-customer .button { padding: 12px 32px; border: 0; border-radius: 8px; cursor: pointer; font-size: 18px; font-weight: 700; font-family: Nunito, sans-serif; margin: 0 0 14px; }
@media (max-width: 1023px) {
  .login-row { margin: 30px 0 0; }
  .login-form, .new-customer { flex-basis: 100%; max-width: 100%; margin: 0 0 30px; }
  .login-page .page-heading { font-size: 28px; line-height: 32px; }
}

/* ==========================================================================
   购物车页（原站 .cart-item-wrap 结构）
   ========================================================================== */
.cart-page > .container { padding: 0 15px; }
.cart-page .page-content { padding: 0 10.5px 20px; }
.cart-item-wrap { margin: 0 0 30px; }
.cart-page .page { margin-top: 70px; }
@media (max-width: 1023px) { .cart-page .page { margin-top: 20px; } }
.cart-item-wrap .page-heading { margin: 0; font-family: Nunito, Arial, sans-serif; font-size: 28px; font-weight: 700; line-height: normal; letter-spacing: 0; color: var(--gold); text-align: left; }
.cart-item-wrap h3 { margin: 32px 0 11px; font-family: "Josefin Sans", sans-serif; font-size: 22px; font-weight: 700; color: #fff; }
.cart-count-note { margin: 12px 0 0; color: #e3e3e3; }
.cart-page .cart-layout { margin-top: 10px; }

/* ==========================================================================
   搜索页（子导航、搜索建议和商品列表）
   ========================================================================== */
.search-page > .container { padding: 0 15px; }
.search-page .nav { margin: 56px 0 63px; }
.search-page .navBar { margin: 0; }
.search-page .account-navigation { display: flex; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
.search-page .navBar-item { position: relative; margin: 0 20px 0 0; background: transparent; border-radius: 5px; }
.search-page .navBar-action { display: block; padding: 10px 8px; min-width: 180px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; border-radius: 5px; }
.search-page .navBar-action { background: #222; }
.search-page .navBar-action.is-active { background: var(--gold); color: #000; }
.search-page .navBar-item:has(.is-active)::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--gold); border-bottom: 0; }
.search-page .page { margin: 20px 0 0; padding: 0; }
.search-page .page-content { padding: 0 10.5px; }
.search-page .search-suggestion-panel .panel-body { background: #222; padding: 14px 18px; margin: 0 0 14px; color: #fff; }
.search-page .search-suggestion { font-size: 14px; color: #fff; margin: 0; }
.search-page .panel-body { background: transparent; padding: 18px 0; border-bottom: 1px solid #303030; }
.search-page .search-suggestion .search-refine { margin-left: 12px; font-size: 14px; color: #fff; text-decoration: underline; }
.search-page .search-listing { padding: 0; }
.search-listing .listing-count { min-width: 0; overflow-wrap: anywhere; }
.search-listing .productGrid--listing > li { min-width: 0; }
.search-listing .card-title { overflow-wrap: anywhere; }
.search-listing .product-listing-counter { margin: 24px 0 40px; }

@media (max-width: 767px) {
  .search-page .nav { margin: 20px 0 24px; }
  .search-page .account-navigation { gap: 8px; }
  .search-page .navBar-item { flex: 1 1 0; min-width: 0; margin: 0; }
  .search-page .navBar-action { min-width: 0; padding: 10px 6px; font-size: 13px; }
  .search-page .page { margin-top: 16px; }
  .search-page .page-content { padding: 0; }
  .search-page .search-suggestion-panel .panel-body { padding: 12px; margin-bottom: 12px; }
  .search-page .search-suggestion { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; overflow-wrap: anywhere; font-size: 14px; }
  .search-page .search-suggestion .suggestion-label,
  .search-page .search-suggestion .suggestion-term,
  .search-page .search-suggestion .search-refine { margin: 0; font-size: 14px; }
  .search-listing .productGrid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .search-listing .card-btn .card-figcaption-button { min-width: 0; white-space: normal; text-align: center; padding: 4px !important; }
  .search-listing .product-listing-counter { flex-direction: column; padding: 12px 8px; gap: 8px; }
  .search-listing .product-pagination-listing { max-width: 100%; }
}

/* 搜索建议行 */
.search-suggestion .suggestion-label { margin-right: 24px; color: #fff; font-weight: 700; }
.search-suggestion .suggestion-term { display: inline-block; margin-right: 12px; padding: 2px 14px; border-radius: 20px; background: #222; color: #e3e3e3; font-size: 14px; }
.search-suggestion .suggestion-term:hover { color: var(--gold); }
.search-page .search-refine { float: right; }

/* ==========================================================================
   账户中心（原站风格：顶部横向导航 + 订单卡片）
   ========================================================================== */
.account-page > .container { padding: 0 15px; }
.account-nav { display: flex; justify-content: center; list-style: none; padding: 0; margin: 20px 0 30px; border-bottom: 1px solid #303030; }
.account-nav-item { margin: 0 4px; }
.account-nav-item a { display: block; padding: 12px 22px; color: #e3e3e3; font-weight: 700; border-bottom: 2px solid transparent; }
.account-nav-item a:hover { color: var(--gold); }
.account-nav-item.is-active a { color: var(--gold); border-color: var(--gold); }
.account-page-content { max-width: 1100px; margin: 0 auto; }
.account-note { color: #e3e3e3; margin: 0 0 24px; }
.account-block { background: #1b1b1b; border-radius: 20px; padding: 24px 28px; margin-bottom: 24px; }
.account-block-title { font-family: "Josefin Sans", sans-serif; font-size: 22px; margin: 0 0 16px; color: var(--gold); }
.empty-message .link-gold, .link-gold { color: var(--gold); text-decoration: underline; }
.account-orders-head { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr 90px; gap: 12px; padding: 0 0 10px; border-bottom: 1px solid #303030; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.account-order { border-bottom: 1px solid #262626; padding: 14px 0; }
.account-order-summary { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr 90px; gap: 12px; align-items: center; }
.account-order-summary .order-number { font-weight: 700; color: #fff; }
.status-pill { display: inline-block; width: fit-content; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: rgba(255,202,43,.12); color: var(--gold); }
.account-order-items { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.account-order-item { display: flex; gap: 10px; align-items: center; background: #222; border-radius: 12px; padding: 8px; min-width: 260px; }
.account-order-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.account-order-item-info { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.item-name { color: #fff; font-weight: 700; }
.item-name:hover { color: var(--gold); }
.item-variant, .item-price { color: #aaa; }
.wish-lines { display: flex; flex-direction: column; gap: 10px; }
.wish-line { display: flex; align-items: center; gap: 14px; background: #222; border-radius: 12px; padding: 10px; }
.wish-line img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }
.wish-line-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.wish-line form { margin: 0; }
.account-form { max-width: 880px; }
.account-form .form-field { margin: 0 10px 16px; }
.account-form .form-input { height: 44px; }
.account-form textarea.form-input { height: auto; }
.account-form .button { margin-left: 10px; }
.account-support .button { margin-right: 10px; margin-bottom: 6px; }
.account-support p { color: #ccc; }
@media (max-width: 767px) {
  .account-nav { flex-wrap: wrap; }
  .account-orders-head { display: none; }
  .account-order-summary { grid-template-columns: 1fr 1fr; }
}

/* 商品选项（原站 .form-option 结构：隐藏原生单选 + label 伪元素圆点） */
.productView-details .form-options { margin: 16px 0 0; }
.productView-details .product-option .form-field { margin: 0; }
.productView-details .product-option[data-product-option-change] { margin-top: 0; }
.productView-details .product-option .form-label.form-label--alternate { display: block; color: #fff; font-size: 18px; font-weight: 400; margin: 0 0 18px; }
.productView-details .product-option .form-label.form-label--alternate small { font-size: 13px; color: #aaa; }
.productView-details .product-option .form-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.productView-details .product-option label[data-product-attribute-value] { display: block; position: relative; padding: 0 0 0 26px; margin: 0 0 14px; font-size: 16px; line-height: 22px; color: #fff; cursor: pointer; }
.productView-details .product-option label[data-product-attribute-value]::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #8f8f8f; background: #fff; }
.productView-details .product-option label[data-product-attribute-value]::after { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.productView-details .product-option .form-radio:checked + label[data-product-attribute-value]::after { background: #f2bc1b; }
.productView-details .product-option .form-radio:checked + label[data-product-attribute-value] { color: #fff; }

/* 购物车（有商品时的原站 .cart 表格结构） */
.cart-page .cart-item-wrap { margin: 0 0 30px; }
.cart-page .cart-item-wrap .page-heading { margin: 0 0 6px; }
.cart-page .cart-count-note { color: #bbb; font-size: 15px; margin: 0; }
.cart-form { margin: 0 0 40px; }
.cart-table { width: 100%; border-collapse: collapse; background: #1b1b1b; border-radius: 10px; overflow: hidden; }
.cart-table th { text-align: left; font-family: "Josefin Sans", sans-serif; font-weight: 400; font-size: 18px; color: #fff; padding: 18px 20px; border-bottom: 1px solid #333; }
.cart-table td { padding: 18px 20px; vertical-align: middle; border-bottom: 1px solid #2a2a2a; color: #fff; }
.cart-item-figure { width: 130px; }
.cart-item-image img { display: block; width: 100px; height: 100px; object-fit: contain; border-radius: 10px; background: #111; }
.cart-item-name { color: #fff; font-family: Nunito, Arial, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.35; text-decoration: none; }
.cart-item-name:hover { color: var(--gold); }
.cart-item-options { font-size: 14px; color: #bbb; margin: 6px 0 0; }
.cart-item-actions { margin-top: 10px; }
.cart-remove { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #bbb; font-size: 14px; cursor: pointer; padding: 0; font-family: Nunito, Arial, sans-serif; }
.cart-remove .icon { width: 15px; height: 15px; display: inline-flex; }
.cart-remove .icon svg { width: 100%; height: 100%; fill: #bbb; }
.cart-remove:hover, .cart-remove:hover .icon svg { color: var(--gold); fill: var(--gold); }
.cart-item-label { display: none; }
.cart-item-value { font-size: 17px; font-weight: 700; color: var(--gold); font-family: Nunito, Arial, sans-serif; }
.cart-item-qty-input { width: 80px; height: 44px; text-align: center; }
.cart-actions { display: flex; justify-content: space-between; gap: 16px; padding: 20px; }
.cart-totals { max-width: 460px; margin: 0 0 60px auto; background: #1b1b1b; border-radius: 10px; padding: 22px 24px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #2a2a2a; }
.cart-total-title { margin: 0; font-family: Nunito, Arial, sans-serif; font-size: 16px; font-weight: 400; color: #fff; }
.cart-total-value { font-family: Nunito, Arial, sans-serif; font-size: 18px; font-weight: 700; color: var(--gold); }
.cart-total-grand .cart-total-value { font-size: 24px; }
.cart-totals .button--slab { display: block; width: 100%; margin: 18px 0 0; text-align: center; }
.cart-trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #aaa; margin: 16px 0 0; justify-content: center; }
.cart-trust svg { width: 14px; height: 14px; fill: var(--gold); }
@media (max-width: 767px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-item-figure { width: auto; }
  .cart-item-label { display: block; color: #999; font-size: 13px; margin-bottom: 4px; }
  .cart-totals { max-width: none; }
}

/* 注册页（原站 createaccount-page：居中标题 + 两列表单） */
.createaccount-page .container { padding: 0 15px; }
.createaccount-page .page-heading { text-align: center; font-family: "Josefin Sans", sans-serif; font-weight: 700; font-size: 48px; line-height: 58px; letter-spacing: -1.92px; margin: 6px 0 20px; }
.account.account--fixed { width: 940px; margin: 0 auto; }
.account--fixed .form-row--half { display: flex; flex-wrap: wrap; margin: 0 -10.5px; }
.account--fixed .form-row--half > .form-field { width: 50%; padding: 0 10.5px; margin: 0 0 21px; }
.account--fixed .form-label { display: block; color: #fff; font-size: 15px; font-weight: 400; line-height: 28px; margin: 0; }
.account--fixed .form-label small { color: #ff7464; font-size: 11px; }
.account--fixed .form-input, .account--fixed .form-select { width: 100%; height: 42px; padding: 10.5px 14px; border: 1px solid #8f8f8f; border-radius: 4px; background: transparent; color: #fff; font-size: 14px; }
.account--fixed .form-select { background-color: #222; padding-right: 42px; }
.account--fixed .form-actions { text-align: center; margin: 20px 0 60px; }
.account--fixed .form-actions .button { min-width: 192px; height: 45px; padding: 0 18px; }
@media (min-width: 1440px) { .createaccount-page .page-heading { font-size: 48px; } }
@media (max-width: 767px) { .account--fixed .form-row--half > .form-field { width: 100%; } .createaccount-page .page-heading { font-size: 30px; line-height: 34px; } }

/* 结算页 */
.checkout-page .page-title, .checkout-page .page .page-title { font-family: "Josefin Sans", sans-serif; font-size: 40px; font-weight: 700; letter-spacing: -1.92px; color: #fff; margin: 6px 0 24px; }
.checkout-page .checkout-block-title { color: #fff; }
.checkout-login { background: #1b1b1b; border-radius: 10px; padding: 14px 18px; }
.checkout-login p { margin: 0; color: #ddd; font-size: 14px; }
.checkout-block-title { font-family: "Josefin Sans", sans-serif; font-size: 24px; font-weight: 400; margin: 0 0 18px; }


/* 内容页（FAQ / 联系我们 / 售后等）：原站 .page-heading 居中 48px + 940px 居中内容 */
.Toys.page-page .page-title, .Toys.page_contact_form-page .page-title, .Toys.default-page .page-title,
.Toys.page-page h1, .Toys.page_contact_form-page h1 { font-family: "Josefin Sans", sans-serif; font-size: 48px; line-height: 58px; font-weight: 700; letter-spacing: -1.92px; color: #fff; text-align: center; margin: 0 0 20px; }
.Toys.page-page .site-page, .Toys.page_contact_form-page .site-page, .Toys.page-page .site-page { max-width: none; }
.Toys.page-page .page-content--centered, .Toys.page_contact_form-page .page-content--centered { max-width: 940px; margin: 0 auto; }
.Toys.page-page .content-lead { text-align: left; }

/* 原站内容页的目录链接：浅色小字、居中 */
.toc-links { text-align: center; font-size: 14px; line-height: 1.9; margin: 0 0 18px; }
.toc-links a { color: #ddd; text-decoration: none; }
.toc-links a:hover { color: var(--gold); }

/* 售后页正文中与原站一致的大标题（原站为 h1，这里降为 h2 显示，保持同一视觉且页面只有一个 h1） */
.page-page .page-content h2[style*="text-align: center"] { color: #fff; font-size: 24px; line-height: 1.3; margin: 0 0 14px; }

/* 联系 / 售后表单：按钮为原站的小号黄色按钮，成功提示为原站默认行内文字 */
.Toys.page-page .form-actions, .Toys.page_contact_form-page .form-actions { margin: 20px 0 0; }
/* 原站实测：172×48，padding 12px 32px，圆角 8px，金色渐变，18px 粗体黑字 */
.Toys.page-page .form-actions .button, .Toys.page_contact_form-page .form-actions .button,
.Toys.page-page .page-content input[type="submit"].button, .Toys.page_contact_form-page .page-content input[type="submit"].button,
.Toys.page-page .page-content .button--primary, .Toys.page_contact_form-page .page-content .button--primary { display: inline-block; width: auto; min-width: 0; height: 48px; padding: 12px 32px; margin: 0; border: 0; border-radius: 8px; font-family: Nunito, Arial, sans-serif; font-size: 18px; font-weight: 700; line-height: 24px; color: #000; background: linear-gradient(152deg, #f2e635 0, #f2bc1b 100%); cursor: pointer; }
.Toys.page-page .form-actions .button:hover, .Toys.page_contact_form-page .form-actions .button:hover { background: linear-gradient(152deg, #f2e635 0, #ffca2b 100%); }
[data-form-success-content] { margin: 0 0 12px; color: #fff; font-size: 15px; line-height: 1.6; }
[data-form-success-content] a { color: #ffca2b; }


/* 桌面端给主图预留固定展示区，切图时导航和缩略图不会上下跳动。 */
@media (min-width: 901px) {
  .productView .productView-image-and-heading { gap: 12px; padding-bottom: 0; border-bottom: 0; }
  .productView .productView-image-wrap { min-width: 0; flex: 0 1 auto; }
  .productView .productView-thumbnails-wrap { margin: 0; }
  .productView .productView-thumbnails { padding-bottom: 0; }
  .productView .productView-thumbnail-link { height: 66px; align-items: center; }
  .productView .productView-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
  .productView .productView-image {
    height: var(--product-main-height, min(520px, 50vh));
    justify-content: center;
  }
  .productView .productView-img-container { width: auto; max-width: 100%; height: 100%; }
  .productView .productView-image img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
}

/* 手机 / 平板商品页：覆盖桌面画廊的固定宽度和 flex 占位。 */
@media (max-width: 900px) {
  .productView { grid-template-columns: minmax(0, 1fr); width: 100%; box-sizing: border-box; margin: 16px auto !important; padding: 0 16px 24px; gap: 20px; }
  .productView .productView-images { padding: 0; background: transparent; }
  .productView .productView-image-and-heading { width: 100%; min-width: 0; padding-bottom: 0; border-bottom: 0; gap: 12px; }
  .productView .productView-image-wrap { min-width: 0; max-width: 100%; flex: 0 1 auto; }
  .productView .productView-thumbnails-and-heading { min-width: 0; flex: 0 1 auto; }
  .productView .productView-thumbnails-wrap { margin: 0; }
  .productView .productView-thumbnails { max-width: 100%; scroll-snap-type: x proximity; }
  .productView .productView-thumbnail { scroll-snap-align: start; }
  .productView .productView-image { border-radius: 12px; }
  .productView .productView-image img { max-width: 100%; }
  .productView .breadcrumbs { display: flex; flex-wrap: wrap; padding-top: 0; margin-bottom: 14px; overflow-wrap: anywhere; }
  .productView .breadcrumb { min-width: 0; }
  .productView .productView-detail { grid-column: 1; grid-row: auto; margin-top: 0; gap: 24px; }
  .productView .productView-price--heading .price-section [data-product-price-without-tax] { line-height: 1.2; overflow-wrap: anywhere; }
  .productView .productView-title { margin-bottom: 16px; overflow-wrap: anywhere; }
  .productView .product-production-date { margin: 18px 0; padding: 14px 0; font-size: 20px; overflow-wrap: anywhere; }
  .productView .productView-price--heading { border: 0; border-radius: 0; gap: 8px 16px; }
  .productView .productView-price--heading > .price-section { padding: 0; border: 0; justify-content: flex-start; }
  .productView .production-status { margin: 20px 0; padding: 18px 0; }
  .productView .production-status h2 { font-size: 20px; }
  .productView .production-stages li { min-width: 0; padding-inline: 3px; font-size: 10px; overflow-wrap: anywhere; }
  .productView .cart-buttons { padding: 16px 0; }
  .productView .cart-buttons > div { flex: 0 1 auto; }
  .productView #form-action-addToCart,
  .productView .button--buyItNow { min-height: 52px; padding: 14px 16px; margin: 0; border-radius: 8px; font-size: 16px; }
  .productView .share-inputs { flex-wrap: wrap; min-width: 0; }
  .productView .share-inputs input { min-width: 0; max-width: 100%; }
  .productView .form-options .form-label { overflow-wrap: anywhere; }
  .productView .description-text img { max-width: 100% !important; height: auto !important; }
  .productView .productView-description .tab .tab-title { min-width: 0; max-width: 100%; }
}


/* 右侧商品信息折叠面板；手机端自然跟随购买区域。 */
.productView .productView-details { display: none; }
.productView .productView-accordions { order: 3; width: 100%; min-width: 0; }
.product-detail-panel { border-top: 1px solid #444; }
.product-detail-panel:last-child { border-bottom: 1px solid #444; }
.product-detail-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 22px; font-weight: 700; }
.product-detail-panel > summary::-webkit-details-marker { display: none; }
.product-detail-panel > summary::after { content: '+'; font-size: 26px; }
.product-detail-panel[open] > summary::after { content: '−'; }
.product-detail-panel > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.product-detail-body { padding: 0 0 24px; line-height: 1.6; }
.productView .product-detail-body img { max-width: 100%; height: auto; }
.product-detail-body > :first-child { margin-top: 0; }


/* 下单选项：版本按钮、付款单选及数量，沿用深色青蓝主题。 */
.productView .product-option { display: flex; flex-direction: column; gap: 22px; }
.productView .product-option .form-field { margin: 0; min-width: 0; }
.productView .product-option .option-heading { display: block; margin: 0 0 12px; color: #eee; font-size: 14px; font-weight: 700; }
.productView .version-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.productView .product-option .form-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.productView .version-choice { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; margin: 0; border: 1px solid #555; border-radius: 6px; color: #ddd; cursor: pointer; overflow-wrap: anywhere; max-width: 100%; }
.productView .form-radio:checked + .version-choice { border-color: var(--gold); color: var(--gold); background: rgba(0,229,255,.08); }
.productView .form-radio:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.productView .version-choice:hover { border-color: var(--accent-hover); }
.productView .payment-choice { display: flex; align-items: center; margin: 10px 0; }
.productView .product-payment[hidden], .productView .payment-choice[hidden] { display: none; }
.productView .payment-choice label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; position: relative; padding-left: 28px; min-height: 32px; color: #ddd; cursor: pointer; }
.productView .payment-choice label::before { content: ''; position: absolute; left: 0; width: 16px; height: 16px; border: 1px solid #888; border-radius: 50%; }
.productView .payment-choice input:checked + label::before { border: 4px solid var(--gold); }
.productView .payment-choice input:checked + label { color: var(--gold); }
.productView .version-choice { min-width: 0; }
.productView .form-radio[data-version-stock="0"] + .version-choice { opacity: .65; }
.productView .cart-buttons #form-action-addToCart:disabled { cursor: not-allowed; opacity: .58; }
.productView .payment-choice label span { font-size: 13px; color: #aaa; }
/* 购买区：三格数量控件和胶囊形加购按钮同排、等高。 */
.productView .cart-buttons { display: flex; flex-flow: row nowrap; align-items: stretch; gap: 12px; padding: 24px 0 0; }
.productView .cart-buttons > div { width: auto; }
.productView .cart-buttons .product-quantity {
  flex: 0 0 116px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px; border: 1px solid #666; border-radius: 4px;
}
.productView .product-quantity button { min-width: 0; padding: 0; background: none; color: #eee; border: 0; cursor: pointer; font: inherit; font-size: 20px; }
.productView .product-quantity button:hover { color: var(--gold); }
.productView .product-quantity input {
  width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; border-inline: 1px solid #666;
  border-radius: 0; background: none; color: #fff; text-align: center; font: inherit; appearance: textfield;
}
.productView .product-quantity input::-webkit-inner-spin-button,
.productView .product-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.productView .cart-buttons .add-to-cart-buttons { display: flex; flex: 0 1 auto; min-width: 0; }
.productView .cart-buttons #form-action-addToCart {
  min-height: 44px; margin: 0; padding: 0 24px; border-radius: 999px;
  background: #f59a23; color: #111; font-size: 14px; line-height: 1.2;
}
.productView .cart-buttons #form-action-addToCart:hover { background: #ffae42; }
.productView .cart-buttons button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.productView .production-status { margin-top: 28px; }
@media (max-width: 480px) {
  .productView .cart-buttons { gap: 8px; }
  .productView .cart-buttons .product-quantity { flex-basis: 102px; }
  .productView .cart-buttons #form-action-addToCart { padding-inline: 12px; }
  .productView .version-choice { padding: 10px 12px; font-size: 13px; }
}
