/* SUUM Smart Search — uses the active theme's typography; no font family is imposed. */
.suum-ss-enhanced-form {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: stretch !important;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce2e8 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .035) !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.suum-ss-enhanced-form:focus-within {
  border-color: #5b8494 !important;
  box-shadow: 0 0 0 3px rgba(36, 105, 128, .10) !important;
}
.suum-ss-enhanced-form .suum-ss-enhanced-input {
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #202b36 !important;
  font: inherit;
}
.suum-ss-enhanced-form .suum-ss-enhanced-input::placeholder {
  color: #818b97 !important;
  opacity: 1;
}
.suum-ss-enhanced-form .suum-ss-enhanced-submit {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 48px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #17232f !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit;
  cursor: pointer;
}
.suum-ss-enhanced-form .suum-ss-enhanced-submit svg,
.suum-ss-enhanced-form .suum-ss-enhanced-submit .icon {
  color: inherit !important;
  fill: currentColor;
}

/* SUUM Smart Search v4 — fully replaces the theme form's contents while keeping its header slot. */
form.suum-smart-search-form {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d7dfe5 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 9px rgba(24, 39, 52, .045) !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}
form.suum-smart-search-form:focus-within {
  border-color: #6f929e !important;
  box-shadow: 0 0 0 3px rgba(50, 108, 127, .10) !important;
}
form.suum-smart-search-form input.suum-smart-search-input {
  box-sizing: border-box !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 10px 0 16px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #202c35 !important;
  font: inherit !important;
  line-height: normal !important;
}
form.suum-smart-search-form input.suum-smart-search-input::placeholder { color: #818c96 !important; opacity: 1; }
form.suum-smart-search-form input.suum-smart-search-input:focus { outline: 0 !important; box-shadow: none !important; }
/* Retain SUUM's single custom clear button and suppress the browser's native
   search-field clear control, which otherwise creates a duplicate X. */
form.suum-smart-search-form input.suum-smart-search-input::-webkit-search-cancel-button,
form.suum-smart-search-form input.suum-smart-search-input::-webkit-search-decoration,
form.suum-smart-search-form input.suum-smart-search-input::-webkit-search-results-button,
form.suum-smart-search-form input.suum-smart-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}
form.suum-smart-search-form .suum-smart-search-clear {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 34px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #77838d !important;
  cursor: pointer;
}
form.suum-smart-search-form .suum-smart-search-clear[hidden] { display: none !important; }
form.suum-smart-search-form .suum-smart-search-submit {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 54px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  cursor: pointer;
  transition: background-color .15s ease;
}

form.suum-smart-search-form .suum-smart-search-submit svg { display: block; }
form.suum-smart-search-form input[name="post_type"][data-suum-smart-search-field] { display: none !important; }

.suum-smart-search-panel {
  position: fixed;
  z-index: 999999;
  box-sizing: border-box;
  max-width: calc(100vw - 16px);
  min-width: 0;
  overflow: auto;
  border: 1px solid rgba(25, 39, 52, .10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(18, 30, 43, .18), 0 3px 10px rgba(18, 30, 43, .06);
  color: #202b36;
  text-align: left;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.suum-smart-search-panel[hidden] { display: none !important; }
.suum-smart-search-content { padding: 9px; }
.suum-smart-search-section-title {
  padding: 12px 10px 7px;
  color: #687582;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.35;
  text-transform: uppercase;
}
.suum-smart-search-list { display: flex; flex-direction: column; }
.suum-smart-search-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 9px;
  color: inherit !important;
  text-decoration: none !important;
  transition: background-color .14s ease;
}
.suum-smart-search-product:hover,
.suum-smart-search-product:focus,
.suum-smart-search-product.is-active {
  outline: none;
  background: #f4f7f9;
}
.suum-smart-search-thumb {
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #f7f8fa;
}
.suum-smart-search-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.suum-smart-search-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.suum-smart-search-title {
  display: block;
  overflow-wrap: anywhere;
  color: #202b36;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.suum-smart-search-vendor,
.suum-smart-search-sku {
  display: block;
  color: #778390;
  font-size: 11px;
  line-height: 1.35;
}
.suum-smart-search-price {
  flex: 0 0 auto;
  max-width: 35%;
  color: #202b36;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

.suum-smart-search-entity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 9px;
  color: inherit !important;
  text-decoration: none !important;
  transition: background-color .14s ease;
}
.suum-smart-search-entity:hover,
.suum-smart-search-entity:focus,
.suum-smart-search-entity.is-active {
  outline: none;
  background: #f4f7f9;
}
.suum-smart-search-vendor-thumb {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid #e8edf0;
  border-radius: 50%;
  background: #f3f6f8;
}
.suum-smart-search-vendor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.suum-smart-search-store-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #345668;
  font-size: 14px;
  font-weight: 700;
}
.suum-smart-search-entity-details { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.suum-smart-search-entity-titleline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.suum-smart-search-entity-titleline .suum-smart-search-entity-title { min-width: 0; }
.suum-smart-search-type-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid #d7e6e3;
  border-radius: 999px;
  background: #eef7f5;
  color: #32665e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}
.suum-smart-search-entity-title { color: #202b36; font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.suum-smart-search-entity-subtitle { color: #75818d; font-size: 11px; line-height: 1.35; }
.suum-smart-search-entity-arrow { flex: 0 0 auto; color: #637989; font-size: 18px; line-height: 1; }
.suum-smart-search-category-symbol {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e7ecef;
  border-radius: 10px;
  background: #f7f9fa;
  color: #456679;
  font-size: 18px;
}

.suum-smart-search-correction {
  margin: 2px 3px 8px;
  padding: 11px 12px;
  border: 1px solid #e2eaf0;
  border-radius: 9px;
  background: #f5f8fa;
  color: #526271;
  font-size: 13px;
  line-height: 1.5;
}
.suum-smart-search-correction-button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #155b7a;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.suum-smart-search-correction-button:hover{
  background: none !important;
}
.suum-smart-search-terms { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 9px 10px; }
.suum-smart-search-term {
  padding: 7px 12px;
  border: 1px solid #e1e6ea;
  border-radius: 999px;
  background: #fff;
  color: #3c4a56;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.suum-smart-search-term:hover,
.suum-smart-search-term:focus { border-color: #9eafb9; background: #f6f8f9; }
.suum-smart-search-footer { margin-top: 8px; padding: 12px 10px 6px; border-top: 1px solid #edf0f2; }
.suum-smart-search-view-all { display: block; color: #155b7a !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.suum-smart-search-view-all:hover,
.suum-smart-search-view-all:focus { text-decoration: underline !important; }
.suum-smart-search-empty,
.suum-smart-search-loading { padding: 18px 12px; color: #73808b; font-size: 13px; line-height: 1.5; }
.suum-smart-search-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hide only Motta's own live-result dropdown after SUUM handlers are active. */
.suum-ss-takeover-active .header-search__results,
.suum-ss-takeover-active .header-search__trending,
.suum-ss-takeover-active .header-search__trending--outside,
.suum-ss-takeover-active .search-modal__results,
.suum-ss-takeover-active .header-search__suggestions,
.suum-ss-takeover-active .header-search__popular { display: none !important; }

/* Search-result page assistance: vendor stores, categories, and typo recovery. */
.suum-ss-search-page-enhancements {
  clear: both;
  margin: 0 0 24px;
  padding: 0;
  color: inherit;
}
.suum-ss-did-you-mean {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #f6f9fb;
  color: #536270;
  font-size: 14px;
  line-height: 1.55;
}
.suum-ss-did-you-mean a { color: #155b7a; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.suum-ss-page-section { margin: 0 0 22px; }
.suum-ss-page-section h2 { margin: 0 0 11px; color: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; }
.suum-ss-store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; }
.suum-ss-store-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e9ed;
  border-radius: 12px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  transition: border-color .15s ease, background-color .15s ease;
}
.suum-ss-store-card:hover,
.suum-ss-store-card:focus { border-color: #c5d3dc; background: #fafcfd; }
.suum-ss-store-avatar { display: block; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #f4f6f8; }
.suum-ss-store-card-name { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.suum-ss-store-card-cta { flex: 0 0 auto; color: #34667e; font-size: 12px; font-weight: 650; }
.suum-ss-category-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.suum-ss-category-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid #e7ebee; border-radius: 9px; color: inherit !important; text-decoration: none !important; }
.suum-ss-category-link:hover,
.suum-ss-category-link:focus { border-color: #c6d4dc; background: #fafcfd; }
.suum-ss-category-link span:first-child { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.suum-ss-category-link span:last-child { color: #617b8a; font-size: 17px; }

@media (max-width: 600px) {
  form.suum-smart-search-form { height: 48px !important; min-height: 48px !important; border-radius: 10px !important; }
  form.suum-smart-search-form input.suum-smart-search-input { height: 46px !important; min-height: 46px !important; padding-right: 7px !important; }
  form.suum-smart-search-form .suum-smart-search-clear { height: 46px !important; flex-basis: 30px !important; width: 30px !important; min-width: 30px !important; }
  form.suum-smart-search-form .suum-smart-search-submit { height: 46px !important; min-height: 46px !important; flex-basis: 48px !important; width: 48px !important; min-width: 48px !important; }
  .suum-smart-search-panel { max-height: min(70vh, 560px); border-radius: 11px; }
  .suum-smart-search-content { padding: 6px; }
  .suum-smart-search-thumb { flex-basis: 46px; width: 46px; height: 46px; }
  .suum-smart-search-product { gap: 8px; padding: 8px 7px; }
  .suum-smart-search-title { font-size: 12px; }
  .suum-smart-search-price { max-width: 32%; font-size: 11px; }
  .suum-ss-store-grid { grid-template-columns: 1fr; }
  .suum-ss-category-list { grid-template-columns: 1fr; }
  .suum-ss-store-card { padding: 12px; }
}


/* v5 marketplace browsing: recent activity and safe quick-add controls. */
.suum-smart-search-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 8px;
}
.suum-smart-search-section-heading .suum-smart-search-section-title {
  flex: 1 1 auto;
  min-width: 0;
}
.suum-smart-search-clear-history {
  flex: 0 0 auto;
  margin: 0 0 2px;
  padding: 4px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6a7884;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.suum-smart-search-clear-history:focus-visible,
.suum-smart-search-quick-add:focus-visible {
  outline: 2px solid #426b7b;
  outline-offset: 2px;
}
.suum-smart-search-product-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  border-radius: 10px;
}
.suum-smart-search-product-row .suum-smart-search-product {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
}
.suum-smart-search-quick-add {
  display: inline-flex;
  position: relative;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 54px;
  min-height: 34px;
  margin: 0 5px 0 0;
  padding: 7px 10px;
  border: 1px solid #d7e2e6;
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: none;
  color: #244957;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.suum-smart-search-quick-add:hover,
.suum-smart-search-quick-add:focus-visible,
.suum-smart-search-quick-add.is-active {
  border-color: #a6bec7;
  background: #eff6f8;
  color: #183b48;
}
.suum-smart-search-quick-add:disabled {
  opacity: .82;
  cursor: wait;
}
/* Isolated View Cart link inserted beside SUUM's quick-add button. This uses
   no WooCommerce/theme utility classes, preventing unrelated theme styling. */
.suum-smart-search-product-row a.item_added-click-to-view-cart-page {
  display: inline-flex !important;
  position: relative;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  box-sizing: border-box !important;
  min-width: 54px !important;
  min-height: 34px !important;
  margin: 0 5px 0 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #14224e !important;
  border-radius: 8px !important;
  background: #14224e !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  float: none !important;
  cursor: pointer;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.suum-smart-search-product-row a.item_added-click-to-view-cart-page:hover,
.suum-smart-search-product-row a.item_added-click-to-view-cart-page:focus-visible {
  border-color: #414a6e !important;
  background: #414a6e !important;
  color: #fff !important;
  outline: none;
}
.suum-smart-search-quick-add.is-loading {
  min-width: 72px;
  gap: 6px;
  font-size: 0;
}
.suum-smart-search-quick-add.is-loading::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: suum-smart-search-spin .7s linear infinite;
}
.suum-smart-search-quick-add.is-added {
  border-color: #badbcb;
  background: #eef8f1;
  color: #246342;
}
@keyframes suum-smart-search-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .suum-smart-search-quick-add.is-loading::before { animation-duration: 1.8s; }
}
@media (max-width: 600px) {
  .suum-smart-search-product-row { gap: 2px; }
  .suum-smart-search-product-row .suum-smart-search-product { padding-right: 3px; }
  .suum-smart-search-quick-add { min-width: 46px; min-height: 32px; margin-right: 3px; padding: 6px 7px; font-size: 10px; }
  .suum-smart-search-product-row a.item_added-click-to-view-cart-page { min-width: 46px !important; min-height: 32px !important; margin-right: 3px !important; padding: 6px 7px !important; font-size: 10px !important; }
  .suum-smart-search-quick-add.is-loading { min-width: 54px; }
  .suum-smart-search-quick-add.is-loading::before { width: 12px; height: 12px; }
  .suum-smart-search-section-heading { padding-right: 5px; }
}

/* v5.0.3: suppress the original Motta/theme header search before first paint.
   The original form keeps its layout space until SUUM replaces it, avoiding a jump. */
html.suum-ss-takeover-pending .header-search form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending form.header-search__form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending .motta-header-search form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending .search-modal form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending .search-modal__form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending header form.search-form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending .site-header form.search-form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending header form[role="search"]:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-pending .site-header form[role="search"]:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .header-search form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active form.header-search__form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .motta-header-search form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .search-modal form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .search-modal__form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active header form.search-form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .site-header form.search-form:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active header form[role="search"]:not([data-suum-smart-search-replaced="1"]),
html.suum-ss-takeover-active .site-header form[role="search"]:not([data-suum-smart-search-replaced="1"]) {
  visibility: hidden !important;
  pointer-events: none !important;
}
html.suum-ss-takeover-pending .header-search__results,
html.suum-ss-takeover-pending .header-search__trending,
html.suum-ss-takeover-pending .header-search__trending--outside,
html.suum-ss-takeover-pending .search-modal__results,
html.suum-ss-takeover-pending .header-search__suggestions,
html.suum-ss-takeover-pending .header-search__popular { display:none !important; }

/* v5.0.3: align WooCommerce View Cart buttons and give them a deliberate,
   premium marketplace style without overriding the site's font family. */
.woocommerce-mini-cart__buttons.buttons,
.widget_shopping_cart .woocommerce-mini-cart__buttons {
  display: flex !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.woocommerce-mini-cart__buttons.buttons a.button,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #14224e !important;
  border-radius: 10px !important;
  background: #14224e !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  float: none !important;
  white-space: normal !important;
}
.woocommerce-mini-cart__buttons.buttons a.button.checkout,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout {
  border-color: #d7e0e5 !important;
  background: #f6f9fa !important;
  color: #14224e !important;
}
.woocommerce a.added_to_cart.wc-forward,
.woocommerce-message a.button.wc-forward,
.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  min-height: 35px !important;
  max-width: 100% !important;
  padding: 11px 18px !important;
  border: 1px solid #14224e !important;
  border-radius: 10px !important;
  background: #14224e !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  float: none !important;
  align-self: center !important;
}
.woocommerce a.added_to_cart.wc-forward:hover,
.woocommerce-message a.button.wc-forward:hover,
.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover {
background: #414A6E !important;
border: #414A6E !important;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-message {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
/* Also cover themes that omit WooCommerce's legacy .button class, plus the
   current WooCommerce Mini-Cart block footer markup. */
.woocommerce-mini-cart__buttons.buttons a.wc-forward,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.wc-forward {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 35px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #14224e !important;
  border-radius: 10px !important;
  background: #14224e !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  float: none !important;
}
.woocommerce-mini-cart__buttons.buttons a.view-cart:hover{
background: #414A6E !important;
}
.woocommerce-mini-cart__buttons.buttons a.checkout:hover{
  background: #eff6f8 !important;
  border-color: #a6bec7 !important;;
}
.woocommerce-mini-cart__buttons.buttons a.checkout,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout {
  border-color: #d7e0e5 !important;
  background: #f6f9fa !important;
  color: #14224e !important;
}
.wc-block-mini-cart__footer {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
}
.wc-block-mini-cart__footer-cart,
.wc-block-mini-cart__footer-checkout {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #14224e !important;
  border-radius: 10px !important;
  background: #14224e !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}
.wc-block-mini-cart__footer-checkout {
  border-color: #d7e0e5 !important;
  background: #f6f9fa !important;
  color: #14224e !important;
}
@media (max-width: 480px) {
  .woocommerce-mini-cart__buttons.buttons,
  .widget_shopping_cart .woocommerce-mini-cart__buttons { gap: 8px !important; }
  .woocommerce-mini-cart__buttons.buttons a.button,
  .widget_shopping_cart .woocommerce-mini-cart__buttons a.button { padding: 10px 9px !important; font-size: 12px !important; }
  .woocommerce a.added_to_cart.wc-forward,
  .woocommerce-message a.button.wc-forward,
  .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward { margin-left: 0 !important; white-space: normal !important; }
}