.page .entry-title {
  display: none;
}
.page-id-96187 p.woocommerce-store-notice.demo_store {
  display: none;
}
.page-id-95731 p.woocommerce-store-notice.demo_store {
  display: none;
}
.page-id-90093 p.woocommerce-store-notice.demo_store {
  display: none;
}
.page-id-96462 p.woocommerce-store-notice.demo_store {
  display: none;
}

/* Hide reCAPTCHA on mobile */
@media (max-width: 1023px) {
  .rc-anchor {
    display: none !important;
  }
}

/* Alternative: More specific targeting if needed */
@media (max-width: 1023px) {
  .rc-anchor.rc-anchor-invisible {
    display: none !important;
  }
}

/* 5px black border for testimonial block */
.wp-block-group.alignwide.is-style-heim-cover-padding {
    border: 2px solid #8B7A6B !important;
    box-sizing: border-box !important;
}

/* Hide reCAPTCHA badge on mobile */
@media (max-width: 1023px) {
  .grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* Also hide the response textarea */
  .g-recaptcha-response {
    display: none !important;
  }
  
  /* Backup selectors for other reCAPTCHA elements */
  .rc-anchor,
  .rc-anchor-invisible,
  div[class*="rc-anchor"],
  iframe[src*="recaptcha"],
  iframe[title*="reCAPTCHA"] {
    display: none !important;
  }
}

/* Target the paragraph containing the images */
.term-description p:last-of-type {
    display: flex;        
    flex-wrap: nowrap;    
    gap: 10px;            
    align-items: center;  
    overflow-x: auto;     
}

/* Resize images for consistency */
.term-description p:last-of-type img {
    height: 150px;        
    width: auto;          
    flex-shrink: 0;       
    display: block;
}

/* Mobile: keep images in a row but reduce size to 50% */
@media (max-width: 768px) {
    .term-description p:last-of-type img {
        height: 75px;       /* 50% of original */
        width: auto;        /* maintain aspect ratio */
    }
}

/* Target the buttons in the WooCommerce checkout form */
.thwmscf-buttons .button-prev,
.thwmscf-buttons .button-next,
.thwmscf-buttons .thwmscf-cart-url {
  color: var(--buttons--font-color) !important;
  background-color: var(--buttons--background-color) !important;
  border: 1px solid transparent !important;
  border-radius: 50px !important; /* pill shape */
  padding: 0 28px !important;      /* same spacing */
  height: 46px !important;         /* consistent button height */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.theme-heim .wc-block-grid[data-content-visibility*='button":false'] .wc-block-grid__products {
  margin-left: 16px;
  margin-right: 16px;
}

#thwmscf-tab-panels .thwmscf-buttons:nth-of-type(2) {
  display: none !important;
}

body > .woocommerce-store-notice.demo_store {
  display: none !important;
}

/* Mobile / smaller screens */
@media (max-width: 1023px) {
  .swiper-backface-hidden .swiper-slide {
    min-height: 1000px;
  }
}

/* Desktop / larger screens (leave as is) */
@media (min-width: 1024px) {
  .swiper-backface-hidden .swiper-slide {
    min-height: 800px;
  }
}

/* Mobile-first: default size */
.wp-block-heading.testimonial.has-medium-font-size {
  font-size: 16px !important; /* force override */
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .wp-block-heading.testimonial.has-medium-font-size {
    font-size: 16px !important; /* force override */
  }
}

/* Mobile-first: smaller size */
#scrollup-master {
  transform: scale(0.75); /* 50% of current size */
}

/* Desktop: hide the button */
@media (min-width: 1024px) {
  #scrollup-master {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .trusted.slider {
    min-height: 1500px;
  }
}

/* --- Staging-only additions --- */
body.page-id-91217 header.entry-header {
  display: none !important;
}

/* Hide the specific menu item on mobile (≤768px) */
@media (max-width: 768px) {
  li.menu-item-97460,
  li.menu-item-97460 a {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Mobile-only fix for post 80363 */
@media (max-width: 768px) {
  body.postid-80363 .wp-block-column.is-layout-flow {
    flex: 0 0 50% !important;   /* each column takes half width */
    max-width: 50% !important;
  }
}

.theme-heim .wc-block-components-drawer__screen-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.theme-heim .wc-block-components-drawer__screen-overlay.wc-block-components-drawer__screen-overlay--is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background-color: transparent !important;
}

.wc-block-mini-cart__drawer[aria-hidden="true"] {
    transform: translateX(100%) !important;
    visibility: hidden !important;
}