/* Bowdabra Addons — storefront */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --ba-red: #BB0000;
  --ba-red-dark: #990000;
  --ba-text: #111;
  --ba-muted: #555;
  --ba-card: #fff;
  --ba-bg: #fff;
  --ba-radius: 14px;
  --ba-shadow: 0 4px 16px rgba(0,0,0,.08);
  --ba-title-size: 14px;
  --ba-price-size: 14px;
  --ba-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ba-shop-inject,
.ba-home-inject,
.ba-shop,
.ba-home-slider,
.ba-single-tutorial,
.ba-shop *,
.ba-home-slider *,
.ba-single-tutorial * {
  font-family: var(--ba-font) !important;
  letter-spacing: normal !important;
  text-transform: none;
}

/* Soft-hide WooCommerce PRODUCT widgets only — never generic post/tutorial loops.
   :has(.ba-shop / .ba-home-slider) applies on first paint once shortcode is in the DOM (no JS wait).
   Loop Carousel/Grid with .product covers legacy Elementor home product loops (template "More Info" links).
   Never hide .elementor-widget-shortcode. */
body.ba-new-storefront:has(.ba-shop) .elementor-widget-woocommerce-products,
body.ba-new-storefront:has(.ba-shop) .elementor-widget-woocommerce-product-related,
body.ba-new-storefront:has(.ba-shop) .elementor-widget-woocommerce-product-upsell,
body.ba-new-storefront:has(.ba-shop) .elementor-widget-wc-products,
body.ba-new-storefront:has(.ba-shop) .elementor-widget-loop-carousel:has(.product),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-loop-grid:has(.product),
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-woocommerce-products,
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-woocommerce-product-related,
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-woocommerce-product-upsell,
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-wc-products,
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-loop-carousel:has(.product),
body.ba-new-storefront:has(.ba-home-slider) .elementor-widget-loop-grid:has(.product),
body.ba-new-storefront.ba-has-storefront .elementor-widget-woocommerce-products,
body.ba-new-storefront.ba-has-storefront .elementor-widget-woocommerce-product-related,
body.ba-new-storefront.ba-has-storefront .elementor-widget-woocommerce-product-upsell,
body.ba-new-storefront.ba-has-storefront .elementor-widget-wc-products,
body.ba-new-storefront.ba-has-storefront .elementor-widget-loop-carousel:has(.product),
body.ba-new-storefront.ba-has-storefront .elementor-widget-loop-grid:has(.product),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/All.svg"]),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/Tools.svg"]),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/Megakits.svg"]),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/Ribbons.svg"]),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/Tutorial.svg"]),
body.ba-new-storefront:has(.ba-shop) .elementor-widget-image:has(img[src*="/More.svg"]),
.ba-legacy-filter-hide,
.ba-legacy-storefront-hide {
  display: none !important;
}

/* Explicit safeguard — shortcode widgets must always remain visible. */
body.ba-new-storefront:has(.ba-shop) .elementor-widget-shortcode,
body.ba-new-storefront.ba-has-storefront .elementor-widget-shortcode,
.elementor-widget-shortcode.ba-legacy-filter-hide,
.elementor-widget-shortcode.ba-legacy-storefront-hide {
  display: block !important;
}

.ba-shop,
.ba-home-slider {
  --ba-red: var(--e-global-color-primary, #BB0000);
  color: var(--ba-text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  box-sizing: border-box;
}

.ba-shop-header {
  text-align: center;
  margin-bottom: 20px;
}

.ba-shop-title {
  margin: 0 0 8px;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: var(--ba-text) !important;
}

.ba-shop-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: var(--ba-red);
  font-size: 13px !important;
  font-weight: 500 !important;
}

.ba-shop-tagline span {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--ba-red);
  opacity: .7;
}

/* Filters — senior-friendly larger tap targets */
.ba-filters { margin-bottom: 28px; }

.ba-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 20px;
}

.ba-filter-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  color: var(--ba-text) !important;
  padding: 4px !important;
  border-radius: 0 !important;
  min-width: 88px !important;
  min-height: 110px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

.ba-filter-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #fff !important;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ba-filter-icon img {
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}

.ba-filter-tab.is-active .ba-filter-icon,
.ba-filter-tab:hover .ba-filter-icon {
  box-shadow: 0 0 0 4px #000;
  transform: translateY(-1px);
}

.ba-filter-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #111 !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  clip: auto !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ba-filter-tab:not(.is-active) .ba-filter-label {
  color: #222 !important;
  opacity: 1 !important;
}

.ba-filter-tab.is-active .ba-filter-label {
  color: #111 !important;
  font-weight: 700 !important;
}

/* "More" stays labeled; slightly muted only when inactive */
.ba-filter-tab[data-filter="more"]:not(.is-active) .ba-filter-label {
  color: #555 !important;
  opacity: .85 !important;
}

.ba-filter-tab[data-filter="more"]:not(.is-active) .ba-filter-icon {
  opacity: .85;
}

.ba-filter-subs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ba-sub-pill {
  appearance: none !important;
  border: 1.5px solid #d0d0d0 !important;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 8px 16px 8px 8px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ba-text) !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  min-height: 44px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.ba-sub-pill img,
.ba-sub-pill-fallback {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.ba-sub-pill-fallback {
  background: #eee;
  border: 1px solid #ddd;
}

.ba-sub-pill-label {
  white-space: nowrap;
}

.ba-sub-pill.is-active,
.ba-sub-pill:hover {
  background: #fde8e8 !important;
  border-color: var(--ba-red) !important;
  color: var(--ba-red) !important;
}

.ba-sub-pill.is-active {
  box-shadow: 0 0 0 2px rgba(187, 0, 0, .2);
  font-weight: 600 !important;
}

/* Tutorials mode — compact horizontal chip carousels (cats + tags); no grey track. */
.ba-tutorial-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ba-tut-row {
  --ba-tut-fade: 28px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scroll-snap-type: none;
  padding: 2px 0;
  max-width: 100%;
  overscroll-behavior-x: contain;
  /* Native horizontal pan on touch; mouse drag handled in JS after 8px threshold */
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background: transparent;
  border: none;
  border-radius: 0;
  /* Fade edges — scroll affordance without OS scrollbar */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--ba-tut-fade),
    #000 calc(100% - var(--ba-tut-fade)),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--ba-tut-fade),
    #000 calc(100% - var(--ba-tut-fade)),
    transparent 100%
  );
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/legacy */
}

.ba-tut-row:active,
.ba-tut-row.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.ba-tut-row::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.ba-tut-row:not(.is-overflowing) {
  mask-image: none;
  -webkit-mask-image: none;
}

.ba-tut-pill {
  scroll-snap-align: start;
  flex: 0 0 auto;
  min-height: 30px !important;
  padding: 4px 11px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  gap: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #ddd !important;
  background: #fafafa !important;
  color: #666 !important;
  box-shadow: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ba-tut-pill img,
.ba-tut-pill .ba-sub-pill-fallback {
  display: none !important;
}

.ba-tut-pill:hover {
  background: #fff !important;
  border-color: rgba(187, 0, 0, .28) !important;
  color: var(--ba-red) !important;
  box-shadow: none !important;
}

.ba-tut-pill.is-active,
.ba-tut-pill.is-active:hover {
  background: rgba(187, 0, 0, .06) !important;
  border-color: var(--ba-red) !important;
  color: var(--ba-red) !important;
  font-weight: 600 !important;
  box-shadow: inset 0 0 0 1px rgba(187, 0, 0, .12) !important;
}

.ba-tut-tag {
  border-style: solid !important;
  border-color: #e2e2e2 !important;
  background: transparent !important;
  font-weight: 500 !important;
  color: #777 !important;
}

.ba-tut-tag:hover {
  background: #fff !important;
  border-color: rgba(187, 0, 0, .22) !important;
  color: var(--ba-red) !important;
}

.ba-tut-tag.is-active,
.ba-tut-tag.is-active:hover {
  background: rgba(187, 0, 0, .05) !important;
  border-color: rgba(187, 0, 0, .55) !important;
  color: var(--ba-red) !important;
  box-shadow: none !important;
}

.ba-tut-all {
  font-weight: 600 !important;
  letter-spacing: .01em;
}

.ba-shop--tutorials .ba-filter-subs {
  display: block;
  overflow: visible;
}

.ba-shop--tutorials .ba-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ba-tutorials-archive .ba-filters,
.ba-tutorials-filters-nav {
  margin: 0 0 18px;
}

.ba-tutorials-archive .ba-filter-subs {
  display: block;
  overflow: visible;
  justify-content: stretch;
}

.ba-tutorial {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ba-tutorial:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

.ba-tutorial-media {
  display: block;
  /* Featured images are YouTube-style 16:9 — 4/3 was cropping top/bottom. */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f3f3;
}

.ba-tutorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .35s ease;
}

.ba-tutorial:hover .ba-tutorial-media img {
  transform: scale(1.03);
}

.ba-tutorial-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.ba-tutorial-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 1px;
}

.ba-tutorial-cat,
a.ba-tutorial-cat,
a.ba-tutorial-cat:link,
a.ba-tutorial-cat:visited {
  display: inline-block;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--ba-red, #BB0000);
  border: 1px solid var(--ba-red, #BB0000);
  border-radius: 999px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.ba-tutorial-title {
  margin: 0;
  font-size: var(--ba-title-size, 14px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--ba-text) !important;
}

.ba-tutorial-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.ba-tutorial-title a:hover {
  color: var(--ba-red) !important;
}

.ba-tutorial-meta {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ba-tutorial-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  flex-shrink: 1;
}

.ba-tutorial-meta-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  opacity: .72;
}

.ba-tutorial-meta-author {
  color: #666;
  font-weight: 600;
}

.ba-tutorial-meta-author .ba-tutorial-meta-icon {
  opacity: .85;
}

.ba-tutorial-meta-date {
  color: #999;
  font-weight: 500;
}

.ba-tutorial-excerpt {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .ba-shop--tutorials .ba-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ba-shop--tutorials .ba-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ba-tutorial-info {
    padding: 8px 10px 10px;
    gap: 4px;
  }

  .ba-tutorial-title {
    font-size: 13px !important;
  }

  .ba-tutorial-meta {
    font-size: 10px;
  }

  .ba-tutorial-excerpt {
    -webkit-line-clamp: 2;
    font-size: 11px;
  }

  .ba-tut-pill {
    min-height: 28px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
  }
}

/* Phones/tablets: 2-row horizontal glide — products show sooner */
@media (max-width: 900px) {
  .ba-filter-subs {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: max-content;
    justify-content: start;
    justify-items: start;
    align-content: start;
    gap: 8px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px 10px;
    max-width: 100%;
    overscroll-behavior-x: contain;
  }

  .ba-filter-subs::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  .ba-sub-pill {
    scroll-snap-align: start;
    min-height: 40px;
    padding: 6px 12px 6px 6px !important;
    font-size: 13px !important;
    gap: 8px;
  }

  .ba-sub-pill img,
  .ba-sub-pill-fallback {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (max-width: 480px) {
  .ba-filter-subs {
    gap: 6px 8px;
  }
}

/* Product grid */
.ba-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  transition: opacity .2s ease;
}

@media (max-width: 1024px) {
  .ba-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ba-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  --ba-title-size: 14px;
  --ba-price-size: 14px;
}

.ba-product {
  background: var(--ba-card);
  border-radius: var(--ba-radius);
  box-shadow: var(--ba-shadow);
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ba-product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f7;
  margin-bottom: 10px;
}

.ba-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-sale-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #f5c518;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.ba-in-cart-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.ba-product-title {
  margin: 0 0 6px;
  font-size: var(--ba-title-size) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: var(--ba-text) !important;
}

/* Card grids/sliders: clamp long names so rows stay aligned. Not applied to PDP. */
.ba-product:not(.ba-product--single) .ba-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.35em * 2);
  max-height: calc(1.35em * 2);
  word-break: break-word;
}

.ba-product-title a {
  color: inherit !important;
  text-decoration: none;
  font-weight: inherit !important;
  font-size: inherit !important;
}

.ba-product-price {
  font-size: var(--ba-price-size) !important;
  font-weight: 600 !important;
  margin-bottom: 8px;
  color: var(--ba-text) !important;
}

.ba-product-price del {
  opacity: .55;
  margin-right: 4px;
}

.ba-more-colors {
  margin: 0 0 8px;
  font-size: 12px !important;
  color: var(--ba-red) !important;
  font-weight: 600 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: default;
}

/* Fancy More Colors opener — link/icon vibe, NOT an ATC twin */
.ba-shop .ba-more-colors-btn,
.ba-home-slider .ba-more-colors-btn,
.ba-more-colors-btn,
.ba-shop .ba-choose-color.ba-more-colors-btn,
.ba-home-slider .ba-choose-color.ba-more-colors-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  margin: 0 auto 10px !important;
  padding: 4px 2px !important;
  background: transparent !important;
  color: var(--ba-red) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-decoration-style: dashed !important;
  text-underline-offset: 4px !important;
  cursor: pointer;
  line-height: 1.3 !important;
}

.ba-more-colors-btn:hover,
.ba-choose-color.ba-more-colors-btn:hover {
  background: transparent !important;
  color: var(--ba-red-dark) !important;
  text-decoration-style: solid !important;
}

.ba-more-colors-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: inherit;
}

.ba-more-colors-label {
  text-decoration: inherit;
}

.ba-pill-unavailable,
.ba-pill[hidden] {
  display: none !important;
}

/* Never show Woo "View cart" under BA ATC (cards + single [ba_product]) */
.ba-product a.added_to_cart,
.ba-product .added_to_cart,
.ba-product a.wc-forward,
.ba-product--single a.added_to_cart,
.ba-product--single a.wc-forward,
.ba-product-actions a.added_to_cart,
.ba-product-actions a.wc-forward,
.ba-shop a.added_to_cart,
.ba-home-slider a.added_to_cart,
.ba-related-slider a.added_to_cart,
.ba-single-product-wrap a.added_to_cart,
.ba-single-product-wrap a.wc-forward,
body.single-product:has(.ba-product--single) .ba-single-product-wrap a.added_to_cart,
body.single-product:has(.ba-product--single) .ba-single-product-wrap a.wc-forward,
body.single-product:has(.ba-product--single) .woocommerce-message a.button.wc-forward,
body.single-product:has(.ba-product--single) .woocommerce-message a.wc-forward {
  display: none !important;
}

.ba-products-grid {
  position: relative;
  transition: opacity .2s ease;
}

.ba-shop.is-loading .ba-products-grid,
.ba-products-grid.is-loading {
  opacity: .45;
  pointer-events: none;
}

.ba-shop.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12rem;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid rgba(187, 0, 0, .2);
  border-top-color: var(--ba-red, #BB0000);
  border-radius: 50%;
  animation: ba-spin .7s linear infinite;
  z-index: 5;
  pointer-events: none;
}

.ba-shop {
  position: relative;
}

@keyframes ba-spin {
  to { transform: rotate(360deg); }
}

/* Hard-freeze: kill long CSS transitions while user picks options on a card */
.ba-products-swiper.ba-swiper-frozen .swiper-wrapper {
  transition-duration: 0ms !important;
  transition-delay: 0ms !important;
}

.ba-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

/* Shared base — never solid red like ATC */
.ba-shop .ba-pill,
.ba-home-slider .ba-pill,
.ba-pill {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  box-shadow: none !important;
  min-width: 0 !important;
  line-height: 1.2 !important;
}

/* SIZE / LENGTH — compact grey chips */
.ba-shop .ba-size-pill,
.ba-home-slider .ba-size-pill,
.ba-size-pill {
  border: 1.5px solid #c8c8c8 !important;
  background: #f0f0f0 !important;
  border-radius: 999px !important;
  padding: 5px 11px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #444 !important;
}

.ba-shop .ba-size-pill.selected,
.ba-shop .ba-size-pill.ba-pill-added,
.ba-home-slider .ba-size-pill.selected,
.ba-home-slider .ba-size-pill.ba-pill-added,
.ba-size-pill.selected,
.ba-size-pill.ba-pill-added {
  background: #fff !important;
  border-color: var(--ba-red) !important;
  color: var(--ba-red) !important;
  box-shadow: inset 0 0 0 1px var(--ba-red) !important;
}

/* COLOR — distinct white + red outline; horizontal glide track */
.ba-color-slider {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.ba-color-pills-track,
.ba-color-pills {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0 !important;
  padding: 2px 2px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ba-color-slider--scrollable .ba-color-pills-track,
.ba-color-slider--scrollable .ba-color-pills {
  justify-content: flex-start !important;
}

.ba-color-pills-track::-webkit-scrollbar,
.ba-color-pills::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.ba-shop .ba-color-pill,
.ba-home-slider .ba-color-pill,
.ba-color-pill {
  flex: 0 0 auto;
  border: 1.5px solid var(--ba-red) !important;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--ba-red) !important;
  white-space: nowrap;
  scroll-snap-align: start;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ba-shop .ba-color-pill.selected,
.ba-shop .ba-color-pill.ba-pill-added,
.ba-home-slider .ba-color-pill.selected,
.ba-home-slider .ba-color-pill.ba-pill-added,
.ba-color-pill.selected,
.ba-color-pill.ba-pill-added {
  background: #fff5f5 !important;
  border-color: var(--ba-red) !important;
  color: var(--ba-red) !important;
  box-shadow: 0 0 0 2px rgba(187, 0, 0, .2) !important;
  font-weight: 700 !important;
}

.ba-color-slider-btn {
  appearance: none !important;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  border: 1.5px solid #ccc !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer;
  padding: 0 !important;
  display: grid;
  place-items: center;
}

.ba-color-slider-btn:hover {
  border-color: var(--ba-red) !important;
  color: var(--ba-red) !important;
}

.ba-color-slider-btn[hidden] {
  display: none !important;
}

.ba-color-slider:not(.ba-color-slider--scrollable) .ba-color-slider-btn {
  display: none !important;
}

.ba-product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.ba-add-to-cart,
.ba-choose-color:not(.ba-more-colors-btn),
.ba-view-more {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

/* Primary CTA */
.ba-shop .ba-add-to-cart,
.ba-home-slider .ba-add-to-cart,
.ba-add-to-cart {
  background: var(--ba-red) !important;
  color: #fff !important;
  border: 0 !important;
  min-width: 70%;
}

.ba-shop .ba-add-to-cart:hover,
.ba-shop .ba-add-to-cart:disabled,
.ba-home-slider .ba-add-to-cart:hover,
.ba-home-slider .ba-add-to-cart:disabled,
.ba-add-to-cart:hover,
.ba-add-to-cart:disabled {
  background: var(--ba-red-dark) !important;
  color: #fff !important;
}

.ba-add-to-cart.added {
  border: none !important;
  box-shadow: none !important;
}

/* Secondary outline — legacy Choose Color (if any remain) */
.ba-shop .ba-choose-color:not(.ba-more-colors-btn),
.ba-home-slider .ba-choose-color:not(.ba-more-colors-btn),
.ba-choose-color:not(.ba-more-colors-btn) {
  background: transparent !important;
  color: var(--ba-red) !important;
  border: 1.5px solid var(--ba-red) !important;
  min-width: 70%;
  font-weight: 600 !important;
}

.ba-shop .ba-choose-color:not(.ba-more-colors-btn):hover,
.ba-home-slider .ba-choose-color:not(.ba-more-colors-btn):hover,
.ba-choose-color:not(.ba-more-colors-btn):hover {
  background: rgba(187, 0, 0, .06) !important;
}

.ba-shop-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.ba-view-more {
  background: var(--ba-red);
  color: #fff;
}

.ba-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 4px 8px;
}

.ba-qty-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: var(--ba-red) !important;
  color: #fff !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 50% !important;
  cursor: pointer;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle;
  box-sizing: border-box !important;
}

.ba-qty-count { font-size: 12px; font-weight: 600; }

/* Color modal — mini product cards; portal to body (see JS) for stacking */
.ba-color-modal[hidden] { display: none !important; }
.ba-color-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
  pointer-events: auto;
}
.ba-color-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0;
  background: rgba(0, 0, 0, .5);
}
.ba-color-modal-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  width: min(640px, calc(100vw - 16px));
  max-height: min(82vh, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
}
@media (max-width: 600px) {
  .ba-color-modal {
    padding: 8px !important;
    align-items: end;
  }
  .ba-color-modal-panel {
    width: calc(100vw - 12px);
    max-width: 100%;
    max-height: min(88vh, 720px);
    border-radius: 14px 14px 10px 10px;
  }
}
.ba-color-modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
  border-radius: 12px 12px 0 0;
}
@media (max-width: 600px) {
  .ba-color-modal-header {
    border-radius: 14px 14px 0 0;
    padding: 14px 12px 12px;
  }
}
.ba-color-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ba-color-modal-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ba-color-modal-close {
  position: relative;
  right: auto;
  top: auto;
  flex: 0 0 auto;
  border: 0;
  background: var(--ba-red);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
}
.ba-color-modal-title {
  margin: 0;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
  flex: 1 1 auto;
}
.ba-color-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 600px) {
  .ba-color-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* 1–2 colors: stretch tiles to fill the modal width */
.ba-color-modal-grid[data-count="1"],
.ba-color-modal-grid.ba-color-modal-grid--few[data-count="1"] {
  grid-template-columns: 1fr;
}
.ba-color-modal-grid[data-count="2"],
.ba-color-modal-grid.ba-color-modal-grid--few[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ba-color-modal-grid[data-count="1"] .ba-color-option,
.ba-color-modal-grid[data-count="2"] .ba-color-option {
  width: 100%;
  padding: 12px 10px !important;
}
.ba-color-modal-grid[data-count="1"] .ba-color-option img {
  max-width: min(220px, 70%);
}
.ba-color-modal-grid[data-count="2"] .ba-color-option img {
  max-width: min(160px, 85%);
}
.ba-color-modal-grid[data-count="1"] .ba-color-option-name {
  font-size: 15px !important;
}
.ba-color-modal-grid[data-count="1"] .ba-color-option-meta,
.ba-color-modal-grid[data-count="2"] .ba-color-option-meta {
  font-size: 12px !important;
}
@media (max-width: 600px) {
  .ba-color-modal-grid[data-count="2"] {
    grid-template-columns: 1fr 1fr;
  }
}
.ba-color-option {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid #e8e8e8 !important;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 8px 6px 8px !important;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: visible;
}
.ba-color-option.is-selected {
  border-color: var(--ba-red) !important;
  box-shadow: 0 0 0 2px rgba(187, 0, 0, .22);
}
.ba-color-option img {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #f7f7f7;
  margin: 0 auto;
  flex-shrink: 0;
}
.ba-color-option-name,
.ba-color-option span:not(.ba-color-option-meta) {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #222 !important;
  text-transform: capitalize !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  max-width: 100%;
  display: block;
}
.ba-color-option-meta {
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #666 !important;
  white-space: normal !important;
  overflow: visible !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  max-width: 100%;
  display: block;
}

.ba-empty { text-align: center; grid-column: 1 / -1; padding: 24px; }

/* —— Home product carousel (match Latest Tutorials Elementor loop / Swiper) —— */
.ba-home-slider .ba-home-carousel {
  position: relative;
  width: 100%;
}

.ba-home-slider .ba-products-swiper {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  /* Horizontal Swiper drag (mouse + touch); vertical page scroll still allowed via Swiper threshold */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

/* Kill native HTML5 image/link drag — it steals pointermove and freezes Swiper mid-grab. */
.ba-home-slider .ba-products-swiper img,
.ba-home-slider .ba-products-swiper a {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.ba-home-slider .ba-products-swiper:active,
.ba-home-slider .ba-products-swiper.swiper-grabbing {
  cursor: grabbing;
}

.ba-home-slider .ba-products-swiper.ba-swiper-dragging {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.ba-home-slider .ba-products-swiper.ba-swiper-dragging img,
.ba-home-slider .ba-products-swiper.ba-swiper-dragging a {
  pointer-events: none;
}

.ba-home-slider .ba-products-swiper.ba-swiper-frozen {
  cursor: default;
}

.ba-home-slider .ba-products-slider.swiper-wrapper {
  display: flex;
  box-sizing: content-box;
}

.ba-home-slider .ba-products-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.ba-home-slider .ba-products-swiper .ba-product {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
}

.ba-home-slider .ba-products-swiper .ba-empty {
  padding: 24px;
  text-align: center;
}

/* —— Home red theme (place shortcode inside Elementor red #BB0000 section) —— */
.ba-home-slider.ba-theme-red,
.ba-home-slider.ba-home-slider--red {
  color: #fff;
  background: transparent;
}

.ba-home-slider.ba-theme-red .ba-shop-title,
.ba-home-slider.ba-home-slider--red .ba-shop-title {
  color: #fff !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
}

.ba-home-slider.ba-theme-red .ba-shop-tagline,
.ba-home-slider.ba-home-slider--red .ba-shop-tagline {
  color: #fff !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ba-home-slider.ba-theme-red .ba-shop-tagline span,
.ba-home-slider.ba-home-slider--red .ba-shop-tagline span {
  background: #fff !important;
  opacity: 1;
  max-width: none;
  flex: 1 1 auto;
  height: 1px;
}

.ba-home-slider.ba-theme-red .ba-product {
  background: transparent;
  box-shadow: none;
  padding: 0 4px 8px;
}

.ba-home-slider.ba-theme-red .ba-product-image {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.ba-home-slider.ba-theme-red .ba-product-title,
.ba-home-slider.ba-theme-red .ba-product-title a {
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-product-price {
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-product-price del {
  opacity: .65;
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-product-price ins {
  color: #f5c518 !important;
  text-decoration: none;
}

.ba-home-slider.ba-theme-red .ba-sale-badge {
  background: #f5c518;
  color: #111;
}

.ba-home-slider.ba-theme-red .ba-more-colors {
  color: #f5c518 !important;
}

.ba-home-slider.ba-theme-red .ba-more-colors-btn,
.ba-home-slider.ba-theme-red .ba-choose-color.ba-more-colors-btn {
  background: transparent !important;
  color: #f5c518 !important;
  border: 0 !important;
  text-decoration-color: #f5c518 !important;
}

.ba-home-slider.ba-theme-red .ba-more-colors-btn:hover,
.ba-home-slider.ba-theme-red .ba-choose-color.ba-more-colors-btn:hover {
  background: transparent !important;
  color: #ffe066 !important;
}

/* Size chips on red: light outline, not solid ATC */
.ba-home-slider.ba-theme-red .ba-size-pill {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .7) !important;
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-size-pill.selected,
.ba-home-slider.ba-theme-red .ba-size-pill.ba-pill-added {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ba-red) !important;
  box-shadow: none !important;
}

/* Color pills on red: white fill + red text (distinct from size + ATC) */
.ba-home-slider.ba-theme-red .ba-color-pill {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ba-red) !important;
}

.ba-home-slider.ba-theme-red .ba-color-pill.selected,
.ba-home-slider.ba-theme-red .ba-color-pill.ba-pill-added {
  background: #f5c518 !important;
  border-color: #f5c518 !important;
  color: #111 !important;
  box-shadow: none !important;
}

.ba-home-slider.ba-theme-red .ba-color-slider-btn {
  background: rgba(255, 255, 255, .15) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-add-to-cart {
  background: #fff !important;
  color: var(--ba-red) !important;
  border: 0 !important;
}

.ba-home-slider.ba-theme-red .ba-add-to-cart:hover,
.ba-home-slider.ba-theme-red .ba-add-to-cart:disabled {
  background: #f5f5f5 !important;
  color: var(--ba-red-dark) !important;
}

.ba-home-slider.ba-theme-red .ba-choose-color:not(.ba-more-colors-btn) {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
}

.ba-home-slider.ba-theme-red .ba-choose-color:not(.ba-more-colors-btn):hover {
  background: rgba(255, 255, 255, .12) !important;
}

.ba-home-slider.ba-theme-red .ba-empty {
  color: #fff;
}

/* —— Single product shortcode [ba_product] —— */
.ba-single-product-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  font-family: var(--ba-font);
}

.ba-single-product-wrap .ba-breadcrumbs,
.ba-single-product-wrap .woocommerce-breadcrumb {
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--ba-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #999;
  letter-spacing: 0.01em;
}

.ba-single-product-wrap .ba-breadcrumb-link {
  color: #888;
  text-decoration: none;
}

.ba-single-product-wrap .ba-breadcrumb-link:hover,
.ba-single-product-wrap .ba-breadcrumb-link:focus {
  color: var(--ba-red);
  text-decoration: none;
}

.ba-single-product-wrap .ba-breadcrumb-sep {
  color: #bbb;
  margin: 0 1px;
}

.ba-single-product-wrap .ba-breadcrumb-current {
  color: #777;
}

.ba-product--single {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
  background: #fff;
  border-radius: var(--ba-radius);
  box-shadow: var(--ba-shadow);
  padding: 20px;
  max-width: none;
  margin: 0;
}

.ba-product--single .ba-product-media {
  position: sticky;
  top: 16px;
}

.ba-product--single .ba-product-image {
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
}

.ba-product--single .ba-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-product--single .ba-product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  align-items: stretch;
}

.ba-product--single .ba-product-title {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  color: var(--ba-text) !important;
  text-align: left !important;
  display: block !important;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible !important;
  max-height: none !important;
  min-height: 0 !important;
  text-overflow: unset;
}

.ba-product--single .ba-product-price {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  text-align: left !important;
}

.ba-product--single .ba-product-excerpt {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--ba-muted) !important;
}

.ba-product--single .ba-product-excerpt p {
  margin: 0 0 0.6em;
}

.ba-product--single .ba-product-excerpt p:last-child {
  margin-bottom: 0;
}

/* Cap Elementor kit giant headings inside BA PDP + product description areas */
.ba-single-product-wrap .ba-product-excerpt h2,
.ba-single-product-wrap .ba-product-excerpt h3,
.ba-single-product-wrap .ba-product-excerpt h4,
.ba-single-product-wrap .ba-product-excerpt h5,
.ba-single-product-wrap .ba-product-excerpt h6,
body.single-product:has(.ba-product--single) .ba-single-product-wrap .ba-product-excerpt h2,
body.single-product:has(.ba-product--single) .ba-single-product-wrap .ba-product-excerpt h3,
body.single-product:has(.ba-product--single) .woocommerce-product-details__short-description h2,
body.single-product:has(.ba-product--single) .woocommerce-product-details__short-description h3,
body.single-product:has(.ba-product--single) .woocommerce-Tabs-panel--description h2,
body.single-product:has(.ba-product--single) .woocommerce-Tabs-panel--description h3,
body.single-product:has(.ba-product--single) .woocommerce-Tabs-panel--description h4,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-content h2,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-content h3,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-content h4,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-description h2,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-description h3,
body.single-product:has(.ba-product--single) .elementor-widget-theme-post-content h2,
body.single-product:has(.ba-product--single) .elementor-widget-theme-post-content h3 {
  font-size: 1.125rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  margin: 1em 0 0.5em !important;
}

body.single-product:has(.ba-product--single) .ba-single-product-wrap .ba-product-excerpt h2,
body.single-product:has(.ba-product--single) .woocommerce-Tabs-panel--description h2,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-content h2,
body.single-product:has(.ba-product--single) .elementor-widget-theme-post-content h2 {
  font-size: 1.25rem !important;
}

body.single-product:has(.ba-product--single) .ba-single-product-wrap .ba-product-excerpt h4,
body.single-product:has(.ba-product--single) .woocommerce-Tabs-panel--description h4,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-content h4 {
  font-size: 1.05rem !important;
}

.ba-single-tutorial .ba-tutorial-products-used {
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

.ba-variant-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-variant-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #333 !important;
  letter-spacing: .02em;
}

.ba-product--single .ba-pills {
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow: visible;
}

/* PDP: full pill labels (cards keep max-width + ellipsis) */
.ba-product--single .ba-size-pill,
.ba-product--single .ba-color-pill {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

.ba-product--single .ba-color-pills-track,
.ba-product--single .ba-color-pills {
  justify-content: flex-start !important;
}

.ba-product--single .ba-product-actions {
  align-items: stretch;
  margin-top: 8px;
  gap: 12px;
}

.ba-product--single .ba-add-to-cart {
  width: 100%;
  min-width: 0;
  padding: 14px 20px !important;
  font-size: 14px !important;
}

.ba-product--single .ba-more-colors-btn {
  align-self: flex-start;
  margin: 0 !important;
}

.ba-product--single .ba-qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  padding: 6px 10px;
  width: 100%;
  max-width: 180px;
  box-sizing: border-box;
}

.ba-product--single .ba-qty-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: var(--ba-red) !important;
  color: #fff !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.ba-product--single .ba-qty-count {
  font-size: 16px;
  font-weight: 700;
  min-width: 1.5em;
  text-align: center;
}

/* Single PDP: visual color list (no modal) */
.ba-product--single .ba-color-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px !important;
  column-gap: 4px !important;
  row-gap: 4px !important;
  max-height: min(340px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap !important;
  justify-content: stretch !important;
}

.ba-product--single .ba-color-list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.ba-product--single .ba-color-list-item,
.ba-product--single .ba-pill.ba-color-list-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 5px 6px 5px 5px !important;
  border-radius: 8px !important;
  border: 1.5px solid #ddd !important;
  background: #fff !important;
  color: #222 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.ba-product--single .ba-color-list-item img,
.ba-product--single .ba-color-list-fallback {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f3f3;
  display: block;
}

.ba-product--single .ba-color-list-fallback {
  border: 1px solid #e5e5e5;
}

.ba-product--single .ba-color-list-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ba-product--single .ba-color-list-item.selected,
.ba-product--single .ba-color-list-item.ba-pill-added {
  border-color: var(--ba-red) !important;
  background: #fff5f5 !important;
  color: var(--ba-red) !important;
  box-shadow: 0 0 0 2px rgba(187, 0, 0, .18) !important;
}

.ba-product--single .ba-color-list-item.ba-pill-unavailable,
.ba-product--single .ba-color-list-item[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .ba-product--single .ba-color-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px !important;
    max-height: min(260px, 36vh);
  }
  .ba-product--single .ba-color-list-item,
  .ba-product--single .ba-pill.ba-color-list-item {
    padding: 4px 5px 4px 4px !important;
    gap: 5px !important;
    font-size: 11px !important;
  }
  .ba-product--single .ba-color-list-item img,
  .ba-product--single .ba-color-list-fallback {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 800px) {
  .ba-product--single {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }
  .ba-product--single .ba-product-media {
    position: static;
  }
  .ba-product--single .ba-product-title {
    font-size: 1.3rem !important;
  }
}

/* Avoid double ATC when [ba_product] is on the PDP */
body.single-product:has(.ba-product--single) form.cart,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-add-to-cart,
body.single-product:has(.ba-product--single) .elementor-widget-woocommerce-product-add-to-cart {
  display: none !important;
}

/* In-page notices — over product image, Sale-yellow */
.ba-storefront-notice {
  z-index: 30;
  max-width: min(220px, calc(100% - 24px));
  width: max-content;
  padding: 8px 12px;
  background: #f5c518;
  color: #111;
  font-family: var(--ba-font);
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  text-align: center;
}
.ba-product-image .ba-storefront-notice,
.ba-product-media .ba-storefront-notice {
  z-index: 5;
}
.ba-storefront-notice.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* —— Tutorials slider cards inside home glide —— */
.ba-home-slider .ba-products-swiper .ba-tutorial {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  height: 100%;
}

.ba-home-slider.ba-theme-red .ba-tutorial,
.ba-home-slider.ba-home-slider--red .ba-tutorial {
  background: transparent;
  box-shadow: none;
}

.ba-home-slider.ba-theme-red .ba-tutorial-media,
.ba-home-slider.ba-home-slider--red .ba-tutorial-media {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.ba-home-slider.ba-theme-red .ba-tutorial-info,
.ba-home-slider.ba-home-slider--red .ba-tutorial-info {
  padding-left: 4px;
  padding-right: 4px;
}

.ba-home-slider.ba-theme-red .ba-tutorial-title,
.ba-home-slider.ba-theme-red .ba-tutorial-title a,
.ba-home-slider.ba-home-slider--red .ba-tutorial-title,
.ba-home-slider.ba-home-slider--red .ba-tutorial-title a {
  color: #fff !important;
}

.ba-home-slider.ba-theme-red .ba-tutorial-title a:hover,
.ba-home-slider.ba-home-slider--red .ba-tutorial-title a:hover {
  color: #ffe066 !important;
}

.ba-home-slider.ba-theme-red .ba-tutorial-meta,
.ba-home-slider.ba-home-slider--red .ba-tutorial-meta {
  color: rgba(255, 255, 255, .78);
}

.ba-home-slider.ba-theme-red .ba-tutorial-meta-author,
.ba-home-slider.ba-home-slider--red .ba-tutorial-meta-author {
  color: rgba(255, 255, 255, .92);
}

.ba-home-slider.ba-theme-red .ba-tutorial-excerpt,
.ba-home-slider.ba-home-slider--red .ba-tutorial-excerpt {
  color: rgba(255, 255, 255, .72);
}

.ba-home-slider.ba-theme-red .ba-tutorial-cat,
.ba-home-slider.ba-home-slider--red .ba-tutorial-cat {
  background: #fff;
  border-color: #fff;
  color: var(--ba-red) !important;
}

.ba-related-tutorials {
  margin-top: 40px;
}

/* —— Single tutorial / blog post [ba_tutorial] —— */
.ba-single-tutorial {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 0 40px;
  box-sizing: border-box;
  color: var(--ba-text);
}

/* Full width inside Elementor boxed container — tutorials archive */
.ba-shop.ba-shop--tutorials,
.ba-shop.ba-tutorials-archive {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.ba-single-tutorial .ba-home-slider,
.ba-single-tutorial .ba-tutorials-slider,
.ba-single-tutorial .ba-tutorial-share,
.ba-single-tutorial .ba-tutorial-nav,
.ba-single-tutorial .ba-tutorial-hero,
.ba-single-tutorial .ba-tutorial-header,
.ba-single-tutorial .ba-tutorial-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ba-single-tutorial .ba-breadcrumbs {
  margin: 0 0 18px;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #999;
  letter-spacing: 0.01em;
}

.ba-single-tutorial .ba-breadcrumb-link {
  color: #888;
  text-decoration: none;
}

.ba-single-tutorial .ba-breadcrumb-link:hover,
.ba-single-tutorial .ba-breadcrumb-link:focus {
  color: var(--ba-red);
  text-decoration: none;
}

.ba-single-tutorial .ba-breadcrumb-sep {
  color: #bbb;
  margin: 0 1px;
}

.ba-single-tutorial .ba-breadcrumb-current {
  color: #777;
}

.ba-tutorial-header {
  margin: 0 0 22px;
  padding-top: 0;
}

/* Space between featured image and category pills */
.ba-single-tutorial > .ba-tutorial-header,
.ba-single-tutorial .ba-tutorial-header {
  margin-top: 28px !important;
  padding-top: 0;
}

.ba-tutorial-cats--single {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  overflow: visible;
  max-width: none;
}

/* Singles: show full category labels (cards keep ellipsis clamp) */
.ba-tutorial-cats--single .ba-tutorial-cat,
.ba-tutorial-cats--single a.ba-tutorial-cat,
.ba-tutorial-cats--single a.ba-tutorial-cat:link,
.ba-tutorial-cats--single a.ba-tutorial-cat:visited,
.ba-tutorial-cats--single a.ba-tutorial-cat:hover,
.ba-tutorial-cats--single a.ba-tutorial-cat:focus,
.ba-tutorial-cats--single a.ba-tutorial-cat:active {
  color: #fff !important;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
}

.ba-tutorial-cats--single .ba-tutorial-cat:hover,
.ba-tutorial-cats--single a.ba-tutorial-cat:hover,
.ba-tutorial-cats--single a.ba-tutorial-cat:focus {
  background: var(--ba-red-dark);
  border-color: var(--ba-red-dark);
  color: #fff !important;
}

.ba-tutorial-single-title {
  margin: 0 0 12px !important;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--ba-text) !important;
  letter-spacing: -0.01em !important;
}

.ba-tutorial-meta--single {
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  white-space: normal;
  overflow: visible;
  margin-bottom: 12px;
}

.ba-tutorial-meta--single .ba-tutorial-meta-icon {
  width: 14px;
  height: 14px;
}

.ba-tutorial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  overflow: visible;
  max-width: none;
}

.ba-tutorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #666;
  background: #f6f6f6;
  border: 1px solid #ebebeb;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.ba-tutorial-tag:hover {
  color: var(--ba-red);
  border-color: rgba(187, 0, 0, .35);
  background: #fff;
}

.ba-tutorial-tag-icon {
  opacity: .65;
  flex-shrink: 0;
}

.ba-tutorial-hero,
.ba-single-tutorial .ba-tutorial-hero,
.ba-single-tutorial figure.ba-tutorial-hero {
  /* Neutralize Elementor/WP figure margin resets; spacing lives on .ba-tutorial-header */
  margin: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.ba-tutorial-hero img,
.ba-tutorial-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.ba-tutorial-content {
  font-family: var(--ba-font) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #333;
}

.ba-tutorial-content > *:first-child {
  margin-top: 0;
}

.ba-tutorial-content p,
.ba-tutorial-content li,
.ba-tutorial-content td,
.ba-tutorial-content th,
.ba-tutorial-content figcaption,
.ba-tutorial-content .elementor-widget-container,
.ba-tutorial-content .elementor-widget-text-editor,
.ba-single-tutorial .ba-tutorial-content p,
.ba-single-tutorial .ba-tutorial-content li,
.ba-single-tutorial .ba-tutorial-content td,
.ba-single-tutorial .ba-tutorial-content th,
.ba-single-tutorial .ba-tutorial-content figcaption,
.ba-single-tutorial .ba-tutorial-content .elementor-widget-container,
.ba-single-tutorial .ba-tutorial-content .elementor-widget-text-editor {
  font-family: var(--ba-font) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
}

.ba-tutorial-content p {
  margin: 0 0 1.1em;
}

/* Override Elementor kit giant h1–h6 (often 35px+) inside [ba_tutorial] */
.ba-single-tutorial .ba-tutorial-content h1,
.ba-single-tutorial .ba-tutorial-content h2,
.ba-single-tutorial .ba-tutorial-content h3,
.ba-single-tutorial .ba-tutorial-content h4,
.ba-single-tutorial .ba-tutorial-content h5,
.ba-single-tutorial .ba-tutorial-content h6,
.ba-tutorial-content h1,
.ba-tutorial-content h2,
.ba-tutorial-content h3,
.ba-tutorial-content h4,
.ba-tutorial-content h5,
.ba-tutorial-content h6,
.ba-single-tutorial .ba-tutorial-content .elementor-heading-title {
  margin: 1.35em 0 0.5em !important;
  font-family: var(--ba-font) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--ba-text) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.ba-single-tutorial .ba-tutorial-content h1,
.ba-tutorial-content h1 {
  font-size: 1.35rem !important;
}

.ba-single-tutorial .ba-tutorial-content h2,
.ba-tutorial-content h2 {
  font-size: 1.25rem !important;
}

.ba-single-tutorial .ba-tutorial-content h3,
.ba-tutorial-content h3 {
  font-size: 1.125rem !important;
}

.ba-single-tutorial .ba-tutorial-content h4,
.ba-tutorial-content h4 {
  font-size: 1.05rem !important;
}

.ba-single-tutorial .ba-tutorial-content h5,
.ba-single-tutorial .ba-tutorial-content h6,
.ba-tutorial-content h5,
.ba-tutorial-content h6 {
  font-size: 1rem !important;
}

/* Links inside oversized heading blobs inherit heading size — keep body scale */
.ba-single-tutorial .ba-tutorial-content h1 a,
.ba-single-tutorial .ba-tutorial-content h2 a,
.ba-single-tutorial .ba-tutorial-content h3 a,
.ba-single-tutorial .ba-tutorial-content h4 a,
.ba-single-tutorial .ba-tutorial-content h5 a,
.ba-single-tutorial .ba-tutorial-content h6 a {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* Content product/blog links: Bowdabra red, no default black focus rectangle */
.ba-tutorial-content a,
.ba-tutorial-content a:link,
.ba-tutorial-content a:visited,
.ba-single-tutorial .ba-tutorial-content a,
.ba-single-tutorial .ba-tutorial-content a:link,
.ba-single-tutorial .ba-tutorial-content a:visited {
  color: var(--ba-red, #BB0000) !important;
  text-decoration: none;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.ba-tutorial-content a:hover,
.ba-tutorial-content a:focus,
.ba-single-tutorial .ba-tutorial-content a:hover,
.ba-single-tutorial .ba-tutorial-content a:focus {
  color: var(--ba-red-dark, #990000) !important;
  text-decoration: underline;
  outline: none !important;
  box-shadow: none !important;
}

.ba-tutorial-content a:focus-visible,
.ba-single-tutorial .ba-tutorial-content a:focus-visible {
  color: var(--ba-red, #BB0000) !important;
  text-decoration: underline;
  outline: 2px solid var(--ba-red, #BB0000) !important;
  outline-offset: 2px;
  border-radius: 2px;
}

.ba-tutorial-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Force left alignment inside [ba_tutorial] body — bloggers' centered/messy layouts */
.ba-single-tutorial .ba-tutorial-content h1,
.ba-single-tutorial .ba-tutorial-content h2,
.ba-single-tutorial .ba-tutorial-content h3,
.ba-single-tutorial .ba-tutorial-content h4,
.ba-single-tutorial .ba-tutorial-content h5,
.ba-single-tutorial .ba-tutorial-content h6,
.ba-single-tutorial .ba-tutorial-content p,
.ba-single-tutorial .ba-tutorial-content img {
  text-align: left !important;
  margin-left: 0 !important;
}

.ba-tutorial-content ul,
.ba-tutorial-content ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
  font-family: var(--ba-font) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.ba-tutorial-content blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--ba-red);
  background: #fafafa;
  color: #555;
  font-style: italic;
}

/* Share */
.ba-tutorial-share {
  width: 100%;
  max-width: 100%;
  margin: 36px 0 28px;
  padding: 22px 20px;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border: 1px solid #ececec;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.ba-tutorial-share-title {
  margin: 0 0 14px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--ba-text) !important;
  letter-spacing: 0.01em;
}

.ba-tutorial-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.ba-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.ba-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  color: #fff !important;
}

.ba-share-facebook {
  background: #1877f2;
}

.ba-share-facebook:hover {
  background: #166fe5;
}

.ba-share-x {
  background: #111;
}

.ba-share-x:hover {
  background: #000;
}

.ba-share-linkedin {
  background: #0a66c2;
}

.ba-share-linkedin:hover {
  background: #004182;
}

.ba-share-pinterest {
  background: #e60023;
}

.ba-share-pinterest:hover {
  background: #c4001d;
}

.ba-share-email {
  background: #555;
}

.ba-share-email:hover {
  background: #333;
}

.ba-share-whatsapp {
  background: #25d366;
}

.ba-share-whatsapp:hover {
  background: #1ebe57;
}

/* Prev / next */
.ba-tutorial-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 8px;
  padding: 0;
}

.ba-tutorial-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #fff;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
  min-width: 0;
}

.ba-tutorial-nav-link:hover {
  border-color: rgba(187, 0, 0, .35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.ba-tutorial-nav-link.is-empty {
  visibility: hidden;
  pointer-events: none;
  border: 0;
  padding: 0;
}

.ba-tutorial-nav-next {
  text-align: right;
  align-items: flex-end;
}

.ba-tutorial-nav-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ba-red);
}

.ba-tutorial-nav-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ba-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ba-single-tutorial .ba-home-slider {
  max-width: none;
  width: 100%;
}

@media (max-width: 700px) {
  .ba-single-tutorial {
    padding: 4px 0 32px;
  }

  .ba-tutorial-single-title {
    font-size: 1.35rem !important;
  }

  .ba-single-tutorial .ba-tutorial-content h1,
  .ba-tutorial-content h1 {
    font-size: 1.25rem !important;
  }

  .ba-single-tutorial .ba-tutorial-content h2,
  .ba-tutorial-content h2 {
    font-size: 1.15rem !important;
  }

  .ba-single-tutorial .ba-tutorial-content h3,
  .ba-tutorial-content h3 {
    font-size: 1.05rem !important;
  }

  .ba-tutorial-nav {
    grid-template-columns: 1fr;
  }

  .ba-tutorial-nav-next {
    text-align: left;
    align-items: flex-start;
  }

  .ba-tutorial-nav-link.is-empty {
    display: none;
  }

  .ba-tutorial-hero img,
  .ba-tutorial-hero-img {
    max-height: 280px;
  }

  .ba-share-btn {
    padding: 8px 14px;
    font-size: 12px !important;
  }
}

