.product-search {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 50px;
}

.product-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 6px 8px 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.product-search-inner:focus-within {
  border-color: rgba(180, 145, 70, 0.55);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.10),
    0 0 0 4px rgba(180, 145, 70, 0.10);
}

.product-search-icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin-inline: 14px 8px;
  fill: none;
  stroke: #8a8f98;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-search-input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  direction: rtl;
  text-align: right;
}

.product-search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.product-search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.product-search-button {
  flex: 0 0 auto;
  min-width: 104px;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #05668d;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-search-button:hover {
  background: #028090;
  box-shadow: 0 6px 16px rgba(2, 128, 144, 0.22);
  transform: translateY(-1px);
}

.product-search-button:active {
  transform: translateY(0);
}

.product-search-button:focus-visible,
.product-search-input:focus-visible {
  outline: none;
}

@media (max-width: 640px) {
  .product-search-inner {
    min-height: 58px;
    padding: 5px 6px 5px 7px;
  }

  .product-search-icon {
    width: 20px;
    height: 20px;
    margin-inline: 10px 5px;
  }

  .product-search-input {
    height: 46px;
    padding: 0 5px;
    font-size: 14px;
  }

  .product-search-button {
    min-width: 78px;
    height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }
}
