/* Catalogue cards: product data stays in WooCommerce, detailed choices stay on product pages. */
.btc-template-cleanup ul.products li.product .mfn-variations-wrapper-loop,
.btc-template-cleanup ul.products li.product .mfn-vr,
.btc-template-cleanup ul.products li.product select,
.btc-template-cleanup ul.products li.product .btc-product-spec,
.btc-template-cleanup ul.products li.product .btc-product-context,
.btc-template-cleanup ul.products li.product .btc-detail-link,
.btc-template-cleanup ul.products li.product .mfn-wish-button,
.btc-template-cleanup ul.products li.product [class*="quick-view"],
.btc-template-cleanup ul.products li.product [class*="quickview"] { display:none!important; }

.btc-template-cleanup ul.products li.product .button,
.btc-template-cleanup ul.products li.product .button-list { display:flex!important; }
.btc-template-cleanup ul.products li.product .button {
  min-height:44px;align-items:center;justify-content:center;padding:0 20px!important;
  background:#1b211e!important;color:#fff!important;font-size:12px;font-weight:700;
}

/* Product summary: one hierarchy and one variation interface. */
.btc-template-cleanup.single-product div.product div.summary {
  display:flex!important;flex-direction:column!important;text-align:left!important;
}
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;
}
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > .btc-clean-product-category { order:1; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > .product_title { order:2;text-align:left!important; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > .price { order:3;text-align:left!important; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > .woocommerce-product-details__short-description { order:4;text-align:left!important; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > form.cart { order:5; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > .product_meta { order:6;text-align:left!important; }
.btc-template-cleanup.single-product .entry-summary > .mcb-column-inner > *:not(.btc-clean-product-category):not(.product_title):not(.price):not(.woocommerce-product-details__short-description):not(form.cart):not(.product_meta) { order:7; }
.btc-template-cleanup.single-product .entry-summary h1,
.btc-template-cleanup.single-product .entry-summary .woocommerce-product-details__short-description,
.btc-template-cleanup.single-product .entry-summary .woocommerce-product-details__short-description p { text-align:left!important; }
.btc-template-cleanup.single-product div.product div.summary .btc-clean-product-category { order:1; }
.btc-template-cleanup.single-product div.product div.summary .product_title { order:2;text-align:left!important; }
.btc-template-cleanup.single-product div.product div.summary > .price { order:3;text-align:left!important; }
.btc-template-cleanup.single-product div.product div.summary .woocommerce-product-details__short-description { order:4;text-align:left!important; }
.btc-template-cleanup.single-product div.product div.summary form.cart { order:5; }
.btc-template-cleanup.single-product div.product div.summary .product_meta { order:6;text-align:left!important; }
.btc-template-cleanup.single-product div.product div.summary > *:not(.btc-clean-product-category):not(.product_title):not(.price):not(.woocommerce-product-details__short-description):not(form.cart):not(.product_meta) { order:7; }
.btc-template-cleanup.single-product div.product div.summary h1,
.btc-template-cleanup.single-product div.product div.summary > p,
.btc-template-cleanup.single-product div.product div.summary .woocommerce-product-details__short-description,
.btc-template-cleanup.single-product div.product div.summary .woocommerce-product-details__short-description p,
.btc-template-cleanup.single-product .btc-variation-field legend { text-align:left!important; }
.btc-template-cleanup.single-product .btc-clean-product-category {
  margin:0 0 10px;color:#69716c;font-size:12px;font-weight:700;text-transform:uppercase;
}
.btc-template-cleanup.single-product .btc-clean-product-category a { color:inherit; }
.btc-template-cleanup.single-product .btc-purchase-specs,
.btc-template-cleanup.single-product .btc-purchase-guide,
.btc-template-cleanup.single-product form.variations_form > .mfn-variations-wrapper,
.btc-template-cleanup.single-product form.variations_form table.variations,
.btc-template-cleanup.single-product form.variations_form > .btc-style-swatches { display:none!important; }
.btc-template-cleanup.single-product .summary .product_meta,
.btc-template-cleanup.single-product .entry-summary .product_meta { margin-top:18px;padding-top:16px;border-top:1px solid #e2e3de; }
.btc-template-cleanup.single-product .entry-summary .mfn-wish-button,
.btc-template-cleanup.single-product .entry-summary .tagged_as { display:none!important; }

/* BTCTOOL Global Product Options V1. Native Woo selects remain the data source. */
.btc-golden-product .btc-product-options { display:grid;gap:20px;margin:22px 0 10px; }
.btc-golden-product .btc-variation-field { min-width:0;margin:0;padding:0;border:0; }
.btc-golden-product .btc-variation-field legend {
  margin:0 0 9px;color:#1b211e;font-size:13px;font-weight:700;text-align:left!important;text-transform:uppercase;
}
.btc-golden-product .btc-size-options .btc-variation-options {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
.btc-golden-product .btc-frame-options .btc-variation-options {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
}
.btc-golden-product .btc-option-button {
  width:100%;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #cfd2cd;border-radius:2px;
  background:#fff;color:#1b211e;font:inherit;font-size:13px;line-height:1.3;text-align:center;cursor:pointer;
}
.btc-golden-product .btc-frame-options .btc-option-button { min-height:64px;padding:11px 14px;text-align:left; }
.btc-golden-product .btc-frame-options .btc-option-button span { display:grid;gap:3px; }
.btc-golden-product .btc-frame-options .btc-option-button strong { font-size:12px;font-weight:700;letter-spacing:0; }
.btc-golden-product .btc-frame-options .btc-option-button small { color:#66706a;font-size:12px;line-height:1.4; }
.btc-golden-product .btc-option-button:hover,
.btc-golden-product .btc-option-button:focus-visible { border-color:#34483f;outline:none; }
.btc-golden-product .btc-option-button.is-active {
  border-color:#1b211e!important;background:#1b211e!important;color:#fff!important;box-shadow:0 0 0 1px #1b211e;
}
.btc-golden-product .btc-frame-options .btc-option-button.is-active small { color:#eef0ed; }
.btc-golden-product .btc-option-button:disabled { cursor:not-allowed;opacity:.34; }
.btc-golden-product .btc-product-options-clear {
  margin:0 0 8px;padding:0;border:0;background:transparent;color:#646862;font-size:12px;text-decoration:underline;
  text-underline-offset:2px;cursor:pointer;
}
.btc-golden-product .btc-product-options-clear[hidden] { display:none!important; }
.btc-golden-product .btc-selected-variation-price {
  margin:2px 0 13px;color:#34483f;font-size:22px;font-weight:700;line-height:1.3;
}
.btc-golden-product .btc-selected-variation-price[hidden] { display:none!important; }
.btc-golden-product .btc-selected-variation-price .price { color:inherit!important;font-size:inherit!important; }
.btc-golden-product .btc-variation-prompt { margin:10px 0 0;color:#69716c;font-size:13px;line-height:1.45; }
.btc-golden-product .btc-variation-prompt[hidden] { display:none!important; }
.btc-golden-product.btc-golden-variation-chosen .entry-summary > .mcb-column-inner > .price { display:none!important; }
.btc-golden-product:not(.btc-golden-variation-chosen) form.variations_form .single_variation { display:none!important; }
.btc-golden-product.btc-golden-variation-chosen form.variations_form .single_variation {
  display:block!important;height:auto!important;min-height:36px;overflow:visible!important;margin-bottom:13px;
}
.btc-golden-product .single_variation_wrap .woocommerce-variation-add-to-cart {
  display:grid!important;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:stretch;
}
.btc-golden-product .single_variation_wrap .quantity { width:130px!important;height:52px;margin:0!important; }
.btc-golden-product .single_add_to_cart_button {
  width:100%!important;min-width:0!important;min-height:50px!important;margin:0!important;
  border-radius:2px!important;background:#1b211e!important;color:#fff!important;
}
.btc-golden-product .single_add_to_cart_button.disabled,
.btc-golden-product .single_add_to_cart_button:disabled { background:#b7b9b5!important;color:#fff!important;opacity:1!important; }

.btc-variation-picker { display:grid;gap:20px;margin:22px 0 20px; }
.btc-variation-field { min-width:0;margin:0;padding:0;border:0; }
.btc-variation-field legend { margin:0 0 9px;color:#1b211e;font-size:13px;font-weight:700;text-transform:uppercase; }
.btc-variation-options { display:flex;flex-wrap:wrap;gap:8px; }
.btc-variation-option {
  min-height:42px;max-width:100%;padding:8px 13px;border:1px solid #cfd2cd;background:#fff;
  color:#1b211e;font:inherit;font-size:13px;line-height:1.25;text-align:center;cursor:pointer;
}
.btc-variation-option:hover,.btc-variation-option:focus-visible { border-color:#34483f;outline:none; }
.btc-variation-option.is-active { border-color:#1b211e;background:#1b211e;color:#fff;box-shadow:0 0 0 1px #1b211e; }
.btc-variation-option:disabled { cursor:not-allowed;opacity:.34; }
.btc-variation-style .btc-variation-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.btc-variation-style .btc-variation-option.has-image { display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:11px;padding:7px;text-align:left; }
.btc-variation-style .btc-variation-option img { display:block;width:72px;height:72px;object-fit:cover;background:#f1f0eb; }
.btc-template-cleanup.single-product .woocommerce-variation-price { margin:0 0 13px;font-size:22px;font-weight:700;color:#34483f; }
.btc-template-cleanup.single-product .single_variation_wrap .woocommerce-variation-availability { margin-bottom:10px; }
.btc-template-cleanup.single-product .single_add_to_cart_button { min-width:220px; }

/* Keep the product details calm and remove empty theme chrome. */
.btc-template-cleanup.single-product .woocommerce-tabs ul.tabs,
.btc-template-cleanup.single-product .woocommerce-tabs .panel > h2:first-child { display:none!important; }

/* Global Golden Product long-content standard, including legacy normalized markup. */
.btc-template-cleanup.single-product .product-section {
  width:calc(100% - 80px);max-width:1120px;margin:0 auto;padding:64px 0;
  border-top:1px solid #e5e4df;box-sizing:border-box;
}
.btc-template-cleanup.single-product .product-section:first-child { border-top:0; }
.btc-template-cleanup.single-product .product-section h2 {
  margin:0 0 18px;font-size:28px;line-height:1.25;letter-spacing:0;
}
.btc-template-cleanup.single-product .product-section p {
  max-width:860px;color:#4f5853;font-size:16px;line-height:1.8;
}
.btc-template-cleanup.single-product .product-section img,
.btc-template-cleanup.single-product .product-section figure { max-width:100%;height:auto; }
.btc-template-cleanup.single-product .product-spec-table,
.btc-template-cleanup.single-product .size-guide-table {
  width:100%;max-width:860px;border-collapse:collapse;table-layout:auto;
}
.btc-template-cleanup.single-product .product-spec-table th,
.btc-template-cleanup.single-product .product-spec-table td,
.btc-template-cleanup.single-product .size-guide-table th,
.btc-template-cleanup.single-product .size-guide-table td {
  padding:13px 14px;border-bottom:1px solid #e5e4df;text-align:left;vertical-align:top;
  overflow-wrap:anywhere;
}
.btc-template-cleanup.single-product .product-spec-table th { width:31%;color:#242b27; }
.btc-template-cleanup.single-product .btc-risk-accordions,
.btc-template-cleanup.single-product .btc-product-faq { max-width:900px; }
.btc-template-cleanup.single-product .btc-risk-accordions details,
.btc-template-cleanup.single-product .btc-product-faq details { position:relative;border-top:1px solid #dedfd9; }
.btc-template-cleanup.single-product .btc-risk-accordions details:last-child,
.btc-template-cleanup.single-product .btc-product-faq details:last-child { border-bottom:1px solid #dedfd9; }
.btc-template-cleanup.single-product .btc-risk-accordions summary,
.btc-template-cleanup.single-product .btc-product-faq summary {
  cursor:pointer;list-style:none;padding:17px 34px 17px 0;color:#242b27;
  font-size:15px;font-weight:700;line-height:1.45;
}
.btc-template-cleanup.single-product .btc-risk-accordions summary::-webkit-details-marker,
.btc-template-cleanup.single-product .btc-product-faq summary::-webkit-details-marker { display:none; }
.btc-template-cleanup.single-product .btc-risk-accordions details:after,
.btc-template-cleanup.single-product .btc-product-faq details:after {
  content:"+";position:absolute;right:4px;top:15px;color:#6b736e;font-size:20px;pointer-events:none;
}
.btc-template-cleanup.single-product .btc-risk-accordions details[open]:after,
.btc-template-cleanup.single-product .btc-product-faq details[open]:after { content:"−"; }
.btc-template-cleanup.single-product .btc-risk-accordions .btc-accordion-body,
.btc-template-cleanup.single-product .btc-product-faq .btc-accordion-body { padding:0 34px 20px 0; }
.btc-template-cleanup.single-product .btc-risk-accordions .btc-accordion-body p,
.btc-template-cleanup.single-product .btc-product-faq details p {
  margin:0 0 12px;padding:0;font-size:15px;line-height:1.7;
}

/* BTCTOOL Global Related Products V1. Reuses the standard Woo loop card and media treatment. */
.btc-template-cleanup.single-product section.related.products {
  clear:both;width:100%;max-width:none;margin:0!important;padding:20px 0 0!important;
  background:transparent;border:0;box-shadow:none;
}
.btc-template-cleanup.single-product section.related.products > h2,
.btc-template-cleanup.single-product section.related.products > h3 {
  margin:0 0 30px!important;color:inherit;font-size:30px!important;font-weight:600;line-height:1.2;
  letter-spacing:0;text-align:left;text-transform:none;
}
.btc-template-cleanup.single-product section.related.products .products_wrapper { width:100%;margin:0;padding:0; }
.btc-template-cleanup.single-product section.related.products ul.products {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:44px 26px!important;width:100%;margin:0!important;padding:0!important;
}
.btc-template-cleanup.single-product section.related.products ul.products::before,
.btc-template-cleanup.single-product section.related.products ul.products::after { display:none!important;content:none!important; }
.btc-template-cleanup.single-product section.related.products ul.products > li.product {
  display:flex!important;float:none!important;flex-direction:column;width:auto!important;min-width:0!important;
  max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
.btc-template-cleanup.single-product section.related.products li.product .image-secondary,
.btc-template-cleanup.single-product section.related.products li.product .image_links,
.btc-template-cleanup.single-product section.related.products li.product .onsale,
.btc-template-cleanup.single-product section.related.products li.product .mfn-wish-button,
.btc-template-cleanup.single-product section.related.products li.product [class*="wishlist"],
.btc-template-cleanup.single-product section.related.products li.product [class*="compare"],
.btc-template-cleanup.single-product section.related.products li.product [class*="share"],
.btc-template-cleanup.single-product section.related.products li.product [class*="quick-view"],
.btc-template-cleanup.single-product section.related.products li.product [class*="quickview"],
.btc-template-cleanup.single-product section.related.products li.product .button-list,
.btc-template-cleanup.single-product section.related.products li.product .button,
.btc-template-cleanup.single-product section.related.products li.product .added_to_cart,
.btc-template-cleanup.single-product section.related.products li.product .mfn-variations-wrapper-loop,
.btc-template-cleanup.single-product section.related.products li.product .star-rating { display:none!important; }
.btc-template-cleanup.single-product section.related.products li.product .mfn-woo-product-title a:focus-visible,
.btc-template-cleanup.single-product section.related.products li.product .woocommerce-loop-product__title a:focus-visible {
  outline:2px solid currentColor;outline-offset:3px;
}

@media (max-width:1000px) {
  .btc-template-cleanup.single-product div.product div.images,
  .btc-template-cleanup.single-product div.product div.summary { width:100%!important;float:none!important; }
  .btc-template-cleanup.single-product div.product div.summary { margin-top:32px; }
  .btc-template-cleanup.single-product .product-section { width:calc(100% - 48px); }
  .btc-template-cleanup.single-product section.related.products { padding:20px 0 0!important; }
  .btc-template-cleanup.single-product section.related.products ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:44px 22px!important;
  }
}

@media (max-width:620px) {
  .btc-template-cleanup.single-product .product-section { width:calc(100% - 36px);padding:50px 0; }
  .btc-template-cleanup.single-product .product-section h2 { font-size:22px; }
  .btc-template-cleanup.single-product .product-section p { font-size:15px;line-height:1.75; }
  .btc-template-cleanup.single-product .product-spec-table,
  .btc-template-cleanup.single-product .size-guide-table { width:100%;max-width:100%;table-layout:fixed; }
  .btc-variation-picker { gap:18px;margin-top:18px; }
  .btc-variation-style .btc-variation-options { grid-template-columns:1fr 1fr; }
  .btc-variation-style .btc-variation-option.has-image { grid-template-columns:1fr;gap:7px;text-align:center; }
  .btc-variation-style .btc-variation-option img { width:100%;height:auto;aspect-ratio:1/1;object-fit:cover; }
  .btc-variation-option { min-height:44px;padding:8px 11px;font-size:12px;overflow-wrap:anywhere; }
  .btc-template-cleanup.single-product .single_variation_wrap .woocommerce-variation-add-to-cart { display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:10px; }
  .btc-template-cleanup.single-product .single_variation_wrap .quantity { width:96px!important;margin:0!important; }
  .btc-template-cleanup.single-product .single_add_to_cart_button { width:100%!important;min-width:0!important;margin:0!important; }
  .btc-golden-product .btc-size-options .btc-variation-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .btc-golden-product .btc-frame-options .btc-variation-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .btc-golden-product .btc-option-button { min-height:44px;padding:8px 10px;font-size:12px;overflow-wrap:anywhere; }
  .btc-golden-product .btc-frame-options .btc-option-button { min-height:64px;padding:10px; }
  .btc-golden-product .single_variation_wrap .woocommerce-variation-add-to-cart {
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
  }
  .btc-golden-product .single_variation_wrap .quantity { width:96px!important;margin:0!important; }
  .btc-template-cleanup.single-product section.related.products { padding:20px 0 0!important; }
  .btc-template-cleanup.single-product section.related.products > h2,
  .btc-template-cleanup.single-product section.related.products > h3 { margin-bottom:22px!important;font-size:26px!important; }
  .btc-template-cleanup.single-product section.related.products ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 14px!important;
  }
}
