/*
 * Tan Bao Phat canonical WooCommerce layer.
 *
 * Ownership:
 * - WooCommerce and Blocksy own native markup and behavior.
 * - Server-side WooCommerce hooks own TBP sidebar, pills and sticky CTA markup.
 * - This file owns Shop, Single Product and shared WooCommerce presentation.
 *
 * Generated from active and conditional-valid rules in Customizer CSS ID 8.
 * Runtime cutover is intentionally deferred; legacy sources remain active.
 */

/* ===== SHARED WOO ===== */

.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important; padding: 0 !important;
  list-style: none !important; clear: both !important;
}

body.single-product section.related.products {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.single-product section.related.products ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  padding-inline: 0 !important;
}

.woocommerce-page ul.products li.product {
  background: #fff !important; border: 1px solid #e5e7eb !important;
  border-radius: 12px !important; overflow: hidden !important;
  margin: 0 !important; padding: 0 !important;
  display: flex !important; flex-direction: column !important;
  transition: box-shadow .2s, transform .2s !important;
  width: auto !important; float: none !important;
}

.woocommerce-page ul.products li.product:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09) !important; transform: translateY(-2px) !important; }

.woocommerce-page ul.products li.product a.woocommerce-loop-product__link { display: block !important; }

.woocommerce-page ul.products li.product a img {
  width: 100% !important; aspect-ratio: 1/1 !important;
  object-fit: cover !important; display: block !important; transition: transform .3s !important;
}

.woocommerce-page ul.products li.product:hover a img { transform: scale(1.04) !important; }

.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px !important; font-weight: 700 !important;
  color: #111827 !important; line-height: 1.4 !important;
  padding: 12px 12px 4px !important; margin: 0 !important;
}

.woocommerce-page ul.products li.product .ct-woo-card-extra {
  font-size: 10px !important; color: #9ca3af !important;
  text-transform: uppercase !important; letter-spacing: .5px !important;
  padding: 0 12px 4px !important; display: block !important;
}

.woocommerce-page ul.products li.product .posted_in {
  font-size: 10px !important; color: #9ca3af !important;
  text-transform: uppercase !important; letter-spacing: .5px !important;
  padding: 0 12px 4px !important; display: block !important;
}

.woocommerce-page ul.products li.product .ct-woo-card-extra a { color: #9ca3af !important; text-decoration: none !important; }

.woocommerce-page ul.products li.product .posted_in a { color: #9ca3af !important; text-decoration: none !important; }

.woocommerce-page ul.products li.product .price {
  font-size: 14px !important; font-weight: 700 !important;
  color: #ea580c !important; padding: 0 12px 4px !important;
  display: block !important; margin: 0 !important;
}

.woocommerce-page ul.products li.product .button {
  display: block !important; margin: auto 12px 12px !important;
  padding: 9px 12px !important; background: #ea580c !important;
  color: #fff !important; border-radius: 7px !important;
  font-size: 12px !important; font-weight: 700 !important;
  text-align: center !important; text-decoration: none !important;
  border: none !important; cursor: pointer !important;
  transition: background .15s !important; letter-spacing: .2px !important;
}

.woocommerce-page ul.products li.product a.button {
  display: block !important; margin: auto 12px 12px !important;
  padding: 9px 12px !important; background: #ea580c !important;
  color: #fff !important; border-radius: 7px !important;
  font-size: 12px !important; font-weight: 700 !important;
  text-align: center !important; text-decoration: none !important;
  border: none !important; cursor: pointer !important;
  transition: background .15s !important; letter-spacing: .2px !important;
}

.woocommerce-page ul.products li.product .button:hover { background: #c2410c !important; color: #fff !important; }

.woocommerce-page ul.products li.product a.button:hover { background: #c2410c !important; color: #fff !important; }

.woocommerce-page [class*="hero-section"] { display: none !important; }

@media (max-width: 900px) {
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 12px !important; }

  .woocommerce-page ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 12px !important; }

  .woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 11px !important; padding: 8px 8px 2px !important; }

  .woocommerce-page ul.products li.product .entry-meta { display: none !important; }

  .woocommerce-page ul.products li.product .ct-woo-card-extra { display: none !important; }

  .woocommerce-page ul.products li.product .posted_in { display: none !important; }

  .woocommerce-page ul.products li.product .ct-woo-card-actions { display: none !important; }

  .woocommerce-page ul.products li.product .button { margin: 4px 8px 8px !important; padding: 8px 6px !important; font-size: 11px !important; }

  .woocommerce-page ul.products li.product a.button { margin: 4px 8px 8px !important; padding: 8px 6px !important; font-size: 11px !important; }
}

@media (max-width: 1023px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.single-product section.related.products {
    width: calc(100% - 28px) !important;
  }

  body.single-product section.related.products ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .woocommerce-page ul.products { gap: 8px !important; padding: 0 10px !important; }

  body.single-product section.related.products {
    width: calc(100% - 24px) !important;
  }
}

/* ===== SHOP ARCHIVE ===== */

.tbp-shop-wrap {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 28px !important;
  align-items: start !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  padding: 28px 0 48px !important;
  box-sizing: border-box !important;
}

.tbp-shop-main { min-width: 0; }

.tbp-shop-sidebar {
  position: sticky !important;
  top: 100px !important;
}

.tbp-shop-sidebar__inner { display: flex; flex-direction: column; gap: 16px; }

.tbp-shop-sidebar__box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.tbp-shop-sidebar__title {
  font-size: 11px !important; font-weight: 700 !important;
  color: #6b7280 !important; text-transform: uppercase !important;
  letter-spacing: .7px !important; margin: 0 0 10px !important;
  padding: 0 !important; border: none !important;
}

.tbp-shop-sidebar__list { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.tbp-shop-sidebar__list li { border-bottom: 1px solid #f3f4f6 !important; }

.tbp-shop-sidebar__list li:last-child { border-bottom: none !important; }

.tbp-shop-sidebar__list a {
  display: flex !important; align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 2px !important; font-size: 13px !important; font-weight: 500 !important;
  color: #374151 !important; text-decoration: none !important; transition: color .15s !important;
}

.tbp-shop-sidebar__list a:hover { color: #ea580c !important; }

.tbp-shop-sidebar__arrow { color: #d1d5db; font-size: 16px; transition: color .15s, transform .15s; }

.tbp-shop-sidebar__list a:hover .tbp-shop-sidebar__arrow { color: #ea580c; transform: translateX(2px); }

.tbp-shop-sidebar__cta { background: #0f172a; border-radius: 12px; padding: 18px 16px; text-align: center; }

.tbp-shop-sidebar__cta-label {
  font-size: 12px !important; font-weight: 600 !important;
  color: rgba(255,255,255,.7) !important; margin: 0 0 12px !important;
}

.tbp-shop-sidebar__cta-btn {
  display: block !important; padding: 10px 12px !important;
  border-radius: 8px !important; font-size: 13px !important;
  font-weight: 700 !important; text-decoration: none !important;
  text-align: center !important; margin-bottom: 8px !important; transition: opacity .15s !important;
}

.tbp-shop-sidebar__cta-btn:hover { opacity: .9 !important; }

.tbp-shop-sidebar__cta-btn--call { background: #ea580c !important; color: #fff !important; }

.tbp-shop-sidebar__cta-btn--zalo { background: #0068ff !important; color: #fff !important; }

.tbp-shop-sidebar__cta-hours { font-size: 11px !important; color: rgba(255,255,255,.45) !important; margin: 8px 0 0 !important; }

.woocommerce-page .woocommerce-result-count { font-size: 13px; color: #9ca3af; margin: 0 0 16px; line-height: 36px; }

.woocommerce-page .woocommerce-ordering { float: right; margin: 0 0 16px; }

.woocommerce-page .woocommerce-ordering select {
  font-size: 13px; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 7px 28px 7px 10px; color: #374151; background: #fff; cursor: pointer;
}

.woocommerce-page .woocommerce-pagination { margin: 36px 0 0; text-align: center; clear: both; }

.woocommerce-page .woocommerce-pagination ul { display: inline-flex; gap: 5px; list-style: none; padding: 0; margin: 0; }

.woocommerce-page .woocommerce-pagination ul li a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px;
  border: 1px solid #e5e7eb; font-size: 13px; color: #374151; text-decoration: none; transition: all .15s;
}

.woocommerce-page .woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px;
  border: 1px solid #e5e7eb; font-size: 13px; color: #374151; text-decoration: none; transition: all .15s;
}

.woocommerce-page .woocommerce-pagination ul li a:hover { border-color: #ea580c; color: #ea580c; }

.woocommerce-page .woocommerce-pagination ul li span.current { background: #ea580c; border-color: #ea580c; color: #fff; font-weight: 700; }

.tbp-filter-pills {
  display: none; gap: 8px; overflow-x: auto;
  padding: 10px 12px 6px; list-style: none; margin: 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}

.tbp-filter-pills::-webkit-scrollbar { display: none; }

.tbp-filter-pill {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 20px;
  border: 1px solid #e5e7eb; background: #fff;
  font-size: 12px; font-weight: 600; color: #374151;
  text-decoration: none; white-space: nowrap;
}

.tbp-filter-pill--active { background: #ea580c; border-color: #ea580c; color: #fff; }

.tbp-filter-pill:active { background: #ea580c; border-color: #ea580c; color: #fff; }

.woocommerce-page .woocommerce-products-header { display: none !important; }

.woocommerce-page .woocommerce-info {
  border-top: none !important; border-left: 4px solid #ea580c !important;
  background: #fff7ed !important; color: #92400e;
  border-radius: 8px; padding: 14px 18px; font-size: 14px;
}

.woocommerce-page .woocommerce-info::before { display: none !important; }

nav.woocommerce-breadcrumb { font-size: 13px; color: #9ca3af; padding: 14px 0 0; margin: 0; display: block; }

nav.woocommerce-breadcrumb a { color: #ea580c; text-decoration: none; }

nav.woocommerce-breadcrumb a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .tbp-shop-sidebar { display: none !important; }

  .tbp-shop-wrap {
    grid-template-columns: 1fr !important;
    width: calc(100% - 28px) !important;
    padding: 0 0 32px !important;
    gap: 0 !important;
  }

  .tbp-shop-main { margin-top: 0 !important; }

  .tbp-filter-pills { display: flex !important; }

  .woocommerce-page .woocommerce-result-count {
    font-size: 11px !important; display: block !important; padding: 8px 12px 0 !important; margin: 0 !important;
  }

  .woocommerce-page .woocommerce-ordering {
    float: none !important; display: block !important; padding: 4px 12px 10px !important; margin: 0 !important;
  }

  .woocommerce-page .woocommerce-ordering select { width: 100% !important; font-size: 12px !important; }
}

@media (max-width: 480px) {
  .tbp-shop-wrap {
    width: calc(100% - 24px) !important;
  }
}

/* ===== SINGLE PRODUCT ===== */

.single-product .tbp-product-breadcrumb {
  margin: 0 0 10px;
}

.single-product .tbp-product-breadcrumb .ct-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.single-product .tbp-product-breadcrumb .ct-breadcrumbs a {
  color: #ea580c;
  text-decoration: none;
}

.single-product .tbp-product-breadcrumb .ct-breadcrumbs a:hover {
  text-decoration: underline;
}

body.single-product div.product.type-product {
  display: flex !important;
  flex-direction: column !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.single-product .product-entry-wrapper {
  display: flex !important;
  flex-direction: row !important;
  gap: 48px !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 32px 24px !important;
  box-sizing: border-box !important;
  flex: none !important;
}

body.single-product .woocommerce-product-gallery {
  flex: 0 0 440px !important;
  width: 440px !important;
  max-width: 440px !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  border-radius: 16px !important;
  overflow: hidden !important;
  max-height: 400px !important;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport img {
  width: 100% !important;
  max-height: 400px !important;
  object-fit: cover !important;
}

body.single-product .woocommerce-product-gallery figure {
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery figure img {
  max-height: 400px !important;
  width: 100% !important;
  object-fit: cover !important;
}

body.single-product .flex-control-thumbs {
  display: flex !important; gap: 8px !important;
  margin-top: 10px !important; list-style: none !important;
  padding: 0 !important; flex-wrap: wrap !important;
}

body.single-product .flex-control-thumbs li { flex: 0 0 72px !important; }

body.single-product .flex-control-thumbs li img {
  width: 72px !important; height: 72px !important;
  object-fit: cover !important; border-radius: 8px !important;
  border: 2px solid #e5e7eb !important; cursor: pointer !important;
  transition: border-color .15s !important;
}

body.single-product .flex-control-thumbs li img.flex-active { border-color: #ea580c !important; }

body.single-product .flex-control-thumbs li img:hover { border-color: #ea580c !important; }

body.single-product .summary.entry-summary {
  flex: 1 1 0 !important;
  min-width: 200px !important;
  width: 0 !important;
  max-width: none !important;
  padding: 4px 0 0 !important;
}

body.single-product .summary h1.product_title {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  font-weight: 800 !important; color: #0f172a !important;
  line-height: 1.3 !important; margin: 0 0 6px !important;
}

body.single-product .summary h1.product_title::before {
  content: 'Maxxis';
  display: inline-block;
  font-size: 10px; font-weight: 700;
  background: #fff7ed; color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 4px; padding: 2px 8px;
  letter-spacing: .4px; text-transform: uppercase;
  vertical-align: middle; margin-right: 8px; margin-bottom: 2px;
}

body.single-product .summary .price {
  font-size: 1.3rem !important; font-weight: 800 !important;
  color: #ea580c !important; margin: 12px 0 !important; display: block !important;
}

body.single-product .summary .price del {
  font-size: .9rem !important; color: #9ca3af !important; font-weight: 400 !important; margin-right: 6px !important;
}

body.single-product .summary .woocommerce-product-details__short-description {
  font-size: 14px !important; color: #4b5563 !important;
  line-height: 1.75 !important; margin: 0 0 18px !important;
}

body.single-product .summary .woocommerce-product-details__short-description p { margin: 0 0 8px !important; }

body.single-product .ct-product-divider {
  display: block !important; height: 1px !important;
  background: #f1f5f9 !important; margin: 16px 0 !important;
  width: 100% !important;
}

body.single-product .ct-product-add-to-cart { margin: 0 !important; }

body.single-product .ct-cart-actions {
  display: flex !important; align-items: center !important;
  gap: 12px !important; flex-wrap: wrap !important;
}

body.single-product .quantity {
  display: flex !important; align-items: center !important;
  border: 1px solid #e5e7eb !important; border-radius: 8px !important;
  overflow: hidden !important; height: 44px !important;
}

body.single-product .quantity input.qty {
  width: 48px !important; text-align: center !important;
  border: none !important; font-size: 15px !important;
  font-weight: 600 !important; color: #0f172a !important;
  background: #fff !important;
}

body.single-product .quantity .ct-increase {
  width: 36px !important; height: 44px !important;
  background: #f8fafc !important; cursor: pointer !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important; font-size: 16px !important;
  color: #6b7280 !important; transition: background .15s !important;
}

body.single-product .quantity .ct-decrease {
  width: 36px !important; height: 44px !important;
  background: #f8fafc !important; cursor: pointer !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important; font-size: 16px !important;
  color: #6b7280 !important; transition: background .15s !important;
}

body.single-product .quantity .ct-increase:hover { background: #f1f5f9 !important; color: #0f172a !important; }

body.single-product .quantity .ct-decrease:hover { background: #f1f5f9 !important; color: #0f172a !important; }

body.single-product .summary .cart .single_add_to_cart_button {
  flex: 1 !important; height: 44px !important;
  background: #ea580c !important; color: #fff !important;
  border: none !important; border-radius: 8px !important;
  font-size: 15px !important; font-weight: 700 !important;
  cursor: pointer !important; transition: background .15s !important;
  min-width: 140px !important;
}

body.single-product .summary .cart button.single_add_to_cart_button {
  flex: 1 !important; height: 44px !important;
  background: #ea580c !important; color: #fff !important;
  border: none !important; border-radius: 8px !important;
  font-size: 15px !important; font-weight: 700 !important;
  cursor: pointer !important; transition: background .15s !important;
  min-width: 140px !important;
}

body.single-product .summary .cart .single_add_to_cart_button:hover { background: #c2410c !important; }

body.single-product .ct-product-add-to-cart + * { margin-top: 16px; }

body.single-product .product_meta {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 13px !important; color: #6b7280 !important;
  display: flex !important; flex-direction: column !important; gap: 4px !important;
}

body.single-product .product_meta span { display: block !important; }

body.single-product .product_meta .sku_wrapper .sku { font-weight: 600 !important; color: #374151 !important; }

body.single-product .product_meta a { color: #ea580c !important; text-decoration: none !important; }

body.single-product .product_meta a:hover { text-decoration: underline !important; }

body.single-product .tbp-layout-with-sidebar {
  display: flex !important; gap: 32px !important;
  align-items: flex-start !important; flex: none !important;
  width: 100% !important; max-width: 100% !important;
  padding: 0 24px 40px !important; box-sizing: border-box !important;
  border-top: 1px solid #f1f5f9 !important; margin-top: 8px !important;
}

body.single-product .woocommerce-tabs { flex: 1 !important; min-width: 0 !important; padding-top: 24px !important; }

body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important; gap: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  list-style: none !important; padding: 0 !important; margin: 0 0 20px !important;
}

body.single-product .woocommerce-tabs ul.tabs li { padding: 0 !important; margin: 0 !important; }

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important; padding: 10px 18px !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: #6b7280 !important; text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important; transition: color .15s !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a { color: #ea580c !important; border-bottom-color: #ea580c !important; }

body.single-product .woocommerce-tabs ul.tabs li a:hover { color: #ea580c !important; }

body.single-product .woocommerce-Tabs-panel { font-size: 14px !important; color: #374151 !important; line-height: 1.75 !important; }

body.single-product .woocommerce-Tabs-panel h2 {
  font-size: 15px !important; font-weight: 700 !important;
  color: #0f172a !important; margin: 0 0 12px !important;
}

body.single-product .tbp-sidebar { width: 220px !important; flex-shrink: 0 !important; padding-top: 24px !important; }

body.single-product .tbp-sidebar-widget {
  border-radius: 12px !important; border: 1px solid #e5e7eb !important;
  padding: 14px 16px !important; margin-bottom: 12px !important;
  background: #fff !important;
}

body.single-product .tbp-sidebar-widget h4 {
  font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .7px !important;
  color: #9ca3af !important; border: none !important;
  margin: 0 0 10px !important; padding: 0 !important;
}

body.single-product .tbp-sidebar-widget ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }

body.single-product .tbp-sidebar-widget ul li { border-bottom: 1px solid #f3f4f6 !important; }

body.single-product .tbp-sidebar-widget ul li:last-child { border-bottom: none !important; }

body.single-product .tbp-sidebar-widget ul li a {
  display: flex !important; align-items: center !important;
  justify-content: space-between !important;
  font-size: 13px !important; color: #374151 !important;
  padding: 8px 0 !important; text-decoration: none !important;
  transition: color .15s !important;
}

body.single-product .tbp-sidebar-widget ul li a:hover { color: #ea580c !important; }

body.single-product .tbp-sidebar-widget ul li a::after { content: '›'; color: #d1d5db; font-size: 16px; transition: color .15s; }

body.single-product .tbp-sidebar-widget ul li a:hover::after { color: #ea580c; }

body.single-product .tbp-cta-box {
  background: #0f172a !important; border-radius: 12px !important;
  padding: 16px !important; text-align: center !important;
}

body.single-product .tbp-cta-box p { font-size: 12px !important; color: rgba(255,255,255,.6) !important; margin: 0 0 4px !important; }

body.single-product .tbp-cta-box strong {
  display: block !important; font-size: 13px !important; color: #fff !important; margin: 0 0 12px !important;
}

body.single-product .tbp-cta-btn {
  display: block !important; padding: 10px 12px !important;
  border-radius: 8px !important; font-size: 13px !important;
  font-weight: 700 !important; text-decoration: none !important;
  margin-bottom: 8px !important; text-align: center !important;
  transition: opacity .15s !important;
}

body.single-product .tbp-cta-btn:hover { opacity: .9 !important; }

body.single-product .tbp-cta-btn.primary { background: #ea580c !important; color: #fff !important; }

body.single-product .tbp-cta-btn.secondary { background: rgba(255,255,255,.12) !important; color: rgba(255,255,255,.8) !important; }

.tbp-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 10px 16px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  box-sizing: border-box;
  display: none;
}

.tbp-sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.tbp-sticky-bar__info {
  flex: 1;
  min-width: 0;
}

.tbp-sticky-bar__name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 2px;
}

.tbp-sticky-bar__price {
  font-size: 14px;
  font-weight: 800;
  color: #ea580c;
  margin: 0;
}

.tbp-sticky-bar__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tbp-sticky-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 16px;
}

.tbp-sticky-bar__btn--call {
  background: #ea580c;
  color: #fff;
}

.tbp-sticky-bar__btn--zalo {
  background: #0068ff;
  color: #fff;
}

.tbp-sidebar {
  font-family: var(--theme-font-family, 'Be Vietnam Pro'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

.tbp-sidebar-widget {
  font-family: var(--theme-font-family, 'Be Vietnam Pro'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
}

.tbp-sidebar-widget ul li { font-size: 14px !important; }

@media (max-width: 900px) {
  body.single-product .product-entry-wrapper {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  body.single-product .woocommerce-product-gallery {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    border-radius: 0 !important;
    max-height: 300px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport img { max-height: 300px !important; }

  body.single-product .woocommerce-product-gallery figure { border-radius: 0 !important; }

  body.single-product .woocommerce-product-gallery figure img {
    max-height: 300px !important;
    border-radius: 0 !important;
  }

  body.single-product .flex-control-thumbs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding: 10px 16px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }

  body.single-product .flex-control-thumbs li {
    flex: 0 0 60px !important;
    scroll-snap-align: start !important;
  }

  body.single-product .flex-control-thumbs li img {
    width: 60px !important;
    height: 60px !important;
  }

  body.single-product .summary.entry-summary {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px 16px 100px !important;
  }

  body.single-product .summary h1.product_title { font-size: 1.05rem !important; }

  body.single-product .summary h1.product_title::before { display: none !important; }

  body.single-product .summary .price { font-size: 1.2rem !important; }

  body.single-product .ct-product-add-to-cart { display: none !important; }

  body.single-product .tbp-layout-with-sidebar {
    flex-direction: column !important;
    padding: 0 16px 32px !important;
    border-top: none !important;
    margin-top: 0 !important;
    gap: 0 !important;
  }

  body.single-product .woocommerce-tabs {
    width: 100% !important;
    padding-top: 16px !important;
  }

  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  body.single-product .tbp-sidebar {
    width: 100% !important;
    padding-top: 0 !important;
  }

  body.single-product .tbp-sidebar-widget:not(:last-child) { display: none !important; }

  body.single-product .tbp-cta-box { display: none !important; }

  body.single-product .ct-product-divider { margin: 10px 0 !important; }

  .tbp-sticky-bar { display: block; }
}

@media (max-width: 600px) {
  body.single-product .woocommerce-product-gallery .flex-viewport { max-height: 260px !important; }

  body.single-product .woocommerce-product-gallery .flex-viewport img { max-height: 260px !important; }
}

@media (max-width: 340px) {
  .tbp-sticky-bar__btn--zalo { display: none; }
}

@media (max-width: 768px) {
  .tbp-sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
  }

  .tbp-sticky-bar a {
    flex: 1; text-align: center; padding: 14px 0; font-size: 15px; font-weight: 700; text-decoration: none;
  }

  body.single-product { padding-bottom: 56px; }
}
