/* ────────────────────────────────────────────────
 * Mobile search bar
 * Source: extracted from index.css lines 8443–8668
 * ──────────────────────────────────────────────── */


.headerFiltres {
  position: relative;
}

/* Legacy hidden search — replaced by always-visible bar */
.headerMobileMenuSearch {
  display: none;
}

/* Always-visible mobile search bar */
.headerMobileSearchBar {
  display: none;
}

.headerMobile .headerMobileSearchBar {
  display: block;
  padding: 0 16px 12px;
}

/* Mobile search — same Material 3 icon-inside pattern as desktop, just
   smaller (3rem height для thumb-friendly touch без захоплення viewport). */
.headerMobileSearchBar .search-form {
  position: relative;
}

.headerMobileSearchBar .input-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.headerMobileSearchBar .search-form input[type="search"] {
  flex: 1;
  width: 100%;
  height: 3rem;
  padding: 0.75rem 3.5rem 0.75rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-main);
  color: var(--color-text-white);
  font-size: 0.875rem;
  border-radius: 0;
  outline: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.headerMobileSearchBar .search-form input[type="search"]::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.headerMobileSearchBar .search-form button {
  position: absolute;
  right: 0;
  top: 0;
  width: 3rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.headerMobileSearchBar .search-form button:hover,
.headerMobileSearchBar .search-form button:focus-visible {
  background: var(--overlay-light-10);
}

.error-404.not-found {
  margin-top: 80px;
  margin-bottom: 20vh;
}

.woocommerce-message {
  border-top: none;
  background-color: var(--color-bg-card);
  color: var(--color-text-white);
  padding: 20px 32px 20px 80px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 150%;
  border-radius: 0;
}

.woocommerce-message::before {
  color: var(--color-accent-text);
  font-size: 2.5625rem;
  top: 0.8em;
  left: 0.5em;
}

.woocommerce-message a.button {
  font-size: 1rem;
  line-height: 100%;
  background-color: var(--color-accent);
  color: #40312E;
  border-radius: 0;
  padding: 16px 20px;
  font-weight: 700;
}

#wc-toasts-container {
  width: 90dvw;
  margin: 0 auto 20px auto;
}

#wc-toasts .wc-toast {
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.wc-toast--success {
  background:
    linear-gradient(0deg, rgba(60, 197, 126, 0.2), rgba(60, 197, 126, 0.2)),
    #1f2330;
  border: 1px solid rgba(60, 197, 126, 0.4);
}

.wc-toast--success .wc-toast__icon::before {
  content: "✔";
  color: var(--color-success-text);
}

.wc-toast--error {
  background:
    linear-gradient(0deg, rgba(244, 89, 89, 0.2), rgba(244, 89, 89, 0.2)),
    #1f2330;
  border: 1px solid rgba(244, 89, 89, 0.4);
}
.wc-toast--error .wc-toast__icon::before {
  content: "⛔";
  color: var(--color-error);
}
.wc-toast__message {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-white);
}
.wc-toast__action,
.wc-toast__close {
  display: none;
}

.wc-toast__message a.wc-forward {
  color: var(--color-text-on-accent);
  background: var(--color-accent);
  border-radius: 0;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 150%;
  border: 0;
  outline: 0;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
/*****************************/

.block_color_fon {
  background: var(--color-bg-main);
  padding: 4px;
  border-radius: 0;
}
.block_color_fon_item svg path {
  stroke: var(--color-white);
}
.block_color_fon_item {
  transition:
    transform 0.5s ease,
    top 0.5s ease;
  display: flex;
  align-items: center;
  border-radius: 0;
  transform: scale(0.95);
  padding: 12px;
}
.fon_active {
  background: var(--color-accent);
  transform: scale(1.01);
}
/* --- White Theme Overrides --- */

/* White theme: Filter styles */

/* White theme: Catalog Quality badges - добавляем фон для контрастности */

/* White theme: Swiper navigation disabled state */

/* White theme: Sale badge */

@media (max-width: 48em) {
  .woocommerce-order-received
    .woocommerce-customer-details
    .woocommerce-columns.woocommerce-columns--addresses.addresses {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }
  .woocommerce-order-received
    .woocommerce-column.woocommerce-column--1.woocommerce-column--billing-address.col-1
    address,
  .woocommerce-order-received
    .woocommerce-column.woocommerce-column--2.woocommerce-column--shipping-address.col-2
    address {
    height: auto;
  }
}

