.back-to-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #2d5a27;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid #2d5a27;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* This creates the 'stem' of the arrow */
.back-to-search::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 2px;
    background-color: #2d5a27;
    margin-right: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* This creates the 'head' (the V shape) of the arrow */
.back-to-search::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #2d5a27;
    border-left: 2px solid #2d5a27;
    transform: rotate(45deg); /* Rotates the L shape to look like < */
    position: absolute;
    left: 22px; /* Adjust this to line up with the stem */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover Effects */
.back-to-search:hover {
    background-color: #2d5a27;
    color: #ffffff !important;
}

.back-to-search:hover::before {
    background-color: #ffffff;
    transform: translateX(-3px);
}

.back-to-search:hover::after {
    border-color: #ffffff;
    transform: translateX(-3px) rotate(45deg);
}