.user-role.vendor-customer-registration,
.dokan-register-area,
.dokan-form-group.dokan-new-customer-option {
  display: none !important;
}

/* Hide Product Type */
.dokan-form-group label[for="product_type"],
#product_type {
  display: none !important;
}

/* Hide Downloadable and Virtual checkboxes */
.content-half-part.downloadable-checkbox,
.content-half-part.virtual-checkbox {
  display: none !important;
}

/* Hide Shipping and Tax section */
.dokan-section-heading[data-togglehandler="dokan_product_shipping_tax"],
.dokan-section-heading[data-togglehandler="dokan_product_shipping_tax"] + p,
.dokan-section-heading[data-togglehandler="dokan_product_shipping_tax"] ~ div {
  display: none !important;
}

/* Hide Linked Products section */
.dokan-section-heading[data-togglehandler="dokan_linked_product_options"],
.dokan-section-heading[data-togglehandler="dokan_linked_product_options"] + p,
.dokan-section-heading[data-togglehandler="dokan_linked_product_options"] ~ div {
  display: none !important;
}

/* Hide Attributes and Variations section */
.dokan-attribute-variation-options {
  display: none !important;
}

/* Hide RMA Options section */
.dokan-rma-options {
  display: none !important;
}

/* Hide Wholesale Options section */
.dokan-wholesale-options {
  display: none !important;
}

.dokan-product-inventory {
  display: none !important;
}

/* Hide only the Product Brand dropdown, not Tags */
#product_brand_edit,
label[for="product_brand_edit"],
#product_brand_edit + .select2.select2-container {
  display: none !important;
}

.dokan-form-group:has(#product_brand_edit) > label {
  display: none !important;
}

.woocommerce-message, 
.woocommerce-message a, 
.woocommerce-message strong {
  color: #ffffff !important;
  background: #38a169 !important;
  border-color: #27683b !important;
}

.woocommerce-message {
  padding: 16px !important;
  font-size: 1.1em !important;
}

.woocommerce-message::before {
  color: #fff !important;
}

/* Hide Jetpack/Sharedaddy social and likes widgets sitewide */
.robots-nocontent.sd-block.sd-social.sd-social-icon-text.sd-sharing,
.sharedaddy,
.sd-block,
.sd-like,
.jetpack-likes-widget-wrapper,
.jetpack-likes-widget-loaded {
  display: none !important;
}

/* Hide the "Designer Studio" title ONLY on page-id-3843 */
body.page-id-3843 .hero-section .entry-header .page-title[title="Designer Studio"] {
  display: none !important;
}

/* Mobile WooCommerce pagination fix */
@media (max-width: 600px) {
  nav.woocommerce-pagination ul.page-numbers li {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin: 0 2px !important;
  }

  nav.woocommerce-pagination ul.page-numbers li a,
  nav.woocommerce-pagination ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile shop scroll/height fix */
@media (max-width: 600px) {
  html, body, .ct-main, .ct-content, .ct-theme-wrapper, .ct-container,
  .tenko-shop-wrapper, .tenko-shop-grid {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    contain: none !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y !important;
    background-attachment: initial !important;
  }
}

@supports (content-visibility: auto) {
  .tenko-cv-auto {
    content-visibility: auto;
    contain-intrinsic-size: 1200px;
  }
}