/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0
*/

/* ==============================
   Product page - Newsole style
============================== */
.single-product div.product .summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Uniform vertical rhythm across product blocks */
.single-product div.product .summary > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove theme separator lines in product summary */
.single-product div.product .summary .newsole-product-heading,
.single-product div.product .summary .newsole-product-heading::before,
.single-product div.product .summary .newsole-product-heading::after {
  border: 0 !important;
  box-shadow: none !important;
}

.single-product div.product .summary form.cart,
.single-product div.product .summary .cart,
.single-product div.product .summary form.cart::before,
.single-product div.product .summary form.cart::after,
.single-product div.product .summary .cart::before,
.single-product div.product .summary .cart::after,
.single-product div.product .summary .newsole-variation-buttons,
.single-product div.product .summary .newsole-size-grid {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Masque le titre/prix/avis natifs quand le bloc custom est injecte */
.single-product div.product .summary .product_title.entry-title,
.single-product div.product .summary p.price,
.single-product div.product .summary .woocommerce-product-rating {
  display: none !important;
}

.single-product div.product .summary .newsole-product-heading .product_title.entry-title,
.single-product div.product .summary .newsole-product-heading .price {
  display: block !important;
}

.newsole-product-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsole-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #757575;
  font-size: 14px;
  line-height: 1.4;
}

.newsole-product-breadcrumbs a {
  color: #757575;
  text-decoration: none;
}

.newsole-product-breadcrumbs a:hover {
  color: #333;
}

.newsole-breadcrumb-sep {
  color: #a8a8a8;
}

.newsole-title-price {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 0 !important;
  box-shadow: none !important;
}

.newsole-title-price .product_title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  max-width: 78%;
  border: 0 !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.newsole-title-price .price {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  text-align: right;
  border: 0 !important;
  box-shadow: none !important;
}

.newsole-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a4a4a;
  font-size: 15px;
}

.newsole-rating-trigger {
  color: #4a4a4a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsole-rating-trigger:hover {
  color: #222;
}

.newsole-trustindex-reviews {
  display: none !important;
  margin-top: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
}

.newsole-trustindex-reviews.is-open {
  display: block !important;
  animation: newsoleReviewsIn 0.34s ease-out;
}

.newsole-trustindex-reviews.is-closing {
  display: block !important;
  animation: newsoleReviewsOut 0.34s ease-in forwards;
  pointer-events: none;
}

@keyframes newsoleReviewsIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsoleReviewsOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.newsole-product-heading > .ti-widget,
.newsole-product-heading > [class*="trustindex"],
.newsole-product-heading > [id*="trustindex"] {
  display: none !important;
}

.newsole-stars .star-rating {
  margin: 0;
  color: #09ab6b;
}

.newsole-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.newsole-reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 16px;
  font-size: 15px;
  color: #333;
}

.newsole-reassurance-item:nth-child(odd) {
  border-right: 1px solid #e3e3e3;
}

.newsole-reassurance-item:nth-child(-n + 2) {
  border-bottom: 1px solid #e3e3e3;
}

/* Remove bottom divider under last row cards */
.newsole-reassurance-grid .newsole-reassurance-item:nth-child(n + 3) {
  border-bottom: 0 !important;
}

.newsole-reassurance-grid .newsole-reassurance-item:nth-last-child(-n + 2) {
  border-bottom: 0 !important;
}

.newsole-icon {
  display: inline-block;
  min-width: 18px;
  text-align: center;
}

.newsole-post-logo {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.newsole-size-advice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  background: #fafafa;
  color: #212121;
  font-size: 16px;
  padding: 12px 14px;
}

/* Hidden per latest requirement */
.newsole-size-advice {
  display: none !important;
}

.newsole-size-advice-icon {
  font-size: 15px;
  opacity: 0.75;
}

.newsole-delivery-estimate-box {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  background: #fafafa;
  color: #212121;
  font-size: 14px;
  padding: 12px 14px;
  margin-top: 0 !important;
}

.newsole-delivery-estimate-wrap {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.newsole-delivery-estimate-wrap::before,
.newsole-delivery-estimate-wrap::after,
.single-product div.product .summary .newsole-delivery-estimate-wrap::before,
.single-product div.product .summary .newsole-delivery-estimate-wrap::after {
  content: none !important;
  display: none !important;
}

/* Remove extra separator lines around delivery estimate block */
.single-product div.product .summary hr,
.single-product div.product .summary .newsole-delivery-estimate-wrap + hr,
.single-product div.product .summary hr + .newsole-delivery-estimate-wrap {
  display: none !important;
}

.single-product div.product .summary .newsole-delivery-estimate-wrap,
.single-product div.product .summary .newsole-delivery-estimate-wrap + * {
  border-top: 0 !important;
  box-shadow: none !important;
}

.newsole-delivery-estimate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #9a9a9a;
  border-radius: 50%;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 18px;
}

.newsole-delivery-estimate-icon::before {
  content: "i";
}

.single-product div.product form.cart {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px !important;
}

/* Uniform spacing rhythm inside cart area */
.single-product div.product form.cart > * {
  margin: 0 !important;
}

.single-product div.product form.cart > * + * {
  margin-top: 12px !important;
}

.single-product div.product form.cart .variations {
  margin: 0 !important;
}

/* Prevent native variation selector flash before JS grid init */
.single-product div.product form.cart table.variations {
  display: none !important;
}

.single-product div.product form.cart .variations td {
  padding-bottom: 0 !important;
}

.newsole-variation-buttons {
  margin: 0 !important;
}

.newsole-variation-title {
  display: none;
}

.newsole-unit-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  overflow: hidden;
  margin: 4px 0 10px;
}

/* Demande client: suppression des onglets EU/US/UK/CM */
.newsole-unit-switch {
  display: none !important;
}

.newsole-unit-switch button {
  border: 0;
  background: #fff;
  color: #444;
  min-width: 40px;
  height: 30px;
  font-size: 14px;
  padding: 0 10px;
}

.newsole-unit-switch button.is-active {
  background: #1f1f1f;
  color: #fff;
}

.newsole-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  background: transparent !important;
  padding: 0;
}

.newsole-size-option {
  appearance: none;
  flex: 0 0 calc((100% - 30px) / 6);
  height: 48px;
  border: 1px solid #cfcfcf !important;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  color: #111;
  font-weight: 600;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

/* Force rounded size tiles against theme/plugin overrides */
.single-product div.product form.cart .newsole-size-grid .newsole-size-option,
.single-product div.product .newsole-size-option,
button.newsole-size-option {
  border-radius: 6px !important;
  overflow: hidden !important;
}

.newsole-size-option:hover:not(.is-disabled):not(.is-active) {
  background: #f4f4f4;
}

.newsole-size-option.is-active {
  background: #111;
  color: #fff;
}

.newsole-size-option.is-disabled {
  color: #bdbdbd;
  background: #f8f8f8;
  cursor: not-allowed;
  display: none !important;
}

.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product .single_add_to_cart_button.button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #00A99D;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.2s ease;
  order: 20;
  margin-top: 0 !important;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
  opacity: 0.92;
  background: #009f94;
}

/* Keep express checkout native behavior */
.single-product .fkwcs-product {
  order: 30 !important;
  margin: 8px 0 0 !important;
  margin-bottom: 0 !important;
}

/* Match express button format to Add to cart */
.single-product #fkwcs_custom_express_button button.fkwcs_smart_buttons,
.single-product .fkwcs-product button.fkwcs_smart_buttons {
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  border-radius: 999px !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Keep equal spacing around OR separator and express button */
.single-product .fkwcs-product hr,
.single-product .fkwcs-product [class*="separator"] {
  margin: 8px 0 !important;
}

/* Center OR separator exactly between buttons */
.single-product .fkwcs-product [class*="separator"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1 !important;
}

.single-product .fkwcs-product [class*="separator"]::before,
.single-product .fkwcs-product [class*="separator"]::after {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

.single-product .fkwcs-product [class*="separator"] span {
  display: inline-block !important;
  margin: 0 12px !important;
  transform: none !important;
  line-height: 1 !important;
}

/* Extra fallback for OR text wrappers */
.single-product .fkwcs-product [class*="or"],
.single-product .fkwcs-product [id*="or"] {
  margin: 8px 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Final spacing normalization for checkout stack */
.single-product div.product .summary .newsole-reassurance-grid {
  margin-bottom: 0 !important;
}

.single-product div.product .summary .newsole-variation-buttons {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.single-product div.product .summary .newsole-split-payment-note {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.single-product div.product .summary .fkwcs-product,
.single-product div.product .summary #fkwcs_custom_express_button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.single-product div.product .summary .newsole-delivery-estimate-wrap {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.single-product div.product .summary .fkwcs-product > * + * {
  margin-top: 8px !important;
}

/* Remove any line above delivery estimate block */
.single-product div.product hr,
.single-product div.product .summary > hr,
.single-product div.product .summary .cart + hr,
.single-product div.product .summary form.cart + hr,
.single-product div.product .summary .newsole-delivery-estimate-wrap::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product div.product .summary .newsole-delivery-estimate-wrap {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  position: static !important;
}

/* Final strict spacing alignment: Add -> Klarna -> OR -> Express -> Delivery */
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product form.cart .newsole-split-payment-note,
.single-product div.product form.cart .fkwcs-product,
.single-product div.product .summary .newsole-delivery-estimate-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-product div.product form.cart .fkwcs-product [class*="separator"],
.single-product div.product form.cart .fkwcs-product [class*="or"],
.single-product div.product form.cart .fkwcs-product hr {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.single-product div.product form.cart .fkwcs-product button.fkwcs_smart_buttons {
  margin-top: 0 !important;
}

/* Custom deterministic OR separator */
.single-product div.product form.cart .newsole-or-separator {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 8px 0 !important;
  width: 100% !important;
}

.single-product div.product form.cart .newsole-or-separator .line {
  flex: 1 1 auto;
  height: 1px;
  background: #dddddd;
}

.single-product div.product form.cart .newsole-or-separator .txt {
  line-height: 1 !important;
  transform: none !important;
  color: #666;
}

/* Remove stubborn divider before delivery estimate */
.single-product div.product form.cart,
.single-product div.product .summary form.cart,
.single-product div.product .summary .cart,
.single-product div.product form.cart::after,
.single-product div.product .summary form.cart::after {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.newsole-split-payment-note {
  margin: 8px 0 0 !important;
  text-align: center;
  color: #222;
  font-size: 14px;
  line-height: 1.35;
  order: 21;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.newsole-installment-amount {
  white-space: nowrap;
}

.newsole-klarna-badge {
  white-space: nowrap;
}

/* Backup force in case cached/overridden markup */
.single-product .newsole-split-payment-note .newsole-klarna-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

@media (max-width: 1024px) {
  .newsole-title-price .product_title,
  .newsole-title-price .price {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .single-product div.product .summary {
    gap: 8px;
  }

  .single-product div.product form.cart {
    gap: 8px !important;
  }

  .newsole-title-price {
    flex-direction: column;
    gap: 8px;
  }

  .newsole-title-price .product_title {
    max-width: 100%;
    font-size: 26px;
  }

  .newsole-title-price .price {
    font-size: 28px;
    text-align: left;
  }

  .single-product .newsole-reassurance-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .single-product .newsole-reassurance-grid .newsole-reassurance-item {
    min-height: 76px;
    padding: 10px 8px;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    border-right: 1px solid #e3e3e3 !important;
    border-bottom: 1px solid #e3e3e3 !important;
    align-items: center;
    font-size: 13px;
  }

  .single-product .newsole-reassurance-grid .newsole-reassurance-item:nth-child(even) {
    border-right: 0 !important;
  }

  .single-product .newsole-reassurance-grid .newsole-reassurance-item:nth-child(n + 3) {
    border-bottom: 0 !important;
  }

  .single-product .newsole-reassurance-grid .newsole-reassurance-item:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  .newsole-size-option {
    flex: 0 0 calc((100% - 24px) / 5);
    font-size: 13px;
    height: 48px;
  }

  /* Force 5 tiles per row on phones */
  .single-product div.product form.cart .newsole-size-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .single-product div.product form.cart .newsole-size-grid .newsole-size-option {
    flex: initial !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    font-size: 13px !important;
  }

  .single-product div.product form.cart .single_add_to_cart_button,
  .single-product div.product .single_add_to_cart_button.button {
    font-size: 24px;
  }

  .newsole-split-payment-note {
    font-size: 13px;
  }

  .newsole-delivery-estimate-box {
    font-size: 13px;
    padding: 11px 12px;
  }

  .newsole-trustindex-reviews {
    padding: 4px;
  }
}

/* Collapse empty express checkout space (CSS-only, safe) */
.single-product form.cart #fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]),
.single-product form.cart .fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]) {
  margin: 0 !important;
  padding: 0 !important;
}

.single-product form.cart #fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]) #fkwcs-payment-request-separator,
.single-product form.cart .fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]) #fkwcs-payment-request-separator,
.single-product form.cart #fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]) #fkwcs_custom_express_button,
.single-product form.cart .fkwcs_stripe_smart_button_wrapper:has(#fkwcs_custom_express_button button.fkwcs_smart_buttons[style*="display:none"]) #fkwcs_custom_express_button {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Remove black divider under SKU/Category/Brand meta */
.single-product div.product .summary .product_meta,
.single-product div.product .summary .product_meta::before,
.single-product div.product .summary .product_meta::after,
.single-product div.product .summary .product_meta + hr,
.single-product div.product .woocommerce-tabs,
.single-product div.product .woocommerce-tabs::before {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Tighten gap between product meta and tabs section */
.single-product div.product .summary .product_meta {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.single-product div.product .clear-after-summary,
.single-product div.product .clear-after-summary.clr {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
  margin-top: -8px !important;
  padding-top: 0 !important;
}

/* =========================================
   Modern main menu / header refresh
========================================= */
:root {
  --newsole-header-bg: rgba(255, 255, 255, 0.92);
  --newsole-header-border: rgba(17, 17, 17, 0.08);
  --newsole-header-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
  --newsole-menu-text: #1d232b;
  --newsole-menu-hover-bg: rgba(0, 169, 157, 0.12);
  --newsole-menu-active-bg: rgba(0, 169, 157, 0.18);
  --newsole-menu-accent: #00a99d;
}

/* Header shell */
#site-header,
#top-bar-wrap {
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

/* Compact and cleaner top announcement bar */
#top-bar-wrap {
  background: #eef8f7 !important;
  border-bottom: 1px solid rgba(0, 169, 157, 0.22) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#top-bar {
  min-height: 22px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#top-bar-content,
#top-bar p,
#top-bar span {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #2f7f79 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}

#top-bar-content {
  padding: 3px 0 !important;
}

#top-bar p {
  margin: 0 !important;
}

#top-bar-content a,
#top-bar a {
  color: #1f6f69 !important;
  text-decoration: none !important;
}

/* Remove any visual gap between top bar and header */
#top-bar-wrap + #site-header,
#site-header {
  margin-top: 0 !important;
}

body:not(.admin-bar) #site-header {
  top: 0 !important;
}

/* OceanWP wrappers: collapse any gap between top bar and menu */
#top-bar-wrap {
  margin-bottom: 0 !important;
}

#top-bar-wrap + #site-header-wrap,
#site-header-wrap,
#site-header-wrap #site-header,
#site-header-wrap #site-header-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Sticky wrapper can add an offset above header */
#site-header-sticky-wrapper,
#site-header-sticky-wrapper #site-header-wrap,
#site-header-sticky-wrapper #site-header,
#site-header-sticky-wrapper #site-header-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* Last-resort seam fix between top bar and header */
#top-bar-wrap + #site-header-wrap,
#top-bar-wrap + #site-header {
  margin-top: -1px !important;
}

#site-header {
  background: var(--newsole-header-bg) !important;
  border-bottom: 1px solid var(--newsole-header-border) !important;
  box-shadow: var(--newsole-header-shadow);
}

/* Smooth sticky feeling */
#site-header,
#site-header #site-navigation-wrap .dropdown-menu > li > a,
#site-header .mobile-menu {
  transition: all 0.22s ease;
}

/* Desktop main links */
#site-navigation-wrap .dropdown-menu > li > a {
  color: var(--newsole-menu-text) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 0 14px !important;
  line-height: 1;
}

#site-navigation-wrap .dropdown-menu > li > a:hover,
#site-navigation-wrap .dropdown-menu > li.current-menu-item > a,
#site-navigation-wrap .dropdown-menu > li.current_page_item > a {
  background: rgba(0, 169, 157, 0.06) !important;
  color: #0f6a64 !important;
}

#site-navigation-wrap .dropdown-menu > li.current-menu-item > a,
#site-navigation-wrap .dropdown-menu > li.current_page_item > a {
  background: var(--newsole-menu-active-bg) !important;
}

/* Desktop dropdown panel */
#site-navigation-wrap .dropdown-menu ul.sub-menu {
  background: #fff !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.1) !important;
  padding: 6px !important;
}

#site-navigation-wrap .dropdown-menu ul.sub-menu li a {
  border-radius: 10px !important;
  padding: 8px 10px !important;
  font-weight: 500 !important;
}

#site-navigation-wrap .dropdown-menu ul.sub-menu li a:hover {
  background: rgba(0, 169, 157, 0.08) !important;
}

/* Header icons modernized */
#site-header .search-toggle-li .search-text,
#site-header .wcmenucart .wcmenucart-count,
#site-header .mobile-menu .hamburger {
  color: var(--newsole-menu-text) !important;
}

/* Mobile header buttons */
@media (max-width: 960px) {
  #site-header .mobile-menu,
  #site-header .search-toggle-li a,
  #site-header .menu-bar a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 169, 157, 0.1);
  }

  #site-header .custom-logo-link img,
  #site-header .site-logo img {
    max-height: 44px;
  }
}

/* Off-canvas mobile menu */
.sidr,
body .sidr {
  background: #fff !important;
}

.sidr-class-dropdown-menu li a,
.sidr-class-mobile-searchform input {
  border-radius: 10px !important;
}

.sidr-class-dropdown-menu li a:hover,
.sidr-class-dropdown-menu li.sidr-class-current-menu-item > a {
  background: rgba(0, 169, 157, 0.12) !important;
  color: #0f6a64 !important;
}

/* Strong mobile targeting for OceanWP/Sidr menu */
@media (max-width: 960px) {
  #site-header .oceanwp-mobile-menu-icon a.mobile-menu {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  #site-header .oceanwp-mobile-menu-icon a.mobile-menu .oceanwp-nav-icon,
  #site-header .oceanwp-mobile-menu-icon a.mobile-menu i {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  #sidr,
  body #sidr {
    background: #fff !important;
    width: min(86vw, 360px) !important;
  }

  #sidr .sidr-inner {
    padding: 14px !important;
  }

  #sidr .sidr-class-dropdown-menu > li > a {
    padding: 10px 12px !important;
    margin-bottom: 4px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #sidr .sidr-class-dropdown-menu > li > a:hover,
  #sidr .sidr-class-dropdown-menu > li.sidr-class-current-menu-item > a,
  #sidr .sidr-class-dropdown-menu > li.sidr-class-current_page_item > a {
    background: rgba(0, 169, 157, 0.1) !important;
    color: #0f6a64 !important;
  }

  #sidr .sidr-class-dropdown-menu li ul {
    padding-left: 8px !important;
  }

  #sidr .sidr-class-dropdown-menu li ul li a {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }

  /* Real OceanWP mobile dropdown menu (the one in your screenshot) */
  #mobile-dropdown {
    background: #fff !important;
  }

  #mobile-dropdown nav > ul.menu {
    margin: 0 !important;
    padding: 0 0 8px !important;
  }

  #mobile-dropdown nav > ul.menu > li {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08) !important;
  }

  #mobile-dropdown nav > ul.menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
    color: #1f2730 !important;
    background: transparent !important;
  }

  #mobile-dropdown nav > ul.menu > li > a:hover,
  #mobile-dropdown nav > ul.menu > li.current-menu-item > a,
  #mobile-dropdown nav > ul.menu > li.current_page_item > a {
    background: rgba(0, 169, 157, 0.08) !important;
    color: #0f6a64 !important;
  }

  #mobile-dropdown nav > ul.menu li.menu-item-has-children > a::after {
    font-size: 22px !important;
    font-weight: 300 !important;
    color: #5a6470 !important;
    margin-left: 10px !important;
  }

  #mobile-dropdown nav > ul.menu li ul.sub-menu {
    margin: 0 !important;
    padding: 0 0 8px 10px !important;
    background: #fafbfc !important;
  }

  #mobile-dropdown nav > ul.menu li ul.sub-menu li a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border-radius: 8px !important;
  }

  #mobile-dropdown #mobile-menu-search {
    padding: 12px 16px !important;
    border-top: 1px solid rgba(17, 17, 17, 0.08) !important;
  }

  #mobile-dropdown #mobile-menu-search .field {
    height: 42px !important;
    border-radius: 10px !important;
  }

  /* Remove +/- indicators on mobile category rows */
  #mobile-dropdown .menu-item-has-children > a::before,
  #mobile-dropdown .menu-item-has-children > a::after,
  #mobile-dropdown .menu-item-has-children > a .nav-arrow,
  #mobile-dropdown .menu-item-has-children > a i.nav-arrow,
  #mobile-dropdown .menu-item-has-children > a .text-wrap::before,
  #mobile-dropdown .menu-item-has-children > a .text-wrap::after,
  #mobile-dropdown .dropdown-toggle,
  #mobile-dropdown .dropdown-toggle::before,
  #mobile-dropdown .dropdown-toggle::after {
    display: none !important;
    content: none !important;
  }

  /* Mobile header layout: burger left, search right, logo centered */
  #site-header #site-header-inner {
    position: relative !important;
    min-height: 78px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  #site-header #site-logo,
  #site-header #site-logo #site-logo-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 78px !important;
    margin: 0 !important;
  }

  #site-header #site-logo img.custom-logo,
  #site-header #site-logo img.responsive-logo {
    display: block !important;
    max-height: 52px !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    float: none !important;
    width: auto !important;
    z-index: 20 !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.mobile-menu,
  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.search-icon-dropdown {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    color: #1f2730 !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.mobile-menu {
    left: 0 !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.search-icon-dropdown {
    right: 0 !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.search-icon-dropdown i {
    font-size: 18px !important;
    line-height: 1 !important;
    color: #1f2730 !important;
  }

}

/* Final mobile header/search stabilization */
@media (max-width: 960px) {
  #site-header #site-header-inner {
    min-height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Hard-center logo vertically and horizontally */
  #site-header #site-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
    width: auto !important;
    float: none !important;
  }

  #site-header #site-logo #site-logo-inner {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-header #site-logo img.custom-logo,
  #site-header #site-logo img.responsive-logo {
    max-height: 34px !important;
    width: auto !important;
  }

  /* Keep controls aligned with centered logo */
  #site-header .oceanwp-mobile-menu-icon.mobile-left {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.mobile-menu,
  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.search-icon-dropdown {
    width: 28px !important;
    height: 28px !important;
  }

  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.mobile-menu .oceanwp-nav-icon,
  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.mobile-menu i,
  #site-header .oceanwp-mobile-menu-icon.mobile-left > a.search-icon-dropdown i {
    font-size: 16px !important;
  }

  /* Force modern search style for BOTH mobile search variants */
  #icon-searchform-dropdown .mobile-searchform .field,
  #mobile-dropdown #mobile-menu-search .field,
  #mobile-dropdown #mobile-menu-search .mobile-searchform .field {
    height: 44px !important;
    border: 1px solid #dce2e8 !important;
    border-radius: 12px !important;
    background: #f8fafb !important;
    box-shadow: none !important;
    font-size: 17px !important;
    color: #1f2730 !important;
    padding: 0 14px 0 42px !important;
  }

  #mobile-dropdown #mobile-menu-search {
    padding: 12px 14px 14px !important;
    border-top: 0 !important;
    background: #fff !important;
  }

  /* Ultra-strong override for mobile search bar (dropdown + sidr) */
  #mobile-dropdown #mobile-menu-search form.mobile-searchform,
  #sidr .sidr-class-mobile-searchform {
    position: relative !important;
    margin: 0 !important;
  }

  #mobile-dropdown #mobile-menu-search form.mobile-searchform::before,
  #sidr .sidr-class-mobile-searchform::before {
    content: "⌕" !important;
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #8a93a0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  #mobile-dropdown #mobile-menu-search form.mobile-searchform input.field,
  #mobile-dropdown #mobile-menu-search form.mobile-searchform input[type="search"],
  #mobile-dropdown #mobile-menu-search form.mobile-searchform input[type="text"],
  #sidr .sidr-class-mobile-searchform input,
  #sidr .sidr-class-mobile-searchform input[type="search"],
  #sidr .sidr-class-mobile-searchform input[type="text"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border: 1px solid #d7dee5 !important;
    border-radius: 14px !important;
    background: #f6f8fa !important;
    box-shadow: none !important;
    color: #1f2730 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    padding: 0 14px 0 42px !important;
  }

  #mobile-dropdown #mobile-menu-search form.mobile-searchform input::placeholder,
  #sidr .sidr-class-mobile-searchform input::placeholder {
    color: #9aa3ad !important;
    opacity: 1 !important;
  }

  /* Keep autocomplete preview visible above all layers */
  #icon-searchform-dropdown,
  #mobile-dropdown #mobile-menu-search,
  #mobile-dropdown #mobile-menu-search form.mobile-searchform,
  #sidr .sidr-class-mobile-searchform {
    overflow: visible !important;
  }

  #icon-searchform-dropdown .aws-container,
  #mobile-dropdown #mobile-menu-search .aws-container,
  #sidr .aws-container {
    position: relative !important;
    z-index: 9999 !important;
  }

  #icon-searchform-dropdown .aws-search-result,
  #mobile-dropdown #mobile-menu-search .aws-search-result,
  #sidr .aws-search-result {
    z-index: 10000 !important;
    max-height: 56vh !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 960px) {
  #top-bar-wrap,
  #top-bar,
  #top-bar-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #top-bar-wrap {
    width: 100% !important;
  }

  #top-bar-content {
    text-align: center !important;
    white-space: normal !important;
  }

  #top-bar {
    min-height: 20px !important;
  }

  #top-bar-content,
  #top-bar p,
  #top-bar span {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

}

/* Definitive mobile search look (strong override) */
@media (max-width: 960px) {
  #icon-searchform-dropdown.search-style-dropdown,
  #mobile-dropdown #mobile-menu-search {
    background: #ffffff !important;
    padding: 12px 12px 14px !important;
    border-top: 0 !important;
  }

  #icon-searchform-dropdown .aws-container .aws-search-form,
  #mobile-dropdown #mobile-menu-search .aws-container .aws-search-form {
    height: auto !important;
  }

  #icon-searchform-dropdown .aws-container .aws-search-form .aws-wrapper,
  #mobile-dropdown #mobile-menu-search .aws-container .aws-search-form .aws-wrapper {
    background: #ffffff !important;
    border: 1px solid #d9e1e8 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08) !important;
    overflow: hidden !important;
  }

  #icon-searchform-dropdown .aws-container .aws-search-form .aws-search-field,
  #mobile-dropdown #mobile-menu-search .aws-container .aws-search-form .aws-search-field {
    height: 52px !important;
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #1f2730 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    padding: 0 46px 0 16px !important;
  }

  #icon-searchform-dropdown .aws-container .aws-search-form .aws-search-field::placeholder,
  #mobile-dropdown #mobile-menu-search .aws-container .aws-search-form .aws-search-field::placeholder {
    color: #9aa3ad !important;
    opacity: 1 !important;
    font-weight: 500 !important;
  }

  #icon-searchform-dropdown .aws-container .aws-search-form .aws-search-clear,
  #mobile-dropdown #mobile-menu-search .aws-container .aws-search-form .aws-search-clear {
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: auto !important;
    color: #8d96a3 !important;
  }

  #icon-searchform-dropdown .aws-search-result,
  #mobile-dropdown #mobile-menu-search .aws-search-result {
    margin-top: 10px !important;
    border: 1px solid #dfe6ed !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12) !important;
    background: #fff !important;
  }
}

/* Final catch-all for AWS preview rendered outside container */
@media (max-width: 960px) {
  .aws-search-result {
    border: 1px solid #dfe6ed !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.1) !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .aws-search-result ul {
    margin: 0 !important;
    padding: 6px !important;
    list-style: none !important;
    background: #fff !important;
  }

  .aws-search-result ul li {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .aws-search-result ul li + li {
    margin-top: 6px !important;
    border-top: 0 !important;
  }

  .aws-search-result ul li a,
  .aws-search-result .aws_result_link,
  .aws-search-result .aws_result_item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    background: #f8fafb !important;
    border: 1px solid #e6ecf1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  /* Remove nested inner borders from plugin markup */
  .aws-search-result .aws_result_item *,
  .aws-search-result .aws_result_content {
    box-shadow: none !important;
  }

  .aws-search-result .aws_result_item {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .aws-search-result img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    flex: 0 0 56px !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 10px !important;
    background: #fff !important;
  }

  .aws-search-result .aws_result_title {
    font-size: 15px !important;
    line-height: 1.25 !important;
    color: #1f2730 !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
  }

  .aws-search-result .aws_result_price {
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
  }
}

/* Desktop search redesign (same visual language) */
@media (min-width: 961px) {
  #searchform-dropdown .aws-container,
  #searchform-header-replace .aws-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  #searchform-dropdown .aws-search-form,
  #searchform-header-replace .aws-search-form {
    height: auto !important;
  }

  #searchform-dropdown .aws-search-form .aws-wrapper,
  #searchform-header-replace .aws-search-form .aws-wrapper {
    background: #ffffff !important;
    border: 1px solid #d9e1e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08) !important;
    overflow: hidden !important;
  }

  #searchform-dropdown .aws-search-form .aws-search-field,
  #searchform-header-replace .aws-search-form .aws-search-field {
    height: 50px !important;
    min-height: 50px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #1f2730 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    padding: 0 44px 0 16px !important;
    box-shadow: none !important;
  }

  #searchform-dropdown .aws-search-form .aws-search-field::placeholder,
  #searchform-header-replace .aws-search-form .aws-search-field::placeholder {
    color: #9aa3ad !important;
    opacity: 1 !important;
  }

  #searchform-dropdown .aws-search-form .aws-search-clear,
  #searchform-header-replace .aws-search-form .aws-search-clear {
    right: 14px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  #searchform-dropdown .aws-search-result,
  #searchform-header-replace .aws-search-result {
    border: 1px solid #dfe6ed !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12) !important;
    background: #fff !important;
    margin-top: 10px !important;
    overflow: hidden !important;
  }

  #searchform-dropdown .aws-search-result ul,
  #searchform-header-replace .aws-search-result ul {
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
  }

  #searchform-dropdown .aws-search-result ul li,
  #searchform-header-replace .aws-search-result ul li {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  #searchform-dropdown .aws-search-result ul li + li,
  #searchform-header-replace .aws-search-result ul li + li {
    margin-top: 8px !important;
  }

  #searchform-dropdown .aws-search-result ul li a,
  #searchform-dropdown .aws-search-result .aws_result_link,
  #searchform-dropdown .aws-search-result .aws_result_item,
  #searchform-header-replace .aws-search-result ul li a,
  #searchform-header-replace .aws-search-result .aws_result_link,
  #searchform-header-replace .aws-search-result .aws_result_item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    background: #f8fafb !important;
    border: 1px solid #e6ecf1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  #searchform-dropdown .aws-search-result img,
  #searchform-header-replace .aws-search-result img {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex: 0 0 58px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 2px !important;
  }

  #searchform-dropdown .aws-search-result .aws_result_title,
  #searchform-header-replace .aws-search-result .aws_result_title {
    font-size: 16px !important;
    line-height: 1.25 !important;
    color: #1f2730 !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
  }

  #searchform-dropdown .aws-search-result .aws_result_price,
  #searchform-header-replace .aws-search-result .aws_result_price {
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
  }
}

/* Desktop catch-all for AWS preview rendered outside containers */
@media (min-width: 961px) {
  .aws-search-result {
    border: 1px solid #dfe6ed !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12) !important;
    background: #fff !important;
    overflow: hidden !important;
    z-index: 10000 !important;
  }

  .aws-search-result ul {
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
  }

  .aws-search-result ul li {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  .aws-search-result ul li + li {
    margin-top: 8px !important;
  }

  .aws-search-result ul li a,
  .aws-search-result .aws_result_link,
  .aws-search-result .aws_result_item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    background: #f8fafb !important;
    border: 1px solid #e6ecf1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  .aws-search-result img {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex: 0 0 58px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 2px !important;
  }

  .aws-search-result .aws_result_title {
    font-size: 16px !important;
    line-height: 1.25 !important;
    color: #1f2730 !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
  }

  .aws-search-result .aws_result_price {
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
  }
}

/* Desktop width boost for search panel */
@media (min-width: 961px) {
  #searchform-dropdown,
  #searchform-header-replace {
    width: min(460px, calc(100vw - 32px)) !important;
    max-width: min(460px, calc(100vw - 32px)) !important;
    min-width: 280px !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #searchform-dropdown .aws-container,
  #searchform-header-replace .aws-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #searchform-dropdown .aws-search-result,
  #searchform-header-replace .aws-search-result {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
    box-sizing: border-box !important;
  }

  .aws-search-result .aws_result_content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #searchform-dropdown *,
  #searchform-header-replace * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


