
.yith-wcbm-badge,
.yith-wcbm-badge * {
  font-family: inherit !important;
}

.yith-wcbm-badge-text div[style*="font-family"] {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* =========================================================
   CATEGORY HUBS / CONTENT BLOCKS
   ========================================================= */

.category-link-hub {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.category-link-hub .hub-title {
  margin-bottom: 10px;
}

.category-link-hub .hub-intro {
  max-width: 800px;
  margin: 0 auto 40px;
}

.category-link-hub .hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.category-link-hub .hub-item h3 {
  margin-bottom: 10px;
}

.category-link-hub .hub-item p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .category-link-hub .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-link-hub .hub-grid {
    grid-template-columns: 1fr;
  }
}

.category-grid {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.category-grid li {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}

.category-grid a {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  text-decoration: none;
}

.category-grid span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.homepage-main-category-link.centered-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.homepage-main-category-link.centered-block h2 {
  margin-bottom: 16px;
}

.homepage-main-category-link.centered-block p {
  margin-bottom: 20px;
}

.category-content-centered {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-content-centered h2,
.category-content-centered h3 {
  text-align: center;
}

.category-content-centered p,
.category-content-centered ul {
  text-align: left;
}

.category-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-content h2,
.category-content h3 {
  text-align: center;
}

.category-content p,
.category-content ul {
  text-align: left;
  line-height: 1.7;
}

/* =========================================================
   HOME FIX / TRUST / CARDS
   ========================================================= */

.ti-home-fix {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 18px;
}

.ti-home-fix .ti-trustpilot-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ti-home-fix .trustpilot-widget {
  margin-left: auto !important;
  margin-right: auto !important;
}

.ti-home-fix .ti-btn {
  display: inline-block !important;
  padding: 10px 18px !important;
  background: #7a5a3a !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.ti-home-fix .ti-imgwrap {
  height: 200px;
  overflow: hidden;
}

.ti-home-fix .ti-imgwrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 65%;
  transition: transform .45s ease;
}

.ti-home-fix .ti-card:hover .ti-imgwrap img {
  transform: scale(1.08);
}

.ti-home-fix .ti-trust-pills {
  list-style: none;
  padding: 0;
  margin: 0 auto 16px;
  text-align: center;
}

.ti-home-fix .ti-trust-pills li {
  display: inline-block;
  margin: 6px 8px;
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #fbfaf7;
}

.ti-home-fix .ti-contact .ti-btn {
  font-size: 17px;
  padding: 16px 38px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(122,90,58,0.35);
}

.ti-home-fix .ti-contact .ti-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.ti-home-fix a.ti-btn[href*="contact"] {
  font-size: 25px !important;
  padding: 16px 40px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.ti-home-center {
  display: flex;
  justify-content: center;
  margin: 0.8rem 0 1rem;
}

.ti-home-center a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #1f2933;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

/* =========================================================
   BROKEN LINK / BREADCRUMB / PRODUCT META
   ========================================================= */

a[href*="/https://product-category"] {
  display: none !important;
}

#breadcrumb {
  display: none !important;
}

.ti-rankmath-breadcrumb,
.ti-rankmath-breadcrumb .rank-math-breadcrumb {
  display: block !important;
  visibility: visible !important;
  width: 100%;
  margin: 15px 0 !important;
  clear: both;
  font-size: 14px;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ti-rankmath-breadcrumb {
  padding-left: 10px;
}

@media (max-width: 768px) {
  .ti-rankmath-breadcrumb .last,
  .ti-rankmath-breadcrumb .separator:last-of-type {
    display: inline !important;
  }
}

.product_meta .tagged_as {
  display: none !important;
}

.product_meta {
  border-top: 1px solid #eee;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}

.woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce-cart .woocommerce-shipping-destination {
  display: none !important;
}

/* =========================================================
   FEATURED PRODUCT BLOCK
   ========================================================= */

.wc-block-featured-product,
.wp-block-woocommerce-featured-product,
.wc-block-featured-product .wc-block-featured-product__wrapper,
.wp-block-woocommerce-featured-product .wc-block-featured-product__wrapper {
  position: relative !important;
  min-height: 620px !important;
  height: auto !important;
  overflow: hidden !important;
}

.wc-block-featured-product .wc-block-featured-product__wrapper,
.wp-block-woocommerce-featured-product .wc-block-featured-product__wrapper {
  min-height: inherit !important;
  height: 100% !important;
}

.wc-block-featured-product .wc-block-featured-product__background-image,
.wp-block-woocommerce-featured-product .wc-block-featured-product__background-image {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
}

.wc-block-featured-product img,
.wp-block-woocommerce-featured-product img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
}

.wc-block-featured-product::before,
.wp-block-woocommerce-featured-product::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  background: rgba(0,0,0,.45) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.wc-block-featured-product > *,
.wp-block-woocommerce-featured-product > * {
  position: relative !important;
  z-index: 2 !important;
}

.wc-block-featured-product,
.wc-block-featured-product * {
  color: #fff !important;
}

.wc-block-grid__product-title,
.wc-block-grid__product-title a {
  color: #000000 !important;
}

.wp-block-button__link.wp-element-button {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5;
  position: relative;
}

.wc-block-featured-product .wp-block-button {
  position: relative;
  z-index: 10;
}

/* =========================================================
   SILO / EXPLORE / RELATED HUBS
   ========================================================= */

.ti-silo-nav {
  margin: 28px 0;
  padding: 18px 18px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
}

.ti-silo-nav h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.ti-silo-nav h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
}

.ti-silo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .ti-silo-grid {
    grid-template-columns: 1fr;
  }
}

.ti-silo-col {
  padding: 10px 10px 6px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fafafa;
}

.ti-silo-nav ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.ti-silo-nav li {
  margin: 0 0 6px;
  padding: 0;
  list-style: disc;
}

.ti-silo-nav li::before,
.ti-silo-nav li::after {
  content: none !important;
  display: none !important;
}

.ti-silo-nav a {
  display: block;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ti-silo-nav a:hover {
  text-decoration: underline;
}

.ti-silo-note {
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .8;
}

.ti-explore {
  margin: 48px 0;
}

.ti-explore h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.ti-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ti-explore-card {
  padding: 18px 18px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  background: #fff;
}

.ti-explore-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.ti-explore-card ul {
  margin: 0;
  padding-left: 18px;
}

.ti-explore-card li {
  margin-bottom: 8px;
}

.ti-explore-card a {
  text-decoration: none;
  color: #d97a00;
  font-weight: 500;
}

.ti-explore-card a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ti-explore-grid {
    grid-template-columns: 1fr;
  }
}

.ti-relhub {
  margin: 28px 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 18px;
  background: #fff;
}

.ti-relhub__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.ti-relhub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 720px) {
  .ti-relhub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ti-relhub__card {
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: #fff;
}

.ti-relhub__cardTitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.ti-relhub__list {
  margin: 0;
  padding-left: 18px;
}

.ti-relhub__list li {
  margin: 8px 0;
  line-height: 1.25;
}

.ti-relhub__list a {
  color: #c56a00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ti-relhub__list a:hover {
  text-decoration-thickness: 2px;
}

.ti-geo-link,
.ti-geo-mention {
  text-align: center;
  max-width: 900px;
  margin: 20px auto;
}

/* =========================================================
   SAUNA MINI BUTTONS
   ========================================================= */

.sauna-btns.sauna-btns--mini4 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  column-gap: 18px;
  row-gap: 14px;
  max-width: 760px;
  margin: 18px auto 22px;
  padding: 0 12px;
}

.sauna-btns.sauna-btns--mini4 > a.sauna-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  min-height: 44px;
  padding: 10px 14px;
  background: #f5f1e8;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  color: #1f1f1f !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .18s ease, transform .18s ease;
}

.sauna-btns.sauna-btns--mini4 > a.sauna-btn:hover {
  background: #efe7da;
  transform: translateY(-1px);
}

.sauna-btns.sauna-btns--mini4 .sauna-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0,0,0,.06);
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 640px) {
  .sauna-btns.sauna-btns--mini4 {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
}

.sauna-btns.sauna-btns--mini4 br {
  display: none !important;
  height: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   NAVIGATION STACKING FIXES
   ========================================================= */

#header,
#header .inner,
#nav,
.bg-shadow,
.wrapper {
  overflow: visible !important;
}

#nav {
  z-index: 99999 !important;
  position: relative;
}

#nav ul.sub-menu {
  z-index: 100000 !important;
  background: #fff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#nav ul.sub-menu li {
  position: relative;
}

#nav ul.sub-menu li > ul {
  left: 100% !important;
  top: 0 !important;
  margin-top: -1px;
  z-index: 100001 !important;
  background-color: #ffffff !important;
}

#nav ul.sub-menu li a {
  color: #666 !important;
}

#nav ul.sub-menu li a:hover {
  color: #d97a00 !important;
}

/* =========================================================
   LIGHTBOX ABOVE MENU
   ========================================================= */

.mfp-bg,
.mfp-wrap,
.mfp-container,
.pp_overlay,
.pp_pic_holder,
div.pp_overlay,
div.pp_pic_holder {
  z-index: 200000 !important;
}

.mfp-content,
.pp_content {
  z-index: 200001 !important;
}

/* =========================================================
   MOBILE CART / POPUP STACKING FIXES
   ========================================================= */

@media only screen and (max-width: 768px) {

  .woocommerce-cart,
  .widget_shopping_cart,
  .woocommerce-mini-cart,
  .woocommerce-mini-cart__buttons,
  .xoo-wsc-container,
  .xoo-wsc-basket,
  .xoo-wsc-modal,
  .xoo-wsc-opac,
  .mfp-wrap,
  .mfp-bg,
  .popup-cart-wrap,
  .cart-popup,
  .added_to_cart,
  .woocommerce-message,
  .woocommerce-notices-wrapper {
    position: relative;
    z-index: 999999 !important;
  }

  .xoo-wsc-container,
  .xoo-wsc-modal,
  .mfp-wrap,
  .cart-popup,
  .popup-cart-wrap {
    z-index: 999999 !important;
  }

  .xoo-wsc-opac,
  .mfp-bg {
    z-index: 999998 !important;
  }

  #header,
  .header,
  .mobile-header,
  .mobile-menu,
  .menu-main-menu-container,
  .nav-mobile,
  .responsive-nav,
  .slicknav_menu,
  .mobile-nav,
  .topbar,
  .sticky-header,
  .stuck,
  .wrapper-fixed,
  .yit-sticky,
  .yiw-mobile-menu,
  .menu-toggle,
  #nav,
  #menu-meniu {
    z-index: 1 !important;
  }

  .ht_ctc_chat,
  .ht-ctc-chat,
  .joinchat,
  .wabutton,
  .whatsapp-chat,
  .chaty-widget {
    z-index: 999 !important;
  }

  .product,
  .summary,
  .cart,
  form.cart,
  .variations_form,
  .single-product form,
  .single-product .variations,
  .single-product .variations td,
  .single-product select,
  .single-product option {
    position: relative;
    z-index: 1 !important;
  }

  #nav select,
  #nav option,
  #header select,
  #header option,
  .responsive-nav select,
  .responsive-nav option,
  .mobile-nav select,
  .mobile-nav option,
  .yiw-mobile-menu select,
  .yiw-mobile-menu option,
  .slicknav_menu select,
  .slicknav_menu option,
  .variations select,
  form.cart select,
  .single_variation_wrap select,
  .single-product select,
  select[name*="nav"],
  select[id*="nav"],
  select[class*="nav"],
  select[class*="menu"] {
    position: relative !important;
    z-index: 1 !important;
  }

  body.xoo-wsc-cart-active #nav,
  body.xoo-wsc-cart-active .responsive-nav,
  body.xoo-wsc-cart-active .mobile-nav,
  body.xoo-wsc-cart-active .yiw-mobile-menu,
  body.xoo-wsc-cart-active .slicknav_menu,
  body.xoo-wsc-cart-active #nav select,
  body.xoo-wsc-cart-active #header select,
  body.xoo-wsc-cart-active .responsive-nav select,
  body.xoo-wsc-cart-active .mobile-nav select,
  body.xoo-wsc-cart-active .yiw-mobile-menu select,
  body.xoo-wsc-cart-active .slicknav_menu select,
  body.xoo-wsc-cart-active select[name*="nav"],
  body.xoo-wsc-cart-active select[id*="nav"],
  body.xoo-wsc-cart-active select[class*="nav"],
  body.xoo-wsc-cart-active select[class*="menu"],
  body.xoo-wsc-cart-active .variations_form,
  body.xoo-wsc-cart-active form.cart,
  body.xoo-wsc-cart-active .single-product .variations,
  body.xoo-wsc-cart-active .single-product .variations td {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
/* =========================================================
   PRODUCT ADD-ON IMAGES: HIDE UNTIL OPTION IS SELECTED
   ========================================================= */

/* Hide add-on preview wrappers by default */
.single-product .tm-extra-product-options .tc-image-wrap,
.single-product .tm-extra-product-options .cpf_img,
.single-product .tm-extra-product-options img.tmcp-image,
.single-product .product-addon .addon-image,
.single-product .product-addon .addon-image img,
.single-product .wc-pao-addon .addon-image,
.single-product .wc-pao-addon .addon-image img {
  opacity: 0 !important;
  visibility: hidden !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Show when the option wrapper is selected/active */
.single-product .tm-extra-product-options .tc-active .tc-image-wrap,
.single-product .tm-extra-product-options .tc-active .cpf_img,
.single-product .tm-extra-product-options .tc-active img.tmcp-image,
.single-product .product-addon.selected .addon-image,
.single-product .product-addon.selected .addon-image img,
.single-product .wc-pao-addon.selected .addon-image,
.single-product .wc-pao-addon.selected .addon-image img,
.single-product .wc-pao-addon.has-options .selected .addon-image,
.single-product .wc-pao-addon.has-options .selected .addon-image img {
  opacity: 1 !important;
  visibility: visible !important;
  max-height: 1000px !important;
  pointer-events: auto !important;
}

/* Show when checkbox/radio is checked inside the same option row */
.single-product .tm-extra-product-options .tc-container:has(input[type="checkbox"]:checked) .tc-image-wrap,
.single-product .tm-extra-product-options .tc-container:has(input[type="radio"]:checked) .tc-image-wrap,
.single-product .tm-extra-product-options .tc-container:has(input[type="checkbox"]:checked) .cpf_img,
.single-product .tm-extra-product-options .tc-container:has(input[type="radio"]:checked) .cpf_img,
.single-product .tm-extra-product-options .tc-container:has(input[type="checkbox"]:checked) img.tmcp-image,
.single-product .tm-extra-product-options .tc-container:has(input[type="radio"]:checked) img.tmcp-image,
.single-product .product-addon:has(input[type="checkbox"]:checked) .addon-image,
.single-product .product-addon:has(input[type="radio"]:checked) .addon-image,
.single-product .product-addon:has(input[type="checkbox"]:checked) .addon-image img,
.single-product .product-addon:has(input[type="radio"]:checked) .addon-image img,
.single-product .wc-pao-addon:has(input[type="checkbox"]:checked) .addon-image,
.single-product .wc-pao-addon:has(input[type="radio"]:checked) .addon-image,
.single-product .wc-pao-addon:has(input[type="checkbox"]:checked) .addon-image img,
.single-product .wc-pao-addon:has(input[type="radio"]:checked) .addon-image img {
  opacity: 1 !important;
  visibility: visible !important;
  max-height: 1000px !important;
  pointer-events: auto !important;
}
/* FINAL – force bigger bold product title in cart */
.woocommerce-cart td.product-name a {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3;
}
/* Force bigger black X in cart */
.woocommerce-cart td.product-remove a,
.woocommerce-cart td.product-remove a.remove,
.woocommerce-page td.product-remove a,
.woocommerce-page td.product-remove a.remove {
    color: #000 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
 
.woocommerce-cart td.product-remove a:hover,
.woocommerce-cart td.product-remove a.remove:hover,
.woocommerce-page td.product-remove a:hover,
.woocommerce-page td.product-remove a.remove:hover {
    color: #000 !important;
    background: transparent !important;
}
#tab-title-common_tab a {
    display: inline-block !important;
    background: #e63946 !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

#tab-title-common_tab a:before {
    content: "📄 ";
}

/* TimberIN: product lightbox controls matched to NL reference — 2026-08-22 */
html body.single-product.mfp-zoom-out-cur { overflow: hidden !important; }
html body.single-product .mfp-bg {
  z-index: 2147483645 !important;
  background: #1e140e !important;
  opacity: .94 !important;
}
html body.single-product .mfp-wrap { z-index: 2147483646 !important; }
html body.single-product .mfp-wrap .mfp-close,
html body.single-product .mfp-wrap .mfp-arrow {
  position: fixed !important;
  z-index: 2 !important;
  display: grid !important;
  place-items: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: #7b4022 !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-radius: 50% !important;
  box-shadow: 0 7px 24px rgba(0,0,0,.34) !important;
  font: 700 34px/1 Arial, Helvetica, sans-serif !important;
  text-align: center !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
html body.single-product .mfp-wrap .mfp-close:hover,
html body.single-product .mfp-wrap .mfp-close:focus-visible,
html body.single-product .mfp-wrap .mfp-arrow:hover,
html body.single-product .mfp-wrap .mfp-arrow:focus-visible {
  color: #fff !important;
  background: #a75429 !important;
  outline: 3px solid rgba(255,255,255,.92) !important;
  outline-offset: 3px !important;
}
html body.single-product .mfp-wrap .mfp-close {
  top: max(14px, env(safe-area-inset-top)) !important;
  right: max(14px, env(safe-area-inset-right)) !important;
  bottom: auto !important;
  left: auto !important;
  background: #a75429 !important;
  font-size: 38px !important;
  line-height: 1 !important;
}
html body.single-product .mfp-wrap .mfp-arrow {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}
html body.single-product .mfp-wrap .mfp-arrow-left {
  left: max(14px, env(safe-area-inset-left)) !important;
  right: auto !important;
}
html body.single-product .mfp-wrap .mfp-arrow-right {
  right: max(14px, env(safe-area-inset-right)) !important;
  left: auto !important;
}
html body.single-product .mfp-wrap .mfp-arrow::before {
  display: none !important;
  content: none !important;
}
html body.single-product .mfp-wrap .mfp-arrow::after {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  color: #fff !important;
  opacity: 1 !important;
  font: 700 34px/1 Arial, Helvetica, sans-serif !important;
}
html body.single-product .mfp-wrap .mfp-arrow-left::after { content: "‹" !important; }
html body.single-product .mfp-wrap .mfp-arrow-right::after { content: "›" !important; }
html body.single-product .mfp-wrap .mfp-counter {
  position: fixed !important;
  right: 50% !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  top: auto !important;
  left: auto !important;
  z-index: 2 !important;
  transform: translateX(50%) !important;
  padding: 7px 12px !important;
  color: #fff !important;
  background: rgba(0,0,0,.56) !important;
  border-radius: 999px !important;
  font: 700 14px/1.35 Arial, Helvetica, sans-serif !important;
  white-space: nowrap !important;
}
@media (max-width: 620px) {
  html body.single-product .mfp-wrap .mfp-close,
  html body.single-product .mfp-wrap .mfp-arrow {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
  html body.single-product .mfp-wrap .mfp-close {
    top: max(12px, env(safe-area-inset-top)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
  }
  html body.single-product .mfp-wrap .mfp-arrow {
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    transform: none !important;
  }
  html body.single-product .mfp-wrap .mfp-arrow-left { left: max(12px, env(safe-area-inset-left)) !important; }
  html body.single-product .mfp-wrap .mfp-arrow-right { right: max(12px, env(safe-area-inset-right)) !important; }
}

/* === TI-UK-MONEY-LP-SHARED-START 2026-09-21T10:45+02 badge-align+title-height COMPACT === */
/* =========================================================
   TI UK money-landing product cards — SHARED LOCK 2026-09-21T10:40+02 badge-align+title-height+slot
   Source of truth: sauna money LP card treatment (2-col mobile,
   natural aspect, View model only, zero ATC).
   Scope: body.ti-uk-money-lp
   Path: Appearance → Custom CSS (WP post 11669)
   Local: /workspace/upgrade/M13/evidence/ti-uk-money-lp-product-cards.SHARED.css

   Card structure (required):
   1) Image frame 1:1 (img in-flow, object-fit contain, center bottom)
   2) Badge = absolute ONLY on image wrapper; FIXED slot height; same top across row
   3) Title (strong.below-thumb / h2) in normal flow UNDER image — never absolute/badge
      Title block min-height + line-clamp:2 so price/View model align across row
   4) Price under title
   5) View model visible — hide ONLY real ATC
   6) Missing badges: JS inserts truthful .ti-product-badge chips (size/wood/stove/sale)
   ========================================================= */
body.ti-uk-money-lp{
  --ti-money-cta:#c44c1b;
  --ti-money-cta-hover:#9f3510;
  --ti-money-price:#a6421b;
  --ti-money-title:#231d19;
  --ti-money-border:#e5d6c6;
}

/* ATC nuclear hide — real ATC only (keep .ti-wh-grid-card-cta / View model) */
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.add_to_cart_button,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.ajax_add_to_cart,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.add-to-cart,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.product_type_simple,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.product_type_variable,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.product_type_grouped,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product a.product_type_external,
html body.ti-uk-money-lp #content .ti-product-grid-section .add_to_cart_button,
html body.ti-uk-money-lp #content .ti-product-grid-section a.button.add_to_cart_button,
html body.ti-uk-money-lp #content .ti-product-grid-section .ajax_add_to_cart,
html body.ti-uk-money-lp #content ul.products li.product a.button.add_to_cart_button,
html body.ti-uk-money-lp #content ul.products li.product a.button.product_type_variable,
html body.ti-uk-money-lp #content ul.products li.product a.button.product_type_simple,
html body.ti-uk-money-lp #content ul.products li.product a.button.product_type_grouped,
html body.ti-uk-money-lp #content ul.products li.product a.button.product_type_external,
html body.ti-uk-money-lp #content ul.products li.product a.add-to-cart.button,
html body.ti-uk-money-lp .ti-product-grid-section a.add_to_cart_button,
html body.ti-uk-money-lp .ti-product-grid-section a.ajax_add_to_cart,
html body.ti-uk-money-lp #content ul.products li.product a.button:not(.ti-wh-grid-card-cta){
  display:none!important;visibility:hidden!important;pointer-events:none!important;
  height:0!important;max-height:0!important;min-height:0!important;overflow:hidden!important;
  margin:0!important;padding:0!important;border:0!important;font-size:0!important;line-height:0!important;
  opacity:0!important;position:absolute!important;left:-9999px!important;clip:rect(0,0,0,0)!important;
}

/* View model CTA — force visible (JS renames ATC → .ti-wh-grid-card-cta) */
html body.ti-uk-money-lp #content .ti-product-grid-section a.ti-wh-grid-card-cta,
html body.ti-uk-money-lp #content ul.products li.product a.ti-wh-grid-card-cta,
html body.ti-uk-money-lp #content a.ti-wh-grid-card-cta,
html body.ti-uk-money-lp #content .ti-product-grid-section .buttons a.ti-wh-grid-card-cta,
html body.ti-uk-money-lp #content ul.products li.product .buttons a.ti-wh-grid-card-cta{
  display:flex!important;visibility:visible!important;pointer-events:auto!important;
  position:static!important;left:auto!important;clip:auto!important;opacity:1!important;
  height:auto!important;max-height:none!important;min-height:44px!important;overflow:visible!important;
  margin:auto 0 0!important;padding:11px 14px!important;border:0!important;border-radius:4px!important;
  background:var(--ti-money-cta)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font:800 14px/1.25 Arial,Helvetica,sans-serif!important;text-align:center!important;text-decoration:none!important;
  align-items:center!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important;
}
html body.ti-uk-money-lp #content a.ti-wh-grid-card-cta:hover{
  background:var(--ti-money-cta-hover)!important;color:#fff!important;
}

/* Card chrome */
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products,
html body.ti-uk-money-lp #content ul.products{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px 14px!important;list-style:none!important;margin:0!important;padding:0!important;
}
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product,
html body.ti-uk-money-lp #content ul.products li.product{
  width:auto!important;max-width:none!important;float:none!important;clear:none!important;
  display:flex!important;flex-direction:column!important;
  background:#fff!important;border:1px solid var(--ti-money-border)!important;border-radius:8px!important;
  padding:10px 10px 12px!important;box-sizing:border-box!important;margin:0!important;
  position:relative!important;
}

/* Title — normal flow under image. Avada puts title in strong.below-thumb INSIDE .thumbnail.
   Keep static/in-flow; NEVER absolute / NEVER badge styles. */
html body.ti-uk-money-lp #content ul.products li.product .woocommerce-loop-product__title,
html body.ti-uk-money-lp #content ul.products li.product h2,
html body.ti-uk-money-lp #content ul.products li.product h3,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > strong.below-thumb,
html body.ti-uk-money-lp #content ul.products li.product strong.below-thumb,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product strong.below-thumb{
  color:var(--ti-money-title)!important;font:700 13px/1.35 Arial,Helvetica,sans-serif!important;
  text-align:center!important;margin:8px 0 4px!important;text-transform:uppercase!important;
  position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  inset:auto!important;transform:none!important;z-index:auto!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  width:auto!important;max-width:100%!important;box-sizing:border-box!important;
  white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;
  line-height:1.35!important;
  min-height:calc(1.35em * 2)!important;height:auto!important;max-height:calc(1.35em * 2)!important;
  padding:0!important;
  background:transparent!important;border:0!important;pointer-events:auto!important;
}
html body.ti-uk-money-lp #content ul.products li.product .price,
html body.ti-uk-money-lp #content ul.products li.product .price .amount,
html body.ti-uk-money-lp #content ul.products li.product .price ins,
html body.ti-uk-money-lp #content ul.products li.product .price del{
  color:var(--ti-money-price)!important;text-align:center!important;display:block!important;
  font-weight:700!important;position:static!important;transform:none!important;
}

/* --- Image wrapper (frame) ---
   .thumbnail is position:relative for badge overlay ONLY.
   Do NOT set aspect-ratio on .thumbnail (title lives inside it in Avada).
   Equal 1:1 frame = the IMG itself (in-flow). Title flows after img. */
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .thumbnail,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail,
html body.ti-uk-money-lp #content .woocommerce ul.products li.product .thumbnail{
  display:block!important;position:relative!important;
  width:100%!important;aspect-ratio:auto!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  overflow:visible!important;padding:0!important;margin:0!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  background:#fff!important;
}

/* Badge — absolute overlay ONLY as direct child of image wrapper. Top-center.
   NEVER unscoped .ti-product-badge (would escape onto card / fight title). */
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content#content#content#content .ti-product-grid-section ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .thumbnail > .ti-product-badge{
  position:absolute!important;z-index:30!important;
  top:6px!important;left:50%!important;right:auto!important;bottom:auto!important;
  inset:auto!important;transform:translateX(-50%)!important;margin:0!important;
  max-width:calc(100% - 12px)!important;width:max-content!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:11px!important;line-height:1!important;font-weight:800!important;
  padding:0 8px!important;
  height:22px!important;min-height:22px!important;max-height:22px!important;
  box-sizing:border-box!important;text-align:center!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;pointer-events:none!important;
}

/* IMG — IN FLOW (not absolute). Absolute was the regression: title strong.below-thumb
   collapsed into the badge strip at top of .thumbnail. */
html body.ti-uk-money-lp #content#content#content#content .ti-product-grid-section ul.products li.product .thumbnail > img,
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > img,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .thumbnail > img,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > img{
  display:block!important;position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  inset:auto!important;transform:none!important;
  width:100%!important;height:auto!important;
  max-width:100%!important;max-height:none!important;min-height:0!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;object-position:center bottom!important;
  margin:0!important;padding:32px 0 0!important;border:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
}

/* Hide decorative thumb-shadow so it does not affect flow */
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .thumb-shadow,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .thumbnail > .thumb-shadow{
  display:none!important;
}

/* WC block grid image frame (title is usually OUTSIDE image wrapper) */
html body.ti-uk-money-lp #content .wc-block-grid__product-image,
html body.ti-uk-money-lp #content .wc-block-grid__product .wc-block-grid__product-image,
html body.ti-uk-money-lp .wc-block-grid__product-image{
  display:block!important;position:relative!important;
  width:100%!important;aspect-ratio:1/1!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  overflow:hidden!important;padding:0!important;margin:0!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  background:#fff!important;
}
html body.ti-uk-money-lp #content#content#content#content .wc-block-grid__product-image > .ti-product-badge,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > .ti-product-badge,
html body.ti-uk-money-lp .wc-block-grid__product-image > .ti-product-badge{
  position:absolute!important;z-index:30!important;
  top:6px!important;left:50%!important;right:auto!important;bottom:auto!important;
  inset:auto!important;transform:translateX(-50%)!important;margin:0!important;
  max-width:calc(100% - 12px)!important;width:max-content!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:11px!important;line-height:1!important;font-weight:800!important;
  padding:0 8px!important;
  height:22px!important;min-height:22px!important;max-height:22px!important;
  box-sizing:border-box!important;text-align:center!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;pointer-events:none!important;
}
html body.ti-uk-money-lp #content#content#content#content .wc-block-grid__product-image > img,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > img,
html body.ti-uk-money-lp .wc-block-grid__product-image > img{
  display:block!important;position:absolute!important;
  top:32px!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;height:calc(100% - 32px)!important;
  max-width:100%!important;max-height:none!important;min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center bottom!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;transform:none!important;
}

@media (max-width:768px){
  html body.ti-uk-money-lp #content .ti-product-grid-section ul.products,
html body.ti-uk-money-lp #content ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important;
  }
  html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content#content#content#content .wc-block-grid__product-image > .ti-product-badge,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > .ti-product-badge{
    top:5px!important;font-size:10px!important;padding:0 7px!important;
    max-width:calc(100% - 10px)!important;line-height:1!important;
    height:20px!important;min-height:20px!important;max-height:20px!important;
  }
  html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > img,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > img{
    padding-top:30px!important;
  }
  html body.ti-uk-money-lp #content#content#content#content .wc-block-grid__product-image > img,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > img{
    top:30px!important;height:calc(100% - 30px)!important;
  }
}


/* --- TI-UK-MONEY-LP-BADGE-ALIGN-TITLE-HEIGHT ---
   Equal badge tops across row; reserve empty badge slot; kill theme rail padding. */
html body.ti-uk-money-lp #content#content#content#content ul.products li.product:has(.ti-product-badge),
html body.ti-uk-money-lp #content ul.products li.product:has(.ti-product-badge),
html body.ti-uk-money-lp #content .woocommerce ul.products li.product:has(.ti-product-badge),
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product:has(.ti-product-badge){
  padding-top:10px!important;
}
/* Empty badge slot — equal height placeholder when chip missing (JS prefers real chips) */
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail:not(:has(> .ti-product-badge))::before,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail:not(:has(> .ti-product-badge))::before,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .thumbnail:not(:has(> .ti-product-badge))::before,
html body.ti-uk-money-lp #content .wc-block-grid__product-image:not(:has(> .ti-product-badge))::before{
  content:""!important;position:absolute!important;z-index:29!important;
  top:6px!important;left:50%!important;transform:translateX(-50%)!important;
  width:72px!important;height:22px!important;min-height:22px!important;max-height:22px!important;
  box-sizing:border-box!important;pointer-events:none!important;visibility:hidden!important;
}
@media (max-width:768px){
  html body.ti-uk-money-lp #content ul.products li.product .thumbnail:not(:has(> .ti-product-badge))::before,
html body.ti-uk-money-lp #content .wc-block-grid__product-image:not(:has(> .ti-product-badge))::before{
    top:5px!important;height:20px!important;min-height:20px!important;max-height:20px!important;
  }
}
/* Price block min-height so sale del+ins vs single price don't yank CTA as hard */
html body.ti-uk-money-lp #content ul.products li.product .price,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .price{
  min-height:2.6em!important;margin:4px 0 8px!important;
}
/* --- /TI-UK-MONEY-LP-BADGE-ALIGN-TITLE-HEIGHT --- */

/* Theme hover-reveal: .buttons {opacity:0} on desktop — keep View model visible */
html body.ti-uk-money-lp #content ul.products li.product .buttons,
html body.ti-uk-money-lp #content .ti-product-grid-section ul.products li.product .buttons{
  opacity:1!important;visibility:visible!important;display:block!important;
  height:auto!important;max-height:none!important;overflow:visible!important;
  position:static!important;pointer-events:auto!important;
}

/* --- TI-UK-MONEY-LP-BADGE-ALIGN-PATCH --- */
html body.ti-uk-money-lp #content#content#content#content ul.products li.product,
html body.ti-uk-money-lp #content ul.products li.product,
html body.ti-uk-money-lp #content ul.products li.product:has(.ti-product-badge),
html body.ti-uk-money-lp #content .woocommerce ul.products li.product:has(.ti-product-badge){
  padding-top:10px!important;padding-bottom:12px!important;
}
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--sale,
html body.ti-uk-money-lp #content#content#content#content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--feature,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--sale,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--feature,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > .ti-product-badge,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > .ti-product-badge.ti-product-badge--sale,
html body.ti-uk-money-lp #content .wc-block-grid__product-image > .ti-product-badge.ti-product-badge--feature{
  top:6px!important;bottom:auto!important;left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;
  margin:0!important;margin-top:0!important;
  height:22px!important;min-height:22px!important;max-height:22px!important;
}
@media (max-width:768px){
  html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--sale,
html body.ti-uk-money-lp #content ul.products li.product .thumbnail > .ti-product-badge.ti-product-badge--feature{
    top:5px!important;height:20px!important;min-height:20px!important;max-height:20px!important;
  }
}
/* --- /TI-UK-MONEY-LP-BADGE-ALIGN-PATCH --- */

/* === TI-UK-MONEY-LP-SHARED-END === */


/* rocket 2026-09-21T10:45+02 badge-align+title-height compact */



