/* ===== MyTattoo global fixes: inputs + header stability ===== */

/* Directorist + general form controls on dark UI */
.directorist-form-element,
.directorist-search-field__input,
.directorist-search-form input[type="text"],
.directorist-search-form input[type="search"],
.directorist-search-form input[type="email"],
.directorist-search-form input[type="number"],
.directorist-search-form input[type="tel"],
.directorist-search-form input[type="url"],
.directorist-search-form textarea,
.directorist-search-form select,
.directorist-price-ranges__item input,
.pricing-slider-range__input-values__min,
.pricing-slider-range__input-values__max,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple,
.directorist-select .select2-selection__rendered,
input.directorist-form-element,
textarea.directorist-form-element,
select.directorist-form-element,
.mt-sp .sp-form input,
.mt-sp .sp-form textarea,
.mt-sp .sp-form select,
.woocommerce form input.input-text,
.woocommerce form textarea,
.woocommerce form select,
.woocommerce-cart table.cart td.actions .coupon .input-text,
body input[type="text"],
body input[type="search"],
body input[type="email"],
body input[type="number"],
body input[type="tel"],
body input[type="url"],
body input[type="password"],
body textarea {
  color: #f0e8dc !important;
  -webkit-text-fill-color: #f0e8dc !important;
  caret-color: #ec6a43 !important;
}

/* Placeholders */
.directorist-form-element::placeholder,
.directorist-search-field__input::placeholder,
.directorist-search-form input::placeholder,
.directorist-search-form textarea::placeholder,
.mt-sp .sp-form input::placeholder,
.mt-sp .sp-form textarea::placeholder,
body input::placeholder,
body textarea::placeholder {
  color: #6e665b !important;
  -webkit-text-fill-color: #6e665b !important;
  opacity: 1 !important;
}

/* Chrome/Safari autofill paints yellow/black text — force dark field + light text */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #f0e8dc !important;
  caret-color: #ec6a43 !important;
  box-shadow: 0 0 0 1000px #1b1816 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #1b1816 inset !important;
  transition: background-color 99999s ease-in-out 0s;
}

/* Select2 dropdown text */
.select2-container--default .select2-results__option,
.select2-container--open .select2-dropdown {
  color: #f0e8dc !important;
  background: #1b1816 !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: #d2502c !important;
  color: #fff !important;
}

/* Avoid harsh white focus ring on search shell */
.directorist-search-contents,
.directorist-search-form,
.directorist-search-form__box,
.directorist-listing-search-form,
.directorist-advanced-filter {
  outline: none !important;
}
.directorist-search-form__box:focus-within,
.directorist-search-contents:focus-within {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(210,80,44,.45) !important;
}

/* ===== Header: stable height (no grow on scroll) ===== */
.ast-primary-header-bar,
.main-header-bar,
#masthead .ast-primary-header-bar {
  min-height: 78px !important;
  max-height: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease !important;
}
body.mt-header-scrolled .ast-primary-header-bar,
body.mt-header-scrolled .main-header-bar,
body.mt-header-scrolled #masthead .ast-primary-header-bar {
  min-height: 78px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-header .site-logo-img img,
.custom-logo-link img,
.site-header .custom-logo {
  max-height: 48px !important;
  width: auto !important;
}
body.mt-header-scrolled .site-header .site-logo-img img,
body.mt-header-scrolled .custom-logo-link img {
  max-height: 48px !important;
}

/* Site pages (about/support/thank-you): same header, no extra top gap / jump */
body.mts-site-page .ast-primary-header-bar,
body.mts-is-guide .ast-primary-header-bar,
body.page-template-default .ast-primary-header-bar {
  min-height: 78px !important;
}
body.mts-site-page #content,
body.mts-site-page .site-content,
body.mts-is-guide #content,
body.mts-is-guide .site-content {
  padding-top: 0 !important;
}

/* Header menu buttons: keep About/Support from looking like huge blocks */
.main-header-menu > .menu-item > .menu-link {
  line-height: 1.2 !important;
}
/* ===== Stronger labels + price range + filter chrome ===== */
.directorist-search-field label,
.directorist-search-field__label,
.directorist-form-label,
.directorist-price-ranges__price-frequency,
.directorist-advanced-filter__action,
.directorist-listing-category-top,
.directorist-filter-panel-wrap label,
.directorist-search-form label,
.directorist-content-active .directorist-search-field > label,
.directorist-price-ranges label,
.directorist-range-slider-wrap label,
.directorist-filter-group-title,
.directorist-advanced-filter__title,
.directorist-search-form-top label,
.directorist-form-group label,
label.directorist-search-field__label,
.directorist-price-ranges .directorist-price-ranges__price-title,
.pricing-slider-range__input-values,
.directorist-filter-panel-wrap .directorist-search-field__label,
b.directorist-search-field__label,
.directorist-search-form .directorist-search-field > label,
.directorist-sidebar .directorist-search-field label,
.directorist-archive-contents label {
  color: #c8bfb0 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #c8bfb0 !important;
}

/* MIN $ / MAX $ specifically */
.pricing-slider-range__input-values__min,
.pricing-slider-range__input-values__max,
.directorist-price-ranges input,
.directorist-price-ranges__item input,
.directorist-price-ranges__price-frequency--custom input,
input[name="price[0]"],
input[name="price[1]"] {
  color: #f0e8dc !important;
  -webkit-text-fill-color: #f0e8dc !important;
  background-color: #1b1816 !important;
  border: 1px solid rgba(240,232,220,.22) !important;
  caret-color: #ec6a43 !important;
}

/* Grey tag chips / empty filter pills — readable text */
.directorist-btn,
.directorist-type-nav__list li a,
.directorist-checkbox label,
.directorist-radio label,
.directorist-range-slider-current-value,
.directorist-filter-value,
.directorist-tag-list a,
.directorist-listing-category-top li a {
  color: #d0c7b9 !important;
  opacity: 1 !important;
}

/* Number inputs in filters */
.directorist-form-element[type="number"],
input[type="number"].directorist-form-element {
  color: #f0e8dc !important;
  -webkit-text-fill-color: #f0e8dc !important;
  background: #1b1816 !important;
}

/* Select / topic dropdowns readable */
select,
select.directorist-form-element,
.mt-sp .sp-form select,
.directorist-search-form select {
  color: #f0e8dc !important;
  -webkit-text-fill-color: #f0e8dc !important;
  background-color: #1b1816 !important;
  border: 1px solid rgba(240,232,220,.22) !important;
  min-height: 48px !important;
  padding: 12px 40px 12px 16px !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a39a8c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}
select option {
  color: #f0e8dc !important;
  background: #1b1816 !important;
}

/* Support form topic select — full height, not clipped */
.mt-sp .sp-form select,
.mt-sp .sp-form input,
.mt-sp .sp-form textarea {
  min-height: 48px !important;
  padding: 14px 16px !important;
  line-height: 1.45 !important;
  color: #f0e8dc !important;
  -webkit-text-fill-color: #f0e8dc !important;
  background: #1b1816 !important;
  border: 1px solid rgba(240,232,220,.22) !important;
  overflow: visible !important;
}
.mt-sp .sp-form select {
  height: 52px !important;
  min-height: 52px !important;
  padding-right: 40px !important;
}
.mt-sp .sp-form textarea {
  min-height: 140px !important;
}
.mt-sp .sp-form label {
  color: #c8bfb0 !important;
  -webkit-text-fill-color: #c8bfb0 !important;
  opacity: 1 !important;
}




/* Designs page - hide title only */
body.page-id-3402 .entry-header,
body.page-id-3402 .ast-single-post .entry-header,
body.page-id-3402 h1.entry-title,
body.page-id-3402 .page-title,
body.page-id-3402 .ast-archive-description {
  display: none !important;
}
body.page-id-3402 .site-content,
body.page-id-3402 #content,
body.page-id-3402 .ast-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}



/* Force normal dark header on designs page (same as homepage) */

}
body.page-id-3402 .main-header-bar-wrap {
  background: #0a0908 !important;
}

/* Ensure mobile menu shows primary menu items including Design */
body.page-id-3402 .ast-header-break-point .main-header-menu,
body.page-id-3402 .ast-mobile-popup-drawer .main-header-menu {
  display: block !important;
}


/* thin-strip-fix: keep request strip visible just under header */
body.page-id-3402 .site-content,
body.page-id-3402 #content,
body.page-id-3402 .ast-container,
body.page-id-3402 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.page-id-3402 .mt-thin-strip {
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #e05a36 !important;
  color: #fff !important;
  text-align: center !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  z-index: 30 !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
/* Push content below fixed/sticky header so strip sits right under it */
body.page-id-3402 #content > .ast-container,
body.page-id-3402 .site-content > .ast-container {
  padding-top: 0 !important;
}
body.page-id-3402 .entry-content {
  padding-top: 72px !important; /* space for fixed header */
}
@media (max-width: 921px) {
  body.page-id-3402 .entry-content {
    padding-top: 64px !important;
  }
}

/* ===== Site header: transparent at top, solid black on scroll ===== */
#masthead,
.site-header,
.main-header-bar,
.ast-main-header-wrap,
.ast-primary-header-bar,
.main-header-bar-wrap {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: background-color .25s ease, backdrop-filter .25s ease;
}

/* When scrolled or sticky active — solid near-black */
.ast-header-sticked #masthead,
.ast-header-sticked .site-header,
.ast-header-sticked .main-header-bar,
.ast-header-sticked .ast-main-header-wrap,
.ast-header-sticked .ast-primary-header-bar,
.ast-header-sticked .main-header-bar-wrap,
body.scrolled #masthead,
body.scrolled .site-header,
body.scrolled .main-header-bar,
body.scrolled .ast-main-header-wrap,
body.scrolled .ast-primary-header-bar,
body.scrolled .main-header-bar-wrap {
  background: #0a0908 !important;
  background-color: #0a0908 !important;
  border-bottom: 1px solid rgba(240,232,220,0.08) !important;
}

/* Support page: breathing room for text */
body.page-id-3393 .mt-sp .sp-hero {
  padding: 100px 24px 64px !important;
}
body.page-id-3393 .mt-sp .sp-hero h1 {
  line-height: 1.12 !important;
  margin: 16px 0 20px !important;
  letter-spacing: 0.01em !important;
}
body.page-id-3393 .mt-sp .sp-lede {
  line-height: 1.65 !important;
  font-size: 17px !important;
  max-width: 580px !important;
}
body.page-id-3393 .mt-sp .sp-section {
  padding: 64px 24px !important;
}
body.page-id-3393 .mt-sp h2 {
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
body.page-id-3393 .mt-sp .sp-sub {
  line-height: 1.6 !important;
  margin-bottom: 32px !important;
}
body.page-id-3393 .mt-sp .sp-card {
  padding: 26px 22px !important;
}
body.page-id-3393 .mt-sp .sp-card h3 {
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}
body.page-id-3393 .mt-sp .sp-card p {
  line-height: 1.6 !important;
}
body.page-id-3393 .mt-sp .sp-path a {
  padding: 24px 20px !important;
}
body.page-id-3393 .mt-sp .sp-path strong {
  margin-bottom: 8px !important;
  line-height: 1.35 !important;
}
body.page-id-3393 .mt-sp .sp-path span {
  line-height: 1.55 !important;
}
body.page-id-3393 .mt-sp .sp-faq details {
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
}
body.page-id-3393 .mt-sp .sp-faq summary {
  line-height: 1.4 !important;
}
body.page-id-3393 .mt-sp .sp-faq p {
  line-height: 1.65 !important;
  margin-top: 12px !important;
}
body.page-id-3393 .mt-sp .sp-form label {
  margin-bottom: 16px !important;
  line-height: 1.4 !important;
}
body.page-id-3393 .mt-sp .sp-grid {
  gap: 20px !important;
}
